On a machine compiled with USE="-pam", apache 1.3.33 ebuild doesn't complete and fail on suexec compilation, due to absence of pam headers. Obvious fix would be to not include patch 03_all_gentoo_suexec_pam.patch, less obvious to make it dependent on the presence/absence of the pam flag. Reproducible: Always Steps to Reproduce: 1. emerge -C pam 2. USE="-pam" emerge apache 3. Actual Results: gcc -c -I../os/unix -I../include -O2 -march=pentium3 -pipe -msse -mfpmath=sse -mmmx -fomit-frame-pointer -DHARD_SERVER_LIMIT=512 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX=22 -DTARGET=\"apache\" -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -I/usr/include/db4 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM -DHTTPD_USER=\"apache\" -DUID_MIN=1000 -DGID_MIN=100 -DUSERDIR_SUFFIX=\"public_html\" -DLOG_EXEC=\"/var/log/apache/suexec_log\" -DDOC_ROOT=\"/var/www\" -DSAFE_PATH=\"/bin:/usr/bin\" -DSUEXEC_PAM_SESSION suexec.c suexec.c:53:31: security/pam_appl.h: No such file or directory suexec.c: In function `main': suexec.c:852: error: `pam_handle_t' undeclared (first use in this function) suexec.c:852: error: (Each undeclared identifier is reported only once suexec.c:852: error: for each function it appears in.) (etc) Expected Results: Install apache 1.3.33 just right. Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.28 i686) ================================================================= System uname: 2.4.28 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -pipe -msse -mfpmath=sse -mmmx -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://gentoo.mirror.sdv.fr http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" USE="x86 acl apm arts avi berkdb bitmap-fonts crypt cscope cups curl encode flash foomaticdb gd gif gmp gtk gtk2 hardenedphp imap jpeg libwww mad mcal memlimit mikmod motif mpeg mysql ncurses nls oci8 odbc oggvorbis opengl oss pdflib perl pic png python quicktime readline sasl sdl snmp spell ssl svga tcpd tiff truetype xml2 xmms xv yaz zlib"
is this still an issue with 1.3.33-r1?
No, works fine with 33-r1. Thanks for the fix, let's close this bug.
Doesn't work anymore with apache-1.3.33-r1, don't know what you did guys. Seems like you reintroduced the pam patch. haven't tried r2 or >, don't want to unmask gentoo-webroot as of know, but I'd like my apache's to compile on machines without pam...
fixed with 1.3.33-r5 in CVS resolving. thanks!