From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-66286-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id D761813877A
	for <garchives@archives.gentoo.org>; Wed, 18 Jun 2014 06:24:56 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 326DFE0C8D;
	Wed, 18 Jun 2014 06:24:51 +0000 (UTC)
Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24])
	by pigeon.gentoo.org (Postfix) with ESMTP id 3B4B7E0B9C
	for <gentoo-dev@lists.gentoo.org>; Wed, 18 Jun 2014 06:24:50 +0000 (UTC)
Received: from omta08.westchester.pa.mail.comcast.net ([76.96.62.12])
	by qmta02.westchester.pa.mail.comcast.net with comcast
	id FiQp1o0030Fqzac51iQprm; Wed, 18 Jun 2014 06:24:49 +0000
Received: from [192.168.1.13] ([50.190.84.14])
	by omta08.westchester.pa.mail.comcast.net with comcast
	id FiQp1o00G0JZ7Re3UiQpiN; Wed, 18 Jun 2014 06:24:49 +0000
Message-ID: <53A130AA.10002@gentoo.org>
Date: Wed, 18 Jun 2014 02:24:42 -0400
From: Joshua Kinard <kumba@gentoo.org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
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] Re: Re: Re: crossdev and multilib interference
References: <53208139.2040509@gentoo.org>	<1660834.UE1ARX9orZ@vapier>			<20140327084108.GA3654@rathaus.eclipse.co.uk>	<31757180.gTPZtqku3h@vapier>			<20140330095348.GA18419@rathaus.eclipse.co.uk>			<539E03A9.3010109@gentoo.org>	<539E0563.3080302@gentoo.org>			<539EF323.7020208@gentoo.org>			<1402944163.8309.2.camel@oswin.hackershack.net>			<539F462E.6050905@gentoo.org>			<20140616214257.096c93fc@marga.jer-c2.orkz.net>			<539F49C2.6090008@gentoo.org>	<539F4DFA.7020706@gentoo.org>			<539F5288.1000000@gentoo.org>	<539F5AB5.7000006@gentoo.org>			<539F6B3C.7030807@gentoo.org>	<539F8000.5080804@gentoo.org>			<539F9E41.9050505@gentoo.org>	<539FA536.3010401@gentoo.org>			<53A034F4.2000900@gentoo.org>		 <CAGfcS_m=-tvsPyV7C7i945=5=9X8N+X0g0ma2PCnxRf2U8emjw@mail.gmail.com>		 <53A04DF6.6050407@gentoo.org> <1403017001.11300.1.camel@rook>	 <53A05CC5.9070808@gentoo.org> <1403068120.20262.1.camel@rook>
In-Reply-To: <1403068120.20262.1.camel@rook>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;
	s=q20140121; t=1403072689;
	bh=zLRpwBLvpf7pW8GKSFmxC5sOBJDLSJ8igQCWOjk5x1w=;
	h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject:
	 Content-Type;
	b=oe801tZu+NVC7HxscJ2PGmuGFIL5pYS8PEspdzQL6j0bHuxeA5KYHkJllK/DlI745
	 rMCVaKjFYQIRqTX/pyNVYR7FNdk/1MCWcYjR81TiwK/+DA1GIxjQfQGMcriS6lwmug
	 VhbWQCuN+H21EzjNo4eeYicR/QZAi835kPaW2MTANMMdSm/Ypm2Oije0cu5g8S3jvp
	 OdwGp2LZ3UbsNJu9KjAqAic3KYpOt4YKlffMiL6yz2WPbbKGbMRdheX4jaRfFDGDWz
	 w55Qg1rKkqdUGMsmaYLdGvMoGfIMzL5ywnqpZOOpChEvSExXlHHnmCXKxPHExe7PFt
	 WIP0dVQuA4suw==
X-Archives-Salt: 11f9dfe8-c34d-4643-9461-9fe5c4a9ef00
X-Archives-Hash: d9d22d9a0ad4b353ee0793167552544c

On 06/18/2014 01:08, Alexandre Rostovtsev wrote:
> eix --depend -z virtual/pkgconfig -a --use -z abi_x86_32 -a --use -z abi_x86_64 --only-names | wc -l

Interesting, I got 294 (probably from my local dev tree).  Close enough, thanks!



So, taking this count-packages script here:
http://dev.gentoo.org/~dberkholz/scripts/count-packages

And running it, I get the following information about the portage tree
(synced about ~2hrs ago):

    Statistics for /usr/portage:
    Total packages = 20436
    Total categories = 174
    Average packages per category = 117
    Standard deviation of packages per category = 203
    Suggested category size within (standard deviation / 2) of average: 16
to 218
    Split categories with more than 218 packages, and do not create
categories with fewer than 16 packages.


Using the total number of packages in the tree against either 285 or 294:
>>> print "%.2f" % ((float(294)/20436) * 100)
1.44
>>> print "%.2f" % ((float(285)/20436) * 100)
1.39

IOW, it looks like less than 1.5% of the tree contains multilib packages
that rely on pkgconfig that could be affected by crossdev installing the
${CHOST}-pkg-config link into PATH.

We all have different measurements of things, but in my book, that doesn't
even begin to qualify for "non-trivial tree-wide problem".  If we were
talking close to 5%-10% of packages affected, that to me would be worth some
serious discussion.

So since there isn't a pressing need to do something about it right now,
let's try to think up a proper way to address the problem for the longterm,
because the number of multilib/pkgconfig packages will likely increase in
the future.

Sound fair?

-- 
Joshua Kinard
Gentoo/MIPS
kumba@gentoo.org
4096R/D25D95E3 2011-03-28

"The past tempts us, the present confuses us, the future frightens us.  And
our lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic