p5.12-locale-gettext fails to compile

Artemio Gonzalez Lopez artemiog at mac.com
Mon Jul 2 15:19:44 PDT 2012

When trying to build p5.12-locale-gettext with Xcode 4.5 Developer Preview 2, compilation fails with the following error message:

DEBUG: 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 -O2 -L/opt/local/lib -arch x86_64'
Error: org.macports.configure for port p5.12-locale-gettext returned: configure failure: list element in braces followed by """ instead of space
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: list element in braces followed by """ instead of space
    while executing
"$procedure $targetname"
Warning: targets not executed for p5.12-locale-gettext: org.macports.install org.macports.configure org.macports.build org.macports.destroot
Please see the log file for port p5.12-locale-gettext for details:
DEBUG: can not find channel named "debuglog"
    while executing
"tcl::puts debuglog {DEBUG: Starting logging for p5.12-locale-gettext}"
    invoked from within
"catch "tcl::puts $args""
Error: Unable to upgrade port: 1

I know Xcode 4.5 is rather cutting edge, but if somebody else has experienced this problem and has any ideas as to its cause I would appreciate any pointers, suggestions or workarounds.


Artemio Gonzalez Lopez
artemiog at me.com

More information about the macports-users mailing list