[MacPorts] #31864: Boost @1.47.0 rev. 2 fails to build with openmpi variant on Mac OS X Lion 10.7.2 with Xcode 4.2
MacPorts
noreply at macports.org
Wed Nov 2 14:47:31 PDT 2011
#31864: Boost @1.47.0 rev. 2 fails to build with openmpi variant on Mac OS X Lion
10.7.2 with Xcode 4.2
-----------------------------------+----------------------------------------
Reporter: Torsten.Maehne@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: openmpi | Port: boost
-----------------------------------+----------------------------------------
After a port selfupdate and port upgrade outdated, I installed {{{gcc45}}}
successfully. Then, I installed {{{openmpi
@1.5.4_0+gcc45+progressthreads+threads}}} after applying the patch in
ticket #31244 to its Portfile. With these preparations, I tried to build
Boost 1.47.0 using the following command to specify the variants:
{{{
sudo port -v install boost +debug +openmpi +python27 +regex_match_extra
}}}
I get the following error:
{{{
...
---> Applying patches to boost
---> Applying
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/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_tarballs_ports_devel_boost/boost/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.7'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_47_0"
&& /usr/bin/patch -p0'
DEBUG: Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_47_0"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/boost/files
/patch-tools_build_v2_engine_src_build.sh.diff'
patching file tools/build/v2/engine/build.sh
...skipping...
error: Duplicate name of actual target: <pstage/lib>mpi.so
...
}}}
The full build log is attached. I've been able to build successfully the
boost port leaving out the openmpi variant:
{{{
sudo port -v install boost +debug +python27 +regex_match_extra
}}}
As indicated in the summary, I observed this behavior under Mac OS X Lion
10.7.2 with Xcode 4.2.
--
Ticket URL: <https://trac.macports.org/ticket/31864>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list