[MacPorts] #50643: boost @1.59.0: Can't build without -no_single variant (was: Can't build boost -no_single)

MacPorts noreply at macports.org
Tue Feb 16 13:10:32 PST 2016


#50643: boost @1.59.0: Can't build without -no_single variant
------------------------+--------------------------
  Reporter:  adkafka@…  |      Owner:  ryandesign@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:             |   Keywords:
      Port:  boost      |
------------------------+--------------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => ryandesign@…
 * keywords:  boost single universal =>


Old description:

> I need boost's single thread libraries (specifically lboost_system) to
> build Caffe, but port cannot install it.
>
> I run: (After a clean and performing updates)
> $ sudo port install boost -no_single
>
> And recieve an error that points me to a log. The important info from the
> log is:
> :info:build error: Name clash for '<pstage/lib>libboost_atomic-mt.dylib'
> :info:build error:
> :info:build error: Tried to build the target twice, with property sets
> having
> :info:build error: these incompatible properties:
> :info:build error:
> :info:build error:     -  none
> :info:build error:     -  <dll-path>/opt/local/bin
> :info:build error:
> :info:build error: Please make sure to have consistent requirements for
> these
> :info:build error: properties everywhere in your project, especially for
> install
> :info:build error: targets.
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/boost/work/boost_1_59_0"
> &&
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/boost/work/boost_1_59_0/b2
> -d2 --layout=tagged --debug-configuration --user-config=user-config.jam
> -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib
> -sEXPAT_INCLUDE=/opt/local/include -sEXPAT_LIBPATH=/opt/local/lib
> -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib
> -sICU_PATH=/opt/local variant=release threading=single,multi -j4
> architecture=x86 address-model=64 link=shared
> :info:build Exit code: 1
> :error:build org.macports.build for port boost returned: command
> execution failed
>

> Any help would be much appreciated!

New description:

 I need boost's single thread libraries (specifically lboost_system) to
 build Caffe, but port cannot install it.

 I run: (After a clean and performing updates)
 {{{
 $ sudo port install boost -no_single
 }}}

 And recieve an error that points me to a log. The important info from the
 log is:
 {{{
 :info:build error: Name clash for '<pstage/lib>libboost_atomic-mt.dylib'
 :info:build error:
 :info:build error: Tried to build the target twice, with property sets
 having
 :info:build error: these incompatible properties:
 :info:build error:
 :info:build error:     -  none
 :info:build error:     -  <dll-path>/opt/local/bin
 :info:build error:
 :info:build error: Please make sure to have consistent requirements for
 these
 :info:build error: properties everywhere in your project, especially for
 install
 :info:build error: targets.
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/boost/work/boost_1_59_0"
 &&
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/boost/work/boost_1_59_0/b2
 -d2 --layout=tagged --debug-configuration --user-config=user-config.jam
 -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib
 -sEXPAT_INCLUDE=/opt/local/include -sEXPAT_LIBPATH=/opt/local/lib
 -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib
 -sICU_PATH=/opt/local variant=release threading=single,multi -j4
 architecture=x86 address-model=64 link=shared
 :info:build Exit code: 1
 :error:build org.macports.build for port boost returned: command execution
 failed
 }}}

 Any help would be much appreciated!

--

Comment:

 Duplicate of #48614.

-- 
Ticket URL: <https://trac.macports.org/ticket/50643#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list