#30083: boost fails ports install process due to syntax error in bootstrap.sh command ---------------------------------------+------------------------------------ Reporter: stooee+macports@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: boost ---------------------------------------+------------------------------------ Comment(by stooee+macports@…): smoosh:~ stooey$ sudo port -dv install boost Password: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/work DEBUG: Starting logging for boost DEBUG: epoch: in tree: 0 installed: 0 DEBUG: zlib 1.2.5_0 exists in the ports tree DEBUG: zlib 1.2.5_0 is the latest installed DEBUG: zlib 1.2.5_0 is active DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/xcodeversion-1.0.tcl DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: expat 2.0.1_1 exists in the ports tree DEBUG: expat 2.0.1_1 is the latest installed DEBUG: expat 2.0.1_1 is active DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: No need to upgrade! expat 2.0.1_1 >= expat 2.0.1_1 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: bzip2 1.0.6_0 exists in the ports tree DEBUG: bzip2 1.0.6_0 is the latest installed DEBUG: bzip2 1.0.6_0 is active DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/bzip2 DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: No need to upgrade! bzip2 1.0.6_0 >= bzip2 1.0.6_0 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: icu 4.6.1_0 exists in the ports tree DEBUG: icu 4.6.1_0 is the latest installed DEBUG: icu 4.6.1_0 is active DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/icu DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: No need to upgrade! icu 4.6.1_0 >= icu 4.6.1_0 ---> Computing dependencies for boost DEBUG: Searching for dependency: zlib DEBUG: Found Dependency: receipt exists for zlib DEBUG: Searching for dependency: expat DEBUG: Found Dependency: receipt exists for expat DEBUG: Searching for dependency: bzip2 DEBUG: Found Dependency: receipt exists for bzip2 DEBUG: Searching for dependency: icu DEBUG: Found Dependency: receipt exists for icu DEBUG: Executing org.macports.main (boost) ---> Fetching boost DEBUG: fetch phase started at Fri Jul 8 09:10:37 CDT 2011 DEBUG: Executing org.macports.fetch (boost) ---> Verifying checksum(s) for boost DEBUG: checksum phase started at Fri Jul 8 09:10:37 CDT 2011 DEBUG: Executing org.macports.checksum (boost) ---> Checksumming boost_1_46_1.tar.bz2 DEBUG: Correct (md5) checksum for boost_1_46_1.tar.bz2 DEBUG: Correct (sha1) checksum for boost_1_46_1.tar.bz2 DEBUG: Correct (rmd160) checksum for boost_1_46_1.tar.bz2 DEBUG: setting option extract.cmd to /usr/bin/bzip2 ---> Extracting boost DEBUG: extract phase started at Fri Jul 8 09:10:39 CDT 2011 DEBUG: Executing org.macports.extract (boost) ---> Extracting boost_1_46_1.tar.bz2 DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/boost/boost_1_46_1.tar.bz2' DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/boost/boost_1_46_1.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: patch phase started at Fri Jul 8 09:11:43 CDT 2011 DEBUG: Executing org.macports.patch (boost) ---> Applying patches to boost ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/files /patch-tools_build_v2_engine_src_build.sh.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_46_1" && /usr/bin/patch -p0' patching file tools/build/v2/engine/src/build.sh Hunk #1 succeeded at 133 with fuzz 1. ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/files /patch-tools_build_v2_engine_src_build.jam.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_46_1" && /usr/bin/patch -p0' patching file tools/build/v2/engine/src/build.jam Hunk #1 succeeded at 202 (offset 8 lines). ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/files /patch-bootstrap.sh.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_46_1" && /usr/bin/patch -p0' patching file bootstrap.sh DEBUG: Executing proc-post-org.macports.patch-patch-0 ---> Configuring boost DEBUG: Using compiler 'Mac OS X gcc 4.2' DEBUG: configure phase started at Fri Jul 8 09:11:43 CDT 2011 DEBUG: Executing org.macports.configure (boost) 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.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_46_1" && ./bootstrap.sh --prefix=/opt/local --without-libraries=python --without-libraries=mpi --with-icu=/opt/local' -n Building Boost.Jam with toolset darwin... Failed to build Boost.Jam Consult 'bootstrap.log' for more details shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_46_1" && ./bootstrap.sh --prefix=/opt/local --without-libraries=python --without-libraries=mpi --with-icu=/opt/local " returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) DEBUG: Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" Warning: the following items did not execute (for boost): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for boost is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> -- Ticket URL: <https://trac.macports.org/ticket/30083#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS