unable to compile libxml2 with Xcode 4.4

Artemio Gonzalez Lopez artemiog at mac.com
Sat Feb 18 06:53:32 PST 2012


Although many ports I've tried work well with XCode 4.4 -- Mountain Lion, I ran into a problem with libxml2. I understand that the main effort now is with Xcode 4.3, but any help or suggestion will be appreciated. The error log is as follows:

DEBUG: checksum phase started at Sat Feb 18 12:58:29 CET 2012
--->  Verifying checksum(s) for libxml2
DEBUG: Executing org.macports.checksum (libxml2)
--->  Checksumming libxml2-2.7.8.tar.gz
DEBUG: Correct (md5) checksum for libxml2-2.7.8.tar.gz
DEBUG: Correct (sha1) checksum for libxml2-2.7.8.tar.gz
DEBUG: Correct (rmd160) checksum for libxml2-2.7.8.tar.gz
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: extract phase started at Sat Feb 18 12:58:29 CET 2012
--->  Extracting libxml2
DEBUG: Executing org.macports.extract (libxml2)
--->  Extracting libxml2-2.7.8.tar.gz
DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/libxml2/libxml2-2.7.8.tar.gz'
DEBUG: 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_textproc_libxml2/libxml2/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libxml2/libxml2/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libxml2/libxml2-2.7.8.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libxml2/libxml2/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libxml2/libxml2-2.7.8.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libxml2/libxml2/work to macports
DEBUG: euid/egid changed to: 502/501
DEBUG: Executing proc-post-org.macports.extract-extract-0
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libxml2/libxml2/work/libxml2-2.7.8/catalog.c to macports
DEBUG: euid/egid changed to: 502/501
DEBUG: euid/egid changed to: 0/0
DEBUG: setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libxml2/libxml2/work/libxml2-2.7.8/catalog.c
DEBUG: euid/egid changed to: 502/501
DEBUG: sed: RE error: illegal byte sequence
   while executing
"exec /usr/bin/sed s|/etc|/opt/local/etc|g < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_te..."
   ("eval" body line 1)
   invoked from within
"eval exec $cmdline"
Error: reinplace: sed: RE error: illegal byte sequence
Error: Target org.macports.extract returned: reinplace sed(1) failed
DEBUG: Backtrace: reinplace sed(1) failed
   while executing
"$post $targetname"
Warning: the following items did not execute (for libxml2): org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Failed to install libxml2
DEBUG: could not read "/opt/local/lib/pkgconfig/pthread-stubs.pc": no such file or directory
   while executing
"file type $file"
Log for libxml2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libxml2/libxml2/main.log
Error: The following dependencies were not installed: ghostscript xorg-libXext xorg-libX11 xorg-libxcb xorg-xcb-proto libxml2 libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice liblzma urw-fonts webp
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Thanks in advance,

Artemio

Artemio Gonzalez Lopez
artemiog at me.com





More information about the macports-users mailing list