Opened 10 years ago

Closed 10 years ago

#41457 closed defect (fixed)

bro @2.2: libmagic of at least version 5.04 required

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: tanawts@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: snowleopard Cc:
Port: bro

Description

Building bro @2.2 fails on the Snow Leopard buildbot only (succeeds on the other buildbots), with this error:

-- libmagic version: 5.03
-- Found LibMagic: /opt/local/lib/libmagic.dylib  
CMake Error at CMakeLists.txt:79 (message):
  libmagic of at least version 5.04 required (found 5.03)

This is strange because bro already declares a dependency on the libmagic port which is at version 5.15. I can try building locally on Snow Leopard later to try to find out what's going on.

Change History (3)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

The FindLibMagic.cmake file erroneously assumes that it can run file --version to find out the version of libmagic. In MacPorts, libmagic and file are two separate ports.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

I've filed and upstream bug report: https://bro-tracker.atlassian.net/browse/BIT-1096

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.