Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2013 22:23:46 -0500
From:      Tom Uffner <tom@uffner.com>
To:        ports@freebsd.org
Subject:   net-p2p/libtorrent-rasterbar-python fails on 11.0-CURRENT
Message-ID:  <5286E542.9080308@uffner.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070201010304000504000103
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

FreeBSD discordia.uffner.com 11.0-CURRENT FreeBSD 11.0-CURRENT #251 r257905: 
Sat Nov  9 21:09:57 EST 2013 
tom@discordia.uffner.com:/usr/obj/usr/src/sys/DISCORDIA  amd64

trying to build py27-libtorrent-rasterbar-0.16.12 (as a dependency for deluge)

port fails almost immediately with a message that i need to 
--enable-python-binding. (absurd, as that is the whole point of this port) i 
trace this back
to the master Makefile in net-p2p/libtorrent-rasterbar. there I find:

.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes" && defined(USE_PYTHON)
CONFIGURE_ARGS+=        --enable-python-binding \
                            --with-boost-python=boost_python
.else
CONFIGURE_ARGS+=       --disable-python-binding
.endif

which looks like it ought to set "--enable-python-binding", but clearly
doesn't work.

if i comment out or delete the if-then-else, leaving only

CONFIGURE_ARGS+= --enable-python-binding --with-boost-python=boost_python

in the master Makefile, compilation proceeds for a while, but fails at

0.      Program arguments: /usr/bin/cc -cc1 -triple x86_64-unknown-freebsd11.0 
-emit-obj -disable-free -main-file-name session_settings.cpp 
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing 
-masm-verbose -mconstructor-aliases -munwind-tables -target-cpu amdfam10 -g 
-coverage-file 
/usr/ports/net-p2p/libtorrent-rasterbar-python/work/libtorrent-rasterbar-0.16.12/bindings/python/build/temp.freebsd-11.0-CURRENT-amd64-2.7/src/session_settings.o 
-resource-dir /usr/bin/../lib/clang/3.3 -D NDEBUG -D TORRENT_USE_OPENSSL -D 
BOOST_ASIO_HASH_MAP_BUCKETS=1021 -D BOOST_EXCEPTION_DISABLE -D 
BOOST_ASIO_ENABLE_CANCELIO -D BOOST_ASIO_DYN_LINK -D TORRENT_LINKING_SHARED -I 
../../include -I /usr/local/include -I /usr/include -I 
/usr/local/include/python2.7 -internal-isystem /usr/include/c++/v1 -O2 
-fdeprecated-macro -fdebug-compilation-dir 
/usr/ports/net-p2p/libtorrent-rasterbar-python/work/libtorrent-rasterbar-0.16.12/bindings/python 
-ferror-limit 19 -fmessage-length 80 -mstackrealign -fobjc-runtime=gnustep 
-fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions 
-fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops 
-o build/temp.freebsd-11.0-CURRENT-amd64-2.7/src/session_settings.o -x c++ 
src/session_settings.cpp
1.      <eof> parser at end of file
2.      Code generation
cc: error: unable to execute command: Abort trap
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: x86_64-unknown-freebsd11.0
Thread model: posix
cc: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ 
and include the crash backtrace, preprocessed source, and associated run script.
cc: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/session_settings-C91Z0R.cpp
cc: note: diagnostic msg: /tmp/session_settings-C91Z0R.sh
cc: note: diagnostic msg:

********************
error: command 'cc' failed with exit status 254
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net-p2p/libtorrent-rasterbar-python
*** Error code 1

Stop.
make: stopped in /usr/ports/net-p2p/libtorrent-rasterbar-python


http://uffner.com/session_settings-C91Z0R.cpp.bz2


--------------070201010304000504000103
Content-Type: text/plain; charset=us-ascii;
 name="session_settings-C91Z0R.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="session_settings-C91Z0R.sh"

/usr/bin/cc -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name session_settings.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu amdfam10 -g -D "NDEBUG" -D "TORRENT_USE_OPENSSL" -D "BOOST_ASIO_HASH_MAP_BUCKETS=1021" -D "BOOST_EXCEPTION_DISABLE" -D "BOOST_ASIO_ENABLE_CANCELIO" -D "BOOST_ASIO_DYN_LINK" -D "TORRENT_LINKING_SHARED" -O2 -fdeprecated-macro -ferror-limit 19 -fmessage-length 80 -mstackrealign -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -x c++ session_settings-C91Z0R.cpp




--------------070201010304000504000103--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5286E542.9080308>