[Bro-Dev] [JIRA] (BIT-1371) check-cmake causes make-rpm-packages to fail

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Mon Apr 6 13:45:01 PDT 2015


     [ https://bro-tracker.atlassian.net/browse/BIT-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Siwek updated BIT-1371:
---------------------------
    Fix Version/s: 2.4

> check-cmake causes make-rpm-packages to fail
> --------------------------------------------
>
>                 Key: BIT-1371
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1371
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: 2.3
>         Environment: CentOS 7 x64
>            Reporter: Chris Fowler
>            Assignee: Jon Siwek
>             Fix For: 2.4
>
>
> Attempting to use pkg/make-rpm-packages to build packages on CentOS 7 fails since the pkg/check-cmake script is just checking for an exact match to the version string. CentOS 7's version of cmake (2.8.11) is newer than the one being checked for (2.8.6) and will correctly work for building the packages, but this:
> bq. #!/bin/sh
> bq. 
> bq. CMAKE_PACK_REQ="cmake version 2.8.6"
> bq. CMAKE_VER=`cmake -version`
> bq. 
> bq. if [ "${CMAKE_VER}" != "${CMAKE_PACK_REQ}" ]; then
> bq.     echo "Package creation requires ${CMAKE_PACK_REQ}" >&2
> bq.     exit 1
> bq. fi
> will not allow newer versions to be used without bypassing the check.



--
This message was sent by Atlassian JIRA
(v6.4-OD-16-006#64014)


More information about the bro-dev mailing list