#34358 closed defect (fixed)
Can't install flow-tools on Lion
| Reported by: | andrewmosswilliams@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.4 |
| Keywords: | Cc: | deric@…, cooljeanius (Eric Gallager) | |
| Port: | flow-tools |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
port install flow-tools ---> Computing dependencies for flow-tools ---> Fetching archive for flow-tools ---> Attempting to fetch flow-tools-0.68_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/flow-tools ---> Fetching flow-tools ---> Attempting to fetch flow-tools-0.68.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/flow-tools ---> Verifying checksum(s) for flow-tools ---> Extracting flow-tools ---> Applying patches to flow-tools ---> Configuring flow-tools ---> Building flow-tools Error: Target org.macports.build returned: shell command failed (see log for details) Log for flow-tools is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Tail of the referenced logfile
:info:build /usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-dscan -L../lib flow-dscan.o -lft -lwrap -lz -L/opt/local/lib
:info:build 2 warnings generated.
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68/src'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68" && /usr/bin/make -j8 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for flow-tools): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for flow-tools is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/main.log
Output from running
make -j8 -w all
in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68
By hand.
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68'
Making all in lib
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68/lib'
/usr/bin/make all-am
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68/lib'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68/lib'
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68/lib'
Making all in src
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68/src'
/usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-capture -L../lib flow-capture.o -lft -lcrypto -lwrap -lz -L/opt/local/lib
/usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-send -L../lib flow-send.o -lft -lwrap -lz -L/opt/local/lib
/usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-receive -L../lib flow-receive.o -lft -lwrap -lz -L/opt/local/lib
/usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-gen -L../lib flow-gen.o -lft -lwrap -lz -L/opt/local/lib
/usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-expire -L../lib flow-expire.o -lft -lwrap -lz -L/opt/local/lib
/usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-filter -L../lib flow-filter.o aclyacc.o acllex.o acl2.o -lft -lfl -ly -lwrap -lz -L/opt/local/lib
/usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-export -L../lib flow_export-flow-export.o -lft -lwrap -lz -L/opt/local/lib
/usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-header -L../lib flow-header.o -lft -lwrap -lz -L/opt/local/lib
Undefined symbols for architecture x86_64:
"_eval_match_src_as", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_dst_as", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_prot", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_src_prefix_len", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_dst_prefix_len", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_tos", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_marked_tos", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_tcp_flags", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_src_port", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_dst_port", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_src_if_index", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_dst_if_index", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_engine_id", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_engine_type", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_flows", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_octets", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_packets", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_xtra_packets", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_duration", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_start_time_date", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_start_time", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_end_time_date", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_end_time", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_src_tag_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_src_tag_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_dst_tag_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_dst_tag_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_nexthop_addr_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_nexthop_addr_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_nexthop_addr_r", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_sc_addr_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_sc_addr_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_sc_addr_r", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_src_addr_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_src_addr_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_src_addr_r", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_dst_addr_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_dst_addr_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_dst_addr_r", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_exporter_addr_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_exporter_addr_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_exporter_addr_r", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_bps", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_pps", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_random_sample", referenced from:
_resolve_primitives in libft.a(ftfil.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [flow-capture] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-split -L../lib flow-split.o -lft -lwrap -lz -L/opt/local/lib
/usr/bin/clang -g -Wall -L/opt/local/lib -arch x86_64 -o flow-xlate -L../lib flow-xlate.o -lft -lcrypto -lwrap -lz -L/opt/local/lib
Undefined symbols for architecture x86_64:
"_eval_match_src_as", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_dst_as", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_prot", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_src_prefix_len", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_dst_prefix_len", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_tos", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_marked_tos", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_tcp_flags", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_src_port", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_dst_port", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_src_if_index", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_dst_if_index", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_engine_id", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_engine_type", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_flows", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_octets", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_packets", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_xtra_packets", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_duration", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_start_time_date", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_start_time", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_end_time_date", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_end_time", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_src_tag_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_src_tag_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_dst_tag_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_dst_tag_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_nexthop_addr_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_nexthop_addr_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_nexthop_addr_r", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_sc_addr_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_sc_addr_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_sc_addr_r", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_src_addr_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_src_addr_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_src_addr_r", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_dst_addr_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_dst_addr_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_dst_addr_r", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_exporter_addr_l", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_exporter_addr_h", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_ip_exporter_addr_r", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_bps", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_pps", referenced from:
_resolve_primitives in libft.a(ftfil.o)
"_eval_match_random_sample", referenced from:
_resolve_primitives in libft.a(ftfil.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [flow-xlate] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_flow-tools/flow-tools/work/flow-tools-0.68'
Change History (7)
comment:1 Changed 14 years ago by andrewmosswilliams@…
comment:3 Changed 14 years ago by ci42
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:4 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
It would've been nice if you actually fixed this problem rather than sweeping it under the rug...
comment:7 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|---|
| Port: | flow-tools added |
Note: See
TracTickets for help on using
tickets.

Daniel Ericsson provided the following workaround, which does work.
Says the issue is due to building with clang