[MacPorts] #35490: libtorrent-rasterbar won't compile against new default boost variants

MacPorts noreply at macports.org
Thu Aug 9 00:22:21 PDT 2012


#35490: libtorrent-rasterbar won't compile against new default boost variants
---------------------------------+------------------------------------------
 Reporter:  timbargen@…          |       Owner:  devans@…            
     Type:  defect               |      Status:  new                 
 Priority:  Normal               |   Milestone:                      
Component:  ports                |     Version:  2.1.2               
 Keywords:  boost, libtorrent    |        Port:  libtorrent-rasterbar
---------------------------------+------------------------------------------

Comment(by timbargen@…):

 I didn't specify at first that I was building the python variants of these
 ports, but after some testing I've found it doesn't affect the problem.
 So I did some extra testing, built boost a couple different ways. It is in
 fact the `+no_single` variant of `boost` that causes problems for
 `libtorrent-rasterbar`, regardless of whether you are building it with any
 of the python variants. Building `boost` with the `-no_single` flag will
 result in `libtorrent-rasterbar` successfully compiling and running.

 I also found you can make it build successfully with the `boost
 +no_single` variant activated if you edit the `libtorrent-rasterbar`
 portfile's `configure.args` similarly to what I showed in the original
 ticket, just adding a similar line for each boost library `libtorrent-
 rasterbar` needs. (I didn't actually bother to find which ones it needed,
 I just put them all in.) What you would add would look something like
 this:

 {{{
                 --with-boost-chrono=mt \
                 --with-boost-date_time=mt \
                 --with-boost-filesystem=mt \
                 --with-boost-graph=mt \
                 --with-boost-iostreams=mt \
                 --with-boost-locale=mt \
                 --with-boost-math_c99=mt \
                 --with-boost-math_c99f=mt \
                 --with-boost-math_c99l=mt \
                 --with-boost-math_tr1=mt \
                 --with-boost-math_tr1f=mt \
                 --with-boost-math_tr1l=mt \
                 --with-boost-prg_exec_monitor=mt \
                 --with-boost-program_options=mt \
                 --with-boost-python=mt \
                 --with-boost-random=mt \
                 --with-boost-regex=mt \
                 --with-boost-serialization=mt \
                 --with-boost-signals=mt \
                 --with-boost-system=mt \
                 --with-boost-thread=mt \
                 --with-boost-timer=mt \
                 --with-boost-unit_test_framework=mt \
                 --with-boost-wave=mt \
                 --with-boost-wserialization=mt \
 }}}

 This will allow `libtorrent-rasterbar` to be built successfully
 __without__ having to build `boost` with the single threaded libraries
 enabled.[[BR]]
 ''I haven't actually tried using this version of the library though, as
 this last part was done on a different machine''

-- 
Ticket URL: <https://trac.macports.org/ticket/35490#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list