From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-164248-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 2B553138CCE
	for <garchives@archives.gentoo.org>; Sat, 16 May 2015 12:57:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id BA1A5E08B8;
	Sat, 16 May 2015 12:57:17 +0000 (UTC)
Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 79A25E087D
	for <gentoo-user@lists.gentoo.org>; Sat, 16 May 2015 12:57:16 +0000 (UTC)
Received: by iesa3 with SMTP id a3so53980567ies.2
        for <gentoo-user@lists.gentoo.org>; Sat, 16 May 2015 05:57:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:sender:in-reply-to:references:date:message-id:subject
         :from:to:content-type;
        bh=xBwdSY3SSLRhBOJ6HKEFfHXZ8D9kjogqhZQHvRo5AMY=;
        b=agGDYll/oP19t8QKOCfdNFsTuFUbsDeDUsat3uLKLQRziIIY4lFRnMf+J1C+C0u3A0
         IMh6oV50ZYUYeBPYbq7Tl7Gbmj02pIzLF8FGbVOJc5xiVaZHz3Oc0IgvIE1paRYBjmM3
         U6uNheNCKG0k+9npim74OSaV3uvVl7nlY9EE4bmTjpK/ijXN82WChgwkpnyFF3ngPCOA
         m4xVubTPb6AkR4EC9xzWAgiDVYC9jn1/+no8FK7nXyPrkY97hsoLu01OSPiS9PbYW9/T
         8AFoFPbcl62jbJv2XMAF5xXrSNXzGEJznNQw4tqdT6EvQP5nJruSqhDFFX/aR26iUzPz
         AtYA==
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
X-Received: by 10.50.102.68 with SMTP id fm4mr3993619igb.25.1431781035850;
 Sat, 16 May 2015 05:57:15 -0700 (PDT)
Sender: freemanrich@gmail.com
Received: by 10.107.48.66 with HTTP; Sat, 16 May 2015 05:57:15 -0700 (PDT)
In-Reply-To: <20150516125034.1bc6ee0c@digimed.co.uk>
References: <CA+t6X7fiKHXxwo07-gvDO5w6mMqf=EvScZod_fdM=ptLLk09Aw@mail.gmail.com>
	<CA+t6X7fTrmeo8=dTwmmiQfjOsdJG4-Hjx7z0KJ449j8+asQmmg@mail.gmail.com>
	<CA+t6X7cppAmvy1uXwiO+LU1xx4xO6TQXziF5GP8_ax5UkXmTwA@mail.gmail.com>
	<201505160955.47041.michaelkintzios@gmail.com>
	<CA+t6X7cPuukuRSW8g3a8m_XR6ACkAaik8ZvyUg2JHYFzb++vcA@mail.gmail.com>
	<20150516112023.61216683@digimed.co.uk>
	<CAGfcS_n32aSh7iAycAf9M0Bbe8vHeD=Vz6KaNuxFSbZtUrCM0A@mail.gmail.com>
	<20150516125034.1bc6ee0c@digimed.co.uk>
Date: Sat, 16 May 2015 08:57:15 -0400
X-Google-Sender-Auth: 8ayHih9fZKAx-ThAwLyF8KCLJ4M
Message-ID: <CAGfcS_nwySm46Zahmz-8bHaM7jvcf6rSwHyTB8UkJiDQ90P+Jg@mail.gmail.com>
Subject: Re: [gentoo-user] libav and ffmpeg on the same computer issue once again
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 0a24b733-a50d-4e92-9a99-4721c216b2c8
X-Archives-Hash: 60dbbf8e86f42236b75251b22d468916

On Sat, May 16, 2015 at 7:50 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Sat, 16 May 2015 07:16:58 -0400, Rich Freeman wrote:
>>
>> Well, it can be a lot more than two screens of text.  I have 1300
>> lines of package.use, almost all of it for abi_x86_32.  I suspect that
>> this the result of stuff like steam, wine, android-sdk-update-manager,
>> and eternal-lands - all packages that involve graphics libraries and
>> toolkits with huge dependency trees.
>
> Does that include the several lines of comments, often repeated, that
> portage includes in the auto-unmask output? I just checked two systems
> for abi_x86_32 and got around 130 lines in one and 220 in the other.

Yes, it does.  The number of actual configuration lines is much
smaller of course - probably 1/5th of the total.

My point wasn't so much that this was an inordinate number of 32-bit
packages, given my list of installed packages.  It was more about the
fact that on a system that I'm trying to keep fairly minimal other
than my explicit preferences I end up with a huge config file that
tends to mix my preferences with a lot of stuff that exists solely to
satisfy the depgraph.  It would be like sticking every package I
install in my world set.

There are some ways around this which I'll probably get around to on a
rainy day:

1.  Take better advantage of the fact that package.use can be a
directory and have several files.  The 32-bit flags would go in their
own file.  Autounmask goes in a separate file with a z at the start of
the name and the intent is that lines in this file get moved to the
appropriate files.  Then from time to time the 32-bit flags can be
deleted and re-created to keep them minimal as installed packages
change.

2.  What I'd really like to get to is a point where all my systems are
defined by ansible configs or the like.  I've already started
container-izing many of my services to cut down on interactions - this
way when I do random package updates I'm not dealing with mysql
breaking or apache or whatever.  However, this increases the amount of
updating I have to do, and I'd like to bring that back down using a
tool like ansible.

-- 
Rich