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

ninja: error: 'par2-turbo/src/par2-turbo-build/libpar2-turbo.a' #460

Closed
dnzbk opened this issue Dec 9, 2024 · 2 comments · Fixed by #481
Closed

ninja: error: 'par2-turbo/src/par2-turbo-build/libpar2-turbo.a' #460

dnzbk opened this issue Dec 9, 2024 · 2 comments · Fixed by #481
Assignees
Labels
bug Something isn't working

Comments

@dnzbk
Copy link
Collaborator

dnzbk commented Dec 9, 2024

NZBGet Version

v24.5-stable

Platform

All

Environment

Any

Problem or Question

After switching to ExternalProject_Add from FetchContent in v24.5, the cmake Ninja generator started working incorrectly. Probably other non-default generators as well.

Steps To Reproduce

No response

Logs

cmake --build .
ninja: error: 'par2-turbo/src/par2-turbo-build/libpar2-turbo.a', needed by 'nzbget', missing and no known rule to make it
de

Extra information

No response

@dnzbk dnzbk added the question Further information is requested label Dec 9, 2024
@dnzbk dnzbk self-assigned this Dec 9, 2024
@sbraz
Copy link
Contributor

sbraz commented Dec 25, 2024

Hi @dnzbk, I just hit this on Gentoo because our build was using ninja. One answer here mentions BUILD_BYPRODUCTS?

@dnzbk
Copy link
Collaborator Author

dnzbk commented Dec 25, 2024

Hi, @sbraz
Yeah, I’ve seen that, thank you, but I just didn’t find some time to try that out yet.

@dnzbk dnzbk added bug Something isn't working and removed question Further information is requested labels Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants