FreeBSD discordia.uffner.com 11.0-CURRENT FreeBSD 11.0-CURRENT #251 r257905:
Sat Nov 9 21:09:57 EST 2013
t...@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
/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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"