Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452066 - www-client/chromium-25.0.1364.26 - QA Notice: Files built without respecting CFLAGS have been detected
Summary: www-client/chromium-25.0.1364.26 - QA Notice: Files built without respecting ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-14 18:22 UTC by iGentoo
Modified: 2013-02-27 22:53 UTC (History)
0 users

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


Attachments
chromium-25.0.1364.26-build.log.tar.xz (chromium-25.0.1364.26-build.log.tar.xz,365.84 KB, application/x-xz-compressed-tar)
2013-01-14 18:24 UTC, iGentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iGentoo 2013-01-14 18:22:56 UTC
* QA Notice: Files built without respecting CFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib64/chromium-browser/nacl_irt_srpc_x86_64.nexe
 * /usr/lib64/chromium-browser/nacl_irt_x86_64.nexe
 * /usr/lib64/chromium-browser/nacl_irt_x86_32.nexe
 * /usr/lib64/chromium-browser/nacl_irt_srpc_x86_32.nexe

set QA_FLAGS_IGNORED="usr/lib[^/]*/chromium-browser[^/]*/nacl_irt_.*\.nexe"
can hide the QA notice.

emerge --info www-client/chromium
Portage 2.2.0_alpha151 (hardened/linux/amd64/selinux, gcc-4.7.2, glibc-2.17, 3.7.1-pax.x86_64 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.7.1-pax.x86_64-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.2
Timestamp of tree: Mon, 14 Jan 2013 17:15:01 +0000
ld GNU gold (GNU Binutils 2.23.1) 1.11
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2, 3.3.0-r1
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo systemd hardened-dev gnome custom
Installed sets: @local-protected
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Wall -Wextra -gdwarf-4 -ggdb -march=native -pipe -O3 -fno-tree-vectorize -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-Wall -Wextra -gdwarf-4 -ggdb -march=native -pipe -O3 -fno-tree-vectorize -frecord-gcc-switches"
DISTDIR="/usr/local/portage/distfiles"
FCFLAGS="-Wall -Wextra -gdwarf-4 -ggdb -march=native -pipe -O3 -fno-tree-vectorize -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms split-elog split-log splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-Wall -Wextra -gdwarf-4 -ggdb -march=native -pipe -O3 -fno-tree-vectorize -frecord-gcc-switches"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--icf=safe"
MAKEOPTS="V=1 -j6"
PKGDIR="/usr/local/portage/packages-amd64"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9ef"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--ipv4"
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="/var/lib/layman/systemd /var/lib/layman/hardened-development /var/lib/layman/gnome /usr/local/portage"
SYNC="rsync://mirrors.ustc.edu.cn/gentoo-portage"
USE="X acl alsa amd64 audit bash-completion berkdb bzip2 c++0x cairo caps cli cracklib crypt custom-cflags cxx dbus dri ffmpeg gdbm gmp gnome gpm gtk gtk3 hardened iconv icu ipv6 jit jpeg jpeg2k justify lzma mmx modules mudflap multilib ncurses nls nptl open_perms opengl openmp orc pam pax_kernel pcre png pppd pulseaudio qt4 readline selinux session sse sse2 ssl svg systemd tcpd threads tiff udev unicode urandom vim-syntax xattr xinetd zlib" ALSA_CARDS="hda-intel" 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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="bootchart btrfs caps dmsquash-live gensplash livenet lvm nfs ssh-client syslog systemd" 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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US zh zh_CN" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 arm mips64el ppc64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" 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"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND

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

www-client/chromium-25.0.1364.26 was built with the following:
USE="custom-cflags gnome system-ffmpeg test -bindist -cups -gnome-keyring -kerberos (-pulseaudio) (-selinux) (-tcmalloc)" LINGUAS="zh_CN -am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_TW"
Comment 1 iGentoo 2013-01-14 18:24:59 UTC
Created attachment 335634 [details]
chromium-25.0.1364.26-build.log.tar.xz
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-15 17:28:16 UTC
Please do not CC maintainers when you cannot assign bugs.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-02-05 13:17:35 UTC
(In reply to comment #0)
> * QA Notice: Files built without respecting CFLAGS have been detected
>  *  Please include the following list of files in your report:
>  * /usr/lib64/chromium-browser/nacl_irt_srpc_x86_64.nexe
>  * /usr/lib64/chromium-browser/nacl_irt_x86_64.nexe
>  * /usr/lib64/chromium-browser/nacl_irt_x86_32.nexe
>  * /usr/lib64/chromium-browser/nacl_irt_srpc_x86_32.nexe
> 
> set QA_FLAGS_IGNORED="usr/lib[^/]*/chromium-browser[^/]*/nacl_irt_.*\.nexe"
> can hide the QA notice.

How can I reproduce the above message? Is it controlled by some FEATURE or something else?
Comment 4 Mike Gilbert gentoo-dev 2013-02-06 17:33:35 UTC
(In reply to comment #3)
> How can I reproduce the above message? Is it controlled by some FEATURE or
> something else?

From make.conf.example:

# If your gcc supports it, you can add -frecord-gcc-switches to all of the
# following *FLAGS in order to enable *FLAGS ignorance checking for ebuilds:
# CFLAGS, CXXFLAGS, FFLAGS, and FCFLAGS.
# Note that this check is only enabled if every one of these variables contains
# -frecord-gcc-switches, since otherwise the check could result in false
# positive results.
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-02-08 14:32:22 UTC
(In reply to comment #4)
> From make.conf.example:
> 
> # If your gcc supports it, you can add -frecord-gcc-switches to all of the
> # following *FLAGS in order to enable *FLAGS ignorance checking for ebuilds:
> # CFLAGS, CXXFLAGS, FFLAGS, and FCFLAGS.
> # Note that this check is only enabled if every one of these variables
> contains
> # -frecord-gcc-switches, since otherwise the check could result in false
> # positive results.

Ah, thank you. Still, I couldn't reproduce with www-client/chromium-26.0.1403.0.

# emerge --info | grep record-gcc-switches
CFLAGS="-O2 -march=native -g -pipe -frecord-gcc-switches"
CXXFLAGS="-O2 -march=native -g -pipe -frecord-gcc-switches"
FCFLAGS="-O2 -pipe -frecord-gcc-switches"
FFLAGS="-O2 -pipe -frecord-gcc-switches"
Comment 6 Mike Gilbert gentoo-dev 2013-02-08 14:49:17 UTC
(In reply to comment #5)

Nor can I. Maybe it has something to do with his more obscure CFLAGS and/or the fact that we call strip-flags in the ebuild.
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-02-12 09:41:41 UTC
(In reply to comment #6)
> (In reply to comment #5)
> 
> Nor can I. Maybe it has something to do with his more obscure CFLAGS and/or
> the fact that we call strip-flags in the ebuild.

It was strip-flags, thanks! After building with USE=custom-flags I was able to reproduce the message (I think -frecord-gcc-switches can be added to the whitelist btw).

QA_FLAGS_IGNORED=".*\.nexe" is sufficient to suppress it, I'm going to commit the change soon.
Comment 8 iGentoo 2013-02-17 04:11:49 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > 
> > Nor can I. Maybe it has something to do with his more obscure CFLAGS and/or
> > the fact that we call strip-flags in the ebuild.
> 
> It was strip-flags, thanks! After building with USE=custom-flags I was able
> to reproduce the message (I think -frecord-gcc-switches can be added to the
> whitelist btw).

Building sys-libs/glibc with -frecord-gcc-switches may break system.

> 
> QA_FLAGS_IGNORED=".*\.nexe" is sufficient to suppress it, I'm going to
> commit the change soon.
Comment 9 Mike Gilbert gentoo-dev 2013-02-17 04:21:11 UTC
(In reply to comment #8)
> Building sys-libs/glibc with -frecord-gcc-switches may break system.

Citation? I'm curious.
Comment 10 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-02-27 22:53:11 UTC
(In reply to comment #7)
> QA_FLAGS_IGNORED=".*\.nexe" is sufficient to suppress it, I'm going to
> commit the change soon.

Committed for chromium-26+

Thank you for reporting!