Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#24212 closed defect (fixed)

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

Reported by: Russell-Jones-OxPhys (Russell Jones) Owned by: todmorrison (Tod Morrison)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: admsimat@…, ryandesign (Ryan Schmidt)
Port: alpine

Description (last modified by mf2k (Frank Schima))

sudo port clean alpine
sudo port -d install alpine

output attached.

Attachments (3)

alpine-debug-25thMar2010.txt (97.2 KB) - added by Russell-Jones-OxPhys (Russell Jones) 9 years ago.
debug output of install of alpine on 10.6.2
Portfile (2.2 KB) - added by todmorrison (Tod Morrison) 9 years ago.
Alpine Portfile with universal variant support
alpine-debug-20100517170721.txt (126.3 KB) - added by Russell-Jones-OxPhys (Russell Jones) 9 years ago.
sudo port clean alpine ; sudo port -d install alpine

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by Russell-Jones-OxPhys (Russell Jones)

debug output of install of alpine on 10.6.2

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

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

Changed 9 years ago by todmorrison (Tod Morrison)

Attachment: Portfile added

Alpine Portfile with universal variant support

comment:2 Changed 9 years ago by todmorrison (Tod Morrison)

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

comment:3 Changed 9 years ago by Russell-Jones-OxPhys (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 9 years ago by Russell-Jones-OxPhys (Russell Jones)

Is it the file in #20971?

comment:5 Changed 9 years ago by Russell-Jones-OxPhys (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 9 years ago by Russell-Jones-OxPhys (Russell Jones)

sudo port clean alpine ; sudo port -d install alpine

comment:6 Changed 9 years ago by Russell-Jones-OxPhys (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 9 years ago by admsimat@…

Cc: admsimat@… added

Cc Me!

comment:8 Changed 9 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 ; Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

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 9 years ago by Russell-Jones-OxPhys (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.