Gentoo Archives: gentoo-dev

From: Enrico Weigelt <weigelt@×××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] FYI: Rules for distro-friendly packages
Date: Sun, 27 Jun 2010 11:09:28
Message-Id: 20100627110256.GE23460@nibiru.local
In Reply to: Re: [gentoo-dev] FYI: Rules for distro-friendly packages by "Rémi Cardona"
* Rémi Cardona <remi@g.o> schrieb:

> We currently offer 11 different slots of GCC, 3 of gcc-apple, each with > multiple versions, 3 versions of llvm-gcc, 2 versions of clang, 7 > versions of icc, so in all 26 *major* versions. You do well know that > each compiler prints out different warnings for the *same* code...
hmm, perhaps I'll hack some little scripts which create a jail/container for each compiler version and triggers emerge within them.
> We also offer 10 versions of glibc, 8 versions of uclibc, and 7 versions > of klibc. Each version may have header bugs, so may trigger warnings for > perfectly good code.
Well, if there're header bugs, shouldn't they get fixed before these libs are stabelized ? ;-O
> And finally we offer 5 unmasked versions of binutils (newer ones even > have a brand new linker - gold) and 5 versions of binutils-apple. Again, > different tools, different warnings...
Okay, adds *10 to the test matrix. Still not yet an too complex problem (still linear complexity).
> -Werror is a perfectly fine *developer* feature. For example, Gnome > autoconf macros enable it for development snapshots, but never ever > enable it for stable releases.
Okay, aggreed. I've reworked my rule, now: "package build systems MUST NOT enable "-Wall -Werror" (unless explicitly asked), but developers SHOULD use them for their test builds" cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service - http://www.metux.de/ --------------------------------------------------------------------- Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ ---------------------------------------------------------------------

Replies

Subject Author
Re: [gentoo-dev] FYI: Rules for distro-friendly packages Patrick Lauer <patrick@g.o>