| Summary: | apache2 detects an environment change and aborts the compilation when there is no change | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Phantom <thephantom> |
| Component: | [OLD] Server | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Why don Why don“t you remove the redundant double spaces and trailing spaces from C[XX]FLAGS lines in make.conf? yes, I will remove the extra space, but still, this shouln't happend so it's a bug... The apache configure script should strip it off or portage should... or atleast gives a warning or bail out... |
Configuring Apache Portable Runtime library ... checking for APR... reconfig updating cache /tmp/portage/apache-2.0.52-r1/work/httpd-2.0.52/config.cache configuring package in srclib/apr now configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: loading cache /tmp/portage/apache-2.0.52-r1/work/httpd-2.0.52/config.cache configure: error: `CFLAGS' has changed since the previous run: configure: former value: -pipe -O3 -march=athlon-xp -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -falign-functions=4 -funroll-loops -fstack-protector-all -fstack-protector configure: current value: -pipe -O3 -march=athlon-xp -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -falign-functions=4 -funroll-loops -fstack-protector-all -fstack-protector configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm /tmp/portage/apache-2.0.52-r1/work/httpd-2.0.52/config.cache' and start over configure failed for srclib/apr !!! ERROR: net-www/apache-2.0.52-r1 failed. !!! Function src_compile, Line 185, Exitcode 1 !!! bad ./configure please submit bug report to bugs.gentoo.org. Include your config.layout. !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. set your CFLAGS to -pipe -O3 -march=athlon-xp -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -falign-functions=4 -funroll-loops -fstack-protector-all -fstack-protector 2. emerge gcc-3.4.3-20050110 3. switch to that version of gcc 4. emerge apache2 Actual Results: see detail Expected Results: successfull compilation. actually, I did an emerge -e world notice the space in the former values that got stripped off on the current value line... -funroll-loops -fstack-protector-all Those space come from the make.conf... so maybe apache2 is more sensitive... or maybe portage should have stripped them out?