Opened 11 years ago

Closed 4 years ago

#42779 closed defect (fixed)

asn1c @0.9.24 compile fails due to missing symbols on Snow Leopard

Reported by: cooljeanius (Eric Gallager) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: asn1c

Description

Specifically:

/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -pipe -Os -arch x86_64 -arch i386 -Wall -Wshadow -Wcast-qual -Wcast-align -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -arch i386 -o unber unber.o  
libtool: link: /usr/bin/gcc-4.2 -pipe -Os -arch x86_64 -arch i386 -Wall -Wshadow -Wcast-qual -Wcast-align -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wl,-headerpad_max_install_names -arch x86_64 -arch i386 -o unber unber.o  -L/opt/local/lib
Undefined symbols for architecture x86_64:
  "_xer_whitespace_span", referenced from:
      _xer_decode__primitive_body in unber.o
      _xer_decode__primitive_body in unber.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
Undefined symbols for architecture i386:
  "_xer_whitespace_span", referenced from:
      _xer_decode__primitive_body in unber.o
      _xer_decode__primitive_body in unber.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_asn1c/asn1c/work/.tmp/cc5eMXAW.out (No such file or directory)
make[3]: *** [unber] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_asn1c/asn1c/work/asn1c-0.9.24/asn1c'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_asn1c/asn1c/work/asn1c-0.9.24/asn1c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_asn1c/asn1c/work/asn1c-0.9.24'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_asn1c/asn1c/work/asn1c-0.9.24'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_asn1c/asn1c/work/asn1c-0.9.24" && /usr/bin/make -j2 -w all 
Exit code: 2
Error: org.macports.build for port asn1c returned: command execution failed
DEBUG: Error code: CHILDSTATUS 22672 2
DEBUG: Backtrace: command execution failed

Will attach full log next...

Attachments (1)

main.log (73.2 KB) - added by cooljeanius (Eric Gallager) 11 years ago.
main.log for asn1c build failure

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by cooljeanius (Eric Gallager)

Attachment: main.log added

main.log for asn1c build failure

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

Cc: mww@… removed

comment:2 Changed 4 years ago by cooljeanius (Eric Gallager)

I'm on Big Sur now and have asn1c @0.9.28 successfully installed now; I guess this bug can stay open if anyone still on Snow Leopard is still having issues, but it doesn't need to stay open for me anymore though.

comment:3 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

It was fixed at some point, and builds back to at least Leopard now

https://packages.macports.org/asn1c/

Note: See TracTickets for help on using tickets.