Replies: 2 comments 2 replies
-
No there isn't. The precise location of that directory is rpm's business only. What's this absurd 29 byte limit? I'd suggest patching that instead. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The path certainly become too long: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to shorten the
<package>-<version>-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 I have to change the defaulttest-tmp
directory used by Guix tests tot
to save a few bytes in order to run tests.Now the new default
/builddir/build/BUILD/guix-1.4.0-build/guix-1.4.0
is even longer than/builddir/build/BUILD/guix-1.4.0
, so thetest-tmp
→t
trick can't work. Is it possible to tell rpmbuild to use a shorter path thanguix-1.4.0-build
, or I should justmktemp -d
and tell Guix to run tests in the temporary directory?#2078
#2885
Beta Was this translation helpful? Give feedback.
All reactions