-
Notifications
You must be signed in to change notification settings - Fork 190
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
[ERROR] Package has no install method: qt5 #555
Comments
This is specifically because an install type is being requested which the package deb: libqt5opengl5-dev && libqt5svg5-dev && qt5-default
rpm: (qt5-qtbase-devel && qt5-qtsvg-devel) || (devel_qt5 && libqt5-qtsvg-devel)
pacman: qt5-base
port: qt5 && qt5-qtbase
portage: dev-qt/qtgui I experienced this same issue when attempting to first do a fully source based install, then when splitting the difference and using Be warned though, this problem is endemic across the various recipes. Some other packages (e.g. |
got the same problem attempting to install gnuradio 3.8 using PyBOMBS in git console on win10 machine - see log:
|
I got the same issue on MacOS BigSur
|
I got the same issue on Manjaro
|
So this is a work-around if you happen to have the exact same cause for this as I do, which happened to be specific to debian bullseye. The approach may help others. Basically the recipes are out of sync with official repos. The qt5 recipe looks for 3 packages: Specifically on debian bullseye, it looks like looking at the file list from the /usr/lib/x86_64-linux-gnu/qtchooser/default.conf
/usr/share/doc/qt5-default/changelog.Debian.gz
/usr/share/doc/qt5-default/copyright only the Extracting the deb from buster, that file is just a symlink: default.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf So if you have the exact same problem as me (don't have qt5-default in repo) you can make the symlink yourself and then remove the dependency. change the qt5 recipe and remove the Then run the install again. |
If you know of fix that works for all deb platforms, you can put in a PR for gr-recipes at |
At the moment I can only confirm what I saw is a Debian bullseye (Debian 11) issue. I wouldn't be surprised if it's similar issue. The package just creates a symlink, and I am checking if the symlink is even necessary. But it depends on the distro's packaging being in-sync with the recipe. It doesn't look like the package was replaced, so it may even be an oversight in bullseye. I'll take a closer look but debugging other distro's packing is a bit of a pain. It may help if people posted output from $ pybombs -v -v -v -v install qt5 This would show which packages specifically (on which OS) were causing problems in the recipe and would allow more granular investigation on each platform. |
Ubuntu's bug report for the missed package may have the answer:
I believe this means the dependency is only required on (now) older distros. So on newer versions of debian distros (which should now include stable and anything derived from stable), However, I'm not sure if pybombs/gnuradio needs to support older distros, or how the recipes would do it. I can submit the PR and see how the discussion goes from there. |
Why was this closed? Still getting this error on my macOS:
|
Same error on macOS 11.6.7 |
Created a #618 for macOS specific report that is still "open" |
I have already installed qt package through Homebrew, but it still point out that there is no install method:qt5, how can i deal this case?
The text was updated successfully, but these errors were encountered: