[gentoo-dev] [PATCH] gnome2-utils.eclass: skip executing cross-compiled tools

2020-12-02 Thread David Michael
d to exist while cross-compiling (e.g. gtk+ can't BDEPEND on itself, so the cross-compiled gtk+ can be installed before the native gtk+, which fails from gtk-query-immodules not existing). Closes: https://bugs.gentoo.org/757483 Signed-off-by: David Michael --- Hi, Here is an eclass patch to fix b

[gentoo-dev] [PATCH v2 2/2] selinux-policy-2.eclass: drop EAPI 5

2020-11-03 Thread David Michael
Signed-off-by: David Michael --- Changes since v1: - Dropped unnecessary EAPI default value - Fixed eapply array awareness eclass/selinux-policy-2.eclass | 47 +- 1 file changed, 12 insertions(+), 35 deletions(-) diff --git a/eclass/selinux-policy-2.eclass

Re: [gentoo-dev] [PATCH 1/2] selinux-policy-2.eclass: add EAPI 7

2020-11-03 Thread David Michael
On Tue, Nov 3, 2020 at 2:46 AM Ulrich Mueller wrote: > >>>>> On Mon, 02 Nov 2020, David Michael wrote: > > > +if [[ ${EAPI:-0} == [56] ]]; then > > Substituting 0 is not necessary here. I wrote it that way to match all other EAPI conditions in the file. I'll re

[gentoo-dev] [PATCH 1/2] selinux-policy-2.eclass: add EAPI 7

2020-11-02 Thread David Michael
Closes: https://bugs.gentoo.org/748483 Signed-off-by: David Michael --- Hi, Please start allowing EAPI 7 SELinux policy ebuilds. Thanks. David eclass/selinux-policy-2.eclass | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/eclass/selinux-policy-2

[gentoo-dev] [PATCH 2/2] selinux-policy-2.eclass: drop EAPI 5

2020-11-02 Thread David Michael
Signed-off-by: David Michael --- Grepping through the ebuilds using this eclass shows that they're all on EAPI 6. A bunch of workarounds could be dropped along with EAPI 5, but it isn't necessary to fix anything, so feel free to ignore this patch. eclass/selinux-policy-2.eclass | 38

Re: [gentoo-dev] Re: [PATCH 1/2] acct-group.eclass: declare the missing dependency on shadow

2020-09-09 Thread David Michael
On Wed, Sep 9, 2020 at 5:37 AM Alexis Ballier wrote: > On Tue, 8 Sep 2020 15:54:14 -0400 > David Michael wrote: > > > Hi, > > > > This fix might not be so straightforward. A configuration I tested > > hit a dependency loop with shadow -> pambase -> sys

[gentoo-dev] Re: [PATCH 1/2] acct-group.eclass: declare the missing dependency on shadow

2020-09-08 Thread David Michael
Hi, This fix might not be so straightforward. A configuration I tested hit a dependency loop with shadow -> pambase -> systemd -> a bunch of groups -> shadow. It is possible to bootstrap around by emerging shadow with no USE flags first, but I don't know how acceptable it is to introduce new

Re: [gentoo-dev] [PATCH 1/2] acct-group.eclass: declare the missing dependency on shadow

2020-09-08 Thread David Michael
On Tue, Sep 8, 2020 at 12:04 PM Michał Górny wrote: > On Tue, 2020-09-08 at 11:57 -0400, David Michael wrote: > > Signed-off-by: David Michael > > --- > > eclass/acct-group.eclass | 6 +- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > >

[gentoo-dev] [PATCH 2/2] acct-user.eclass: declare the missing dependency on shadow

2020-09-08 Thread David Michael
Signed-off-by: David Michael --- eclass/acct-user.eclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/acct-user.eclass b/eclass/acct-user.eclass index 56a4e83e8bf..96a076e106e 100644 --- a/eclass/acct-user.eclass +++ b/eclass/acct-user.eclass @@ -42,8 +42,12

[gentoo-dev] [PATCH 1/2] acct-group.eclass: declare the missing dependency on shadow

2020-09-08 Thread David Michael
Signed-off-by: David Michael --- eclass/acct-group.eclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass index 19a378e0b06..56e6391ef42 100644 --- a/eclass/acct-group.eclass +++ b/eclass/acct-group.eclass @@ -34,8

[gentoo-dev] [PATCH] rust-toolchain.eclass: support bootstrapping armv5te

2020-07-11 Thread David Michael
This adds support for using system-bootstrap to build Rust for the armv5tel profile. It does not add binary bootstrap compilers. Signed-off-by: David Michael --- Hi, I have an ARM9 chip that I'd like to be able to target for Rust packages. Things are getting masked in the armv5tel profile

Re: [gentoo-dev] user.eclass ignores ROOT/SYSROOT

2020-05-05 Thread David Michael
On Tue, May 5, 2020 at 4:22 PM Peter Stuge wrote: > Hi, > > I'm trying something out over here and I'm surprised to find that > acct-group/* do not work with ROOT+SYSROOT != "/". > > Should I file yet another bug about this? > > I suppose the limitation is in user.eclass, but what about the 11

[gentoo-dev] Re: [PATCH] rpm.eclass: use BDEPEND for EAPI 7

2020-04-20 Thread David Michael
On Sat, Apr 18, 2020 at 11:15 AM David Michael wrote: > The build system's rpm2tar command is executed during unpack, so it > must be install in /. > > Signed-off-by: David Michael > --- > > This patch fixes failures like this: > >>> Unpacking source... &g

[gentoo-dev] [PATCH] rpm.eclass: use BDEPEND for EAPI 7

2020-04-18 Thread David Michael
The build system's rpm2tar command is executed during unpack, so it must be install in /. Signed-off-by: David Michael --- This patch fixes failures like this: >>> Unpacking source... >>> Unpacking urw-fonts-2.4-9.fc13.src.rpm to /var/tmp/portage/media-fonts/ur

Re: [gentoo-dev] [PATCH] fcaps.eclass: Remove sys-libs/libcap-ng support

2020-04-15 Thread David Michael
On Tue, Apr 14, 2020 at 10:32 PM Matt Turner wrote: > At the same time, fix the dependency on sys-libs/libcap by moving it to > RDEPEND, as dependencies in DEPEND/BDEPEND are not guaranteed to exist > during pkg_postinst() when this eclass is intended to run. The BDEPEND was added for

Re: [gentoo-dev] [PATCH] qt5-build.eclass: support sysroot builds

2020-03-27 Thread David Michael
On Fri, Mar 27, 2020 at 4:49 PM James Le Cuirot wrote: > On Fri, 27 Mar 2020 13:10:34 -0400 > David Michael wrote: > > > I'd like to be able to install qt5 packages in a sysroot for staging, > > and this is an initial patch for it. The pkg-config variables migh

[gentoo-dev] [PATCH] qt5-build.eclass: support sysroot builds

2020-03-27 Thread David Michael
Signed-off-by: David Michael --- Hi, I'd like to be able to install qt5 packages in a sysroot for staging, and this is an initial patch for it. The pkg-config variables might not be required, but it seemed appropriate to pass the sysroot-configured versions through the build. There are a few

[gentoo-dev] Re: [PATCH v2] fixheadtails.eclass: drop the sed dependency

2020-03-25 Thread David Michael
On Fri, Mar 20, 2020 at 5:12 PM David Michael wrote: > Signed-off-by: David Michael > --- > > Changes since v1: > * Drop the dependency altogether > > eclass/fixheadtails.eclass | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/eclas

[gentoo-dev] [PATCH v2] fixheadtails.eclass: drop the sed dependency

2020-03-20 Thread David Michael
Signed-off-by: David Michael --- Changes since v1: * Drop the dependency altogether eclass/fixheadtails.eclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eclass/fixheadtails.eclass b/eclass/fixheadtails.eclass index c19d33924aa..475b182843a 100644 --- a/eclass

[gentoo-dev] [PATCH] fixheadtails.eclass: move sed to BDEPEND for EAPI 7

2020-03-20 Thread David Michael
It executes sed at build time, so it should be installed in /. Signed-off-by: David Michael --- Hi, Here is another simple dependency move to put a required program in the correct ROOT so it can be executed during the build. It's basically the same as 814ab1294edf3565fc02fe63d15d6fa7ca886429

[gentoo-dev] [PATCH v2] fcaps.eclass: use BDEPEND for EAPI 7

2020-03-13 Thread David Michael
The eclass installs libcap to execute the setcap program, so it must be installed in /. Optional libcap linking is handled by the USE=caps flag, which is unrelated to this eclass, so the DEPEND declaration is not needed on EAPI 7. Closes: https://bugs.gentoo.org/700018 Signed-off-by: David

[gentoo-dev] [PATCH] autotools.eclass: reorder sysroot M4 include dir option

2020-03-13 Thread David Michael
The old autoconf-2.13 version requires options to be specified before the file name argument, so packages with WANT_AUTOCONF="2.1" would fail to build in a sysroot with the -l option at the end. Closes: https://bugs.gentoo.org/710792 Signed-off-by: David Michael --- eclass/autotools.

[gentoo-dev] [PATCH] fcaps.eclass: use BDEPEND for EAPI 7

2020-03-13 Thread David Michael
The eclass installs libcap to execute the setcap program, so it must be installed in /. Optional libcap linking is handled by the USE=caps flag, which is unrelated to this eclass, so the DEPEND declaration is not needed on EAPI 7. Closes: https://bugs.gentoo.org/700018 Signed-off-by: David