Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16198 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

adns 1.4 fails to build on OS X 10.3.9

Reported by: face@… Owned by: toby@…
Priority: Normal Milestone: Port Bugs
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

Changed 4 months ago by jmr@…

  • owner changed from macports-tickets@… to toby@…
  • milestone set to Port Bugs

Assigning to maintainer.

Changed 4 months ago by toby@…

  • status changed from new to closed
  • resolution set to wontfix

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

Changed 4 months ago by face@…

  • status changed from closed to reopened
  • resolution wontfix deleted

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 ?

Changed 4 months ago by toby@…

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

Changed 4 months 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

Changed 4 months ago by ryandesign@…

  • status changed from reopened to closed
  • resolution set to fixed

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.

Note: See TracTickets for help on using tickets.