[MacPorts] #28789: p5-locale-gettext @1.05 +universal Configure failure: shell command failed

MacPorts noreply at macports.org
Tue Mar 15 00:25:13 PDT 2011


#28789: p5-locale-gettext @1.05 +universal Configure failure: shell command failed
----------------------------------+-----------------------------------------
 Reporter:  ccarey@…              |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.2                                
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------
 Hello there,

 I’m running Xcode 2.5 on Mac OS X 10.4.11 PPC. I’d started by downloading
 the Tiger-specific MacPorts 1.9.1 .dmg file, and selfupdated to 1.9.2. I’m
 trying to compile {{{cdparanoia @10.2_0 +universal}}}; one of its
 dependencies is {{{p5-locale-gettext @1.05 +universal}}}. The latter fails
 during its configure phase:

 {{{
 --->  Configuring p5-locale-gettext
 Error: Target org.macports.configure returned: configure failure: shell
 command failed (see log for details)
 Error: Failed to install p5-locale-gettext
 Log for p5-locale-gettext is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5
 -locale-gettext/main.log
 }}}

 The relevant portion of its main.log shows:

 {{{
 :debug:configure Executing org.macports.configure (p5-locale-gettext)
 :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2
 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc'
 CPPFLAGS='-I/opt/local/include -isysroot /Developer/SDKs/MacOSX10.4u.sdk'
 CXXFLAGS='-pipe -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386
 -arch ppc' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.4'
 CXX='/usr/bin/g++-4.0'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5
 -locale-gettext/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2'
 LDFLAGS='-L/opt/local/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
 -arch i386 -arch ppc' FCFLAGS='-pipe -O2' OBJC='/usr/bin/gcc-4.0'
 INSTALL='/usr/bin/install -c' PERL_AUTOINSTALL='--skipdeps'
 OBJCFLAGS='-pipe -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386
 -arch ppc' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.0
 -O2 -L/opt/local/lib -arch i386 -arch ppc'
 :debug:configure Assembled 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" && /opt/local/bin/perl Makefile.PL
 INSTALLDIRS=vendor'
 :info:configure checking for gettext... no
 :info:configure checking for gettext in -lintl...gettext function not
 found. Please install libintl at Makefile.PL line 18.
 :info:configure  no
 :info:configure 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" && /opt/local/bin/perl Makefile.PL
 INSTALLDIRS=vendor " returned error 2
 }}}

 Previous dependencies of cdparanoia had installed successfully:

  * {{{expat @2.0.1_1 +universal}}}
  * {{{ncursesw @5.8_0}}}
  * {{{ncurses @5.8_1 +universal}}}
  * {{{gperf @3.0.4_0 +universal}}}
  * {{{libiconv @1.13.1_0 +universal}}}
  * {{{gettext @0.18.1.1_2 +universal}}}
  * {{{perl5.12 @5.12.3_1 +shared+universal}}}
  * {{{perl5 @5.12.3_1 +perl5_12}}}

 I’ve tried compiling perl5.12 both with and without {{{+shared}}}; it made
 no difference to p5-locale-gettext.

 The {{{/opt/local/lib}}} directory contains the following libintl files:

 {{{
 -rw-r--r--   2 root  admin  109728 Mar 14 14:38
 /opt/local/lib/libintl.8.dylib
 -rw-r--r--   2 root  admin  164964 Mar 14 14:38 /opt/local/lib/libintl.a
 lrwxr-xr-x   1 root  admin      15 Mar 14 14:38
 /opt/local/lib/libintl.dylib -> libintl.8.dylib
 -rw-r--r--   2 root  admin     977 Mar 14 14:38 /opt/local/lib/libintl.la
 }}}

 There are no libintl files in {{{/usr/local/lib}}} or anywhere under
 {{{/Developer/SDKs/MacOSX10.4u.sdk}}}.

 Running {{{lipo -info}}} on the relevant {{{/opt/local/lib}}} libraries
 returns:

 {{{
 Architectures in the fat file: /opt/local/lib/libintl.a are: ppc i386
 Architectures in the fat file: /opt/local/lib/libintl.8.dylib are: ppc
 i386
 }}}

 Please let me know if I can provide further information to aid in solving
 this problem.

 Thanks for your help!

-- 
Ticket URL: <https://trac.macports.org/ticket/28789>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list