Bug 35268 - boost-1.30.2 fails to build against python-2.3
|
Bug#:
35268
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: CLOSED
|
Severity: major
|
Priority: P2
|
|
Resolution: TEST-REQUEST
|
Assigned To: george@gentoo.org
|
Reported By: James@superbug.demon.co.uk
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: boost-1.30.2 fails to build against python-2.3
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-12-07 10:03 0000
|
Here is the end of the output when trying "emerge boost"
...failed gcc-C++-action
libs/python/build/bin/libboost_python.a/gcc/release/runtime-link-dynamic/object_protocol.o...
gcc-C++-action
libs/python/build/bin/libboost_python.a/gcc/release/runtime-link-dynamic/object_operators.o
In file included from /usr/include/python2.3/Python.h:8,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/detail/wrap_python.hpp:124,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/type_id.hpp:9,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/instance_holder.hpp:11,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/object/pointer_holder.hpp:14,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/to_python_indirect.hpp:10,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/arg_to_python.hpp:11,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/call.hpp:14,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/object_core.hpp:14,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/object_operators.hpp:9,
from libs/python/src/object_operators.cpp:7:
/usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3/i686-pc-linux-gnu/bits/os_defines.h:39,
from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3/i686-pc-linux-gnu/bits/c++config.h:35,
from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3/utility:65,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/config/select_stdlib_config.hpp:18,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/config.hpp:40,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/ptr.hpp:20,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/arg_to_python.hpp:9,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/call.hpp:14,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/object_core.hpp:14,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/object_operators.hpp:9,
from libs/python/src/object_operators.cpp:7:
/usr/include/features.h:131:1: warning: this is the location of the previous
definition
In file included from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/arg_to_python.hpp:18,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/call.hpp:14,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/object_core.hpp:14,
from
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/object_operators.hpp:9,
from libs/python/src/object_operators.cpp:7:
...<snip>...
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:121:
error: invalid
base-class specification
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:121:
error: can't
make `operator()' into a method -- not in a class
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:121:
error: `
to_python_value' is not a template
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:121:
error: `
detail' is not a class or namespace
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:121:
error: `
builtin_to_python' is not a class or namespace
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:121:
error: invalid
base-class specification
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:121:
error: can't
make `operator()' into a method -- not in a class
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:121:
error: `
arg_to_python' is not a template
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:121:
error: parse
error before `<' token
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:121:
error: parse
error before `}' token
/var/tmp/portage/boost-1.30.2/work/boost-1.30.2/boost/python/converter/builtin_converters.hpp:130:
error: parse
error before `}' token
g++ -c -Wall -ftemplate-depth-100 -DNDEBUG -DBOOST_PYTHON_DYNAMIC_LIB
-DBOOST_PYTHON_SOURCE -DBOOST_STATIC_LIB -O3 -finline-functions -Wno-inline
-I"libs/python/build" -I "/usr/include/python2.3" -I
"/var/tmp/portage/boost-1.30.2/work/boost-1.30.2" -o
"libs/python/build/bin/libboost_python.a/gcc/release/runtime-link-dynamic/object_operators.o"
"libs/python/build/../src/object_operators.cpp"
...failed gcc-C++-action
libs/python/build/bin/libboost_python.a/gcc/release/runtime-link-dynamic/object_operators.o...
...skipped
<libs!python!build/libboost_python.a/gcc/release/runtime-link-dynamic>libboost_python.a
for lack of
<libs!python!build/libboost_python.a/gcc/release/runtime-link-dynamic>libboost_python.a(numeric.o)...
...skipped <!libs!python!build!bin-stage>libboost_python.a for lack of
<libs!python!build/libboost_python.a/gcc/release/runtime-link-dynamic>libboost_python.a...
FileClone libs/regex/build/bin-stage/libboost_regex_debug.so.1.30.2
FileClone libs/regex/build/bin-stage/libboost_regex.so.1.30.2
FileClone libs/thread/build/bin-stage/libboost_threadd.so.1.30.2
FileClone libs/thread/build/bin-stage/libboost_thread.so.1.30.2
...skipped
<libs!python!build/libboost_python.a/gcc/debug/runtime-link-dynamic>libboost_python.a
for lack of
<libs!python!build/libboost_python.a/gcc/debug/runtime-link-dynamic>libboost_python.a(numeric.o)...
...skipped
<libs!python!build/libboost_python.so/gcc/debug/runtime-link-dynamic/shared-linkable-true>libboost_python.so
for lack of
<libs!python!build/libboost_python.so/gcc/debug/runtime-link-dynamic/shared-linkable-true>numeric.o...
...failed updating 66 targets...
...skipped 10 targets...
...updated 4 targets...
!!! ERROR: dev-libs/boost-1.30.2 failed.
!!! Function src_compile, Line 59, Exitcode 1
!!! Failed to build boost libraries.
Reproducible: Always
Steps to Reproduce:
1. emerge boost
2.
3.
Actual Results:
fails to emerge.
Expected Results:
Should emerge.
# emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11)
=================================================================
System uname: 2.6.0-test11 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.12
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -g -ggdb"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -g -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache nostrip sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm arts avi berkdb cdr crypt cups debug dvd encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad
mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline samba sasl sdl slang spell ssl svga tcltk tcpd
threads truetype usb x86 xml xml2 xmms xv zlib"
george, can you also have a look at this boost issue with python-2.3 and see if
there's an appropriate patch in CVS we can backport, or have a snapshot?
thanks
According to the boost web site. http://www.boost.org/libs/python/doc/
Section starting: -
Note for Python 2.3 users
This is a bugfix release only, and is not compatible with Python 2.3. Boost 1.31.0, which will be compatible with Python 2.3, is due out shortly. In the meantime, if you need Python 2.3 compatibility, we suggest you get a CVS snapshot, either from the SourceForge anonymous CVS or from our mirror, updated nightly:
cvs -d :pserver:anonymous@boost-consulting.com:/boost login
no password; just hit return
cvs -d :pserver:anonymous@boost-consulting.com:/boost co boost
My suggestion, is we take the cvs snapshot, create a patch file against 1.30.2
and then create a 1.30.2-r2 ebuild from it, to work with python2.3, because python2.3 is the current gentoo version.
Ok, I grabbed the recent cvs snapshot and uploaded it to
/space/distfiles-local. It seems to build, so it will have to do until 1.31 is
released.
BTW, 1.30.2-r2 is not a proper version, as this is different code underneath,
not just ebuild revision. I named it 1.31.0_alpha1, as this is what it
effectively is, (and using the date instead of alpha would screw future
updates).
Please test.
George
It now emerges boost, so thanks.
emerge -s boost
* dev-libs/boost
Latest version available: 1.31.0_alpha1
Latest version installed: 1.31.0_alpha1
I have not tested it's actual functionallity yet.
Release is out and in stable, closing the bug..