[MacPorts] #45990: Port bro does not build on Yosemite

MacPorts noreply at macports.org
Sat Nov 22 15:27:33 PST 2014


#45990: Port bro does not build on Yosemite
------------------------+-----------------------
  Reporter:  angelos@…  |      Owner:  tanawts@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.3
Resolution:             |   Keywords:  yosemite
      Port:  bro        |
------------------------+-----------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => tanawts@…
 * cc: ryandesign@… (added)
 * keywords:   => yosemite
 * port:  net/bro => bro


Old description:

> 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-Br
> o-Login.dir/Login.cc.o
> :info:build In file included from
> /opt/local/var/macports/build/_opt_local_var_m
> acports_sources_rsync.macports.org_release_ports_net_bro/bro/work/bro-2.2/src/an
> alyzer/protocol/mime/MIME.cc:3:
> :info:build In file included from
> /opt/local/var/macports/build/_opt_local_var_m
> acports_sources_rsync.macports.org_release_ports_net_bro/bro/work/bro-2.2/src/Ne
> tVar.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: e
> xpanded from macro '__DARWIN_OSSwapInt64'
> :info:build     (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) :
> _OSSwa
> pInt64(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
> ...

New description:

 {{{
 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
 ...
 }}}

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/45990#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list