Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 784632

Summary: [guru] sys-libs/safeclib-3.6.0_p20210407-r1 uses -Werror for build
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Alessandro Barbieri <lssndrbarbieri>
Status: RESOLVED INVALID    
Severity: normal CC: esigra, guru-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 785607    

Description Agostino Sarubbo gentoo-dev 2021-04-21 06:34:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/safeclib-3.6.0_p20210407-r1 uses -Werror for build.
Discovered on: amd64 (internal ref: guru_tinderbox)

-Werror is not recommended for releases and should always be disabled when encountered in build-logs, because there are numerous cases where this breaks without purpose.
See also: https://devmanual.gentoo.org/ebuild-writing/common-mistakes/index.html

NOTE: If you want to change the summary, to avoid auto-filed duplicates, please at least keep the word '-Werror'
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-22 17:05:22 UTC
Changing the Assignee as per https://archives.gentoo.org/gentoo-dev/message/74ee632e9fe2f4c12890524fec132205
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-25 14:04:44 UTC
Changing TRACKER as requested by QA.
Comment 3 Alessandro Barbieri 2021-04-25 16:54:03 UTC
How was detected this issue?
I can't see it in my log

rg Werror /var/log/portage/build/sys-libs/safeclib-3.6.0_p20210407-r2:20210425-164027.log 
181:checking whether C compiler accepts -Werror=unknown-warning-option... no
231:checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no
240:checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no
537:./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/safeclib-3.6.0_p20210407-r2 --htmldir=/usr/share/doc/safeclib-3.6.0_p20210407-r2/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --disable-valgrind-sgcheck --enable-shared --disable-Werror --enable-constraint-handler --disable-doc --enable-extensions --disable-norm-compat --enable-nullslack --disable-unsafe --enable-valgrind --enable-wchar
647:checking whether C compiler accepts -Werror=unknown-warning-option... no
696:checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no
705:checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no
Comment 4 Agostino Sarubbo gentoo-dev 2021-04-25 17:50:04 UTC
false positive