New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot cross-compile gettext #34810
Comments
The step to run There isn't and detail in the commit message why running autoreconf is needed, I tried googling 'gettext autoreconf' but couldn't find anything relevant. Googling 'gettext cross-compile' also didn't suggest that autoreconf is needed. There's also nothing about in the package |
Can you specify the target you're using? The most likely thing is that their pre generated configure script had issues for cross which were fixed by re generating them. It's possible that no longer applies. |
I was compiling for targets I'm not sure the target makes a difference, it just seems like running autoreconf doesn't work in the gettext source directory? I didn't try running autoreconf on a glibc system though, I guess that could make a difference? |
Ok, I can reproduce this locally. I think it has to do with the automake updates... Fixing this in their build system would be ideal, but I'm not sure I'd like to delve inside :P If you'd like to create a PR to remove the autoreconf, that sounds reasonable. |
System
Void 5.11.22_1 x86_64-musl GenuineIntel notuptodate rFFF
gettext-0.21_4
Expected behavior
./xbps-src -a <target> configure gettext
runs successfully.Actual behavior
The pre-configure step fails with error
I've tried this with various targets, the error is always the same.
I noticed that for this template the pre-configure step only happens when cross-compiling:
void-packages/srcpkgs/gettext/template
Lines 39 to 42 in 2f4626f
If the command to run
autoreconf
is removed from the template then the configure completes successfully, and the package can be built and run without any issues that I've seen.The text was updated successfully, but these errors were encountered: