subversion fails with this error message: /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_delta.c /var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/subversion/bindings/swig/svn_delta.i /usr/include/apr-0/apr.h:393: Error: no decision has been made on APR_PATH_MAX for your platform The file in question has #if defined(PATH_MAX) #define APR_PATH_MAX PATH_MAX #elif defined(_POSIX_PATH_MAX) #define APR_PATH_MAX _POSIX_PATH_MAX #else #error no decision has been made on APR_PATH_MAX for your platform #endif On my system MAX_PATH is defined in /usr/include/Ecore.h /usr/include/linux/limits.h (both have value of 4096) /usr/include/limits.h does not define it. Reproducible: Always Steps to Reproduce: 1.emerge subversion 2. 3. Actual Results: build error emerge info: Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r2Apr6 i686) ================================================================= System uname: 2.6.13-gentoo-r2Apr6 i686 AMD Athlon(TM) MP 1800+ Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 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 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer -ffast-math -msse -funroll-loops -fforce-addr -falign-functions=4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache cvs distcc distlocks fixpackages noauto notitles sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3ds X Xaw3d aalib alsa apache2 apm arts avi berkdb bitmap-fonts blender-game bochs-debugger bonobo cdparanoia cdr crypt cups curl dga dillo dlloader dvd eds emboss encode esd etwin evo fam flac foomaticdb fortran freetype fs gd gdbm gif gimp gimpprint gnome gnuplot gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile idl imagemagick imlib ipv6 jack jack-tmpfs java jpeg jpeg2k junit kde libg++ libwww lirc mad maps mikmod mmx mng motif mozilla mp3 mpeg mpeg4 music mysql nas ncurses network nls nptl ofx ogg oggvorbis ogre openal opengl oss pam pdflib perl pic plotutils png povray python qt quicktime quotes radeon readline samba sdl slang speex spell sqlite sse ssl stencil-buffer svga tcltk tcpd threads tiff timidity truetype truetype-fonts type1 type1-fonts usb vhosts videos vorbis win32codecs wxwin wxwindows xine xml xml2 xmms xscreensaver xv zeroconf zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Same error here. garath ~ # emerge info Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.12.0_pre9 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 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 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -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 /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/linux/distributions/gentoo http://gentoo.mirrors.pair.com/" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts browserplugin cdr crypt cups curl dvd eds emboss encode fam fbcon flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imagemagick imlib java javascript jpeg kde kdeenablefinal kdexdeltas libg++ libwww mad maildir mikmod mmx motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline samba sasl sdl spell sqlite sse ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vorbis win32codecs xine xml2 xmms xscreensaver xv zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Created attachment 70964 [details] mee tooo!! As per the request in the error message, here's the config log...
I'm also experiencing this. I looked at Alan's config log and noticed the following line: configure:3345: error: the --with-apr-util parameter is incorrect. It must specify an install prefix, a build directory, or an apu-config file.
You were only the second to find the problem. It's caused by swig. The ebuilds in the tree should have fixed dependencies. *** This bug has been marked as a duplicate of 109682 ***