Gentoo
Bugs: (~x86)
[1] #144419 - 'binutils-2.17 ld fails tests with FEATURES="test"' - Fix: FEATURES="-test ..." in /etc/portage/env/sys-devel/binutils
[2] #164266 - 'dev-scheme/guile-1.8.1-r1 fails test' - Fix: USE in /etc/make.conf with regex and networking
[3] #177538 - sys-apps/'coreutils-6.9 test failure' - Fix: modified coreutils.ebuild, with each emerge sync, overwritten with patched .ebuild file and digest [4] FIXED by 2nd package of coreutils-6.9-r1 (June/11/2007)
[5] #178028 - 'sys-fs/e2fsprogs-1.40_pre20070411 fails 'expanding lost+found' test' - - Fix: FEATURES="-test ..." in /etc/portage/env/sys-fs/e2fsprogs (or ext2/ext3 as fstype)
[6] #180412 - 'sys-apps/findutils-4.3.6-r1 - TEST "fprint-unwritable.exp" fails' - Fix: FEATURES="-test ..." in /etc/portage/env/sys-apps/findutils - [7] FIXED
[8] #180834 - 'dev-libs/gmp-4.2.1-r1 - TEST "t_import" fails with "-funroll-loops"/"-O3"' - Fix: CFLAGS in /etc/make.conf with -Wunsafe-loop-optimizations
media-libs/freeglut - stops compiling over loop-opt warning (-Wall -pedantic) - Fix: explicitly without -Wunsafe-loop-optimizations
glib/libtool/guile - 'compilation / test problems' - Fix: in /etc/env.d/99local include "export SED=sed"
jpeg - 'compilation problem' - Fix: "emerge libtool" again (linker i686-gnu-... tragedy)
Hints:
/etc/portage/env/no-something.features/cflags as template for symlinks to /etc/portage/env/package-name/program-symlink
ln -s /etc/portage/env/no-test.features /etc/portage/env/sys-apps/findutils echo "FEATURES=\"ccache distcc -test sandbox\"" >/etc/portage/env/no-test.features ln -s /etc/portage/env/no-test.cflags /etc/portage/env/media-libs/freeglut echo "CFLAGS=\"-march=pentium4m -O3 -pipe -Wall -pedantic\"" >/etc/portage/env/no-loop-opt.cflags
Config: /etc/make.conf