Summary: | x11-libs/cairo-1.12.14-r4 isn't respecting CFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | Current packages | Assignee: | Ben de Groot (RETIRED) <yngwin> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bircoph, ssuominen, x11 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | cairo-1.12.14-r4:20130827-134341.log |
Description
Justin Lecher (RETIRED)
2013-08-27 14:14:15 UTC
Created attachment 357168 [details]
cairo-1.12.14-r4:20130827-134341.log
build.log
(In reply to Justin Lecher from comment #0) > * Messages for package x11-libs/cairo-1.12.14-r4: > > * QA Notice: Files built without respecting CFLAGS have been detected > * Please include the following list of files in your report: > * /usr/lib64/cairo/cairo-sphinx.so.0.0.0 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -I../../boilerplate -I../../util/cairo-script -DLIBDIR="\"/usr/lib64/cairo\"" -D_REENTRANT -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/libpng16 -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Werror-implicit-function-declaration -Wnested-externs -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wbad-function-cast -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -flto -fno-strict-aliasing -fno-common -Wno-unused-but-set-variable -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -ftracer -march=native -frecord-gcc-switches -g -Wimplicit-function-declaration -c -o cairo_sphinx-sphinx.o `test -f 'sphinx.c' || echo './'`sphinx.c The build.log is showing your CFLAGS="-O2 -pipe -ftracer -march=native -frecord-gcc-switches -g -Wimplicit-function-declaration" being used. Buggy QA check? I set FEATURES="keepwork nostrip" and CFLAGS="-frecord-gcc-switches" in attempt of reproducing: null .libs # eu-readelf -p cairo-fdr.so.0.0.0 |grep gcc [ 480] -frecord-gcc-switches null .libs # pwd /var/tmp/portage/x11-libs/cairo-1.12.14-r4/work/cairo-1.12.14/util/cairo-fdr/.libs And as you can see, CFLAGS are respected by cairo. I think your system might be broken otherwise and this not be a cairo bug at all. (In reply to Samuli Suominen from comment #3) > I set FEATURES="keepwork nostrip" and CFLAGS="-frecord-gcc-switches" in > attempt of reproducing: > > null .libs # eu-readelf -p cairo-fdr.so.0.0.0 |grep gcc > [ 480] -frecord-gcc-switches > null .libs # pwd > /var/tmp/portage/x11-libs/cairo-1.12.14-r4/work/cairo-1.12.14/util/cairo-fdr/ > .libs > > And as you can see, CFLAGS are respected by cairo. > > I think your system might be broken otherwise and this not be a cairo bug at > all. Same USE? And it is reproducable on different systems. (In reply to Justin Lecher from comment #4) > (In reply to Samuli Suominen from comment #3) > > I set FEATURES="keepwork nostrip" and CFLAGS="-frecord-gcc-switches" in > > attempt of reproducing: > > > > null .libs # eu-readelf -p cairo-fdr.so.0.0.0 |grep gcc > > [ 480] -frecord-gcc-switches > > null .libs # pwd > > /var/tmp/portage/x11-libs/cairo-1.12.14-r4/work/cairo-1.12.14/util/cairo-fdr/ > > .libs > > > > And as you can see, CFLAGS are respected by cairo. > > > > I think your system might be broken otherwise and this not be a cairo bug at > > all. > > Same USE? And it is reproducable on different systems. Yes, exactly same USE flags and package version. That's funny, can't reproduce on multiple systems (tested on 3 now to make sure) It's a clear duplicate of bug 428032. BTW, the same issue here with 1.12.16 USE="doc glib -X -aqua -debug -directfb -drm -gallium -gles2 -legacy-drivers -opengl -openvg -qt4 -static-libs -svg -valgrind -xcb -xlib-xcb" *** This bug has been marked as a duplicate of bug 428032 *** |