Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#15842 closed defect (fixed)

tcpdump-3.9.8 build error on Panther

Reported by: wustenfuchs@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: tcpdump build error Cc:
Port:

Description

2003 Apple Macintosh G4 Powerbook 12" - Mac OS-X 10.3.9 - XCode 1.5 - MacPorts 1.6.0

I also had a build failure on kismet (also dependent on libpcap; ticket #15840). From the terminal output this seemed a separate issue to me, but since my opinion is basically just ignorant speculation I have mentioned it anyway.

ROMMEL:~ Rommel$ sudo port -dRst install tcpdump
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/tcpdump
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/tcpdump
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap
DEBUG: Searching for dependency: libpcap
DEBUG: Found Dependency: receipt exists for libpcap
--->  Fetching tcpdump
--->  Attempting to fetch tcpdump-3.9.8.tar.gz from http://www.tcpdump.org/release/
--->  Attempting to fetch tcpdump-3.9.8.tar.gz from http://www.sfr-fresh.com/unix/misc/
  % Total    % Received % Xferd  Average Speed          Time             Curr.
                                 Dload  Upload Total    Current  Left    Speed
100  916k  100  916k    0     0   3864      0  0:04:02  0:04:02  0:00:00  3091
--->  Verifying checksum(s) for tcpdump
--->  Extracting tcpdump
--->  Applying patches to tcpdump
--->  Configuring tcpdump
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap
trace: access denied to /opt/local/lib/libcrypto.a (openssl)
trace: access denied to /opt/local/lib/libcrypto.dylib (openssl)
trace: access denied to /opt/local/include/openssl/des.h (openssl)
trace: access denied to /opt/local/include/openssl/evp.h (openssl)
trace: access denied to /opt/local/include/openssl/opensslconf.h (openssl)
trace: access denied to /opt/local/include/openssl/ossl_typ.h (openssl)
trace: access denied to /opt/local/include/openssl/e_os2.h (openssl)
trace: access denied to /opt/local/include/openssl/symhacks.h (openssl)
trace: access denied to /opt/local/include/openssl/bio.h (openssl)
trace: access denied to /opt/local/include/openssl/crypto.h (openssl)
trace: access denied to /opt/local/include/openssl/stack.h (openssl)
trace: access denied to /opt/local/include/openssl/safestack.h (openssl)
trace: access denied to /opt/local/include/openssl/opensslv.h (openssl)
trace: access denied to /opt/local/include/openssl/objects.h (openssl)
trace: access denied to /opt/local/include/openssl/obj_mac.h (openssl)
trace: access denied to /opt/local/include/openssl/asn1.h (openssl)
trace: access denied to /opt/local/include/openssl/bn.h (openssl)
trace: access denied to /opt/local/include/openssl/evp.h (openssl)
trace: access denied to /opt/local/include/openssl/opensslconf.h (openssl)
trace: access denied to /opt/local/include/openssl/ossl_typ.h (openssl)
trace: access denied to /opt/local/include/openssl/e_os2.h (openssl)
trace: access denied to /opt/local/include/openssl/symhacks.h (openssl)
trace: access denied to /opt/local/include/openssl/bio.h (openssl)
trace: access denied to /opt/local/include/openssl/crypto.h (openssl)
trace: access denied to /opt/local/include/openssl/stack.h (openssl)
trace: access denied to /opt/local/include/openssl/safestack.h (openssl)
trace: access denied to /opt/local/include/openssl/opensslv.h (openssl)
trace: access denied to /opt/local/include/openssl/objects.h (openssl)
trace: access denied to /opt/local/include/openssl/obj_mac.h (openssl)
trace: access denied to /opt/local/include/openssl/asn1.h (openssl)
trace: access denied to /opt/local/include/openssl/bn.h (openssl)
Warning: An activity was attempted outside sandbox: /etc/group
Warning: An activity was attempted outside sandbox: /etc/group
--->  Building tcpdump with target all
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap
trace: access denied to /opt/local/include/openssl/evp.h (openssl)
trace: access denied to /opt/local/include/openssl/opensslconf.h (openssl)
trace: access denied to /opt/local/include/openssl/ossl_typ.h (openssl)
trace: access denied to /opt/local/include/openssl/e_os2.h (openssl)
trace: access denied to /opt/local/include/openssl/symhacks.h (openssl)
trace: access denied to /opt/local/include/openssl/bio.h (openssl)
trace: access denied to /opt/local/include/openssl/crypto.h (openssl)
trace: access denied to /opt/local/include/openssl/stack.h (openssl)
trace: access denied to /opt/local/include/openssl/safestack.h (openssl)
trace: access denied to /opt/local/include/openssl/opensslv.h (openssl)
trace: access denied to /opt/local/include/openssl/objects.h (openssl)
trace: access denied to /opt/local/include/openssl/obj_mac.h (openssl)
trace: access denied to /opt/local/include/openssl/asn1.h (openssl)
trace: access denied to /opt/local/include/openssl/bn.h (openssl)
trace: access denied to /opt/local/include/openssl/md5.h (openssl)
trace: access denied to /opt/local/include/openssl/e_os2.h (openssl)
trace: access denied to /opt/local/include/openssl/opensslconf.h (openssl)
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_tcpdump/work/tcpdump-3.9.8" && make all " returned error 2
Command output: /usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-sll.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-slow.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-snmp.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-stp.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-sunatm.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-sunrpc.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-symantec.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-syslog.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-tcp.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-telnet.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-tftp.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-timed.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-token.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-udp.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-vjc.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-vrrp.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-wb.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./print-zephyr.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./setsignal.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./tcpdump.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c ./util.c
sed -e 's/.*/char version[] = "&";/' ./VERSION > version.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -c version.c
/usr/bin/gcc-3.3 -O2 -O2 -DHAVE_CONFIG_H -I/opt/local/include  -I/usr//include -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr//include -I./missing -L/usr//lib -L/opt/local/lib -o tcpdump addrtoname.o af.o cpack.o gmpls.o oui.o gmt2local.o ipproto.o nlpid.o l2vpn.o machdep.o parsenfsfh.o print-802_11.o print-ap1394.o print-ah.o print-arcnet.o print-aodv.o print-arp.o print-ascii.o print-atalk.o print-atm.o print-beep.o print-bfd.o print-bgp.o print-bootp.o print-cdp.o print-chdlc.o print-cip.o print-cnfp.o print-dccp.o print-decnet.o print-domain.o print-dvmrp.o print-enc.o print-egp.o print-eap.o print-eigrp.o print-esp.o print-ether.o print-fddi.o print-fr.o print-gre.o print-hsrp.o print-icmp.o print-igmp.o print-igrp.o print-ip.o print-ipcomp.o print-ipfc.o print-ipx.o print-isakmp.o print-isoclns.o print-juniper.o print-krb.o print-l2tp.o print-lane.o print-ldp.o print-llc.o print-lmp.o print-lspping.o print-lwres.o print-mobile.o print-mpls.o print-msdp.o print-nfs.o print-ntp.o print-null.o print-olsr.o print-ospf.o print-pgm.o print-pim.o print-ppp.o print-pppoe.o print-pptp.o print-radius.o print-raw.o print-rip.o print-rsvp.o print-rx.o print-sctp.o print-sip.o print-sl.o print-sll.o print-slow.o print-snmp.o print-stp.o print-sunatm.o print-sunrpc.o print-symantec.o print-syslog.o print-tcp.o print-telnet.o print-tftp.o print-timed.o print-token.o print-udp.o print-vjc.o print-vrrp.o print-wb.o print-zephyr.o setsignal.o tcpdump.o util.o version.o   -lcrypto -lpcap 
ld: Undefined symbols:
_EVP_CIPHER_CTX_block_size
_EVP_CIPHER_iv_length
_EVP_Cipher
_pcap_dump_ftell
make: *** [tcpdump] Error 1

Error: Status 1 encountered during processing.

All help is greatly appreciated.

Change History (5)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mww@…

Assigning to maintainer. I don't know why you're using trace mode all the time, it's a debugging tool. Tcpdump is technically missing a dependency declaration on openssl, but from your output it would have installed fine without trace mode.

comment:2 Changed 16 years ago by wustenfuchs@…

Sorry, I am relatively new to macports and i hadn't used that switch before, I shall stop using that one also. Please tell me if I am doing anything else which appears unnecessary or counter-productive. I will try it again without the -t and see how it goes. Thanks.

comment:3 Changed 16 years ago by wustenfuchs@…

That works fine, thanks. Sorry again to waste your time and thanks very much for the help.

comment:4 Changed 16 years ago by mww@…

Resolution: fixed
Status: newclosed

I've just added the missing openssl dependency though ;) -- thanks!

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.