Re: [Rpm-maint] [rpm-software-management/rpm] Add RPM_LD_FLAGS to build environment (PR #2481)

2023-04-13 Thread Florian Weimer
> Ehm, never mind that, this is widely used in Fedora specs. Sigh. Yeah, I came to post this. It's just 180 packages outside of `%changelog` though, so it's not impossible to fix. -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] x86-64-v3, x86-64-v3 detection must take XCR0 into account (Issue #2463)

2023-04-06 Thread Florian Weimer
@Vogtinator SSE is part of the baseline spec for x86-64. For 32-bit i386, this was never properly enabled—there isn't a way to check that the SSE context switching support has been wired up properly. Obviously, it doesn't matter at this point because SSE software support is pervasive. --

Re: [Rpm-maint] [rpm-software-management/rpm] x86-64-v3, x86-64-v3 detection must take XCR0 into account (Issue #2463)

2023-04-03 Thread Florian Weimer
OSXSAVE only indicates that it's safe to use XGETBV, I think. In glibc, we mask AVX etc. if XCR0 indicates it's not available: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86/cpu-features.c;h=978eb29f72550deeb237cc76c5cf78c153f0ffb6;hb=7b3d8558d92a123743699c577704aab4a2f3d949#l115

[Rpm-maint] [rpm-software-management/rpm] x86-64-v3, x86-64-v3 detection must take XCR0 into account (Issue #2463)

2023-04-03 Thread Florian Weimer
The current logic is based solely on CPUID. This is not correct because it does not verify that the software stack (firmware/hypervisor/kernel) supports YMM and ZMM registers. For that, it is necessary to read the XCR0 register using the XGETBV instruction. -- Reply to this email directly or

Re: [Rpm-maint] How to get libb to export liba's symbols?

2022-05-10 Thread Florian Weimer
* Neal H. Walfield: > Hi Florian, > > On Tue, 10 May 2022 12:04:52 +0200, > Florian Weimer wrote: >> * Neal H. Walfield: >> >> > There are two major constraints. Because rpm's OpenPGP API is public, >> > it must be preserved until the next soname b

Re: [Rpm-maint] How to get libb to export liba's symbols?

2022-05-10 Thread Florian Weimer
* Neal H. Walfield: > There are two major constraints. Because rpm's OpenPGP API is public, > it must be preserved until the next soname bump. And, the OpenPGP > backend should be pluggable. How is this plug-in mechanism supposed to work? Via RPM configuration files? Thanks, Florian

Re: [Rpm-maint] RFC: Relocate RPM and DNF databases to /usr

2021-12-20 Thread Florian Weimer
* Colin Walters: > On Wed, Dec 15, 2021, at 5:34 PM, Florian Weimer wrote: >> * Chris Murphy: >> >>> Fedora 36 seems like a good time to do this. What do you think? >> >> It's a bit odd to locate a database under /usr that isn't pre-built and >> inst

Re: [Rpm-maint] RFC: Relocate RPM and DNF databases to /usr

2021-12-15 Thread Florian Weimer
* Chris Murphy: > Fedora 36 seems like a good time to do this. What do you think? It's a bit odd to locate a database under /usr that isn't pre-built and installed. I guess in theory there could be systems with a read-only /usr out there that still allow installation of packages into /opt.

[Rpm-maint] [rpm-software-management/rpm] Please provide source package name to dependency generators (#1736)

2021-06-27 Thread Florian Weimer
As far as I can see, `rpmfcApply` in `build/rpmfc.c` overwrites `%name` with the subpackage name. It would be nice to be able to pass the current source package name to a dependency generator as an argument. This will allow the dependency generator not to run for certain source packages (e.g.,

Re: [Rpm-maint] [rpm-software-management/rpm] Run rpath check in parallel (#1714)

2021-06-21 Thread Florian Weimer
@fweimer-rh commented on this pull request. > @@ -105,6 +104,7 @@ function check_rpath() { allow_ORIGIN=1 for j; do + lower=$(echo $j | grep -o "$2" | awk '{print tolower($0)}') I think you can use the `,,` expansion operator here: ``` $ bash -c 'echo ${0,,*}' FOO foo ```

Re: [Rpm-maint] [rpm-software-management/rpm] check-rpaths-worker script increases build time considerably for some packages (#1713)

2021-06-21 Thread Florian Weimer
Yes, `ET_REL` files can be skipped. If you are changing the file anyway, please also add `-W` to the `readelf` invocations, so that the output does not get truncated. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: implement wrapper for posix.fork()+posix.exec() (#389)

2018-02-06 Thread Florian Weimer
It might also be nice to use `posix_spawn`, which can be implemented more efficiently that the usual `fork`/`execve` sequence. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2018-01-29 Thread Florian Weimer
This needs to be gated by an option, in case the command being run doesn't expect any data on standard input and exits before completely reading all input. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Allow SOURCE_DATE_EPOCH to override file timestamps (#144)

2017-02-08 Thread Florian Weimer
@Conan-Kudo: > Wouldn't that happen during the package build, rather than at runtime? It > seems like that's a package build-time action. I quoted the wrong part (Github doesn't seem to support automated quoting). I was actually referring to this: > I was thinking that it would be better to do

Re: [Rpm-maint] [rpm-software-management/rpm] Allow SOURCE_DATE_EPOCH to override file timestamps (#144)

2017-02-06 Thread Florian Weimer
@bmwiedemann wrote: > The alternative approach would be to change the macro generating them and > first touch source .py files to set their date to $SOURCE_DATE_EPOCH so that > this gets embedded in .pyc headers I doubt that RPM can do this without delayed script execution because the

Re: [Rpm-maint] [PATCH] Extend %changelog to support full timestamps

2016-10-06 Thread Florian Weimer
On 10/06/2016 09:10 AM, Pavlina Varekova wrote: Extend %changelog to support full timestamps The newly accepted date format is Mon Jan 6 09:02:22 CEST 2016 (like output of "date" command). Original format "Mon Jun 6 2016" is still supported. I think it would be better to use ISO 8601 format

[Rpm-maint] [PATCH] Remove anti-cheating protection for --short-circuit

2016-02-29 Thread Florian Weimer
This protection is in the way if the --short-circuit -bb is used to build packages for testing the effects of complex dependency changes in a spec file. diff --git a/build/build.c b/build/build.c index 04b039c..1bcc436 100644 --- a/build/build.c +++ b/build/build.c @@ -265,7 +265,7 @@ static rpmRC

[Rpm-maint] Speeding up XZ processing

2014-07-31 Thread Florian Weimer
to decompression is spent in SHA-256 hashing. The win for compression is obviously smaller because compression itself takes more time. -- Florian Weimer / Red Hat Product Security ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org

Re: [Rpm-maint] RPM 4.12.0 alpha released

2014-06-29 Thread Florian Weimer
explicitly. -- Florian Weimer / Red Hat Product Security ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint