public inbox for gentoo-project@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: gentoo-project@lists.gentoo.org
Subject: Re: [gentoo-project] Council meeting: Tuesday 11 November 2012, 19:00 UTC
Date: Fri, 9 Nov 2012 11:01:49 -0600	[thread overview]
Message-ID: <20121109170149.GA22128@linux1> (raw)
In-Reply-To: <CAGfcS_=s51=hL9VQvdDJWO_ZMnS1kkb8n_YRxLPuqSX_herY=A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3361 bytes --]

On Fri, Nov 09, 2012 at 11:03:48AM -0500, Rich Freeman wrote:
> On Fri, Nov 9, 2012 at 10:32 AM, William Hubbs <williamh@gentoo.org> wrote:
> > That has been done already by toolchain a while back. Take a look at the
> > code in toolchain-funcs.eclass. There are very few platforms where this
> > function does anything at all these days. It would just be a matter of
> > removing linux from the platforms it supports.
> 
> My concern isn't that the code won't do what you're expecting it to.
> I have every confidence that the files will move to exactly where you
> want them to go.
> 
> My concern is all the downstream effects after that.  Does anything
> hard-code a path in /?  Do any config files in /etc reference those
> paths, maybe for plugins/etc?  What about linking - will we have any
> issues if core system binaries are linked to paths in /?

After separate /usr is implemented, I would throw out the patch to -dev
to disable this, then people could apply the patch and start testing;
this is when we would get all of these answers.

> >  Since applying the patch itself will not force any rebuilds, it should
> >  just end up being a natural migration; as things are rebuilt the
> >  libraries will move from /lib to /usr/lib with no harm being done.
> 
> Except to anything that depends on those libraries being in /lib.
> Maybe that is nothing, but until you test the migration you don't
> know.
 
 See above. You could apply the patch then see what breaks before we
 actually put it in the tree.

> Testing doesn't mean changing the eclass, installing bzip2, and noting
> that the library moves to /usr.  It means then testing anything that
> depends on bzip2 and making sure that they weren't broken as a result.
 
The linker script would stay in /usr/lib and the library would stay in
/lib until bzip2 was rebuilt. At that point, the library itself would move
back to /usr/lib, so wouldn't that cover linking issues?

> Oh, and if everything doesn't move overnight then packages could
> migrate in almost any order, which means you have to look out for
> potential race conditions.
 
 The only way to force everything to move overnight would be to tell
 everyone to rebuild their systems, which isn't really practical,
 because we can't make that happen.

> I would hope that the main issue is going to be linking and perhaps
> @preserved-libs would help with that if it ever becomes stable.
> However, when moving so many libraries you need to think carefully
> about testing.  How many things depend on zlib or ncurses or libcap or
> pam or libpcre?

I'm not sure how we would break linking, since the linker scripts in
/usr/lib would be replaced by the libraries only after each package is
rebuilt.

The other option could be to remove the calls to gen_usr_ldscript from
each linux-only ebuild before we disable it on linux.
That way we could see how much things break. Then, once it is out of the
linux-only ebuilds, we could disable it on linux.

I'm not sure how much that would help though since it would still hit
all of the shared ebuilds at once.

I definitely do not think that gen_usr_ldscript belongs in this council
vote; I"m not even sure it does belong in a council vote, because the
details of making this happen would be worked out on -dev.

William


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-11-09 18:03 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-06 21:28 [gentoo-project] Council meeting: Tuesday 11 November 2012, 19:00 UTC Fabian Groffen
2012-11-08 16:30 ` [gentoo-project] Re: [gentoo-dev-announce] " Alexis Ballier
2012-11-08 17:46   ` Rich Freeman
2012-11-08 18:25     ` William Hubbs
2012-11-08 17:45 ` [gentoo-project] " William Hubbs
2012-11-08 18:15   ` Fabian Groffen
2012-11-08 18:53     ` William Hubbs
2012-11-08 21:16       ` Rich Freeman
2012-11-08 22:09         ` William Hubbs
2012-11-08 22:28           ` Rich Freeman
2012-11-08 23:46       ` Alexis Ballier
2012-11-09  5:13         ` William Hubbs
2012-11-09 11:19           ` Rich Freeman
2012-11-09 11:33           ` Alexis Ballier
2012-11-09 15:32             ` William Hubbs
2012-11-09 16:03               ` Rich Freeman
2012-11-09 17:01                 ` William Hubbs [this message]
2012-11-09 18:21               ` Fabian Groffen
2012-11-10  1:42                 ` William Hubbs
2012-11-10  9:00                   ` Fabian Groffen
2012-11-10 19:37                     ` William Hubbs
2012-11-10 19:39                       ` Ian Stakenvicius
2012-11-10 21:10                         ` [gentoo-project] Council meeting: Tuesday 13 " Petteri Räty
2012-11-11  8:51                       ` Fabian Groffen
2012-11-11 18:43                         ` William Hubbs
2012-11-09 18:21               ` [gentoo-project] Council meeting: Tuesday 11 " Alexis Ballier
2012-11-09  8:26         ` Fabian Groffen
2012-11-11  8:53 ` [gentoo-project] [corrected date] Council meeting: Tuesday 13 " Fabian Groffen
2012-11-11 10:57 ` [gentoo-project] Council meeting: Tuesday 11 " Ulrich Mueller
2012-11-17 19:02 ` [gentoo-project] Summary Council meeting Tuesday 13 November 2012 Fabian Groffen
  -- strict thread matches above, loose matches on Subject: below --
2012-12-04 18:11 [gentoo-project] Council meeting: Tuesday 11 November 2012, 19:00 UTC Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121109170149.GA22128@linux1 \
    --to=williamh@gentoo.org \
    --cc=gentoo-project@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox