Opened 11 years ago
Closed 11 years ago
#40358 closed defect (duplicate)
p5.12-locale-gettext fails to build in new MacPorts tree
Reported by: | posita (Matt Bogosian) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | l2g@… | |
Port: | p5.12-locale-gettext |
Description
I have a new non-root (user) installation of MacPorts 2.2.0 on OS X 10.6.8, which has just been selfupdated. Attempting to install ImageMagick barfed on its dependency on p5.12-locale-gettext.
.../p5.12-locale-gettext/main.log is attached. Here's the failing section:
... :debug:configure Executing command line: cd "[__MACPORTS_ROOT__]/var/macports/build/[__MACPORTS_ROOT__]var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-locale-gettext/p5.12-locale-gettext/work/gettext-1.05" && [__MACPORTS_ROOT__]/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" :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 "[__MACPORTS_ROOT__]/var/macports/build/[__MACPORTS_ROOT__]var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-locale-gettext/p5.12-locale-gettext/work/gettext-1.05" && [__MACPORTS_ROOT__]/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" :info:configure Exit code: 2 ...
Ports successfully installed before p5.12-locale-gettext failed:
% port list installed expat @2.1.0 textproc/expat gdbm @1.10 databases/gdbm gettext @0.18.3.1 devel/gettext gperf @3.0.4 devel/gperf libiconv @1.14 textproc/libiconv ncurses @5.9 devel/ncurses perl5.12 @5.12.4 lang/perl5.12
Cleaning and retrying still fails:
% port clean ImageMagick p5.12-locale-gettext ---> Cleaning ImageMagick ---> Cleaning p5.12-locale-gettext % port install ImageMagick ---> Computing dependencies for ImageMagick ---> Dependencies to be installed: autoconf help2man p5.12-locale-gettext m4 perl5 xz automake bzip2 fftw-3 fontconfig freetype libpng zlib pkgconfig ghostscript jbig2dec jpeg lcms2 tiff libtool libidn libpaper xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 db_select libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice urw-fonts webp ---> Fetching distfiles for p5.12-locale-gettext ---> Verifying checksums 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: .../p5.12-locale-gettext/main.log Error: The following dependencies were not installed: autoconf help2man p5.12-locale-gettext m4 perl5 xz automake bzip2 fftw-3 fontconfig freetype libpng zlib pkgconfig ghostscript jbig2dec jpeg lcms2 tiff libtool libidn libpaper xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 db_select libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice urw-fonts webp To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ImageMagick failed
FYI, MacPorts was originally installed with the following options to configure:
% ./configure \ --prefix="${HOME}/.site" \ --with-no-root-privileges \ --with-install-user="$(id -un)" \ --with-install-group="$(id -gn)" \ --with-applications-dir="${HOME}/Applications/MacPorts" \ --with-frameworks-dir="${HOME}/Library/Frameworks" \ --with-directory-mode=2750
Attachments (1)
Change History (4)
Changed 11 years ago by posita (Matt Bogosian)
comment:1 Changed 11 years ago by posita (Matt Bogosian)
comment:2 Changed 11 years ago by posita (Matt Bogosian)
FYI, the work-around from ticket #36716 appears to work in my environment as well. I don't know if this is properly classified as a "fix" though....
For convenience, here's the work-around:
% port install p5.12-locale-gettext configure.compiler=gcc ... [works] % port install ImageMagick [or whatever depends on p5.12-locale-gettext] ...
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #36716.
Note that port list doesn't do what you think it does.
.../p5.12-locale-gettext/main.log