Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75922 - Apache 1.3.33 doesn't compile on machines without PAM
Summary: Apache 1.3.33 doesn't compile on machines without PAM
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 09:49 UTC by Arnaud Launay
Modified: 2005-07-11 21:02 UTC (History)
0 users

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 Arnaud Launay 2004-12-28 09:49:04 UTC
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"
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2005-01-30 07:30:01 UTC
is this still an issue with 1.3.33-r1?
Comment 2 Arnaud Launay 2005-01-30 08:48:51 UTC
No, works fine with 33-r1. Thanks for the fix, let's close this bug.
Comment 3 Arnaud Launay 2005-07-08 07:10:05 UTC
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...
Comment 4 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-07-11 21:02:01 UTC
fixed with 1.3.33-r5 in CVS
resolving.
thanks!