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
Installer does not play well with Arch Linux’s makepkg #3090
Comments
The build system was changed completely, I don't think there's any point in bisecting it. |
Ah, I see, thanks. For issue 2, it seems that this would be the line to change: rakudo/tools/lib/NQP/Config/Rakudo.pm Line 509 in 082c09e
For issue 1, I am not sure. |
It would make sense of bisecting With regard to the second problem, I wonder what is the installation prefix? |
The prefix passed to |
Ping @PatZim – I think this one is better for you to take care about. |
Is it possible that it's checking using the user's real rather than "effective" UID?
|
Hi, I've seen a similar issue on Debian/unstable With libuv 1.30.1, rakudo fails installation with:
We've seen this problem occurs with rakudo 2018.12 and 2019.07 Note that rakudo 2018.12 did build fine with libuv 1.24.1 Hope this helps |
Ah, Debian's |
For what it's worth, here are some details on the setup that shows this issue with rakudo 2018.12:
The diff between successful and failed logs shows no significant diff except the error at the end. |
Hopefully, fix rakudo#3090, second issue.
@spider-mario could you, please, try the latest HEAD? I have merged a potential fix for the second issue but can't test it properly. |
As to the first issue, I highly suspect it to be related to #3170. |
Thanks for the fix for the second issue, I will try to test it soon. I doubt that the first issue is related to that Windows bug, though: in the Windows bug, the install step actually tries to perform the operation but fails, which could be due to Windows’ stricter locking of files that are in use. In the first issue, however, it doesn’t even try because it thinks that the destination path is not writable (despite having previously written to it). |
Hi. @robertlemmen found a bad interaction between fakeroot and newer libuv that triggers build failure on Debian (TLDR version is: new libuv uses You find more details there and there Many thanks to @robertlemmen for the investigation :-) |
Since this is a bug in fakeroot, not in rakudo, can we remove the blocker label? |
@niner I think it makes sense. Removing. |
A recent MoarVM change might also make a difference wrt to Issue 1. |
@spider-mario The above MoarVM patch fixes "Issue 1" for me with 2019.07.1, though it needs to be adjusted slightly to apply on the 2019.07.1 release code: https://gist.github.com/jonathonf/88ccc50f12d4f5c0575da2924ee8f2fb Pop that into moarvm's The solution for "Issue 2" would probably be to |
Sorry for the time it took me to test everything. I have backported c9428a5 to Rakudo 2019.07.1 and it appears to solve the second issue, as does MoarVM/MoarVM@36c35db fix the first one. Many thanks to everyone involved! |
I am trying to update the AUR package for Arch to 2019.07.1, but I am running into issues with the install step. More specifically: the packaging script runs the command:
make DESTDIR="$pkgdir" install
in a fakeroot environment (Arch packages are normally built as a normal user). However:
Issue 1:
install-core-dist.p6
seems overly pessimistic about its ability to write to the installation directory.This is printed despite the fact that some files still managed to be written there.
Issue 2: if I try to run the
make install
command in a normal shell to circumvent this problem, then this happens:That is, the installation script tries to touch the existing system install of Rakudo, despite the
DESTDIR
parameter. I did get warnings about these files during the build step, but I was hoping that the install script would honorDESTDIR
.This used to work in 2019.03. Should I attempt to bisect the issue or is it already relatively clear what could have introduced the bugs?
The text was updated successfully, but these errors were encountered: