Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16198 closed defect (fixed)

adns 1.4 fails to build on OS X 10.3.9

Reported by: face@… Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

sudo port upgrade adns
--->  Fetching adns
--->  Attempting to fetch adns-1.4.tar.gz from ftp://ftp.chiark.greenend.org.uk/users/ian/adns/
--->  Verifying checksum(s) for adns
--->  Extracting adns
--->  Applying patches to adns
--->  Configuring adns
--->  Building adns with target all
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_adns/work/adns-1.4" && make all " returned error 2
Command output: ar cqv libadns.a.new types.o event.o query.o reply.o general.o setup.o transmit.o parse.o poll.o check.o
q - types.o
q - event.o
q - query.o
q - reply.o
q - general.o
q - setup.o
q - transmit.o
q - parse.o
q - poll.o
q - check.o
ranlib libadns.a.new
mv -f libadns.a.new libadns.a
/usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith    -fPIC -I./../src -c -o types_p.o ../src/types.c
/usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith    -fPIC -I./../src -c -o event_p.o ../src/event.c
/usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith    -fPIC -I./../src -c -o query_p.o ../src/query.c
/usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith    -fPIC -I./../src -c -o reply_p.o ../src/reply.c
/usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith    -fPIC -I./../src -c -o general_p.o ../src/general.c
/usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith    -fPIC -I./../src -c -o setup_p.o ../src/setup.c
/usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith    -fPIC -I./../src -c -o transmit_p.o ../src/transmit.c
/usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith    -fPIC -I./../src -c -o parse_p.o ../src/parse.c
/usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith    -fPIC -I./../src -c -o poll_p.o ../src/poll.c
/usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith    -fPIC -I./../src -c -o check_p.o ../src/check.c
rm -f libadns.1.3.dylib
/usr/bin/gcc-3.3 -L/opt/local/lib   -dynamiclib -install_name /opt/local/lib/libadns.1.dylib -o libadns.1.3.dylib -compatibility_version 1 -current_version 1.3 types_p.o event_p.o query_p.o reply_p.o general_p.o setup_p.o transmit_p.o parse_p.o poll_p.o check_p.o  
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
types_p.o definition of common _data (size 4)
/usr/bin/libtool: internal link edit command failed
make[1]: *** [libadns.1.3.dylib] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1
 

Change History (7)

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

Milestone: Port Bugs
Owner: changed from macports-tickets@… to toby@…

Assigning to maintainer.

comment:2 Changed 16 years ago by tobypeterson

Resolution: wontfix
Status: newclosed

You're running a five-year-old OS. Patches gladly accepted.

comment:3 Changed 16 years ago by face@…

Resolution: wontfix
Status: closedreopened

I did a simple ./configure --disable-dynamic followed by a port build adns

and the problem went away.

Maybe just a simple variant that allows us to set the configure option ?

comment:4 Changed 16 years ago by tobypeterson

Ok, i committed a change that might do that. Let me know.

comment:5 Changed 16 years ago by face@…

Works fine. Thanks.

sudo port install adns
--->  Fetching adns
--->  Verifying checksum(s) for adns
--->  Extracting adns
--->  Applying patches to adns
--->  Configuring adns
--->  Building adns with target all
--->  Staging adns into destroot
--->  Installing adns 1.4_0+darwin_7
--->  Activating adns 1.4_0+darwin_7
--->  Cleaning adns

comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed

I can also confirm that the issue existed on Panther and also on Tiger (at least on PowerPC). Toby initially committed r38923 which fixed the build on Panther. Toby then undid that fix and committed a different fix in r39235 which also fixed the build for Tiger.

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.