Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411471 - app-admin/apache-tools-2.2.22 fails on '--param keyword=value' in CFLAGS
Summary: app-admin/apache-tools-2.2.22 fails on '--param keyword=value' in CFLAGS
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-10 14:29 UTC by Marcin Mirosław
Modified: 2018-02-07 18:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build,4.56 KB, text/plain)
2012-04-10 14:32 UTC, Marcin Mirosław
Details
environment used by portage (environment,88.54 KB, text/plain)
2012-10-13 11:51 UTC, Francesco Riosa
Details
/var/tmp/portage/app-admin/apache-tools-2.2.23/work/httpd-2.2.23/config.log (config.log,15.76 KB, text/plain)
2012-10-13 11:53 UTC, Francesco Riosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2012-04-10 14:29:37 UTC
...
configure:4718: $? = 1
configure:4740: checking for C compiler default output file name
configure:4762: i686-pc-linux-gnu-gcc -O2 -march=native -mfpmath=sse -pipe -s -fpeel-loops -fprefetch-loop-arrays -fgraphite-identity -floop-interchange -floop-block 
-floop-strip-mine -fira-loop-pressure -fpredictive-commoning -ftracer -ftree-loop-distribution -ftree-vectorize --param l1-cache-size=8 l1-cache-line-size=64 l2-cache
-size=96 -pthread  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed conftest.c  >&5
i686-pc-linux-gnu-gcc: l1-cache-line-size=64: No such file or directory
i686-pc-linux-gnu-gcc: l2-cache-size=96: No such file or directory
configure:4766: $? = 1
configure:4803: result: 
configure: failed program was:
...


CFLAGS was taken from apr, now i don't have "--param" in CFLAGS (as it's shown in emerge --info)

Reproducible: Always




# emerge --info                                                           
FEATURES variable contains unknown value(s): Xkeepwork, Xsplitdebug

Portage 2.2.0_alpha100 (hardened/linux/x86, gcc-4.5.3, glibc-2.13-r4, 3.2.2-hardened-r1 i686)
=================================================================
System uname: Linux-3.2.2-hardened-r1-i686-Intel-R-_Celeron-R-_CPU_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 10 Apr 2012 10:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
Installed sets: 
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mfpmath=sse -pipe -s"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mfpmath=sse -pipe -s"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=n"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--compress-level=0 -O"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.2.6/gentoo-portage"
USE="acl acpi activefilter apache2 async automount bash-completion bzip2 caps chroot clamav clamd clamdtop cli crypt ctype cxx dsn erandom exiscan-acl gif gocr graphite hardened iconv idn imap iproute2 ipv6 jpeg json logrotate maildir memlimit mhash mime mmap mmx mmxext modules mouse mudflap ncurses network-cron nls nntp nptl nptlonly ocrad openmp openssl pam pax_kernel pcre pic posix pppd readline recode session slang smp spell sse sse2 ssl suhosin svg sysfs syslog threads threadsafe tiff tools unicode urandom vhosts vim-pager vim-syntax x86 xattr xmlreader zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic auth_digest authn_anon authn_default authn_file authz_default authz_groupfile authz_host autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers imagemap info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="geoip ipp2p psd tarpit"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Marcin Mirosław 2012-04-10 14:32:13 UTC
Created attachment 308401 [details]
build.log
Comment 2 Francesco Riosa 2012-10-13 11:41:16 UTC
app-admin/apache-tools-2.2.23

for the record it used to fail with '--param keyword=value' now it fail with '--param=keyword=value' too (notice the blank instead of the "=")

what's worse is that it totally ignore whatever flag portage throw at it, neither setting /etc/portage/env nor /etc/portage/make.conf change the cflags in /var/tmp/portage/app-admin/apache-tools-2.2.23/work/httpd-2.2.23/config.log

CFLAGS='-O2 -march=corei7-avx -pipe -frecord-gcc-switches -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mtune=corei7-avx -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine  -ggdb -gdwarf-4 -fvar-tracking-assignments --param l1-cache-size=32 l1-cache-line-size=64 l2-cache-size=8192 -pthread'

^^^^ these flags are not present in my system at the moment, and this is *confirmed* by /var/tmp/portage/app-admin/apache-tools-2.2.23/temp/environment

which show:
declare -x CFLAGS="-O2 -march=corei7-avx -pipe -frecord-gcc-switches -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mtune=corei7-avx -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine  -ggdb -gdwarf-4 -fvar-tracking-assignments"


so WTF does it take the CFLAGS?
Comment 3 Francesco Riosa 2012-10-13 11:47:16 UTC
emerge --info for the previous comment:
Portage 2.2.0_alpha137 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r3, 3.4.1-vs2.3.3.4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.1-vs2.3.3.4-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Sat, 13 Oct 2012 09:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3, 4.7.2, 4.8.0_alpha20120902::toolchain
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo vivovl mysql qt toolchain x11
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7-avx -pipe -frecord-gcc-switches -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mtune=corei7-avx -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine  -ggdb -gdwarf-4 -fvar-tracking-assignments"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=corei7-avx -pipe -frecord-gcc-switches -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mtune=corei7-avx -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine  -ggdb -gdwarf-4 -fvar-tracking-assignments -fvisibility-inlines-hidden"
DISTDIR="/g/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --quiet-build=y --buildpkg-exclude=x11-drivers/nvidia-drivers --buildpkg-exclude=sys-power/bbswitch --buildpkg-exclude=app-emulation/virtualbox-modules --buildpkg-exclude=sys-fs/aufs3"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs compress-build-logs compressdebug config-protect-if-modified distcc distlocks ebuild-locks fail-clean fixlafiles installsources metadata-transfer news noinfo notitles parallel-fetch parallel-install sandbox sfperms skiprocheck splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.lagis.at/ http://mirror.qubenet.net/mirror/gentoo/"
INSTALL_MASK=" /usr/lib64/elektra/*.la /usr/lib64/libelektra*.la /usr/lib64/libo{{,sp}grove,style}.la /lib/udev/rules.d/45-Argyll.rules /usr/lib64/terminfo/[0-9] "
LANG="it_IT@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common -Wl,--no-copy-dt-needed-entries -Wl,--build-id "
LINGUAS="it"
MAKEOPTS="-j36"
PKGDIR="/g/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/g/portage"
PORTDIR_OVERLAY="/g/ovl/tmp /g/ovl/mysql /g/ovl/qt /g/ovl/toolchain /g/ovl/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 avx berkdb bzip2 caps cli cracklib crypt cups curl cxx dbus dri exif ffmpeg flac fortran gdbm gpm iconv icu idn ipv6 jpeg kipi lcms lua lzma lzo modules mudflap multilib ncurses nls nptl opencl openexr opengl openmp pam pcre png pppd qt3support qt4 readline samba session smartcard sse sse2 sse3 sse4_1 ssl ssse3 static-libs svg tcpd tiff unicode v4l vorbis xattr xcb xinerama xml zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir 
disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status userdir usertrack vhost_alias reqtimeout" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="krita braindump flow stage words sheets" CAMERAS="ptp2 directory canon samsung" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="bootchart mdraid syslog uswsusp caps" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffeval ismindex pktdumper qt-faststart trasher" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="keyboard mouse evdev wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="
presenter-console presenter-minimizer" LINGUAS="it" PHP_TARGETS="php5-3" PYTHON_TARGETS="pypy1_9 python2_7" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="arm x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="hp4200 net ricoh" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia radeon r300 r600 r700 r800 intel modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-admin/apache-tools-2.2.22 was built with the following:
USE="(multilib) ssl"
CFLAGS="-O2 -march=corei7-avx -pipe -frecord-gcc-switches -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ggdb -gdwarf-4 -fvar-tracking-assignments"
CXXFLAGS="-O2 -march=corei7-avx -pipe -frecord-gcc-switches -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ggdb -gdwarf-4 -fvar-tracking-assignments -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common -Wl,--no-copy-dt-needed-entries -Wl,--build-id -Wl,--no-as-needed"
Comment 4 Francesco Riosa 2012-10-13 11:51:11 UTC
Created attachment 326466 [details]
environment used by portage

Notice the absence of any "--param" in the environment
Comment 5 Francesco Riosa 2012-10-13 11:53:49 UTC
Created attachment 326468 [details]
/var/tmp/portage/app-admin/apache-tools-2.2.23/work/httpd-2.2.23/config.log

the config.log has different CFLAGS wich resemble the old ones used on the system.
Comment 6 Francesco Riosa 2012-10-13 11:59:01 UTC
re-emerging dev-libs/apr{,-util} fixes it