Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109682 - subversion-1.2.3-r3 can't compile with swig-1.3.27
Summary: subversion-1.2.3-r3 can't compile with swig-1.3.27
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
: 109716 112615 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-18 01:31 UTC by TGL
Modified: 2006-08-06 04:42 UTC (History)
7 users (show)

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


Attachments
full compilation log (12367-subversion-1.2.3-r3.log,163.32 KB, text/plain)
2005-10-18 01:32 UTC, TGL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2005-10-18 01:31:11 UTC
With swig-1.3.27 and USE="python", i can't compile the new subversion realease:

===========================================================================
/usr/bin/swig  -python
-I/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig
-I/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/include
-I/usr/share/swig/1.3.27 -DSVN_SWIG_VERSION=103027 -DSWIG_TABLE_TYPE=subversion
-I/usr/include/apr-0  -I/usr/include/apr-0 
-I/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig
-I/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/include
-I/usr/share/swig/1.3.27 -DSVN_SWIG_VERSION=103027 -DSWIG_TABLE_TYPE=subversion
-I/usr/include/apr-0  -I/usr/include/apr-0  -I/usr/include/python2.4
-I/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig/python/libsvn_swig_py
-o subversion/bindings/swig/python/svn_client.c
/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig/svn_client.i
/bin/sh /var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/libtool
--tag=CC --silent --mode=compile i686-pc-linux-gnu-gcc -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE  -DSWIGPYTHON
-march=i686 -mtune=pentium-m -O2 -fomit-frame-pointer -pipe -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE  
-pthread  -DNEON_ZLIB -DNEON_SSL 
-I/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig
-I/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/include
-I/usr/share/swig/1.3.27 -DSVN_SWIG_VERSION=103027 -DSWIG_TABLE_TYPE=subversion
-I/usr/include/apr-0  -I/usr/include/apr-0  -I/usr/include/python2.4
-I/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig/python/libsvn_swig_py
-I./subversion/include -I./subversion -I/usr/include/neon -I/usr/include/apr-0 
 -I/usr/include/apr-0  -o
subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.lo -c
/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
In file included from /usr/include/python2.4/Python.h:8,
                 from
/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:20:/usr/include/python2.4/pyconfig.h:847:1:
warning: "_XOPEN_SOURCE" redefined
<command line>:11:1: warning: this is the location of the previous definition
/usr/include/apr-0/apr.h:393: Error: no decision has been made on APR_PATH_MAX
for your platform
make: *** [subversion/bindings/swig/python/svn_client.c] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-util/subversion-1.2.3-r3 failed.
!!! Function src_compile, Line 4365, Exitcode 2
!!! subversion python bindings failed
!!! If you need support, post the topmost build error, NOT this status message.
===========================================================================


Downgrading swig to 1.3.25 fixes the issue.


$(emerge info):
Portage 1873-cvs (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-archck7.1 i686)
=================================================================
System uname: 2.6.13-archck7.1 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.0_pre9
Python:              dev-lang/python-2.4.2 [2.4.2 (#1, Sep 29 2005, 02:49:24)]
distcc: No such file or directory [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.59-r7, 2.13
sys-devel/automake:  1.4_p6, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.5, 1.9.6-r1
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="no"
CFLAGS="-march=i686 -mtune=pentium-m -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/cursors/xorg-x11/default
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/dev.d /etc/env.d /etc/gconf
/etc/hotplug /etc/hotplug.d /etc/init.d /etc/sound /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=i686 -mtune=pentium-m -O2 -fomit-frame-pointer -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildsyspkg ccache digest distlocks fixpackages
manifest sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo
ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/
http://pandemonium.tiscali.de/pub/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo
ftp://ftp.ussg.iu.edu/linux/gentoo"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="fr fr_FR en en_US"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage/tree"
PORTDIR_OVERLAY="/var/portage/overlays/bugzilla /var/portage/overlays/tgl
/var/portage/overlays/demexp /var/portage/overlays/camelis
/var/portage/overlays/tiny"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acpi adns alsa apache2 audiofile avi
bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cairo cdparanoia
cdr cross crypt cscope cups curl dba dbus dga dpms dvd dvdr emboss encode expat
faad fam fame fastcgi fbcon ffmpeg firefox flac foomaticdb fortran freetype gd
gdbm ggz gif gimp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml
guile hal howl imagemagick imap imlib imlib2 ipv6 java jikes jpeg junit lcms
leim libcaca libg++ libwww lirc logrotate lzo mad mailwrapper matroska mbox
memlimit mikmod mjpeg mmx mng mozilla mp3 mpeg ncurses network nls nodrm nptl
nsplugin offensive ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl
plotutils png pnp postgres python qt quicktime readline ruby scanner sdl slang
slp smooth snmp sox speex spell sqlite sse sse2 ssl svg syslog tcltk tcpd tetex
theora threads tiff tmpfs truetype truetype-fonts type1-fonts unicode usb v4l
v4l2 vhosts vorbis wifi win32codecs wmf wxwindows xface xfs xinerama xml xml2
xosd xpm xprint xscreensaver xsl xv xvid zeo zlib video_cards_radeon
input_devices_synaptics linguas_fr linguas_fr_FR linguas_en linguas_en_US
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

Config files: /etc/make.conf, /etc/portage/modules, /etc/portage/bashrc,
/etc/portage/mirrors, /etc/portage/package.mask, /etc/portage/package.unmask,
/etc/portage/package.keywords, /etc/portage/profile/virtuals,
/etc/portage/profile/use.defaults
Comment 1 TGL 2005-10-18 01:32:44 UTC
Created attachment 70913 [details]
full compilation log
Comment 2 Chris White (RETIRED) gentoo-dev 2005-10-18 08:51:09 UTC
Hi, my name is Mr. WTF.  Mr. WTF wants to know why his package was bumped 
without his permission, despite the fact he stated that it isn't ready to go 
into portage yet?  Fun, Fun! >:| 
Comment 3 SpanKY gentoo-dev 2005-10-18 15:20:52 UTC
thought i checked the metadata and found it missing *shrug*

KEYWORDS=-* if you dont want to support it
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2005-10-19 00:53:41 UTC
*** Bug 109716 has been marked as a duplicate of this bug. ***
Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2005-10-19 05:23:16 UTC
So which package would I have to backdate? and to which revision?

swig to 1.3.25?
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2005-10-19 06:01:51 UTC
swig 1.3.25 would work well. The ebuild now will depend on having any swig less
than or equal to 1.3.25
Comment 7 Paul de Vrieze (RETIRED) gentoo-dev 2005-11-16 00:36:02 UTC
*** Bug 112615 has been marked as a duplicate of this bug. ***
Comment 8 LMS 2005-12-06 22:14:14 UTC
(In reply to comment #6)
> swig 1.3.25 would work well. The ebuild now will depend on having any swig less
> than or equal to 1.3.25

subversion fails with USE="ruby" and swig-1.3.21 as well:

/usr/bin/swig -ruby
-I/home/common/media/unr/compiles/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig
-I/home/common/media/unr/compiles/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/include
-I/usr/lib/swig1.3 -DSVN_SWIG_VERSION=103021 -DSWIG_TABLE_TYPE=subversion
-I/usr/include/apr-0  -I/usr/include/apr-0 -I/usr/include/db4.2
-I/home/common/media/unr/compiles/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig/ruby/libsvn_swig_ruby
-o subversion/bindings/swig/ruby/svn_client.c
/home/common/media/unr/compiles/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig/svn_client.i
/bin/sh
/home/common/media/unr/compiles/portage/subversion-1.2.3-r3/work/subversion-1.2.3/libtool
--tag=CC --silent --mode=compile none -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
-I/home/common/media/unr/compiles/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig
-I/home/common/media/unr/compiles/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/include
-I/usr/lib/swig1.3 -DSVN_SWIG_VERSION=103021 -DSWIG_TABLE_TYPE=subversion
-I/usr/include/apr-0  -I/usr/include/apr-0 -I/usr/include/db4.2
-I/home/common/media/unr/compiles/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig/ruby/libsvn_swig_ruby
-prefer-pic -c -o subversion/bindings/swig/ruby/svn_client.lo
subversion/bindings/swig/ruby/svn_client.c
/home/common/media/unr/compiles/portage/subversion-1.2.3-r3/work/subversion-1.2.3/libtool:
line 1238: none: command not found
make: *** [subversion/bindings/swig/ruby/svn_client.lo] Error 1

!!! ERROR: dev-util/subversion-1.2.3-r3 failed.
!!! Function src_compile, Line 136, Exitcode 2
!!! Ruby library building failed
!!! If you need support, post the topmost build error, NOT this status message.


Emerging subversion with USE="-ruby" or upgrading to swig-1.3.25 fixes the problem.

$(emerge info):
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r5.110205.1 i686)
=================================================================
System uname: 2.6.13-gentoo-r5.110205.1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://mirror.datapipe.net/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/common/media/unr/compiles"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 #media #random #unicodeNasian X aac acl alsa apm audiofile avi berkdb
bitmap-fonts bzip2 cairo cdr cjk crypt cups curl dts dvd dvdr eds emboss encode
esd exif expat faad fam ffmpeg firefox flac foomaticdb formats fortran gd gdbm
gif glut gmp gnome gpm gstreamer gtk gtk2 guile idn imagemagick imlib immqt-bc
java javascript jpeg junit kde lcms ldap libcaca libg++ libwww lua mad matroska
mhash mikmod mng motif mozsvg mp3 mpeg ncurses nls nptl offensive ogg oggvorbis
openal opengl oss pam pcre pdflib perl png ppds python qt quicktime readline
recode ruby samba scanner sdl slang spell sqlite sse ssl svg svga tcltk tcpd
tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis
win32codecs wmf wxwindows xchatdccserver xine xml2 xprint xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-12-07 01:05:16 UTC
(In reply to comment #8)
> subversion fails with USE="ruby" and swig-1.3.21 as well:

Please, file a new bug. Don't clutter this one w/ unrelated issues.
Comment 10 A. Ducommun 2005-12-07 02:55:02 UTC
I opened a bug for ruby flag there with some suggestions :

http://bugs.gentoo.org/show_bug.cgi?id=114705
Comment 11 Paul de Vrieze (RETIRED) gentoo-dev 2005-12-08 06:05:03 UTC
As additional information. The 1.3 series of subversion will no longer depend on
swig, but have the necessary tasks performed already, so there is no runtime or
buildtime dependency on swig.
Comment 12 Chris White (RETIRED) gentoo-dev 2006-08-05 18:31:37 UTC
What's the status on this?  Reading over it's somewhat hard to tell.
Comment 13 Paul de Vrieze (RETIRED) gentoo-dev 2006-08-06 04:42:03 UTC
Basically the problem is solved for the 1.3 release of subversion. I don't see any reason not to update to that one, so if no one has a compelling reason I'll just let this one be.