[Rpm-maint] [rpm-software-management/rpm] brp-strip fails with Guile objects on Fedora 35 (#1765)

2021-08-28 Thread lantw44
nce commit 0ab151ab138fd4fb6d3176fd0270d9cc6f4623f3. To reproduce it, build [my guile-bytestructures package](https://github.com/lantw44/copr-rpm-spec/blob/622aaa95b932e0976b7650e86873a44a65e740c5/guix/guile-bytestructures/guile-bytestructures.spec) on Fedora 35: ``` make[1]: Leaving directory '/builddir/build/BUILD

Re: [Rpm-maint] [rpm-software-management/rpm] brp-strip fails with Guile objects on Fedora 35 (#1765)

2021-09-18 Thread lantw44
``` $ file /sbin/ldconfig /sbin/ldconfig: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), static-pie linked, BuildID[sha1]=e524d23506ba0c75de1d253087146164328b13b8, for GNU/Linux 3.2.0, stripped $ file /bin/file /bin/file: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), d

Re: [Rpm-maint] [rpm-software-management/rpm] Introduce an rpm-controlled per-build directory (PR #2885)

2024-11-02 Thread lantw44
Is it possible to shorten the `--build` part from a spec file? I package Guix in Fedora Copr. To run Guix tests in the rpmbuild %check step, the full path of the working directory cannot be longer than 29 bytes. The default `/builddir/build/BUILD/guix-1.4.0` used by mock is a

Re: [Rpm-maint] [rpm-software-management/rpm] Shorten the path of the RPM-controlled per-build directory (Discussion #3438)

2024-11-11 Thread lantw44
Each Guix package directory includes a hash, so it is typical for a directory to take 50 bytes. For example, you can find `/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8` in its official binary tarball. The problem is that Guix uses this kind of long path in shebangs and Unix so

Re: [Rpm-maint] [rpm-software-management/rpm] Shorten the path of the RPM-controlled per-build directory (Discussion #3438)

2024-11-11 Thread lantw44
Yes, Guix has length checks. These lines are extracted from the build log on Fedora 40: ``` checking for the store directory... /gnu/store checking the length of the installed socket file name... 30 checking for unit test root directory... (cached) /builddir/build/BUILD/guix-1.4.0/t checking the

[Rpm-maint] [rpm-software-management/rpm] Shorten the path of the RPM-controlled per-build directory (Discussion #3438)

2024-11-09 Thread lantw44
Is it possible to shorten the `--build` part from a spec file? I package Guix in Fedora Copr. To run Guix tests in the rpmbuild %check step, the full path of the working directory cannot be longer than 29 bytes. The default `/builddir/build/BUILD/guix-1.4.0` used by mock is already too long, so