[MacPorts] #24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture )
#24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture ) --------------------------------------------+------------------------------- Reporter: russell.jones@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: alpine --------------------------------------------+------------------------------- sudo port clean alpine sudo port -d install alpine output attached. -- Ticket URL: <http://trac.macports.org/ticket/24212> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture ) --------------------------------------------+------------------------------- Reporter: russell.jones@… | Owner: todmorrison@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: alpine --------------------------------------------+------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => todmorrison@… Old description:
sudo port clean alpine sudo port -d install alpine output attached.
New description: {{{ sudo port clean alpine sudo port -d install alpine }}} output attached. -- -- Ticket URL: <http://trac.macports.org/ticket/24212#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture ) --------------------------------------------+------------------------------- Reporter: russell.jones@… | Owner: todmorrison@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: alpine --------------------------------------------+------------------------------- Comment(by todmorrison@…): Please test to see if the newly attached Portfile fixes the problem. -- Ticket URL: <http://trac.macports.org/ticket/24212#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture ) --------------------------------------------+------------------------------- Reporter: russell.jones@… | Owner: todmorrison@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: alpine --------------------------------------------+------------------------------- Comment(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. -- Ticket URL: <http://trac.macports.org/ticket/24212#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture ) --------------------------------------------+------------------------------- Reporter: russell.jones@… | Owner: todmorrison@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: alpine --------------------------------------------+------------------------------- Comment(by russell.jones@…): Is it the file in #20971? -- Ticket URL: <http://trac.macports.org/ticket/24212#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture ) --------------------------------------------+------------------------------- Reporter: russell.jones@… | Owner: todmorrison@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: alpine --------------------------------------------+------------------------------- Comment(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. -- Ticket URL: <http://trac.macports.org/ticket/24212#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture ) --------------------------------------------+------------------------------- Reporter: russell.jones@… | Owner: todmorrison@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: alpine --------------------------------------------+------------------------------- Comment(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 }}} -- Ticket URL: <http://trac.macports.org/ticket/24212#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture ) --------------------------------------------+------------------------------- Reporter: russell.jones@… | Owner: todmorrison@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: alpine --------------------------------------------+------------------------------- Comment(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... -- Ticket URL: <http://trac.macports.org/ticket/24212#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture ) ---------------------------------------------+------------------------------ Reporter: russell.jones@… | Owner: todmorrison@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: alpine | ---------------------------------------------+------------------------------ Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => fixed Comment: Replying to [comment:2 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. -- Ticket URL: <http://trac.macports.org/ticket/24212#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24212: alpine fails to build on 10.6 +universal ( c-client/utf8.o, file is not of required architecture ) ---------------------------------------------+------------------------------ Reporter: russell.jones@… | Owner: todmorrison@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: alpine | ---------------------------------------------+------------------------------ Comment(by russell.jones@…):
Russell and admsimat, "Undefined symbols _libintl_setlocale" is a separate issue; any discussion about it should occur in #24954.
Cheers, Ryan. -- Ticket URL: <http://trac.macports.org/ticket/24212#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts