Opened 12 years ago

Closed 11 years ago

#35396 closed defect (fixed)

scamper failed in mountain lion

Reported by: dikshie@… Owned by: henkpoley@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: mjl@…
Port: scamper

Description (last modified by mf2k (Frank Schima))

fail to build scamper:

:info:build Making all in scamper
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_scamper/scamper/work/scamper-cvs-20111202/scamper'
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../scamper  -I/opt/local/include  -pipe -O2 -arch x86_64 -I/usr/local/include -MT scamper_file.lo -MD -MP -MF .deps/scamper_file.Tpo -c -o scamper_file.lo scamper_file.c
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../scamper  -I/opt/local/include  -pipe -O2 -arch x86_64 -I/usr/local/include -MT scamper_file_arts.lo -MD -MP -MF .deps/scamper_file_arts.Tpo -c -o scamper_file_arts.lo scamper_file_arts.c
:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../scamper -I/opt/local/include -pipe -O2 -arch x86_64 -I/usr/local/include -MT scamper_file.lo -MD -MP -MF .deps/scamper_file.Tpo -c scamper_file.c  -fno-common -DPIC -o .libs/scamper_file.o
:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../scamper -I/opt/local/include -pipe -O2 -arch x86_64 -I/usr/local/include -MT scamper_file_arts.lo -MD -MP -MF .deps/scamper_file_arts.Tpo -c scamper_file_arts.c  -fno-common -DPIC -o .libs/scamper_file_arts.o
:info:build In file included from scamper_file_arts.c:35:
:info:build ../internal.h:184:10: fatal error: 'netinet/ip_fw.h' file not found
:info:build #include <netinet/ip_fw.h>
:info:build          ^
:info:build In file included from scamper_file.c:33:
:info:build ../internal.h:184:10: fatal error: 'netinet/ip_fw.h' file not found
:info:build #include <netinet/ip_fw.h>
:info:build          ^
:info:build 1 error generated.
:info:build 1 error generated.
:info:build make[2]: *** [scamper_file_arts.lo] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [scamper_file.lo] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_scamper/scamper/work/scamper-cvs-20111202/scamper'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_scamper/scamper/work/scamper-cvs-20111202'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_scamper/scamper/work/scamper-cvs-20111202'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_scamper/scamper/work/scamper-cvs-20111202" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port scamper returned: command execution failed
:debug:build Error code: CHILDSTATUS 38278 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for scamper: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port scamper for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_scamper/scamper/main.log
dikshie-2:~ dikshie$ 

Change History (6)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Cc: mjl@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to henkpoley@…
Port: scamper added

In the future, please fill in the Port field, Cc the port maintainer(s) and use WkiFormatting.

comment:2 Changed 12 years ago by dikshie@…

What is the output of: find /usr/include -exec grep ipfw_insn {} \; -print

here's:

dhcp-132:/ dikshie$ find /usr/include -exec grep ipfw_insn {} \; -print
grep: /usr/include: Is a directory
grep: /usr/include/apache2: Is a directory
grep: /usr/include/apr-1: Is a directory
grep: /usr/include/architecture: Is a directory
grep: /usr/include/architecture/i386: Is a directory
grep: /usr/include/arpa: Is a directory
grep: /usr/include/bsm: Is a directory
grep: /usr/include/c++: Is a directory
grep: /usr/include/c++/4.2.1: Is a directory
grep: /usr/include/c++/4.2.1/backward: Is a directory
grep: /usr/include/c++/4.2.1/bits: Is a directory
grep: /usr/include/c++/4.2.1/debug: Is a directory
grep: /usr/include/c++/4.2.1/ext: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/basic_tree_policy: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/bin_search_tree_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/binary_heap_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/binomial_heap_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/binomial_heap_base_: Is
a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/cc_hash_table_map_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/eq_fn: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/gp_hash_table_map_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/hash_fn: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/left_child_next_sibling_heap_:
Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/list_update_map_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/list_update_policy: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/ov_tree_map_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/pairing_heap_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/pat_trie_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/rb_tree_map_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/rc_binomial_heap_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/resize_policy: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/splay_tree_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/thin_heap_: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/tree_policy: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/trie_policy: Is a directory
grep: /usr/include/c++/4.2.1/ext/pb_ds/detail/unordered_iterator: Is a directory
grep: /usr/include/c++/4.2.1/tr1: Is a directory
grep: /usr/include/CommonCrypto: Is a directory
grep: /usr/include/cups: Is a directory
grep: /usr/include/curl: Is a directory
grep: /usr/include/default_pager: Is a directory
grep: /usr/include/device: Is a directory
grep: /usr/include/dispatch: Is a directory
grep: /usr/include/DNSServiceDiscovery: Is a directory
grep: /usr/include/editline: Is a directory
grep: /usr/include/ffi: Is a directory
grep: /usr/include/gssapi: Is a directory
grep: /usr/include/hfs: Is a directory
grep: /usr/include/i386: Is a directory
grep: /usr/include/krb5: Is a directory
grep: /usr/include/libexslt: Is a directory
grep: /usr/include/libkern: Is a directory
grep: /usr/include/libkern/i386: Is a directory
grep: /usr/include/libkern/machine: Is a directory
grep: /usr/include/libpq: Is a directory
grep: /usr/include/libxml2: Is a directory
grep: /usr/include/libxml2/libxml: Is a directory
grep: /usr/include/libxslt: Is a directory
grep: /usr/include/mach: Is a directory
grep: /usr/include/mach/i386: Is a directory
grep: /usr/include/mach/machine: Is a directory
grep: /usr/include/mach/x86_64: Is a directory
grep: /usr/include/mach-o: Is a directory
grep: /usr/include/mach-o/i386: Is a directory
grep: /usr/include/mach-o/ppc: Is a directory
grep: /usr/include/mach-o/x86_64: Is a directory
grep: /usr/include/mach_debug: Is a directory
grep: /usr/include/machine: Is a directory
grep: /usr/include/malloc: Is a directory
grep: /usr/include/memcached: Is a directory
grep: /usr/include/miscfs: Is a directory
grep: /usr/include/miscfs/devfs: Is a directory
grep: /usr/include/miscfs/specfs: Is a directory
grep: /usr/include/miscfs/union: Is a directory
grep: /usr/include/net: Is a directory
grep: /usr/include/net-snmp: Is a directory
grep: /usr/include/net-snmp/agent: Is a directory
grep: /usr/include/net-snmp/library: Is a directory
grep: /usr/include/net-snmp/machine: Is a directory
grep: /usr/include/net-snmp/system: Is a directory
grep: /usr/include/netinet: Is a directory
grep: /usr/include/netinet6: Is a directory
grep: /usr/include/netkey: Is a directory
grep: /usr/include/nfs: Is a directory
grep: /usr/include/objc: Is a directory
grep: /usr/include/openssl: Is a directory
grep: /usr/include/os: Is a directory
grep: /usr/include/pcap: Is a directory
grep: /usr/include/pexpert: Is a directory
grep: /usr/include/pexpert/i386: Is a directory
grep: /usr/include/pexpert/machine: Is a directory
grep: /usr/include/php: Is a directory
grep: /usr/include/php/ext: Is a directory
grep: /usr/include/php/ext/date: Is a directory
grep: /usr/include/php/ext/date/lib: Is a directory
grep: /usr/include/php/ext/dom: Is a directory
grep: /usr/include/php/ext/ereg: Is a directory
grep: /usr/include/php/ext/ereg/regex: Is a directory
grep: /usr/include/php/ext/filter: Is a directory
grep: /usr/include/php/ext/gd: Is a directory
grep: /usr/include/php/ext/gd/libgd: Is a directory
grep: /usr/include/php/ext/hash: Is a directory
grep: /usr/include/php/ext/iconv: Is a directory
grep: /usr/include/php/ext/json: Is a directory
grep: /usr/include/php/ext/libxml: Is a directory
grep: /usr/include/php/ext/mbstring: Is a directory
grep: /usr/include/php/ext/mbstring/libmbfl: Is a directory
grep: /usr/include/php/ext/mbstring/libmbfl/mbfl: Is a directory
grep: /usr/include/php/ext/mbstring/oniguruma: Is a directory
grep: /usr/include/php/ext/mysqli: Is a directory
grep: /usr/include/php/ext/mysqlnd: Is a directory
grep: /usr/include/php/ext/pcre: Is a directory
grep: /usr/include/php/ext/pdo: Is a directory
grep: /usr/include/php/ext/session: Is a directory
grep: /usr/include/php/ext/sockets: Is a directory
grep: /usr/include/php/ext/spl: Is a directory
grep: /usr/include/php/ext/sqlite: Is a directory
grep: /usr/include/php/ext/sqlite/libsqlite: Is a directory
grep: /usr/include/php/ext/sqlite/libsqlite/src: Is a directory
grep: /usr/include/php/ext/sqlite3: Is a directory
grep: /usr/include/php/ext/sqlite3/libsqlite: Is a directory
grep: /usr/include/php/ext/standard: Is a directory
grep: /usr/include/php/ext/xml: Is a directory
grep: /usr/include/php/include: Is a directory
grep: /usr/include/php/main: Is a directory
grep: /usr/include/php/main/streams: Is a directory
grep: /usr/include/php/TSRM: Is a directory
grep: /usr/include/php/Zend: Is a directory
grep: /usr/include/postgresql: Is a directory
grep: /usr/include/postgresql/informix: Is a directory
grep: /usr/include/postgresql/informix/esql: Is a directory
grep: /usr/include/postgresql/internal: Is a directory
grep: /usr/include/postgresql/internal/libpq: Is a directory
grep: /usr/include/postgresql/server: Is a directory
grep: /usr/include/postgresql/server/access: Is a directory
grep: /usr/include/postgresql/server/bootstrap: Is a directory
grep: /usr/include/postgresql/server/catalog: Is a directory
grep: /usr/include/postgresql/server/commands: Is a directory
grep: /usr/include/postgresql/server/executor: Is a directory
grep: /usr/include/postgresql/server/foreign: Is a directory
grep: /usr/include/postgresql/server/lib: Is a directory
grep: /usr/include/postgresql/server/libpq: Is a directory
grep: /usr/include/postgresql/server/mb: Is a directory
grep: /usr/include/postgresql/server/nodes: Is a directory
grep: /usr/include/postgresql/server/optimizer: Is a directory
grep: /usr/include/postgresql/server/parser: Is a directory
grep: /usr/include/postgresql/server/port: Is a directory
grep: /usr/include/postgresql/server/port/win32: Is a directory
grep: /usr/include/postgresql/server/port/win32/arpa: Is a directory
grep: /usr/include/postgresql/server/port/win32/netinet: Is a directory
grep: /usr/include/postgresql/server/port/win32/sys: Is a directory
grep: /usr/include/postgresql/server/port/win32_msvc: Is a directory
grep: /usr/include/postgresql/server/port/win32_msvc/sys: Is a directory
grep: /usr/include/postgresql/server/portability: Is a directory
grep: /usr/include/postgresql/server/postmaster: Is a directory
grep: /usr/include/postgresql/server/regex: Is a directory
grep: /usr/include/postgresql/server/replication: Is a directory
grep: /usr/include/postgresql/server/rewrite: Is a directory
grep: /usr/include/postgresql/server/snowball: Is a directory
grep: /usr/include/postgresql/server/snowball/libstemmer: Is a directory
grep: /usr/include/postgresql/server/storage: Is a directory
grep: /usr/include/postgresql/server/tcop: Is a directory
grep: /usr/include/postgresql/server/tsearch: Is a directory
grep: /usr/include/postgresql/server/tsearch/dicts: Is a directory
grep: /usr/include/postgresql/server/utils: Is a directory
grep: /usr/include/protocols: Is a directory
grep: /usr/include/python2.5: Is a directory
grep: /usr/include/python2.6: Is a directory
grep: /usr/include/python2.7: Is a directory
grep: /usr/include/readline: Is a directory
grep: /usr/include/rpc: Is a directory
grep: /usr/include/rpcsvc: Is a directory
grep: /usr/include/sasl: Is a directory
grep: /usr/include/secure: Is a directory
grep: /usr/include/security: Is a directory
grep: /usr/include/security/audit: Is a directory
grep: /usr/include/servers: Is a directory
grep: /usr/include/sys: Is a directory
grep: /usr/include/tidy: Is a directory
grep: /usr/include/uuid: Is a directory
grep: /usr/include/vfs: Is a directory
grep: /usr/include/xar: Is a directory
grep: /usr/include/xlocale: Is a directory
grep: /usr/include/xpc: Is a directory
dhcp-132:/ dikshie$ ls /usr/include/netinet
bootp.h         icmp_var.h      igmp.h          in.h            in_systm.h      ip.h            ip_icmp.h       ip_var.h        tcp_fsm.h       tcp_timer.h     tcpip.h         udp_var.h
icmp6.h         if_ether.h      igmp_var.h      in_pcb.h        in_var.h        ip6.h           ip_mroute.h     tcp.h           tcp_seq.h       tcp_var.h       udp.h

comment:3 Changed 12 years ago by jmroot (Joshua Root)

So ipfw was deprecated in 10.7 and they removed the headers in 10.8. As a temporary workaround you could build against the 10.7 SDK, but Apple seems to be pushing for everyone to switch to pf.

comment:4 in reply to:  description ; Changed 11 years ago by matthewluckie

Replying to dikshie@…:

I have fixed this in scamper-cvs-20130824:

http://www.caida.org/tools/measurement/scamper/code/scamper-cvs-20130824.tar.gz

Please update the macport for scamper. Thanks

Matthew

comment:5 in reply to:  4 Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to mjl@…:

Please update the macport for scamper. Thanks

You should open a new update ticket for this, preferably with a patch.

comment:6 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed

Fixed by r110784 via #40399.

Note: See TracTickets for help on using tickets.