When compiling apache-2.2.0-r2 witch mpm-peruser beacouse it uses deprecated apr api. /usr/share/apr-1/build-1/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread -O2 -pipe -march=athlon-xp -ftracer -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/srclib/pcre -I. -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/os/unix -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/server/mpm/experimental/peruser -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/http -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/filters -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/proxy -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/include -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/generators -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/mappers -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/database -I/usr/include/apr-1 -I/usr/include/db4.2 -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/proxy/../generators -I/usr/include -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/ssl -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/dav/main -prefer-non-pic -static -c modules.c && touch modules.lo i686-pc-linux-gnu-gcc -pthread -O2 -pipe -march=athlon-xp -ftracer -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/srclib/pcre -I. -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/os/unix -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/server/mpm/experimental/peruser -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/http -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/filters -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/proxy -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/include -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/generators -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/mappers -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/database -I/usr/include/apr-1 -I/usr/include/db4.2 -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/proxy/../generators -I/usr/include -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/ssl -I/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/modules/dav/main -c /var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/server/buildmark.c /usr/share/apr-1/build-1/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -O2 -pipe -march=athlon-xp -ftracer -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -L/usr/lib -o apache2 modules.lo buildmark.o -export-dynamic server/libmain.la modules/http/libmod_http.la modules/mappers/libmod_so.la server/mpm/experimental/peruser/libperuser.la os/unix/libos.la -lm /var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/srclib/pcre/libpcre.la /usr/lib/libaprutil-1.la -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl server/mpm/experimental/peruser/.libs/libperuser.a(peruser.o): In function `check_pipe_of_death': peruser.c:(.text+0x2fb): undefined reference to `apr_recv' server/mpm/experimental/peruser/.libs/libperuser.a(peruser.o): In function `ap_mpm_run': peruser.c:(.text+0x2bc7): undefined reference to `apr_proc_other_child_read' collect2: ld returned 1 exit status make[1]: *** [apache2] Błąd 1 make[1]: Opuszczenie katalogu `/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0' make: *** [all-recursive] Błąd 1 !!! ERROR: net-www/apache-2.2.0-r2 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 930: Called src_compile apache-2.2.0-r2.ebuild, line 195: Called die !!! problem compiling apache2 !!! If you need support, post the topmost build error, and the call stack if relevant. As I've read in CHANGES function 'apr_recv' was replaced with 'apr_socket_recv' and 'apr_proc_other_child_read' width 'apr_proc_other_child_alert' my 'emerge --info': Portage 2.1_pre10-r5 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r2, 2.6.16-gentoo-r2 i686) ================================================================= System uname: 2.6.16-gentoo-r2 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.12.0_pre19 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon-xp -ftracer -ffast-math -fomit-frame-pointer -mfpmath=sse,387" 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/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=athlon-xp -ftracer -ffast-math -mfpmath=sse,387 -momit-leaf-frame-pointer" DISTDIR="/mnt/hdc5/full" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS=" http://gentoo.prz.rzeszow.pl/ http://gentoo.zie.pg.gda.pl/" LC_ALL="pl_PL" LINGUAS="pl" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-r" SYNC="rsync://gentoo.prz.rzeszow.pl/gentoo-portage" USE="x86 X alsa apm avi berkdb bitmap-fonts cddb cli crypt dri eds emboss encode foomaticdb fortran gcj gdbm gif gpm gtk gtk2 imlib ipv6 isdnlog jpeg jpeg2k kde kdeenablefinal kdexdeltas libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ntpl objc ogg oggvorbis opengl pam pcre pdflib perl pic png pppd python qt quicktime readline real reflection session sox spell spl sse ssl tcpd threads truetype truetype-fonts type1-fonts vhosts video_cards_via vorbis xine xinerama xml2 xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pl userland_GNU video_cards_vesa" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 86749 [details, diff] old api bug patch
Patch is in SVN, this will be included when I roll the version bump to 2.2.2.
Apache 2.2.2 is in CVS.