Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-09-02 Thread Mike Gilbert
On Fri, Sep 2, 2022 at 11:05 AM Mike Gilbert wrote: > > On Fri, Sep 2, 2022 at 9:01 AM Marc Schiffbauer wrote: > > > > * Mike Gilbert schrieb am 01.09.22 um 03:38 Uhr: > > > On Wed, Aug 31, 2022 at 12:29 PM Jaco Kroon wrote: > > > > > >

Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-09-02 Thread Mike Gilbert
On Fri, Sep 2, 2022 at 9:01 AM Marc Schiffbauer wrote: > > * Mike Gilbert schrieb am 01.09.22 um 03:38 Uhr: > > On Wed, Aug 31, 2022 at 12:29 PM Jaco Kroon wrote: > > > > > > Hi, > > > > > > That really depends. > > > > > > I

Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-08-31 Thread Mike Gilbert
On Wed, Aug 31, 2022 at 12:29 PM Jaco Kroon wrote: > > Hi, > > That really depends. > > If the expectation is that everything in /usr/{bin,sbin,lib*} needs to now > fit on / rather than /usr we're queued to re-install a very, very large > number of hosts. You have that reversed: the

Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-08-31 Thread Mike Gilbert
On Wed, Aug 31, 2022 at 12:01 PM Jeff Gazso wrote: > > Just out of curiosity, how much pain is this likely to cause existing > installations that will need to migrate from a split-usr setup to a > merged-usr setup? We haven't deployed this to users, so feedback is limited thus far. At least a

[gentoo-dev] [PATCH 4/4] profiles/profiles.desc: fix alignment

2022-08-30 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- profiles/profiles.desc | 288 - 1 file changed, 144 insertions(+), 144 deletions(-) diff --git a/profiles/profiles.desc b/profiles/profiles.desc index 4bc94f910ab..0a8a4d84bfb 100644 --- a/profiles/profiles.desc +++ b

[gentoo-dev] [PATCH 3/4] profiles/profiles.desc: add systemd/merged-usr subprofiles

2022-08-30 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- profiles/profiles.desc | 54 ++ 1 file changed, 54 insertions(+) diff --git a/profiles/profiles.desc b/profiles/profiles.desc index 894b0377d33..4bc94f910ab 100644 --- a/profiles/profiles.desc +++ b/profiles/profiles.desc

[gentoo-dev] [PATCH 2/4] profiles/default/linux: add systemd/merged-usr subprofiles

2022-08-30 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- .../linux/alpha/17.0/desktop/gnome/systemd/merged-usr/eapi | 1 + .../linux/alpha/17.0/desktop/gnome/systemd/merged-usr/parent| 2 ++ profiles/default/linux/alpha/17.0/systemd/merged-usr/eapi | 1 + profiles/default/linux/alpha/17.0/systemd/merged

[gentoo-dev] [PATCH 1/4] profiles/features/merged-usr: unforce/mask 'split-usr' USE flag

2022-08-30 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- profiles/features/merged-usr/eapi | 1 + profiles/features/merged-usr/use.force | 1 + profiles/features/merged-usr/use.mask | 1 + 3 files changed, 3 insertions(+) create mode 100644 profiles/features/merged-usr/eapi create mode 100644 profiles/features

[gentoo-dev] Add systemd/merged-usr profiles

2022-08-30 Thread Mike Gilbert
This patch series adds a "merged-usr" feature profile, and subprofiles for each systemd profile. As background: systemd upstream is preparing to drop support for split-usr systems soon. All systemd users on Gentoo will eventually need to migrate to a merged-usr system.

Re: [gentoo-dev] [RFC] Encouraging using hardening options in systemd units

2022-08-25 Thread Mike Gilbert
On Thu, Aug 25, 2022 at 1:41 PM Kenton Groombridge wrote: > > On 22/08/25 01:04PM, Mike Gilbert wrote: > > We could introduce a new function to install distro-specific overrides > > in [/usr]/lib/systemd/system. > > > > I think that's a good idea. systemd_{new,

Re: [gentoo-dev] [RFC] Encouraging using hardening options in systemd units

2022-08-25 Thread Mike Gilbert
On Thu, Aug 25, 2022 at 10:29 AM Kenton Groombridge wrote: > > On 22/08/25 04:06PM, Florian Schmaus wrote: > > Wouldn't the proper place for overrides installed by a distributions package > > manager be > > > > /usr/lib/systemd/system/miniflux.service.d/gentoo.conf > > > > Yes... I was wondering

Re: [gentoo-dev] [RFC] Encouraging using hardening options in systemd units

2022-08-22 Thread Mike Gilbert
On Mon, Aug 22, 2022 at 2:10 PM Kenton Groombridge wrote: > What do you think? I am concerned that people will start mass filing bugs with suggestions without fully understanding them or without testing them thoroughly. Please don't do that. Also, ideally we would not need to provide systemd

Re: [gentoo-dev] [PATCH 1/1] linux-info.eclass: Provide ability to skip CONFIG_* checks

2022-08-05 Thread Mike Gilbert
On Fri, Aug 5, 2022 at 7:15 PM Ionen Wolkens wrote: > > On Fri, Aug 05, 2022 at 06:47:42PM -0400, Mike Pagano wrote: > > Based upon code from check-reqs.eclass by Andreas Sturmlechner > > > > Provide support for users who requested the ability to skip > > CONFIG_* checks. (e.g. from within a

Re: [gentoo-portage-dev] [PATCH] phase-functions: make ED, EROOT read-only

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 1:03 PM Fabian Groffen wrote: > > bin/phase-functions.sh: make ED and EROOT read-only too > > Like D, make ED and EROOT read-only vars. Makes sense.

Re: [gentoo-portage-dev] [PATCH] misc-functions: Prefix fixes

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 12:47 PM Fabian Groffen wrote: > > bin/misc-functions.sh: some Prefix fixes > > - ED needs not to exist, whereas D does, so ensure we check for that, > and create ED if absent, necessary for further checks to succeed > - use EPREFIX in INSTALL_MASK Seems good to me.

Re: [gentoo-portage-dev] [PATCH] world-writable: tune for Prefix

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 12:41 PM Fabian Groffen wrote: > > bin/install-qa-check.d/90world-writable: include EPREFIX in reports > > It is much less confusing and consistent to report full paths including > the leading EPREFIX. Makes sense to me.

Re: [gentoo-portage-dev] [PATCH] multilib-strict: fix for Prefix

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 12:26 PM Fabian Groffen wrote: > > bin/install-qa-check.d/80multilib-strict: use file/find from Prefix > > diff --git a/bin/install-qa-check.d/80multilib-strict > b/bin/install-qa-check.d/80multilib-strict > index afd223250..3db4ecce3 100644 > ---

Re: [gentoo-portage-dev] [PATCH] emake: explicitly set SHELL

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 11:28 AM Fabian Groffen wrote: > > bin/ebuild-helpers/emake: force SHELL to be set > > On Prefix systems /bin/sh can be anything, including very ancient. So > ensure we're running with bash, since that's what Gentoo Linux is > expecting /bin/sh to be (by default, at

Re: [gentoo-portage-dev] [PATCH] 80libraries: add support for Darwin targets

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 11:38 AM Fabian Groffen wrote: > > bin/install-qa-check.d/80libraries: support Darwin/Mach-O objects > > Check for dylib on Darwin, so on everything else. > > Signed-off-by: Fabian Groffen > > diff --git a/bin/install-qa-check.d/80libraries >

Re: [gentoo-portage-dev] [PATCH] doins: fix D check, add EPREFIX check

2022-07-25 Thread Mike Gilbert
Could you please create a PR at https://github.com/gentoo/portage so that the CI system can test the changes for this patch series?

Re: [gentoo-dev] Switching default password hashes from sha512 to yescrypt

2022-07-23 Thread Mike Gilbert
On Fri, Jul 22, 2022 at 3:10 PM Mikhail Koliada wrote: > > Hello! > > > > This idea has been fluctuating in my head for quite a while given that the > migration had happened > > a while ago [0] and some other major distributions have already adopted > yescrypt as their default algo > > by now

Re: [gentoo-dev] [PATCH] glep-0076: Require real name instead of legal name

2022-07-12 Thread Mike Gilbert
On Tue, Jul 12, 2022 at 12:37 PM Ulrich Mueller wrote: > > >>>>> On Tue, 12 Jul 2022, Mike Gilbert wrote: > > >> The snarkiness of Michał's comment left aside, in general "the name that > >> you would use to present yourself to your colleagues&qu

Re: [gentoo-dev] [PATCH] glep-0076: Require real name instead of legal name

2022-07-12 Thread Mike Gilbert
On Tue, Jul 12, 2022 at 7:47 AM Ulrich Mueller wrote: > > > On Tue, 12 Jul 2022, Michał Górny wrote: > > >> to the commit message as a separate line. The sign-off must contain > >> -the committer's legal name as a natural person, i.e., the name that > >> -would appear in a government issued

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 2:20 PM Mike Gilbert wrote: > > On Mon, Jul 11, 2022 at 2:01 PM Anna wrote: > > > > On 2022-07-11 19:57, Ulrich Mueller wrote: > > > >>>>> On Mon, 11 Jul 2022, Mike Gilbert wrote: > > > > > > >> M

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 2:49 PM Frederik Pfautsch wrote: > > Am 11.07.22 um 20:14 schrieb Mike Gilbert: > > On Mon, Jul 11, 2022 at 1:57 PM Ulrich Mueller wrote: > >> > >>>>>>> On Mon, 11 Jul 2022, Mike Gilbert wrote: > >> > >&

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 2:01 PM Anna wrote: > > On 2022-07-11 19:57, Ulrich Mueller wrote: > > >>>>> On Mon, 11 Jul 2022, Mike Gilbert wrote: > > > > >> Maybe leave ebegin/eend in place then, which was invented precisely for > > >> this use

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 1:57 PM Ulrich Mueller wrote: > > >>>>> On Mon, 11 Jul 2022, Mike Gilbert wrote: > > >> Maybe leave ebegin/eend in place then, which was invented precisely for > >> this use case? What's so bad about nesting it? > &g

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 1:17 PM Ionen Wolkens wrote: > > On Mon, Jul 11, 2022 at 01:08:52PM -0400, Mike Gilbert wrote: > > On Mon, Jul 11, 2022 at 12:56 PM Ulrich Mueller wrote: > > > > > > >>>>> On Mon, 11 Jul 2022, Ionen Wolkens wro

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 12:11 PM Ionen Wolkens wrote: > > On Mon, Jul 11, 2022 at 09:16:10AM -0400, Mike Gilbert wrote: > > It's common for python_check_deps to call python_has_version, which > > calls ebegin itself. > > > > Signed-off-by: Mike Gilbert > > --

[gentoo-dev] [PATCH v3] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
It's common for python_check_deps to call python_has_version, which calls ebegin itself. Closes: https://bugs.gentoo.org/851822 Signed-off-by: Mike Gilbert --- eclass/python-utils-r1.eclass | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eclass/python-utils-r1

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 12:56 PM Ulrich Mueller wrote: > > > On Mon, 11 Jul 2022, Ionen Wolkens wrote: > >> -ebegin " python_check_deps" > >> -python_check_deps > >> -eend ${?} > >> +einfo " python_check_deps" > >> +if python_check_deps; then > >> +einfo "

[gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
It's common for python_check_deps to call python_has_version, which calls ebegin itself. Signed-off-by: Mike Gilbert --- eclass/python-utils-r1.eclass | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index

Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 3:04 AM Michał Górny wrote: > > On Sun, 2022-07-10 at 23:53 -0400, Mike Gilbert wrote: > > It's common for python_check_deps to call python_has_version, which > > calls ebegin itself. > > > > Signed-off-by: Mike Gilbert > > --- &g

[gentoo-dev] [PATCH] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-10 Thread Mike Gilbert
It's common for python_check_deps to call python_has_version, which calls ebegin itself. Signed-off-by: Mike Gilbert --- eclass/python-utils-r1.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index

[gentoo-dev] [PATCH] meson.eclass: add "--no-rebuild" to meson install args

2022-07-09 Thread Mike Gilbert
This avoids rebuilding targets with no dependency information. Bug: https://bugs.gentoo.org/857180 Signed-off-by: Mike Gilbert --- eclass/meson.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 7ba6501688b..8dec315c1ae 100644 --- a/eclass

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-07-05 Thread Mike Gilbert
On Tue, Jul 5, 2022 at 3:02 PM Georgy Yakovlev wrote: > > ...snip > > > > > In that case, I think the only viable way to make this work is to > > > disable automatic stripping and handle stripping via custom code in > > > the ebuild/eclass. > > > > > might work indeed if we do something like

[gentoo-dev] [PATCH] ruby-ng.eclass: replace ebegin with einfo in _ruby_invoke_environment

2022-07-03 Thread Mike Gilbert
org/839585 Closes: https://bugs.gentoo.org/839588 Signed-off-by: Mike Gilbert --- eclass/ruby-ng.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index f0d6c4f6f6c..c43d5b4d982 100644 --- a/eclass/ruby-ng.eclass +++ b/e

Re: [gentoo-dev] [PATCH] epatch.eclass: call ebegin to balance eend

2022-06-28 Thread Mike Gilbert
On Tue, Jun 28, 2022 at 2:05 AM Ulrich Mueller wrote: > > >>>>> On Mon, 27 Jun 2022, Mike Gilbert wrote: > > > if [[ ${SINGLE_PATCH} == "yes" ]] ; then > > if [[ -n ${EPATCH_SINGLE_MSG} ]] ; then > > -

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 5:11 PM Georgy Yakovlev wrote: > > On Mon, 2022-06-27 at 15:49 -0400, Mike Gilbert wrote: > > On Mon, Jun 27, 2022 at 3:42 PM Georgy Yakovlev > > wrote: > > > > > > On Mon, 2022-06-27 at 14:56 -0400, Mike Gilbert wrote: > >

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 3:42 PM Georgy Yakovlev wrote: > > On Mon, 2022-06-27 at 14:56 -0400, Mike Gilbert wrote: > > On Mon, Jun 27, 2022 at 2:35 PM Kenton Groombridge > > wrote: > > > > so looks like we need to combine both methods and do the > > > >

Re: [gentoo-dev] [PATCH] java-vm-2.eclass: use "eselect java-vm update" if available

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 3:39 PM Georgy Yakovlev wrote: > > On Mon, 2022-06-27 at 21:21 +0200, Florian Schmaus wrote: > > Thanks to Mike Gilbert (floppym) for valuable feedback. > > > > Closes: https://bugs.gentoo.org/853928 > > Closes: https://github.com/gentoo/ge

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 2:35 PM Kenton Groombridge wrote: > > so looks like we need to combine both methods and do the following: > > - if signing requested without compression - sign in pkg_preinst. > > - if signing requested with compression - sign in src_install > > > > Why can't we do both

[gentoo-dev] [PATCH] epatch.eclass: call ebegin to balance eend

2022-06-27 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/epatch.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/epatch.eclass b/eclass/epatch.eclass index 6a9c460da0a..6d000419b03 100644 --- a/eclass/epatch.eclass +++ b/eclass/epatch.eclass @@ -236,12 +236,12 @@ epatch

Re: [gentoo-dev] Re: [PATCH 1/2] flag-o-matic.eclass: have is-flagq respect succeeding -fno-flag

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 10:55 AM Jannik Glückert wrote: > > This is not for stripping flags, it's for detecting a flag and e.g. > changing the configure invocation accordingly. > > E.g. libreoffice has > is-flagq "-flto*" && myeconfargs+=( --enable-lto ) Ah, that makes more sense. Thanks for

Re: [gentoo-dev] Can app-office/sc be replaced by app-office/sc-im from GURU?

2022-06-27 Thread Mike Gilbert
On Sun, Jun 26, 2022 at 11:24 PM Jeff Gazso wrote: > My thought is unless some serious deficiency is present in > app-office/sc-im it should be moved to Gentoo's main ebuild repository > and the last rites process should be started for app-office/sc. Does > anyone else have thoughts or comments

[gentoo-dev] Re: [PATCH 1/2] flag-o-matic.eclass: have is-flagq respect succeeding -fno-flag

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 3:04 AM Sam James wrote: > > From: Jannik Glückert > > Handle bits like -flto -fno-lto. Why would we care about this? If we just strip the -flto out, that leaves -fno-lto and the result is the same. What am I missing?

[gentoo-dev] [PATCH] toolchain-funcs.eclass: set LC_ALL=C where appropriate

2022-06-24 Thread Mike Gilbert
tc-ld-is-gold and tc-ld-is-lld check the output of ld --version. This output may vary depending on the language selected by the user. Set LC_ALL=C to force English output. Bug: https://bugs.gentoo.org/854147 Signed-off-by: Mike Gilbert --- eclass/toolchain-funcs.eclass | 6 ++ 1 file

[gentoo-dev] [PATCH] user.eclass: allow UID/GID 0 in enewuser/enewgroup

2022-06-24 Thread Mike Gilbert
Used by acct-{user,group}/root. The check is skipped on most systems because root is created by baselayout. An error may be produced if a user runs emerge --root=/myroot acct-user/root, where /myroot is an empty directory. Signed-off-by: Mike Gilbert --- eclass/user.eclass | 8 1 file

[gentoo-dev] [PATCH] install-qa-check.d/60udev-eclass: check for udev_reload in pkg_postrm

2022-06-04 Thread Mike Gilbert
Bug: https://bugs.gentoo.org/847436 Signed-off-by: Mike Gilbert --- metadata/install-qa-check.d/60udev-eclass | 5 + 1 file changed, 5 insertions(+) diff --git a/metadata/install-qa-check.d/60udev-eclass b/metadata/install-qa-check.d/60udev-eclass index 4aadc9b1f18..24a4df38ec4 100644

[gentoo-dev] [PATCH] udev.eclass: document when udev_reload should be called

2022-06-04 Thread Mike Gilbert
Closes: https://bugs.gentoo.org/847436 Signed-off-by: Mike Gilbert --- eclass/udev.eclass | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/eclass/udev.eclass b/eclass/udev.eclass index 073e5d8acbc..830e3eeb125 100644 --- a/eclass/udev.eclass +++ b/eclass

Re: [gentoo-dev] [PATCH 1/5] ninja-utils.eclass: Support dev-util/samurai

2022-05-30 Thread Mike Gilbert
On Mon, May 30, 2022 at 3:57 PM Anna “CyberTailor” wrote: > > On 2022-05-08 23:07, Sam James wrote: > > From: orbea > > > > samurai is a ninja-compatible build tool written in C which > > works with cmake, meson and other users of ninja. > > > > It is feature-complete and supports most of the

Re: [gentoo-dev] packages touching files in /dev

2022-05-23 Thread Mike Gilbert
On Mon, May 23, 2022 at 5:39 AM wrote: > > Dear package maintainers, > please do not mess with preexisting files in /dev. > > I have static /dev and that suit me well for quite a few systems that > has a static environment, especially system that are intended to run > for a long time and where I

Re: [gentoo-dev] Should we join the which hunt?

2022-05-13 Thread Mike Gilbert
On Fri, May 13, 2022 at 11:44 AM Mike Gilbert wrote: > > On Fri, May 13, 2022 at 3:11 AM Ulrich Mueller wrote: > > > > Recently Debian has started to transition away from the "which" command. > > [1] > > > > which is a non-POSIX command which prints

Re: [gentoo-dev] Should we join the which hunt?

2022-05-13 Thread Mike Gilbert
On Fri, May 13, 2022 at 3:11 AM Ulrich Mueller wrote: > > Recently Debian has started to transition away from the "which" command. > [1] > > which is a non-POSIX command which prints out the location of specified > executables that are in your path. Unfortunately, there are several > versions of

[gentoo-dev] Re: [PATCH 1/5] ninja-utils.eclass: Support dev-util/samurai

2022-05-09 Thread Mike Gilbert
On Mon, May 9, 2022 at 1:13 PM orbea wrote: > > On Mon, 9 May 2022 10:59:03 -0400 > Mike Gilbert wrote: > > The NINJA environment variable is used directly by meson and may > > contain an absolute path. I don't think it makes sense to restrict > > possible value

[gentoo-dev] Re: [PATCH 2/5] meson.eclass: Support dev-util/samurai

2022-05-09 Thread Mike Gilbert
On Sun, May 8, 2022 at 7:07 PM Sam James wrote: > > From: orbea > > samurai is a ninja-compatible build tool written in C which > works with cmake, meson and other users of ninja. > > It is feature-complete and supports most of the same options > as ninja. The patch looks fine, but the commit

[gentoo-dev] Re: [PATCH 1/5] ninja-utils.eclass: Support dev-util/samurai

2022-05-09 Thread Mike Gilbert
On Sun, May 8, 2022 at 7:07 PM Sam James wrote: > > From: orbea > > samurai is a ninja-compatible build tool written in C which > works with cmake, meson and other users of ninja. > > It is feature-complete and supports most of the same options > as ninja. > > Signed-off-by: orbea >

[gentoo-dev] Re: [PATCH 1/2] meson.eclass: disable PCH

2022-04-19 Thread Mike Gilbert
On Tue, Apr 19, 2022 at 2:21 PM Sam James wrote: > > It's already masked and disabled in GCC and it causes a huge > number of problems, but we need t odo this to avoid automagically > trying to use PCH-even-once-it's-been-disabled-in-the-compiler. ACK on both patches.

[gentoo-dev] [PATCH] 2022-04-17-systemd-utils-revbump: new emergency item

2022-04-17 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- .../2022-04-17-systemd-utils-revbump.en.txt | 12 1 file changed, 12 insertions(+) create mode 100644 2022-04-17-systemd-utils-revbump/2022-04-17-systemd-utils-revbump.en.txt diff --git a/2022-04-17-systemd-utils-revbump/2022-04-17

[gentoo-dev] [PATCH v2] 2022-04-21-systemd-utils: new entry

2022-04-17 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- v2: Wrapped text at 72 characters, incorporated suggestions by sam. .../2022-04-21-systemd-utils.en.txt | 42 +++ 1 file changed, 42 insertions(+) create mode 100644 2022-04-21-systemd-utils/2022-04-21-systemd-utils.en.txt diff --git

[gentoo-dev] [PATCH] 2022-04-21-systemd-utils: new entry

2022-04-17 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- .../2022-04-21-systemd-utils.en.txt | 38 +++ 1 file changed, 38 insertions(+) create mode 100644 2022-04-21-systemd-utils/2022-04-21-systemd-utils.en.txt diff --git a/2022-04-21-systemd-utils/2022-04-21-systemd-utils.en.txt b/2022-04

Re: [gentoo-dev] [PATCH] gnuconfig.eclass: fix eend w/o ebegin

2022-04-16 Thread Mike Gilbert
On Sat, Apr 16, 2022 at 2:28 AM Sam James wrote: > > eend should be preceded by an begin call. Looks ok.

[gentoo-dev] [PATCH] java-utils-2.eclass: remove ebegin calls that lack eend calls

2022-04-15 Thread Mike Gilbert
-by: Mike Gilbert --- eclass/java-utils-2.eclass | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 11798908dae..2a649942550 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -2099,8

Re: [gentoo-dev] proposal: use only one hash function in manifest files

2022-04-12 Thread Mike Gilbert
On Mon, Apr 11, 2022 at 7:14 PM Joshua Kinard wrote: > > On 4/5/2022 17:49, Jason A. Donenfeld wrote: > > Hi Matt, > > > > On Tue, Apr 5, 2022 at 10:38 PM Matt Turner wrote: > >> > >> On Tue, Apr 5, 2022 at 12:30 PM Jason A. Donenfeld > >> wrote: > >>> By the way, we're not currently

Re: [gentoo-dev] [PATCH 0/9] eclass: Use UID 0 instead of root and other fixes

2022-03-27 Thread Mike Gilbert
On Sun, Mar 27, 2022 at 3:27 AM Ulrich Müller wrote: > > This series of patches addresses eclasses using the "root" user name > to check for superuser privileges. Using UID or GID 0 will work in > more situations (e.g. when the superuser isn't named root). The series looks ok to me.

Re: [gentoo-dev] [PATCH 1/1] kernel-2.eclass: Document variables, minor style clean-up

2022-02-18 Thread Mike Gilbert
On Fri, Feb 18, 2022 at 1:01 PM Mike Pagano wrote: > > Document variables in the eclass, reorder alphabetically. > Make spacing consistent in comment lines. For review purposes, I wish you had split this into two commits: one to reorder/reformat the existing vars, and one to add the new ones.

[gentoo-portage-dev] [PATCH] Revert "lib/_emerge/actions.py: warn on missing /run"

2022-02-14 Thread Mike Gilbert
Portage itself does not need /run to be mounted. build-docbook-catalog was adjusted to create locks in /etc/xml instead. Bug: https://bugs.gentoo.org/832853 Closes: https://github.com/gentoo/portage/pull/788 Reverts: 0e9e12aadb889766d61c0561b9723e71542d43e6 Signed-off-by: Mike Gilbert --- lib

[gentoo-portage-dev] [PATCH] estrip: fix race when creating build-id debug symlinks

2022-02-02 Thread Mike Gilbert
Bug: https://bugs.gentoo.org/831927 Closes: https://github.com/gentoo/portage/pull/786 Signed-off-by: Mike Gilbert --- bin/estrip | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/bin/estrip b/bin/estrip index 599ca2ceb..cdad58c31 100755 --- a/bin/estrip

[gentoo-dev] Package up for grabs: app-shells/kshdb

2022-01-16 Thread Mike Gilbert
I no longer wish to maintain this. Please take it if you are interested.

Re: [gentoo-dev] Maintainer needed: dev-db/sqlite

2022-01-14 Thread Mike Gilbert
On Fri, Jan 14, 2022 at 1:07 PM Jakov Smolić wrote: > On 1/14/22 6:53 PM, Mike Gilbert wrote: > > This is a call out for Gentoo developers who would be interested in > > maintaining the dev-db/sqlite package. The current (proxied) > > maintainer is somewhat difficult to w

Re: [gentoo-dev] Maintainer needed: dev-db/sqlite

2022-01-14 Thread Mike Gilbert
On Fri, Jan 14, 2022 at 6:10 PM Peter Stuge wrote: > Mike Gilbert wrote: > > There is an open QA bug [1] regarding the large set of undocumented > > patches that are being applied in the stable ebuilds. > > Arfrever is active in the bug you linked, has provided explanati

[gentoo-dev] Maintainer needed: dev-db/sqlite

2022-01-14 Thread Mike Gilbert
This is a call out for Gentoo developers who would be interested in maintaining the dev-db/sqlite package. The current (proxied) maintainer is somewhat difficult to work with, and I would prefer that a full developer take this over. The base-system project would probably be willing to co-maintain

Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-10 Thread Mike Gilbert
On Mon, Jan 10, 2022 at 8:19 PM Mike Gilbert wrote: > > On Mon, Jan 10, 2022 at 9:43 AM Michał Górny wrote: > > > > On Mon, 2022-01-10 at 06:39 +0100, Michał Górny wrote: > > > 4. We could have the eclasses switch to "local" model and rename > >

Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-10 Thread Mike Gilbert
On Mon, Jan 10, 2022 at 9:43 AM Michał Górny wrote: > > On Mon, 2022-01-10 at 06:39 +0100, Michał Górny wrote: > > 4. We could have the eclasses switch to "local" model and rename > > the .egg-info files somehow at some point. The main question is "rename > > how?" > > > > If anyone's

Re: [gentoo-dev] Rationalizing USE flags by narrowing the scope of them.

2022-01-04 Thread Mike Gilbert
On Tue, Jan 4, 2022 at 12:31 AM Michael Orlitzky wrote: > > On Tue, 2022-01-04 at 03:38 +, Sam James wrote: > > > > ACL is kind of similar to what Ionen said for PAM, i.e. sometimes > > people may want to turn it off and it makes sense to expose > > this option for those who do, but we don't

Re: [gentoo-dev] [PATCH 1/2] linux-mod.eclass: drop unnecessary IUSE="kernel_linux"

2022-01-04 Thread Mike Gilbert
On Tue, Jan 4, 2022 at 5:23 AM Sam James wrote: > > It's already an implicit IUSE, so we don't need this. I think it is better to declare it explicitly rather than relying on the IUSE_IMPLICIT setting in profiles.

Re: [gentoo-dev] Rationalizing USE flags by narrowing the scope of them.

2022-01-03 Thread Mike Gilbert
On Mon, Jan 3, 2022 at 12:16 PM Alec Warner wrote: > > On Sat, Jan 1, 2022 at 2:22 PM Piotr Karbowski wrote: > > > > Hi, > > > > I'd like to get some insight how others see the concept of narrowing the > > scope of USE flags in Gentoo. > > > > Taking a quote from devmanual: > > > >> USE

Re: [gentoo-dev] [PATCH v3] kernel-2.eclass: Respect portage toolchain variables

2022-01-03 Thread Mike Gilbert
On Mon, Jan 3, 2022 at 12:49 PM Adrian Ratiu wrote: > > Starting with kernel>=v5.7 the build system can override the > tools vars by setting LLVM=1 [1], but older kernels still use > the default GNU tools, so to be able to use a full LLVM/Clang > build, CC & co should be set to their respective

[gentoo-dev] Last rites: sys-apps/hwids

2021-12-24 Thread Mike Gilbert
# Mike Gilbert (2021-12-24) # Replaced by sys-apps/hwdata. Removal on 2021-01-23. sys-apps/hwids

[gentoo-dev] [PATCH] flag-o-matic.eclass: filter-lfs-flags: remove -D_TIME_BITS=64

2021-12-18 Thread Mike Gilbert
glibc only allows _TIME_BITS=64 when _FILE_OFFSET_BITS=64. Signed-off-by: Mike Gilbert --- eclass/flag-o-matic.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index d262a60b6bb..32119cb9a52 100644 --- a/eclass

Re: [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no

2021-12-18 Thread Mike Gilbert
On Sat, Dec 18, 2021 at 10:35 AM James Le Cuirot wrote: > What will we do about other build systems? I worry they won't have a > consistent approach for all projects. We will have to deal with them as we discover them. I don't see a magic solution for everything. I suppose we could add a new

[gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no

2021-12-17 Thread Mike Gilbert
://wiki.gentoo.org/wiki/Project:Toolchain/time64_migration Bug: https://bugs.gentoo.org/828001 Signed-off-by: Mike Gilbert --- profiles/default/linux/make.defaults | 4 1 file changed, 4 insertions(+) diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/make.defaults

Re: [gentoo-dev] sys-fs/udev-249.6-r1: warning that split-usr mode will be removed?

2021-12-06 Thread Mike Gilbert
On Mon, Dec 6, 2021 at 1:04 PM Joshua Kinard wrote: > > > Noticed this warning from sys-fs/udev-249.6-r1 while watching it build on > one of my MIPS systems: > > ../systemd-stable-249.6/meson.build:64: WARNING: > > >

Re: [gentoo-dev] Don't use UIDs and GIDs below 100 without QA approval

2021-11-28 Thread Mike Gilbert
On Sun, Nov 28, 2021 at 3:26 PM William Hubbs wrote: > > On Sun, Nov 28, 2021 at 02:57:39PM -0500, Michael Orlitzky wrote: > > On 2021-11-28 11:06:36, Ulrich Mueller wrote: > > > > > > While the rationale for static allocation that made it into GLEP 81 [1] > > > is rather weak, several people had

[gentoo-dev] Last rites: sys-fs/eudev

2021-11-26 Thread Mike Gilbert
# eudev will be removed on 2022-01-01. # Please see the news item published on 2021-08-24 for more information. sys-fs/eudev

Re: [gentoo-dev] [PATCHv2] 2021-11-23-mariadb-database-restore-maybe-required: add item

2021-11-25 Thread Mike Gilbert
On Thu, Nov 25, 2021 at 1:26 PM Thomas Deutschmann wrote: > +Keep in mind that due to the forced downgraded, point-in-time recovery > +may not be available to the extent that you are used to. Sorry, I guess I missed this instance of "forced". Also, "downgraded" is the incorrect form to use here.

Re: [gentoo-dev] [PATCH] 2021-11-23-mariadb-database-restore-maybe-required: add item

2021-11-25 Thread Mike Gilbert
On Thu, Nov 25, 2021 at 12:01 PM Piotr Karbowski wrote: > > > https://github.com/gentoo/gentoo/blob/master/sys-libs/glibc/glibc-2.34-r2.ebuild#L643 > > Would you see something like this on more ebuilds, postgres, mysql, > elasticsearch, or have proper FEATURE flag for it instead? > > It's all

Re: [gentoo-dev] [PATCH] profiles: mask sys-fs/eudev for removal

2021-11-25 Thread Mike Gilbert
On Thu, Nov 25, 2021 at 9:15 AM Thomas Deutschmann wrote: > > Hi, > > why do you want to drop the package? Since news item, upstream changed. > There will be a new release soon. Was this just on your list to finish > or is there another reason? > > I am currently watching upstream and would wait

Re: [gentoo-dev] [PATCH] 2021-11-23-mariadb-database-restore-maybe-required: add item

2021-11-25 Thread Mike Gilbert
On Thu, Nov 25, 2021 at 8:59 AM Thomas Deutschmann wrote: > > Hi, > > On 2021-11-25 04:49, Mike Gilbert wrote: > > On 2021-11-21, keywords for dev-db/mariadb-10.6 were removed to > > address a file collision with dev-db/mariadb-connector-c. This > > unintentionally

Re: [gentoo-dev] [PATCH] 2021-11-23-mariadb-database-restore-maybe-required: add item

2021-11-24 Thread Mike Gilbert
On Wed, Nov 24, 2021 at 10:21 PM Thomas Deutschmann wrote: > +On 2021-11-21, a member of the QA project accidentially de-keyworded > +MariaDB 10.6 to address a file collision, users, who also had latest > +dev-db/mariadb-connector-c installed, experienced (NOTE: The default > +MySQL connector in

[gentoo-dev] [PATCH] profiles: mask sys-fs/eudev for removal

2021-11-24 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- profiles/package.mask | 5 + 1 file changed, 5 insertions(+) I am sending this as a patch to the list before pushing it in case anybody has a reasonable objection. diff --git a/profiles/package.mask b/profiles/package.mask index e2aa00757e1..73f7a63474c

Re: [gentoo-dev] Don't use UIDs and GIDs below 100 without QA approval

2021-11-11 Thread Mike Gilbert
On Thu, Nov 11, 2021 at 2:08 PM Ulrich Mueller wrote: > > >>>>> On Thu, 11 Nov 2021, Mike Gilbert wrote: > > >> - Open part of the range 60001..65533. Not sure if all software will be > >> happy with that. > > > systemd has some code th

Re: [gentoo-dev] Don't use UIDs and GIDs below 100 without QA approval

2021-11-11 Thread Mike Gilbert
On Thu, Nov 11, 2021 at 5:59 AM Ulrich Mueller wrote: > > May I remind everybody that by QA policy allocation of UIDs and GIDs > in the range 0..100 needs explicit approval by the QA lead: > https://projects.gentoo.org/qa/policy-guide/user-group.html#pg0901 > > I have fixed the

[gentoo-dev] [PATCH] savedconfig.eclass: do not re-use config file scheme

2021-10-31 Thread Mike Gilbert
This causes file collisions when save_config is used in a multi-slotted package and the config file is named ${PN}. Reverts: a0c35ad8ee8f8f89ba6044dd5b44e9479c6a1775 Bug: https://bugs.gentoo.org/686348 Closes: https://bugs.gentoo.org/818904 Signed-off-by: Mike Gilbert --- eclass

Re: [gentoo-portage-dev] [PATCH] estrip: rework hard link logic in save_elf_debug

2021-10-28 Thread Mike Gilbert
On Wed, Oct 27, 2021 at 10:51 AM Alec Warner wrote: > Can we do better than X and Y here? The patch has gone through several revisions on Github. https://github.com/gentoo/portage/pull/763

[gentoo-dev] Re: [PATCH] profiles: remove default ALSA_CARDS setting from arch profiles

2021-10-26 Thread Mike Gilbert
On Tue, Oct 26, 2021 at 2:38 PM Mike Gilbert wrote: > diff --git a/profiles/desc/.alsa_cards.desc.swp > b/profiles/desc/.alsa_cards.desc.swp > new file mode 100644 > index > ..e96a7263d04461d069c3e6ecaf2730efc81dfbde > GIT bin

[gentoo-dev] [PATCH] profiles: remove default ALSA_CARDS setting from arch profiles

2021-10-26 Thread Mike Gilbert
-firmware/alsa-firmware installs firmware for niche hardware and is probably needed by very few users. It probably makes more sense for the user to set ALSA_CARDS explicitly. Signed-off-by: Mike Gilbert --- profiles/arch/alpha/make.defaults | 7 +-- profiles/arch/amd64

[gentoo-portage-dev] [PATCH] estrip: rework hard link logic in save_elf_debug

2021-10-25 Thread Mike Gilbert
/git-shell.debug (*) This link has the wrong name. Bug: https://bugs.gentoo.org/820107 Signed-off-by: Mike Gilbert --- bin/estrip | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/bin/estrip b/bin/estrip index abe523fff..8134020fd 100755

[gentoo-dev] [PATCH] xdg-utils.eclass: disable fdatasync() in update-mime-database

2021-10-24 Thread Mike Gilbert
This speeds up installation dramatically on slow disks, and may reduce wear on solid state storage. Portage will call 'sync' after installation if FEATURES="merge-sync" is enabled, so the risk should be small. Closes: https://bugs.gentoo.org/819783 Signed-off-by: Mike Gilbert ---

[gentoo-dev] [PATCH] 2021-10-24-netifrc-dhcp-client: add news item

2021-10-21 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- .../2021-10-24-netifrc-dhcp-client.en.txt | 21 +++ 1 file changed, 21 insertions(+) create mode 100644 2021-10-24-netifrc-dhcp-client/2021-10-24-netifrc-dhcp-client.en.txt diff --git a/2021-10-24-netifrc-dhcp-client/2021-10-24-netifrc-dhcp

<    1   2   3   4   5   6   7   8   9   10   >