Opened 9 years ago

Closed 5 years ago

#46851 closed defect (fixed)

adns build fails on 10.6 snow leopard

Reported by: chillin- Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: khepler
Port: adns

Description

:info:build Undefined symbols:
:info:build   "_adns_text2addr", referenced from:
:info:build       _sockaddr_aton in adh-query.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[1]: *** [adnshost] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_adns/adns/work/adns-1.5.0/client'
: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_adns/adns/work/adns-1.5.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_adns/adns/work/adns-1.5.0" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port adns returned: command execution failed
:debug:build Error code: CHILDSTATUS 45210 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
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for adns: org.macports.install org.macports.build org.macports.destroot

Attachments (1)

adns.main.log (36.2 KB) - added by chillin- 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by chillin-

Attachment: adns.main.log added

comment:1 Changed 9 years ago by chillin-

root@ana:~/adns$ port -v uninstall apachetop 2>&1 | tee apachetop.console.log
--->  Deactivating apachetop @0.12.6_1
--->  Cleaning apachetop
--->  Removing work directory for apachetop
--->  Uninstalling apachetop @0.12.6_1
--->  Cleaning apachetop
--->  Removing work directory for apachetop
root@ana:~/adns$ port -v uninstall adns 2>&1 | tee adns.console.log
--->  Deactivating adns @1.4_0
--->  Cleaning adns
--->  Removing work directory for adns
--->  Uninstalling adns @1.4_0
--->  Cleaning adns
--->  Removing work directory for adns
root@ana:~/adns$ :-)

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Keywords: adns build fail removed

comment:3 Changed 9 years ago by khepler

Build fails on 10.5/ppc as well, but the error has changed. I was seeing the reported linker message prior to syncing Macports today, but now it returns:

/usr/bin/gcc-4.2 -pipe -Os -arch ppc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign  -I. -I../src -I./../sr
c    -c -o addrtext.o addrtext.c
addrtext.c: In function ‘dotest’:
addrtext.c:115: error: ‘AI_NUMERICSERV’ undeclared (first use in this function)
addrtext.c:115: error: (Each undeclared identifier is reported only once
addrtext.c:115: error: for each function it appears in.)

Cursory web searches suggest defining AI_NUMERICSERV to 0 on platforms that don't support it.

comment:4 Changed 9 years ago by khepler

Cc: khepler@… added

Cc Me!

comment:5 Changed 5 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

somewhere along the line:

$ port -v installed adns
The following ports are currently installed:
  adns @1.5.1_0 (active) platform='darwin 10' archs='x86_64' date='2018-12-05T19:41:27-0800'
Note: See TracTickets for help on using tickets.