-
-
Notifications
You must be signed in to change notification settings - Fork 470
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
gentoo-test.sh failes due to a conflict #1330
Comments
I don't know how to fix that. Is there any Gentoo expert who can help me? I'm using the script to link as many programs as possible with mold for testing. As long as the script works for some packages, I'm fine with that, even if it cannot build all packages. |
Sure, that's fine that one can't build all packages. But I face a problem where dependencies are installed (in the case of Gentoo build): That said, I can't build any package 😞 |
You need to run |
Ok, I see the script depends on the What fails for me is the building of
? |
The following fixes my problem: diff --git a/common/gentoo-test.sh b/common/gentoo-test.sh
index fd5c4ca8..b9cd21a1 100755
--- a/common/gentoo-test.sh
+++ b/common/gentoo-test.sh
@@ -26,7 +26,7 @@ if ! docker image ls mold-gentoo | grep -q mold-gentoo; then
cat <<EOF | docker build -t mold-gentoo -
FROM gentoo/stage3
RUN emerge-webrsync
-RUN echo 'USE="X ssl elogind -systemd corefonts truetype jpeg jpeg2k tiff zstd static-libs binary"' >> /etc/portage/make.conf && \
+RUN echo 'USE="X ssl elogind -systemd corefonts truetype jpeg jpeg2k tiff zstd static-libs binary -perl"' >> /etc/portage/make.conf && \
echo 'ACCEPT_KEYWORDS="~amd64"' >> /etc/portage/make.conf && \
echo 'ACCEPT_LICENSE="* -@EULA"' >> /etc/portage/make.conf && \
echo 'FEATURES="\${FEATURE} noclean nostrip ccache -ipc-sandbox -network-sandbox -pid-sandbox -sandbox"' >> /etc/portage/make.conf && \ It seems the problematic Perl conflict is pulled in by |
Ah, that's indeed a problem. Thank you for pointing that out! |
Feel free to ping me on stuff like this if needed. |
Thanks. I don't have anything specific to ask right now, but if you notice anything odd in my build script, please let me know. |
It fails with the following error message:
The text was updated successfully, but these errors were encountered: