[MacPorts] #36716: p5.12-locale-gettext: gettext function not found

MacPorts noreply at macports.org
Mon Nov 12 01:35:38 PST 2012


#36716: p5.12-locale-gettext: gettext function not found
-----------------------------------+-------------------
  Reporter:  ben@…                 |      Owner:  l2g@…
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.1.2
Resolution:                        |   Keywords:
      Port:  p5.12-locale-gettext  |
-----------------------------------+-------------------

Comment (by ben@…):

 Thanks for your help, i've cleaned cleaned p5.12-locale-gettext,
 selfupdate, and tried again.
 But same problem !


 {{{
 ➜  ~  sudo port clean p5.12-locale-gettext
 Warning: port definitions are more than two weeks old, consider using
 selfupdate
 --->  Cleaning p5.12-locale-gettext
 ➜  ~  sudo port selfupdate
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.1.2 installed,
 MacPorts base version 2.1.2 downloaded.
 --->  Updating the ports tree
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 ➜  ~  sudo port install autoconf
 --->  Computing dependencies for autoconf
 --->  Dependencies to be installed: help2man p5.12-locale-gettext m4 perl5
 xz
 --->  Fetching archive for p5.12-locale-gettext
 --->  Attempting to fetch p5.12-locale-
 gettext-1.50.0_7.darwin_12.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.12
 -locale-gettext
 --->  Attempting to fetch p5.12-locale-
 gettext-1.50.0_7.darwin_12.x86_64.tbz2 from
 http://packages.macports.org/p5.12-locale-gettext
 --->  Attempting to fetch p5.12-locale-
 gettext-1.50.0_7.darwin_12.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/p5.12-locale-gettext
 --->  Fetching distfiles for p5.12-locale-gettext
 --->  Verifying checksum(s) for p5.12-locale-gettext
 --->  Extracting p5.12-locale-gettext
 --->  Applying patches to p5.12-locale-gettext
 --->  Configuring p5.12-locale-gettext
 Error: org.macports.configure for port p5.12-locale-gettext returned:
 configure failure: command execution failed
 Error: Failed to install p5.12-locale-gettext
 Please see the log file for port p5.12-locale-gettext for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/main.log
 Error: The following dependencies were not installed: help2man p5.12
 -locale-gettext m4 perl5 xz
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port autoconf failed
 }}}

 The log :

 {{{
 ➜  ~  cat
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/main.log
 version:1
 :debug:main Attempting ln -sf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/perl/p5
 -locale-gettext/work
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 502
 :debug:main Executing org.macports.main (p5.12-locale-gettext)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:archivefetch archivefetch phase started at Mon Nov 12 10:30:27 CET
 2012
 :msg:archivefetch --->  Fetching archive for p5.12-locale-gettext
 :debug:archivefetch Executing org.macports.archivefetch (p5.12-locale-
 gettext)
 :debug:archivefetch euid/egid changed to: 0/0
 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
 :debug:archivefetch euid/egid changed to: 502/501
 :info:archivefetch --->  p5.12-locale-
 gettext-1.50.0_7.darwin_12.x86_64.tbz2 doesn't seem to exist in
 /opt/local/var/macports/incoming/verified
 :msg:archivefetch --->  Attempting to fetch p5.12-locale-
 gettext-1.50.0_7.darwin_12.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.12
 -locale-gettext
 :debug:archivefetch Fetching archive failed:: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch p5.12-locale-
 gettext-1.50.0_7.darwin_12.x86_64.tbz2 from
 http://packages.macports.org/p5.12-locale-gettext
 :debug:archivefetch Fetching archive failed:: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch p5.12-locale-
 gettext-1.50.0_7.darwin_12.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/p5.12-locale-gettext
 :debug:archivefetch Fetching archive failed:: Failed to connect to
 2001:41d0:1:6240:1::2: No route to host
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:fetch fetch phase started at Mon Nov 12 10:30:46 CET 2012
 :notice:fetch --->  Fetching distfiles for p5.12-locale-gettext
 :debug:fetch Executing org.macports.fetch (p5.12-locale-gettext)
 :debug:fetch Privilege de-escalation not attempted as not running as root.
 :debug:checksum checksum phase started at Mon Nov 12 10:30:46 CET 2012
 :notice:checksum --->  Verifying checksum(s) for p5.12-locale-gettext
 :debug:checksum Executing org.macports.checksum (p5.12-locale-gettext)
 :info:checksum --->  Checksumming gettext-1.05.tar.gz
 :debug:checksum Correct (md5) checksum for gettext-1.05.tar.gz
 :debug:checksum Correct (sha1) checksum for gettext-1.05.tar.gz
 :debug:checksum Correct (rmd160) checksum for gettext-1.05.tar.gz
 :debug:checksum Privilege de-escalation not attempted as not running as
 root.
 :debug:extract extract phase started at Mon Nov 12 10:30:46 CET 2012
 :notice:extract --->  Extracting p5.12-locale-gettext
 :debug:extract Executing org.macports.extract (p5.12-locale-gettext)
 :info:extract --->  Extracting gettext-1.05.tar.gz
 :debug:extract setting option extract.args to
 '/opt/local/var/macports/distfiles/perl5/gettext-1.05.tar.gz'
 :debug:extract Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 :debug:extract Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work" && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/perl5/gettext-1.05.tar.gz' |
 /usr/bin/gnutar --no-same-owner -xf -'
 :debug:extract Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work" && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/perl5/gettext-1.05.tar.gz' |
 /usr/bin/gnutar --no-same-owner -xf -
 :debug:extract euid/egid changed to: 0/0
 :debug:extract chowned
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work to macports
 :debug:extract euid/egid changed to: 502/501
 :debug:extract Privilege de-escalation not attempted as not running as
 root.
 :debug:patch patch phase started at Mon Nov 12 10:30:46 CET 2012
 :debug:patch Executing org.macports.patch (p5.12-locale-gettext)
 :notice:patch --->  Applying patches to p5.12-locale-gettext
 :info:patch --->  Applying patch-Makefile.PL
 :debug:patch Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/gettext-1.05" && /usr/bin/patch
 -p1'
 :debug:patch Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/gettext-1.05" && /usr/bin/patch
 -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/perl/p5
 -locale-gettext/files/patch-Makefile.PL'
 :info:patch patching file Makefile.PL
 :info:patch --->  Applying patch-cpan-rt-35680-1.diff
 :debug:patch Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/gettext-1.05" && /usr/bin/patch
 -p1'
 :debug:patch Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/gettext-1.05" && /usr/bin/patch
 -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/perl/p5
 -locale-gettext/files/patch-cpan-rt-35680-1.diff'
 :info:patch patching file gettext.pm
 :info:patch --->  Applying patch-cpan-rt-35680-2.diff
 :debug:patch Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/gettext-1.05" && /usr/bin/patch
 -p1'
 :debug:patch Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/gettext-1.05" && /usr/bin/patch
 -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/perl/p5
 -locale-gettext/files/patch-cpan-rt-35680-2.diff'
 :info:patch patching file gettext.pm
 :debug:patch Privilege de-escalation not attempted as not running as root.
 :debug:configure configure phase started at Mon Nov 12 10:30:46 CET 2012
 :notice:configure --->  Configuring p5.12-locale-gettext
 :debug:configure Using compiler 'Mac OS X llvm-gcc 4.2'
 :debug:configure Executing org.macports.configure (p5.12-locale-gettext)
 :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2
 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch
 x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8'
 CXX='/usr/bin/llvm-g++-4.2'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/.CC_PRINT_OPTIONS'
 F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
 FCFLAGS='-pipe -O2 -m64' OBJC='/usr/bin/llvm-gcc-4.2'
 INSTALL='/usr/bin/install -c' PERL_AUTOINSTALL='--skipdeps'
 OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64'
 CC_PRINT_OPTIONS='YES' CC='/usr/bin/llvm-gcc-4.2'
 :debug:configure Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/gettext-1.05" &&
 /opt/local/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/llvm-
 gcc-4.2" LD="/usr/bin/llvm-gcc-4.2"'
 :debug:configure Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/gettext-1.05" &&
 /opt/local/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/llvm-
 gcc-4.2" LD="/usr/bin/llvm-gcc-4.2"
 :info:configure checking for gettext... no
 :info:configure checking for gettext in -lintl...gettext function not
 found. Please install libintl at Makefile.PL line 22.
 :info:configure  no
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/work/gettext-1.05" &&
 /opt/local/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/llvm-
 gcc-4.2" LD="/usr/bin/llvm-gcc-4.2"
 :info:configure Exit code: 2
 :error:configure org.macports.configure for port p5.12-locale-gettext
 returned: configure failure: command execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
     while executing
 "$procedure $targetname"
 :info:configure Warning: targets not executed for p5.12-locale-gettext:
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 :error:configure Failed to install p5.12-locale-gettext
 :debug:configure couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 :notice:configure Please see the log file for port p5.12-locale-gettext
 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -locale-gettext/p5.12-locale-gettext/main.log
 ➜  ~
 }}}

 I've searched accross the trac, i've not found anything about that... :/

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


More information about the macports-tickets mailing list