Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81116 - libapreq2 failed to build with error
Summary: libapreq2 failed to build with error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Perl team
URL: http://www.matrixmonkey.org.uk/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-07 06:50 UTC by Richard Waite
Modified: 2005-08-14 13:25 UTC (History)
2 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 Richard Waite 2005-02-07 06:50:15 UTC
i require libapreq2 for rrfw and i use apache2
so even though hard masked it is required and tried the manual 
install.
ebuild will fail before at very start but after installing 
dev-libs/apr it would carry on to this new error


Reproducible: Always
Steps to Reproduce:
1.# cd /usr/portage/dev-perl/libapreq2/
2.# emerge libapreq2-2.04.03.ebuild
3.

Actual Results:  
!!! If you need support, post the topmost build error, NOT this status message.
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------LOG FILE =
"/tmp/sandbox-dev-perl_-_libapreq2-2.04.03-24166.log" open_wr:  
/usr/lib/apache2/modules/mod_apreq.so
--------------------------------------------------------------------------------r


root@diablo monosodium # emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r14 i686)
=================================================================
System uname: 2.4.26-gentoo-r14 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec  4 2004, 03:12:17)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
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/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
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 acl alsa apache apm avi berkdb bitmap-fonts crypt cups doc encode esd
f77 fam fastcgi font-server foomaticdb fortran ftp gd gd-external gdbm gif
gifmmx gnome gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 jpeg jpg
kerberos ldap libg++ libwww mad maildir mikmod mmx motif mpeg mysql mysqli nas
ncurses nls oav offensive oggvorbis opengl oss pam pam-mysql perl php png
prelude python qt quicktime readline samba sasl scanner sdl slang snmp spell
spenssl ssl svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb
xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Matt Philips 2005-02-07 19:44:05 UTC
Me too. I noticed this at the top:
>>> Source unpacked.
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
automake: unrecognized option -- `--force-missing'
Try `automake --help' for more information.
autoreconf-2.59: automake failed with exit status: 2
 * econf: updating libapreq2-2.04-dev/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libapreq2-2.04-dev/config.sub with /usr/share/gnuconfig/config.sub
./configure...

And the error message at the end is:
ACCESS DENIED  open_wr:   /usr/lib/apache2/modules/mod_apreq.so
cp: cannot create regular file `/usr/lib/apache2/modules/mod_apreq.so': Permission denied
apxs:Error: Command failed with rc=65536
Comment 2 Matt Philips 2005-02-08 20:30:21 UTC
Compiles and installs with FEATURES="-sandbox". Hopefully be able to test it in the next day or two. (Need to find some hardware.)
Comment 3 Christian Schnidrig 2005-04-05 13:25:36 UTC
Quite a few things changed in the newest apache 2 ebuild. This did break things in this ebuild. To fix it change the following:

in files/libareq2-2.0-sandbox.patch:

            + INSTDSO = /usr/lib/apache2/build/instdso.sh
            + SHLIBTOOL = $(shell $(APR_CONFIG) --installbuilddir)/libtool
            + APACHE2MODS = /usr/lib/apache2/modules

and in the ebuild:
    src_compile() {
	# the -i is for a missing depcomp
	rm env/Makefile.in
	automake
	autoreconf -i -f

The second change does not seem to make sense, but for some reason it does not work without it.
Comment 4 Rendhalver 2005-08-04 05:18:26 UTC
hi guys.
libapreq2-2.06 is now in portage.
can you please test if this solves the problems you are having with this.
thanks.
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-08-14 13:25:32 UTC
no response, closing. please reopen or file a new bug if the newer version gives
your problems still.