Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130213 - Build of dev-libs/apr-util-0.9.12 fails with "Permission denied"
Summary: Build of dev-libs/apr-util-0.9.12 fails with "Permission denied"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
: 130236 130249 130257 130267 130322 130477 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-16 21:59 UTC by Matt Whitlock
Modified: 2006-04-19 07:13 UTC (History)
11 users (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 Matt Whitlock 2006-04-16 21:59:59 UTC
# emerge --info
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-suspend2-r2 i686)
=================================================================
System uname: 2.6.16-suspend2-r2 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.0_pre17
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.4.2-r1
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="x86 X a52 aac acpi akode alsa arts audiofile avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cli crypt ctype dba dbus dga dri dts dv dvd dvdr dvdread eds emboss encode expat fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glitz gstreamer gtk gtk2 hal imagemagick imlib isdnlog java javascript jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas libg++ libwww mad matroska memlimit mikmod mmx motif mp3 mp4 mpeg musepack musicbrainz ncurses nls nptl nsplugin ogg opengl pcre pdflib perl png posix pppd python qt quicktime readline real samba sdl session simplexml sndfile soap sockets speex spell spl sse sse2 ssl subversion svg tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode vcd vorbis win32codecs wmf x264 xine xml xml2 xsl xv xvid xvmc zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_synaptics kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS


# emerge -u1 apr-util

Calculating dependencies     ... done!
>>> Emerging (1 of 1) dev-libs/apr-util-0.9.12 to /
>>> checksums files   ;-) apr-util-0.9.12.ebuild
>>> checksums files   ;-) apr-util-0.9.7.ebuild
>>> checksums files   ;-) apr-util-1.2.2.ebuild
>>> checksums files   ;-) apr-util-1.2.7.ebuild
>>> checksums files   ;-) apr-util-0.9.6-r2.ebuild
>>> checksums files   ;-) files/digest-apr-util-0.9.12
>>> checksums files   ;-) files/apr-util-0.9.x-161086-161087.patch
>>> checksums files   ;-) files/digest-apr-util-0.9.6-r2
>>> checksums files   ;-) files/digest-apr-util-1.2.2
>>> checksums files   ;-) files/digest-apr-util-0.9.7
>>> checksums files   ;-) files/digest-apr-util-1.2.7
>>> checksums src_uri ;-) apr-util-0.9.12.tar.gz
>>> Unpacking source...
>>> Unpacking apr-util-0.9.12.tar.gz to /var/tmp/portage/apr-util-0.9.12/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12 ...
 * econf: updating apr-util-0.9.12/xml/expat/conftools/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating apr-util-0.9.12/xml/expat/conftools/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating apr-util-0.9.12/build/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating apr-util-0.9.12/build/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datadir=/usr/share/apr-util-0 --with-apr=/usr --with-expat=/usr --with-gdbm --with-dbm=db42 --with-berkeley-db=/usr/include/db4.2:/usr/lib --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for working mkdir -p... yes
APR-util Version: 0.9.12
checking for chosen layout... apr-util
Applying apr-util hints file rules for i686-pc-linux-gnu
checking for APR... yes
  setting CC to "i686-pc-linux-gnu-gcc"
  setting CPP to "i686-pc-linux-gnu-gcc -E"
  adding "-pthread" to CFLAGS
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE"
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
checking gdbm.h usability... yes
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
checking for Berkeley DB 4.2 in /usr/include/db4.2 and /usr/lib...
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb-4.2... yes
  setting APRUTIL_INCLUDES to "-I/usr/include/db4.2"
  setting APRUTIL_LDFLAGS to "-L/usr/lib"
checking for default DBM... db4
  setting APRUTIL_EXPORT_LIBS to "-lgdbm"
  setting APRUTIL_LIBS to "-lgdbm"
  adding "-ldb-4.2" to APRUTIL_EXPORT_LIBS
  adding "-ldb-4.2" to APRUTIL_LIBS
checking for Expat in /usr... yes
  adding "-lexpat" to APRUTIL_EXPORT_LIBS
  adding "/usr/lib/libexpat.la" to APRUTIL_LIBS
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for type of inbuf parameter to iconv... char **
checking for iconv.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for CODESET in langinfo.h... yes
checking for library containing crypt... -lcrypt
checking if system crypt() function is threadsafe... no
checking for crypt_r... yes
checking style of crypt_r... struct_crypt_data
  adding "/usr/lib/libapr-0.la" to APRUTIL_LIBS
  adding "-lrt" to APRUTIL_LIBS
  adding "-lm" to APRUTIL_LIBS
  adding "-lcrypt" to APRUTIL_LIBS
  adding "-lnsl" to APRUTIL_LIBS
  adding "-lpthread" to APRUTIL_LIBS
  adding "-ldl" to APRUTIL_LIBS
configure: creating ./config.status
config.status: creating export_vars.sh
config.status: creating apu-config
config.status: creating build/pkg/pkginfo
config.status: creating include/private/apu_select_dbm.h
config.status: creating include/apr_ldap.h
config.status: creating include/apu.h
config.status: creating include/apu_want.h
config.status: creating Makefile
config.status: creating buckets/Makefile
config.status: creating crypto/Makefile
config.status: creating dbm/Makefile
config.status: creating dbm/sdbm/Makefile
config.status: creating encoding/Makefile
config.status: creating hooks/Makefile
config.status: creating ldap/Makefile
config.status: creating uri/Makefile
config.status: creating xml/Makefile
config.status: creating misc/Makefile
config.status: creating strmatch/Makefile
config.status: creating xlate/Makefile
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: executing default commands
Making all in buckets
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/buckets'
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/buckets'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_file.c && touch apr_buckets_file.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_pool.c && touch apr_buckets_pool.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_flush.c && touch apr_buckets_flush.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_refcount.c && touch apr_buckets_refcount.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_heap.c && touch apr_buckets_heap.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_simple.c && touch apr_buckets_simple.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets.c && touch apr_buckets.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_mmap.c && touch apr_buckets_mmap.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_socket.c && touch apr_buckets_socket.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_eos.c && touch apr_buckets_eos.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_pipe.c && touch apr_buckets_pipe.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_brigade.c && touch apr_brigade.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2   -c apr_buckets_alloc.c && touch apr_buckets_alloc.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/buckets'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/buckets'
Making all in crypto
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/crypto'
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/crypto'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_sha1.c && touch apr_sha1.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_md4.c && touch apr_md4.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_md5.c && touch apr_md5.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c uuid.c && touch uuid.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c getuuid.c && touch getuuid.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/crypto'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/crypto'
Making all in dbm
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/dbm'
Making all in sdbm
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/dbm/sdbm'
make[3]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/dbm/sdbm'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c sdbm.c && touch sdbm.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c sdbm_hash.c && touch sdbm_hash.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c sdbm_lock.c && touch sdbm_lock.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c sdbm_pair.c && touch sdbm_pair.lo
make[3]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/dbm/sdbm'
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/dbm/sdbm'
Making all in .
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/dbm'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_dbm.c && touch apr_dbm.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_dbm_berkeleydb.c && touch apr_dbm_berkeleydb.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_dbm_gdbm.c && touch apr_dbm_gdbm.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_dbm_sdbm.c && touch apr_dbm_sdbm.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_dbm_ndbm.c && touch apr_dbm_ndbm.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/dbm'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/dbm'
Making all in encoding
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/encoding'
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/encoding'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_base64.c && touch apr_base64.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/encoding'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/encoding'
Making all in hooks
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/hooks'
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/hooks'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_hooks.c && touch apr_hooks.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/hooks'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/hooks'
Making all in ldap
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/ldap'
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/ldap'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_ldap_compat.c && touch apr_ldap_compat.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_ldap_url.c && touch apr_ldap_url.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/ldap'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/ldap'
Making all in uri
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/uri'
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/uri'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2 -I.  -c gen_uri_delims.c && touch gen_uri_delims.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=link  i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2 -I.  -version-info 9:7:9    -o gen_uri_delims  gen_uri_delims.lo -lrt -lm -lcrypt -lnsl  -lpthread -ldl
libtool: link: warning: `-version-info' is ignored for programs
./gen_uri_delims > uri_delims.h
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2 -I.  -c apr_uri.c && touch apr_uri.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/uri'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/uri'
Making all in xml
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/xml'
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/xml'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_xml.c && touch apr_xml.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/xml'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/xml'
Making all in misc
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/misc'
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/misc'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_date.c && touch apr_date.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_rmm.c && touch apr_rmm.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_reslist.c && touch apr_reslist.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_queue.c && touch apr_queue.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apu_version.c && touch apu_version.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/misc'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/misc'
Making all in strmatch
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/strmatch'
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/strmatch'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c apr_strmatch.c && touch apr_strmatch.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/strmatch'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/strmatch'
Making all in xlate
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/xlate'
make[2]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/xlate'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.2  -c xlate.c && touch xlate.lo
make[2]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/xlate'
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/xlate'
make[1]: Entering directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -O2 -march=pentium-m -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include -I/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/private -I/usr/include/apr-0 -I/usr/include/db4.2 -version-info 9:7:9 -o libaprutil-0.la -rpath /usr/lib buckets/apr_buckets_heap.lo buckets/apr_buckets_alloc.lo buckets/apr_buckets_simple.lo buckets/apr_buckets.lo buckets/apr_buckets_socket.lo buckets/apr_buckets_flush.lo buckets/apr_buckets_pipe.lo buckets/apr_buckets_eos.lo buckets/apr_buckets_refcount.lo buckets/apr_buckets_pool.lo buckets/apr_brigade.lo buckets/apr_buckets_file.lo buckets/apr_buckets_mmap.lo crypto/apr_sha1.lo crypto/apr_md4.lo crypto/apr_md5.lo crypto/uuid.lo crypto/getuuid.lo dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_pair.lo dbm/apr_dbm_sdbm.lo dbm/apr_dbm_gdbm.lo dbm/apr_dbm_ndbm.lo dbm/apr_dbm.lo dbm/apr_dbm_berkeleydb.lo encoding/apr_base64.lo hooks/apr_hooks.lo ldap/apr_ldap_compat.lo ldap/apr_ldap_url.lo uri/apr_uri.lo xml/apr_xml.lo misc/apr_rmm.lo misc/apr_queue.lo misc/apu_version.lo misc/apr_date.lo misc/apr_reslist.lo strmatch/apr_strmatch.lo xlate/xlate.lo
/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/*.h > exports.c
/bin/sh: /var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12/include/apr_anylock.h: Permission denied
make[1]: *** [exports.c] Error 126
make[1]: Leaving directory `/var/tmp/portage/apr-util-0.9.12/work/apr-util-0.9.12'
make: *** [all-recursive] Error 1

!!! ERROR: dev-libs/apr-util-0.9.12 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  apr-util-0.9.12.ebuild, line 51:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Leszek 2006-04-16 22:05:08 UTC
the ebuild is broken, it still depend on apr-0.9.7 where it should depend on apr-0.9.12
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2006-04-16 23:50:27 UTC
Same here.
Comment 3 Neil Bothwick 2006-04-17 01:22:43 UTC
I can confirm that changing the apr depend results in both apr-0.9.12 and apr-util-0.9.12 compiling and installing. Tested on amd64 and ppc.
Comment 4 Paul Taylor 2006-04-17 01:55:26 UTC
I didn't change have to change anything; emerging the package again and/or reversing the order of apr and apr-util seem to fix the build process.

However, apache-2.0.55-r2 is dependent on apr-0.9.7 and apr-util-0.9.7, so the 0.9.12 packages will want to downgrade.  The dependencies probably should be changed from "~" to ">=" to get around this problem.
Comment 5 Matt Whitlock 2006-04-17 02:04:58 UTC
If "reversing the order" of the builds makes it work, then shouldn't apr-util-0.9.12 be made to depend upon apr-0.9.12 to cause apr-0.9.12 to build first?  Like Paul Taylor, I'm guessing the dependency in apr-util-0.9.12 should read "~dev-libs/apr-0.9.12" or ">=dev-libs/apr-0.9.12" rather than "~dev-libs/apr-0.9.7".
Comment 6 Ilya Schurov 2006-04-17 03:35:24 UTC
*** Bug 130236 has been marked as a duplicate of this bug. ***
Comment 7 Ash Varma 2006-04-17 05:29:54 UTC
I can also verify on ~x86 that making apr-util depend on dev-libs/apr-0.9.12 corrected this for me also.
Comment 8 Matt Whitlock 2006-04-17 05:33:58 UTC
Same here, but having apache2 installed makes it want to downgrade.
Comment 9 Ash Varma 2006-04-17 05:44:12 UTC
rebuilding apache here after changing the dependency to apr-0.9.12 & apr-util-0.9.12
Comment 10 Ilya Schurov 2006-04-17 06:09:44 UTC
confirm: rebuilding apr-util with apr-0.9.12 dependency and than apache with apr-0.9.12 & apr-util-0.9.12 is OK on ~amd64.
Comment 11 Ash Varma 2006-04-17 06:10:54 UTC
on ~x86, can confirm that apache 2.0.55-r2 builds correctly after changing the dependency from apr-0.9.7 and apr-util-0.9.7 to apr-0.9.12 and apr-util-0.9.12..
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-04-17 06:30:45 UTC
*** Bug 130249 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-04-17 06:54:18 UTC
*** Bug 130257 has been marked as a duplicate of this bug. ***
Comment 14 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-04-17 07:55:03 UTC
sorry about that people - my excuse is I've been working with the 1.x line of apr/apr-util that didn't hard-code the version in the dependencies.

this is now fixed in CVS.

As far as the apache dependency - in the case of apache 2.0.x for now we have to depend on the exact version of apr/apr-util that is bundled upstream because portage doesn't support ranged dependencies. (i.e. we would need an apr >=0.9.6 but <1.0.0 for apache 2.0.55). So for now, if you need apache, don't upgrade to the latest apr/apr-util, as apache will force you to downgrade again to apr 0.9.6.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-04-17 08:30:07 UTC
*** Bug 130267 has been marked as a duplicate of this bug. ***
Comment 16 UncleOwen 2006-04-17 08:42:14 UTC
(In reply to comment #14)
> As far as the apache dependency - in the case of apache 2.0.x for now we have
> to depend on the exact version of apr/apr-util that is bundled upstream because
> portage doesn't support ranged dependencies. (i.e. we would need an apr >=0.9.6
> but <1.0.0 for apache 2.0.55).

In that case, can we at least get a || (~apr-0.9.7 ~apr-0.9.12) dep in apache? I know it's not elegant at all, and probably a PITA to change this everytime a new apr comes out. But IMHO it's worse that every user that has apache installed has to manually package.mask it.
Comment 17 Matt Whitlock 2006-04-17 09:00:12 UTC
Can't you just make Apache depend on =dev-libs/apr-0.9* ?
Comment 18 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-04-17 09:22:23 UTC
(In reply to comment #17)
> Can't you just make Apache depend on =dev-libs/apr-0.9* ?
> 

No, because apache doesn't work with every apr 0.9.x version - it only works with the apr it was originally bundled with and higher up to (but not including) apr 1.0

I just modified the apache builds to use the || (  ) syntax for deps on apr and apr-util. It will suck maintaining these lists, but it's the only working solution I see.
Comment 19 Matt Whitlock 2006-04-17 11:43:06 UTC
What happens if you
DEPEND=">=dev-libs/apr-0.9.7
        <dev-libs/apr-1"
?

I assume that doesn't work or it would have already been done that way, but for the sake of educating me, what happens if you do specify that?
Comment 20 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-04-17 21:24:14 UTC
(In reply to comment #19)
> What happens if you
> DEPEND=">=dev-libs/apr-0.9.7
>         <dev-libs/apr-1"
> ?
> 
> I assume that doesn't work or it would have already been done that way, but for
> the sake of educating me, what happens if you do specify that?
> 

The two are treated as two seperate dependencies. the >=dev-libs/apr-0.9.7 depend would cause the highest unmasked version to be installed (if you are running ~arch and the apache 2.2 is unmasked, it would install apr-1.2.7). Then <dev-libs/apr-1 would install the highest version of apr it could find that is less then apr-1.0. If the two lines weren't different slots, you would get a never-ending upgrade/downgrade loop (I have no idea if portage catches this... interesting theory to test in a chroot). BEcause they are in different slots, both lines would be installed.
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-04-18 05:34:13 UTC
*** Bug 130322 has been marked as a duplicate of this bug. ***
Comment 22 Matt Whitlock 2006-04-18 05:45:47 UTC
Thank you, Michael, for the explanation.  I have one other question regarding Portage's dependencies processing.

Is this valid?
DEPEND=">=dev-libs/apr-0.9.7
        !>=dev-libs/apr-1"

It's a subtle but I think important difference from the "positive" way of excluding apr 1.x.
Comment 23 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-04-18 07:31:12 UTC
(In reply to comment #22)
> Thank you, Michael, for the explanation.  I have one other question regarding
> Portage's dependencies processing.
> 
> Is this valid?
> DEPEND=">=dev-libs/apr-0.9.7
>         !>=dev-libs/apr-1"
> 
> It's a subtle but I think important difference from the "positive" way of
> excluding apr 1.x.
> 

That would work to force a ranged dependency, but it's perfectly valid to have both apr 0.9.x and 1.x installed (different SLOTs), and this would force you to choose one or the other. Blocking packages should only be done when the two packages explicitly conflict, and not just to force ranged dependencies.

Bug 4315 is the portage feature request for ranged dependencies.
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2006-04-19 07:13:49 UTC
*** Bug 130477 has been marked as a duplicate of this bug. ***