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

[openvsp] Build Error #146

Closed
vldw opened this issue Sep 8, 2021 · 7 comments
Closed

[openvsp] Build Error #146

vldw opened this issue Sep 8, 2021 · 7 comments

Comments

@vldw
Copy link

vldw commented Sep 8, 2021

I have been trying to install openvsp via yay and can't seem to make it work.

[ 24%] Linking CXX static library libutil.a
[ 24%] Built target util
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: openvsp```
@acxz
Copy link
Owner

acxz commented Sep 9, 2021

Can you make sure you are performing a clean build? I just did a clean build (with yay) and it worked fine on my machine.

Also can you post the entire build output. The error isn't apparent from the lines posted.

@DavidAnderegg
Copy link

I do have exactly the same problem. Here is my build log: openvsp_build.log

@vldw
Copy link
Author

vldw commented Sep 9, 2021

I have tried installing the package with yay -Syyu openvsp --rebuild and yay -Syyu openvsp --rebuildtree with no luck.
Here is a dump of my output openvsp.log.

@vldw
Copy link
Author

vldw commented Sep 9, 2021

I have found the location of the Makefile in /.cache/yay/openvsp/src/build/Makefile that seems to be the problem Makefile.log.
Going back to the build log line 156 $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all is where it stops.

@acxz
Copy link
Owner

acxz commented Sep 9, 2021

@DavidAnderegg thanks for the build logs.
@vldw it seems like the log you posted has been cut short, I am still not able to see where the error occurs.

@vldw Please refrain from using -Syyu if not needed and instead simply use -Syu. It causes unnecessary load on mirrors.

As for the error in @DavidAnderegg log. It was previously addressed here: #142
Remember to always search past issues.

I'm not sure why and/if -Wformat-security is a default flag on your systems, as it isn't in mine and I have not changed my flags from base install.
However, considering that at least 3 users have encountered this error, I believe a patch for this is appropriate. I'll add a patch and try to get it upstream'd.

@acxz
Copy link
Owner

acxz commented Sep 9, 2021

For now I'll close this as a dup and reopen the convo in the previous thread.

@acxz acxz closed this as completed Sep 9, 2021
@DavidAnderegg
Copy link

@acxz Thank you! I did not realize this is the same problem.

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