From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-41549-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1OSn1w-0002Sn-Qf
	for garchives@archives.gentoo.org; Sun, 27 Jun 2010 08:15:56 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1F0FEE0774;
	Sun, 27 Jun 2010 08:15:53 +0000 (UTC)
Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1])
	by pigeon.gentoo.org (Postfix) with ESMTP id CE619E0764
	for <gentoo-dev@lists.gentoo.org>; Sun, 27 Jun 2010 08:15:34 +0000 (UTC)
Received: from [192.168.0.10] (unknown [78.192.105.75])
	by smtp1-g21.free.fr (Postfix) with ESMTP id 6275E940112
	for <gentoo-dev@lists.gentoo.org>; Sun, 27 Jun 2010 10:15:30 +0200 (CEST)
Message-ID: <4C270876.2070804@gentoo.org>
Date: Sun, 27 Jun 2010 10:14:46 +0200
From: =?ISO-8859-1?Q?R=E9mi_Cardona?= <remi@gentoo.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] FYI:  Rules for distro-friendly packages
References: <20100625201738.GA4789@nibiru.local> <4C252C8E.8020408@gentoo.org> <20100626193915.GD4789@nibiru.local>
In-Reply-To: <20100626193915.GD4789@nibiru.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: c391aa52-1f30-4b46-9200-8f4aea7022b4
X-Archives-Hash: 57505fcbeb8994fca2d7ff616dcd78bd

Le 26/06/2010 21:39, Enrico Weigelt a =E9crit :
> #2 One point i don't agree is the "dont add -Werror" rule. actually,
> i'm thinking of making -Wall and -Werror mandatory. if some
> package doenst build fine, it's simply broken. period.

You're obviously new here...

Just take a stroll through bugzilla to see how much we _fight_ against
-Werror. Let's see why you obviously have not thought through this
completely before writing this :

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...

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.

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...

If you want to make -Werror mandatory, you *MUST* test all combinations
above as *THEY ARE ALL SUPPORTED*.

Otherwise, packages will break for no good reason and users will hate us.

-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.

So please, if you want to write nonsense, don't write it in the name of
Gentoo.

R=E9mi

PS, Diego (flameeyes) is already having enough issues with his tinderbox
running *ONE* compiler/linker/libc combination...