Opened 15 years ago

Closed 15 years ago

#23577 closed defect (fixed)

boost 1.42.0 patching fails when using +python26 +openmpi variants

Reported by: a.zilian@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: boost

Description (last modified by jmroot (Joshua Root))

Each individual variant is building correctly. But if I choose the variant "+python26 +openmpi" I get the following error messages:

---

--->  Extracting boost_1_42_0.tar.bz2
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/boost/boost_1_42_0.tar.bz2
DEBUG: Environment: 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_42_0.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing proc-post-org.macports.extract-extract-0
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-libs-random-random_device.cpp.diff
DEBUG: Environment: 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_42_0" && /usr/bin/patch -p0'
patching file libs/random/random_device.cpp
--->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/files/patch-tools-build-v2-tools-python.jam.diff
DEBUG: Environment: 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_42_0" && /usr/bin/patch -p0'
patching file tools/build/v2/tools/python.jam
--->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/files/patch-libs-mpi-build-Jamfile.v2.diff
DEBUG: Environment: 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_42_0" && /usr/bin/patch -p0'
patching file libs/mpi/build/Jamfile.v2
Hunk #1 FAILED at 99.
1 out of 1 hunk FAILED -- saving rejects to file libs/mpi/build/Jamfile.v2.rej
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_42_0" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/files/patch-libs-mpi-build-Jamfile.v2.diff'" returned error 1
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_42_0" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/files/patch-libs-mpi-build-Jamfile.v2.diff'" returned error 1
    while executing
"command_exec patch "" "< '$patch'""
    (procedure "portpatch::patch_main" line 33)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for boost): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Please, could anybody have a look into this?

Thank you very much!

Change History (2)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to nox@…

Please remember to preview and use WikiFormatting, and cc the maintainer.

comment:2 Changed 15 years ago by nox@…

Resolution: fixed
Status: newclosed
Summary: boost 1.42 is not building variant combination +python26 +openmpiboost 1.42.0 patching fails when using +python26 +openmpi variants
Version: 1.8.2
Note: See TracTickets for help on using tickets.