Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395533 - dev-python/pysvn-1.7.5 does compile against subversion 1.7.x
Summary: dev-python/pysvn-1.7.5 does compile against subversion 1.7.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 402731 404223 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-21 12:43 UTC by Martin Mokrejš
Modified: 2012-03-09 08:00 UTC (History)
6 users (show)

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


Attachments
build.log (SVN 1.7.1, MAKEOPTS=-j1) (build.log,13.35 KB, text/plain)
2011-12-21 12:46 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2011-12-21 12:43:57 UTC
Compile pysvn_client_cmd_checkin.o
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -fno-strict-aliasing -march=native -mtune=native -mmmx -msse -msse2 -mssse3 -msse4.1 -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.7 -I/usr/share/python2.7/CXX -I/usr/include/python2.7 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I. -DNDEBUG -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_7 -Dinit_pysvn_d=init_pysvn_2_7_d  -o pysvn_client_cmd_checkin.o pysvn_client_cmd_checkin.cpp
pysvn_client_cmd_checkin.cpp: In member function 'Py::Object pysvn_client::cmd_checkin(const Py::Tuple&, const Py::Dict&)':
pysvn_client_cmd_checkin.cpp:130:34: warning: 'svn_error_t* svn_client_commit(svn_client_commit_info_t**, const apr_array_header_t*, svn_boolean_t, svn_client_ctx_t*, apr_pool_t*)' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2050)
pysvn_client_cmd_checkin.cpp:137:17: warning: 'svn_error_t* svn_client_commit(svn_client_commit_info_t**, const apr_array_header_t*, svn_boolean_t, svn_client_ctx_t*, apr_pool_t*)' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2050)
pysvn_client_cmd_checkin.cpp: In member function 'Py::Object pysvn_client::cmd_checkout(const Py::Tuple&, const Py::Dict&)':
pysvn_client_cmd_checkin.cpp:241:30: warning: 'svn_error_t* svn_client_checkout(svn_revnum_t*, const char*, const char*, const svn_opt_revision_t*, svn_boolean_t, svn_client_ctx_t*, apr_pool_t*)' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1167)
pysvn_client_cmd_checkin.cpp:250:13: warning: 'svn_error_t* svn_client_checkout(svn_revnum_t*, const char*, const char*, const svn_opt_revision_t*, svn_boolean_t, svn_client_ctx_t*, apr_pool_t*)' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1167)
pysvn_client_cmd_checkin.cpp: In member function 'Py::Object pysvn_client::cmd_resolved(const Py::Tuple&, const Py::Dict&)':
pysvn_client_cmd_checkin.cpp:349:30: warning: 'svn_error_t* svn_client_resolved(const char*, svn_boolean_t, svn_client_ctx_t*, apr_pool_t*)' is deprecated (declared at /usr/include/subversion-1/svn_client.h:3728)
pysvn_client_cmd_checkin.cpp:355:13: warning: 'svn_error_t* svn_client_resolved(const char*, svn_boolean_t, svn_client_ctx_t*, apr_pool_t*)' is deprecated (declared at /usr/include/subversion-1/svn_client.h:3728)
pysvn_client_cmd_checkin.cpp: In member function 'Py::Object pysvn_client::cmd_update(const Py::Tuple&, const Py::Dict&)':
pysvn_client_cmd_checkin.cpp:440:30: warning: 'svn_error_t* svn_client_update(svn_revnum_t*, const char*, const svn_opt_revision_t*, svn_boolean_t, svn_client_ctx_t*, apr_pool_t*)' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1315)
pysvn_client_cmd_checkin.cpp:448:13: error: cannot convert 'apr_array_header_t**' to 'svn_revnum_t*' for argument '1' to 'svn_error_t* svn_client_update(svn_revnum_t*, const char*, const svn_opt_revision_t*, svn_boolean_t, svn_client_ctx_t*, apr_pool_t*)'
make: *** [pysvn_client_cmd_checkin.o] Error 1
emake failed


The above error I hit with MAKEOPTS=-j1. However, originally with my "-j5" I hit another place:

Compile pysvn_converters.o
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -fno-strict-aliasing -march=native -mtune=native -mmmx -msse -msse2 -mssse3 -msse4.1 -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.7 -I/usr/share/python2.7/CXX -I/usr/include/python2.7 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I. -DNDEBUG -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_7 -Dinit_pysvn_d=init_pysvn_2_7_d  -o pysvn_converters.o pysvn_converters.cpp
Compile pysvn_svnenv.o
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -fno-strict-aliasing -march=native -mtune=native -mmmx -msse -msse2 -mssse3 -msse4.1 -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.7 -I/usr/share/python2.7/CXX -I/usr/include/python2.7 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I. -DNDEBUG -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_7 -Dinit_pysvn_d=init_pysvn_2_7_d  -o pysvn_svnenv.o pysvn_svnenv.cpp
In file included from pysvn.hpp:11:0,
                 from pysvn_arg_processing.cpp:16:
/usr/include/python2.7/CXX/Objects.hxx: In member function 'Py::List Py::MapBase<T>::keys() const [with T = Py::Object]':
pysvn_arg_processing.cpp:115:32:   instantiated from here
/usr/include/python2.7/CXX/Objects.hxx:2912:52: warning: deprecated conversion from string constant to 'char*'
pysvn_converters.cpp: In function 'Py::Object toObject(Py::String, pysvn_wc_status_t&, SvnPool&, const DictWrapper&, const DictWrapper&, const DictWrapper&)':
pysvn_converters.cpp:260:20: error: 'struct pysvn_wc_status_t' has no member named 'repos_lock'
In file included from pysvn.hpp:11:0,
                 from pysvn_converters.cpp:17:
/usr/include/python2.7/CXX/Objects.hxx: In member function 'Py::List Py::MapBase<T>::keys() const [with T = Py::Object]':
pysvn_converters.cpp:623:38:   instantiated from here


# emerge --info
Portage 2.1.10.41 (!../scratch/usr/portage/profiles/default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r1, 3.0.4 x86_64)
=================================================================
System uname: Linux-3.0.4-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.1
Timestamp of tree: Tue, 20 Dec 2011 18:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.5, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.3.5, 4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo science x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm PUEL Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fno-strict-aliasing -march=native -mtune=native -mmmx -msse -msse2 -mssse3 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cli-php5.2/ext-active/ /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 -fno-strict-aliasing -march=native -mtune=native -mmmx -msse -msse2 -mssse3 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news nostrip parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en cs cz"
MAKEOPTS="-j5"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 apache2 apng berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative device-mapper dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran gd gdbm gdu gif gnutls gtk iconv icu innodb java jce jpeg jpg kde kipi laptop lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mpi mpich2 multilib mysql ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp openssl pam pango pcre pdf perl phonon plasma png policykit ppds python qt3support qt4 readline sdl semantic-desktop server session spell sse sse2 ssl startup-notification suexec svg sysfs syslog tcpd threads tiff truetype udev unicode usb vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dbd deflate dir disk_cache env expires ext_filter file_cache filter headers icu ident imagemap include info log_config mem_cache mime mime_magic rewrite setenvif speling status unique_id userdir usertrack vhost_alias negotiation" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" 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 cs cz" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Mokrejš 2011-12-21 12:46:23 UTC
Created attachment 296565 [details]
build.log (SVN 1.7.1, MAKEOPTS=-j1)
Comment 2 Arfrever Frehtes Taifersar Arahesis 2011-12-27 11:35:48 UTC
pysvn 1.7.5 is incompatible with Subversion 1.7.

Fixed in Progress Overlay.
(Some tests still fail.)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-08 18:49:22 UTC
*** Bug 402731 has been marked as a duplicate of this bug. ***
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2012-02-19 01:09:40 UTC
*** Bug 404223 has been marked as a duplicate of this bug. ***
Comment 5 Sebastian Pipping gentoo-dev 2012-02-27 22:58:40 UTC
New subject, original was:
"dev-python/pysvn-1.7.5: pysvn_client_cmd_checkin.cpp:448:13: error: cannot convert 'apr_array_header_t**' to 'svn_revnum_t*' for argument '1' to 'svn_error_t* svn_client_update(svn_revnum_t*, const char*, const svn_opt_revision_t*, svn_boolean_t, svn_clie"
Comment 6 Sebastian Pipping gentoo-dev 2012-02-27 23:13:55 UTC
+  27 Feb 2012; Sebastian Pipping <sping@gentoo.org> pysvn-1.7.5.ebuild:
+  Adjust dependency to require subversion before 1.7 (bug #395533)
+

Arfrever, can you elaborate on the fix?
Comment 7 Patrick Lauer gentoo-dev 2012-03-09 08:00:40 UTC
+  09 Mar 2012; Patrick Lauer <patrick@gentoo.org> +pysvn-1.7.6.ebuild:
+  Bump/fix for #395533 #407065