Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Re: [Bug 523634] sys-apps/portage-2.2.13: pkg_preinst sanity check no longer runs
Date: Fri, 26 Sep 2014 17:18:49
Message-Id: 20140926101826.4bdce603.dolsen@gentoo.org
In Reply to: Re: [gentoo-portage-dev] Re: [Bug 523634] sys-apps/portage-2.2.13: pkg_preinst sanity check no longer runs by Zac Medico
1 On Thu, 25 Sep 2014 22:29:32 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > On 09/25/2014 09:22 PM, Brian Dolbec wrote:
5 > > OK, I've commented out the pkg_preinst sanity check for now.
6 > >
7 > > I've also updated the 9999 ebuild to create the deprecation
8 > > symlinks. setup.py has been updated as well.
9 > >
10 > > I have a 2.2.14_rc1 tarball uploaded and I've attached the
11 > > 2.2.14_rc1 ebuild here as well. Although it is the same code
12 > > installed as 9999 currently.
13 > >
14 > > If our testing doesn't come up with any more regressions, I'll
15 > > release the rc1 for some additional testing.
16 >
17 > I installed it, and now if I run emaint --help as root then the output
18 > starts like this:
19 >
20 > /usr/sbin/emaint: line 7: /lib/gentoo/functions.sh: No such file or
21 > directory
22 > /usr/sbin/emaint: line 19: eerror: command not found
23 > /usr/sbin/emaint: line 20: eerror: command not found
24 > usage: usage: emaint [options] COMMAND
25 >
26 > Note that I have /lib/rc/sh/functions.sh provided by
27 > sys-apps/openrc-0.12.4. Also, /usr/sbin comes before /usr/bin in
28 > root's PATH, so the deprecation wrapper is always triggered.
29
30
31 Attached is the new ebuild that now moves the sbin scripts
32 from /usr/bin to /usr/sbin in pkg_preinst() instead of making symklinks.
33
34 --
35 Brian Dolbec <dolsen>

Attachments

File name MIME type
portage-2.2.14_rc1.ebuild application/octet-stream