[MacPorts] #20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: p5-locale-gettext | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Building p5-locale-gettext Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5 -locale-gettext/work/gettext-1.05" && make all " returned error 2 Command output: rm -f blib/arch/auto/Locale/gettext/gettext.bundle LD_RUN_PATH="/opt/local/lib" /usr/bin/gcc-4.0 -arch ppc -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib gettext.o -o blib/arch/auto/Locale/gettext/gettext.bundle \ -L/opt/local/lib -lintl \ ld warning: in /opt/local/lib/libgcc_s.10.5.dylib, missing required architecture i386 in file ld: in /opt/local/lib/libiconv.2.dylib, file is not of required architecture for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccF2rLB7.out (No such file or directory) make: *** [blib/arch/auto/Locale/gettext/gettext.bundle] Error 1 -- Ticket URL: <http://trac.macports.org/ticket/20793> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: p5-locale-gettext | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Description changed by toby@…: Old description:
Building p5-locale-gettext Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5 -locale-gettext/work/gettext-1.05" && make all " returned error 2 Command output: rm -f blib/arch/auto/Locale/gettext/gettext.bundle LD_RUN_PATH="/opt/local/lib" /usr/bin/gcc-4.0 -arch ppc -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib gettext.o -o blib/arch/auto/Locale/gettext/gettext.bundle \ -L/opt/local/lib -lintl \
ld warning: in /opt/local/lib/libgcc_s.10.5.dylib, missing required architecture i386 in file ld: in /opt/local/lib/libiconv.2.dylib, file is not of required architecture for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccF2rLB7.out (No such file or directory) make: *** [blib/arch/auto/Locale/gettext/gettext.bundle] Error 1
New description: {{{ Building p5-locale-gettext Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5 -locale-gettext/work/gettext-1.05" && make all " returned error 2 Command output: rm -f blib/arch/auto/Locale/gettext/gettext.bundle LD_RUN_PATH="/opt/local/lib" /usr/bin/gcc-4.0 -arch ppc -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib gettext.o -o blib/arch/auto/Locale/gettext/gettext.bundle \ -L/opt/local/lib -lintl \ ld warning: in /opt/local/lib/libgcc_s.10.5.dylib, missing required architecture i386 in file ld: in /opt/local/lib/libiconv.2.dylib, file is not of required architecture for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccF2rLB7.out (No such file or directory) make: *** [blib/arch/auto/Locale/gettext/gettext.bundle] Error 1 }}} -- -- Ticket URL: <http://trac.macports.org/ticket/20793#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: p5-locale-gettext | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Comment(by toby@…): Do you actually have /opt/local/lib/libgcc_s.10.5.dylib ? And if so... WTF?! -- Ticket URL: <http://trac.macports.org/ticket/20793#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Changes (by jmr@…): * keywords: p5-locale-gettext => Comment: Looks like you're using +universal? That's not going to work unless all the dependencies are also +universal. -- Ticket URL: <http://trac.macports.org/ticket/20793#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Comment(by alex.mikhalev@…): This dependency was pulled by ImageMagic and imagemagic didn't have +unversal. I do have /opt/local/lib/libgcc_s.10.5.dylib but it doesn't mean I have intel code there. It may be not installed or removed by xslimmer and etc. -- Ticket URL: <http://trac.macports.org/ticket/20793#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 toby@…]:
Do you actually have /opt/local/lib/libgcc_s.10.5.dylib ? And if so... WTF?! Possibly #20889.
-- Ticket URL: <http://trac.macports.org/ticket/20793#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [comment:4 alex.mikhalev@…]:
This dependency was pulled by ImageMagic and imagemagic didn't have +unversal. I do have /opt/local/lib/libgcc_s.10.5.dylib but it doesn't mean I have intel code there. I'm not sure why it's trying to build for ppc and i386 if you did not request a universal build. Please clean the port and try again with debug output.
{{{ sudo port clean p5-locale-gettext sudo port -d install p5-locale-gettext }}} If it fails again, attach the complete debug output to this ticket. Do you have any ports installed universal?
It may be not installed or removed by xslimmer and etc. I'm not sure what you mean.
-- Ticket URL: <http://trac.macports.org/ticket/20793#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Comment(by alex.mikhalev@…):
{{{ sudo port clean p5-locale-gettext sudo port -d install p5-locale-gettext }}}
If it fails again, attach the complete debug output to this ticket.
===== BEGIN OF DEBUG ---> Fetching p5-locale-gettext ---> Verifying checksum(s) for p5-locale-gettext ---> Checksumming gettext-1.05.tar.gz ---> Extracting p5-locale-gettext ---> Extracting gettext-1.05.tar.gz ---> Applying patches to p5-locale-gettext ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5 -locale-gettext/files/patch-Makefile.PL patching file Makefile.PL ---> Configuring p5-locale-gettext checking for gettext... no checking for gettext in -I/opt/local/include -L/opt/local/lib -lintl... yes checking for dgettext in -I/opt/local/include -L/opt/local/lib -lintl... yes checking for ngettext in -I/opt/local/include -L/opt/local/lib -lintl... yes checking for bind_textdomain_codeset in -I/opt/local/include -L/opt/local/lib -lintl... yes Unrecognized argument in LIBS ignored: '-I/opt/local/include' Writing Makefile for Locale::gettext ---> Building p5-locale-gettext cp gettext.pm blib/lib/Locale/gettext.pm /opt/local/bin/perl /System/Library/Perl/5.8.8/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.8/ExtUtils/typemap gettext.xs > gettext.xsc && mv gettext.xsc gettext.c Please specify prototyping behavior for gettext.xs (see perlxs manual) /usr/bin/gcc-4.0 -c -arch ppc -arch i386 -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after- statement -I/usr/local/include -O3 -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" "-I/System/Library/Perl/5.8.8/darwin-thread-multi- 2level/CORE" gettext.c Running Mkbootstrap for Locale::gettext () chmod 644 gettext.bs rm -f blib/arch/auto/Locale/gettext/gettext.bundle LD_RUN_PATH="/opt/local/lib" /usr/bin/gcc-4.0 -arch ppc -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib gettext.o -o blib/arch/auto/Locale/gettext/gettext.bundle \ -L/opt/local/lib -lintl \ ld warning: in /opt/local/lib/libgcc_s.10.5.dylib, missing required architecture i386 in file ld: in /opt/local/lib/libiconv.2.dylib, file is not of required architecture for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccdrIGp3.out (No such file or directory) make: *** [blib/arch/auto/Locale/gettext/gettext.bundle] Error 1 Warning: the following items did not execute (for p5-locale-gettext): org.macports.activate org.macports.build org.macports.destroot org.macports.install END OF debug========
Do you have any ports installed universal?
any ways to check?
It may be not installed or removed by xslimmer and etc. I'm not sure what you mean.
-- Ticket URL: <http://trac.macports.org/ticket/20793#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:7 alex.mikhalev@…]:
===== BEGIN OF DEBUG[[br]] ---> Fetching p5-locale-gettext[[br]] ---> Verifying checksum(s) for p5-locale-gettext[[br]] ---> Checksumming gettext-1.05.tar.gz
[snip] That's just the regular output; we need the debug output which will be much more extensive. Follow the instructions I [comment:6 posted above] to try the build again with debug mode. You will want to copy the output into a text file and attach it to this ticket rather than pasting it all into a comment.
Do you have any ports installed universal? any ways to check?
This should work: {{{ port installed | grep universal }}} -- Ticket URL: <http://trac.macports.org/ticket/20793#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Comment(by alex.mikhalev@…): uploaded debug log.
port installed | grep universal produced no output.
-- Ticket URL: <http://trac.macports.org/ticket/20793#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Comment(by ryandesign@…): It doesn't look like your debug output is complete; it doesn't look like you cleaned first. "sudo port clean p5-locale-gettext", then "sudo port -d install p5-locale-gettext". But we all still want to know where your /opt/local/lib/libgcc_s.10.5.dylib came from. What does "port provides /opt/local/lib/libgcc_s.10.5.dylib" say? The presence of that library is likely the cause of your problem, so we should figure out what port put it there and see if that port can be uninstalled. -- Ticket URL: <http://trac.macports.org/ticket/20793#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Any news? -- Ticket URL: <http://trac.macports.org/ticket/20793#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc -------------------------------------+-------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-locale-gettext -------------------------------------+-------------------------------------- Comment(by alex.mikhalev@…): I solved it by reinstalling macports completely. can be closed. -- Ticket URL: <http://trac.macports.org/ticket/20793#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20793: p5-locale-gettext requested -arch i386 which is incorrect on powerpc --------------------------------------+------------------------------------- Reporter: alex.mikhalev@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: Port: p5-locale-gettext | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => worksforme Comment: Ok, glad you got it working. -- Ticket URL: <http://trac.macports.org/ticket/20793#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts