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

[python-pyqt5-sip4] Build error #175

Closed
AchmadFathoni opened this issue Apr 4, 2022 · 4 comments
Closed

[python-pyqt5-sip4] Build error #175

AchmadFathoni opened this issue Apr 4, 2022 · 4 comments

Comments

@AchmadFathoni
Copy link
Contributor

Traceback (most recent call last):
  File "/usr/bin/sip-build", line 33, in <module>
    sys.exit(load_entry_point('sip==6.5.1', 'console_scripts', 'sip-build')())
  File "/usr/bin/sip-build", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration
@acxz
Copy link
Owner

acxz commented Apr 4, 2022

Can you try building in a chroot? It could be something wrong with your local environment.

I'd recommend using paru --chroot.

@AchmadFathoni
Copy link
Contributor Author

Thanks, I guess it fixed.

@acxz
Copy link
Owner

acxz commented Dec 17, 2023

Hey all sorry for troubles with this package, I hate that it exists, and I hate how it works (to build it), but it is a necessary evil until things get properly fixed (which they will not) so for everyone that cares about robots on archlinux and needs to use this package these are my tidbits on building this package:

  1. Build in a clean chroot:

This is the proper way, all packages should be built in a clean chroot anyway.
The traditional method to do this is to use the method as described by @FabioLolix in his comment here

If you want better tooling use paru's --chroot flag. (I'll let you look up how to do this on your own using paru's docs) I personally use this option.

  1. Use arch4edu!

Why build packages when they are already built for you! See their github page for how to get setup with it. (Give a star on your way there they deserve it, they (he is a one man team) has been hosting robotics packages for a long long time (we go back))

  1. Build without using a clean chroot

This one is trickiest.

  • Make sure sip4 is uninstalled and sip is installed.
  • Build this package (keeping in mind you aren't using too many cores, since this package eats RAM like my wife eating chocolate)
  • Uninstall sip
    • This is to make sure that when you install subsequent packages that depend on sip4, you won't get dep conflicts with sip
  • Continue along your merry way

Hopefully that was complete enough for everyone. If you are still having issues with any one of these methods feel free to comment on here.

@MoRoBe-Work
Copy link

For reference: I had the error /var/tmp/pamac-build-***/python-pyqt5-sip4/PKGBUILD: line 53: sip-build: command not found when trying to install python-pyqt5-sip4 package from the AUR. The arch4edu package works like a charm and includes multiple additional robotics packages I use in newer versions. Thank you for the recommendation!

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