New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24212 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture )

Reported by: russell.jones@… Owned by: todmorrison@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: admsimat@…, ryandesign@…
Port: alpine

Description (last modified by macsforever2000@…) (diff)

sudo port clean alpine
sudo port -d install alpine

output attached.

Attachments

alpine-debug-25thMar2010.txt (97.2 KB) - added by russell.jones@… 3 years ago.
debug output of install of alpine on 10.6.2
Portfile (2.2 KB) - added by todmorrison@… 3 years ago.
Alpine Portfile with universal variant support
alpine-debug-20100517170721.txt (126.3 KB) - added by russell.jones@… 3 years ago.
sudo port clean alpine ; sudo port -d install alpine

Change History

Changed 3 years ago by russell.jones@…

debug output of install of alpine on 10.6.2

comment:1 Changed 3 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to todmorrison@…
  • Description modified (diff)

Changed 3 years ago by todmorrison@…

Alpine Portfile with universal variant support

comment:2 follow-up: ↓ 9 Changed 3 years ago by todmorrison@…

Please test to see if the newly attached Portfile fixes the problem.

comment:3 Changed 3 years ago by russell.jones@…

Just tried it as per http://guide.macports.org/chunked/development.local-repositories.html and none of the sources for alpine-osx-10.6.patch work.

comment:4 Changed 3 years ago by russell.jones@…

Is it the file in #20971?

comment:5 Changed 3 years ago by russell.jones@…

Seems so. Added it to ~ports/mail/alpine/files and it was applied and the build began. Unfortunately the build failed. Debug output attached.

Changed 3 years ago by russell.jones@…

sudo port clean alpine ; sudo port -d install alpine

comment:6 Changed 3 years ago by russell.jones@…

Looks like libintl isn't being added in the compilation and linking of rpdump.c Adding -lintl to the last line gives no errors. Not clear from the Makefile how this should be caused to happen.

/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H   -I../include -I../include -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -I/opt/local/include -I/opt/local/include -g -D_THREAD_SAFE  -Dbsd -O2 -arch x86_64 -arch i386 -c rpdump.c
1475	/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2 -std=gnu99 -g -D_THREAD_SAFE  -Dbsd -O2 -arch x86_64 -arch i386 `cat ../c-client/LDFLAGS` -L/opt/local/lib -L/opt/local/lib -arch x86_64 -arch i386 -L/opt/local/lib -L/opt/local/lib -o rpdump rpdump.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lssl -lldap  -lncurses -llber -lssl -framework Carbon -framework ApplicationServices -framework Security
1476	/usr/bin/gcc-4.2 -std=gnu99 -g -D_THREAD_SAFE -Dbsd -O2 -arch x86_64 -arch i386 -arch x86_64 -arch i386 -arch x86_64 -arch i386 -o rpdump rpdump.o -framework Carbon -framework ApplicationServices -framework Security  -L//opt/local/lib -lkrb5 -lcom_err -lpam -L/usr/lib -L/opt/local/lib ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 /opt/local/lib/libldap.dylib -L/opt/local/lib/db46 /opt/local/lib/libsasl2.dylib -ldl -lcrypto -lncurses /opt/local/lib/liblber.dylib -lresolv -lssl

comment:7 Changed 3 years ago by admsimat@…

  • Cc admsimat@… added

Cc Me!

comment:8 Changed 3 years ago by admsimat@…

Adding -lintl whenever the port command complains, solves the problem and install alpine. But this is not, of course, an acceptable solution. Still waiting...

comment:9 in reply to: ↑ 2 ; follow-up: ↓ 10 Changed 3 years ago by ryandesign@…

  • Cc ryandesign@… added
  • Status changed from new to closed
  • Resolution set to fixed

Replying to todmorrison@…:

Please test to see if the newly attached Portfile fixes the problem.

Tod, it does; thanks. Committed in r68591. In the future, please supply unified diffs instead of complete portfiles so we can more easily see what changes you are proposing.

Russell and admsimat, "Undefined symbols _libintl_setlocale" is a separate issue; any discussion about it should occur in #24954.

comment:10 in reply to: ↑ 9 Changed 3 years ago by russell.jones@…

Russell and admsimat, "Undefined symbols _libintl_setlocale" is a separate issue; any discussion about it should occur in #24954.

Cheers, Ryan.

Note: See TracTickets for help on using tickets.