Opened 10 years ago

Last modified 10 years ago

#45990 closed defect

Port bro does not build on Yosemite — at Version 1

Reported by: angelos@… Owned by: tanawts@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: yosemite Cc: ryandesign@…
Port: bro

Description (last modified by ryandesign (Ryan Carsten Schmidt))

port build bro
--->  Computing dependencies for bro
--->  Fetching distfiles for bro
--->  Verifying checksums for bro
--->  Extracting bro
--->  Applying patches to bro
--->  Configuring bro
--->  Building bro
Error: org.macports.build for port bro returned: command execution failed
Please see the log file for port bro for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bro/bro/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port bro failed

From the log file:

:info:build Building CXX object src/analyzer/protocol/login/CMakeFiles/plugin-Bro-Login.dir/Login.cc.o
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bro/bro/work/bro-2.2/src/analyzer/protocol/mime/MIME.cc:3:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bro/bro/work/bro-2.2/src/NetVar.h:6:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bro/bro/work/bro-2.2/src/Val.h:11:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bro/bro/work/bro-2.2/src/net_util.h:210:15: error: expected ')'
:info:build inline uint64 ntohll(uint64 i)
:info:build               ^
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_endian.h:140:25: note: expanded  from macro 'ntohll'
:info:build #define ntohll(x)       __DARWIN_OSSwapInt64(x)
:info:build                         ^
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libkern/_OSByteOrder.h:78:6: note: expanded from macro '__DARWIN_OSSwapInt64'
:info:build     (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
:info:build      ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bro/bro/work/bro-2.2/src/net_util.h:210:15: note: previous implicit declaration is here
...

Change History (1)

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

Cc: ryandesign@… added
Description: modified (diff)
Keywords: yosemite added
Owner: changed from macports-tickets@… to tanawts@…
Port: bro added; net/bro removed

Oh yes. ntohll is a macro on Yosemite; other ports have needed to be patched for this issue before.

Note: See TracTickets for help on using tickets.