Skip to content
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

Failed to build from the latest git version on archlinux #737

Closed
HSidhiuwhfiunci opened this issue Oct 27, 2024 · 3 comments
Closed

Failed to build from the latest git version on archlinux #737

HSidhiuwhfiunci opened this issue Oct 27, 2024 · 3 comments

Comments

@HSidhiuwhfiunci
Copy link

I was using the PKGBUILD from the ABS with some modifications to make it possible to build from the latest git version, and here is the PKGBUILD and makepkg.conf:
PKGBUILD.txt
makepkg.conf.txt
It built successfully about one or two weeks ago, but always got failed during these several days.
And the failed log is like this:
log.txt
(I am using the latest software from the archlinux which has the rust at 1.82.0 [1:1.82.0-2 for the actual rust pkg version from arch])

@raphamorim
Copy link
Owner

Thank you for the issue!

interesting, i had same issue on macos whenever building release target. What fixed for me was use a slightly newer version of clang when compiling

@orhun
Copy link
Contributor

orhun commented Oct 28, 2024

You need to build with LTO disabled:

options=('!lto')

@raphamorim
Copy link
Owner

I am closing this regarding #752

thank you 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants