Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36395 - emerge apache fails under an SELinux environment
Summary: emerge apache fails under an SELinux environment
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-23 14:43 UTC by Stephen Tallowitz
Modified: 2004-01-08 02:19 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 Stephen Tallowitz 2003-12-23 14:43:31 UTC
Here's the error output:
---
ssl_expr_parse.y:70: too many decimal points in floating constant
ssl_expr_parse.y:70: parse error before numeric constant
ssl_expr_parse.y:70:35: warning: multi-line string literals are deprecated
ssl_expr_parse.y:75:18: warning: multi-line string literals are deprecated
  many more of these errors (about 50)
sl_expr_parse.y:70: confused by earlier errors, bailing out
make[4]: *** [ssl_expr_parse.slo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/apache-2.0.48-r1/work/httpd-2.0.48/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/apache-2.0.48-r1/work/httpd-2.0.48/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/apache-2.0.48-r1/work/httpd-2.0.48/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/apache-2.0.48-r1/work/httpd-2.0.48'
make: *** [all-recursive] Error 1

!!! ERROR: net-www/apache-2.0.48-r1 failed.
!!! Function src_compile, Line 169, Exitcode 2
!!! problem compiling Apache2 :(
---

Here's my setup:
- Gentoo SELinux with development-sources (currently being the vanilla-2.6.0)
- gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)


Reproducible: Always
Steps to Reproduce:
1. Convert from normal Linux to SELinux with the 2.6.0 Vanilla-Kernel
2. On that machine login in as normal user, su over to root and run "emerge apache"
3. The SELinux context does not matter (user can su over in user_r or sysadm_r), compilation error always occurs

Actual Results:  
compilation error (see above)

Expected Results:  
compile normally

Note: This error looks somehow similar to the one reported in bug 35650.
http://bugs.gentoo.org/show_bug.cgi?id=35650

Portage 2.0.49-r15 (selinux-x86-1.4, gcc-3.2.3, glibc-2.3.3_pre20031212-r0, 2.6.
0)
=================================================================
System uname: 2.6.0 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs strict sfperms"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp
.gentoo.skynet.be/pub/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.
belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gento
o.org/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://sunsite.cn
lab-switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo ftp://ftp.tu-clau
sthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gen
too http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ru
hr-uni-bochum.de/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/ge
ntoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub
/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-er
langen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributi
ons/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://f
tp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.ipv6.uni-muenster.d
e/pub/linux/distributions/gentoo http://gentoo.inode.at/ ftp://gentoo.inode.at/s
ource/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 crypt ncurses selinux zlib gdbm berkdb slang readline gpm tcpd pam ssl 
perl python"
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2003-12-24 15:21:07 UTC
This looks like an apache compile problem, not a SELinux problem, unless you have some denials.
Comment 2 solar (RETIRED) gentoo-dev 2004-01-08 02:19:21 UTC
changing resolution to INVALID