Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341399 - dev-python/pysvn-1.7.4 fails to build
Summary: dev-python/pysvn-1.7.4 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-17 02:46 UTC by Benjamin Peterson
Modified: 2010-10-17 22:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Peterson 2010-10-17 02:46:23 UTC
On upgrading to pysvn-1.7.4 I get the following build error:

 * Building of dev-python/pysvn-1.7.4 with CPython 2.6...
make -j3 
/usr/bin/python2.6 -u generate_svn_error_codes/create_svn_error_codes_hpp.py /usr/include/subversion-1
Compile pysvn_docs.cpp
/usr/bin/python2.6 -u ../Docs/generate_cpp_docs_from_html_docs.py /usr/include/subversion-1 ../Docs/pysvn_prog_ref.html pysvn_docs.hpp pysvn_docs.cpp
Compile pysvn_version.hpp
/usr/bin/python2.6 -u ../Builder/brand_version.py ../Builder/version.info pysvn_version.hpp.template
Info: Running svnversion -c ".." 2>&1
Info: svn_include /usr/include/subversion-1
Info: html_doc ../Docs/pysvn_prog_ref.html
Info: cpp_header_filename pysvn_docs.hpp
Info: cpp_module_filename pysvn_docs.cpp
x86_64-pc-linux-gnu-g++ -O2 -pipe -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.6 -I/usr/share/python2.6/CXX -I/usr/include/python2.6 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I. -DNDEBUG -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_6 -Dinit_pysvn_d=init_pysvn_2_6_d  generate_svn_error_codes/generate_svn_error_codes.cpp -o generate_svn_error_codes/generate_svn_error_codes
Info: revision exported
Compile cxxsupport.o
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.6 -I/usr/share/python2.6/CXX -I/usr/include/python2.6 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I. -DNDEBUG -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_6 -Dinit_pysvn_d=init_pysvn_2_6_d  -o cxxsupport.o /usr/share/python2.6/CXX/cxxsupport.cxx
Info: Building against SVN 1.6.13 code 1006013
Compile cxx_extensions.o
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.6 -I/usr/share/python2.6/CXX -I/usr/include/python2.6 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I. -DNDEBUG -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_6 -Dinit_pysvn_d=init_pysvn_2_6_d  -o cxx_extensions.o /usr/share/python2.6/CXX/cxx_extensions.cxx
Compile cxxextensions.o
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -Wall -fPIC -I/usr/include/python2.6 -I/usr/share/python2.6/CXX -I/usr/include/python2.6 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I.  -o cxxextensions.o /usr/share/python2.6/CXX/cxxextensions.c
Compile IndirectPythonInterface.o
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.6 -I/usr/share/python2.6/CXX -I/usr/include/python2.6 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I. -DNDEBUG -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_6 -Dinit_pysvn_d=init_pysvn_2_6_d  -o IndirectPythonInterface.o /usr/share/python2.6/CXX/IndirectPythonInterface.cxx 
/usr/bin/python2.6 -u create__init__.py pysvn/__init__.py.template pysvn/__init__.py generate_svn_error_codes/generate_svn_error_codes _pysvn_2_6.so
Info: Creating __init__.py for module _pysvn_2_6
Info: Running 'generate_svn_error_codes/generate_svn_error_codes >>pysvn/__init__.py'
Compile pysvn_docs.hpp
touch pysvn_docs.hpp
Compile pysvn_docs.o
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.6 -I/usr/share/python2.6/CXX -I/usr/include/python2.6 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I. -DNDEBUG -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_6 -Dinit_pysvn_d=init_pysvn_2_6_d  -o pysvn_docs.o pysvn_docs.cpp
Compile pysvn_path.o
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.6 -I/usr/share/python2.6/CXX -I/usr/include/python2.6 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I. -DNDEBUG -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_6 -Dinit_pysvn_d=init_pysvn_2_6_d  -o pysvn_path.o pysvn_path.cpp
Compile pysvn_arg_processing.o
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.6 -I/usr/share/python2.6/CXX -I/usr/include/python2.6 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I. -DNDEBUG -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_6 -Dinit_pysvn_d=init_pysvn_2_6_d  -o pysvn_arg_processing.o pysvn_arg_processing.cpp
In file included from pysvn_arg_processing.cpp:16:
pysvn.hpp: In member function ‘virtual Py::Object pysvn_enum_value<T>::rich_compare(const Py::Object&, int)’:
pysvn.hpp:634: error: ‘NotImplementedError’ is not a member of ‘Py’
In file included from pysvn.hpp:11,
                 from pysvn_arg_processing.cpp:16:
/usr/include/python2.6/CXX/Objects.hxx: In member function ‘Py::List Py::MapBase<T>::keys() const [with T = Py::Object]’:
pysvn_arg_processing.cpp:115:   instantiated from here
/usr/include/python2.6/CXX/Objects.hxx:2798: warning: deprecated conversion from string constant to ‘char*’
make: *** [pysvn_arg_processing.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from pysvn_path.cpp:16:
pysvn.hpp: In member function ‘virtual Py::Object pysvn_enum_value<T>::rich_compare(const Py::Object&, int)’:
pysvn.hpp:634: error: ‘NotImplementedError’ is not a member of ‘Py’
make: *** [pysvn_path.o] Error 1


Reproducible: Always




 $ emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r11 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r11-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5670_@_1.80GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 17 Oct 2010 02:30:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.cs.wmich.edu/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cairo cjk cli cracklib crypt cups curl cxx dbus dell dri emacs firefox3 fortran freetype gdbm glut gpm gstreamer hal iconv immqt-bc ipv6 jpeg kde laptop libffi mmx modules mp3 mudflap multilib mysql ncurses networkmanager nls nptl nptlonly offensive ogg opengl openmp pam pcre perl phonon png pppd python qt3support qt4 readline reflection sasl sdl session sql sqlite sse sse2 ssl svg symlink sysfs tcpd threads tiff truetype unicode vorbis webkit xcomposite xft xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-17 16:50:28 UTC
What version of dev-python/pycxx do you use?
Comment 2 Benjamin Peterson 2010-10-17 16:52:11 UTC
6.1.1
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-17 16:56:46 UTC
Does upgrading to 6.2.1 help?
Comment 4 Azamat H. Hackimov 2010-10-17 16:58:22 UTC
(In reply to comment #2)
> 6.1.1
> 
With dev-python/pycxx-6.2.1 compiles fine in amd64.
Comment 5 Benjamin Peterson 2010-10-17 22:33:49 UTC
Yes, it does indeed help.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-17 22:45:00 UTC
Dependencies have been updated.