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

[BUG] 0.0.18 copr build failing #248

Open
ryanabx opened this issue Sep 2, 2024 · 14 comments
Open

[BUG] 0.0.18 copr build failing #248

ryanabx opened this issue Sep 2, 2024 · 14 comments

Comments

@ryanabx
Copy link

ryanabx commented Sep 2, 2024

Problem Description

The official COPR repository hasn't had a successful build of dkms-LenovoLegionLinux since 0.0.16 3 months ago:

image

Hardware info not applicable

@ralmachado
Copy link

Bumping this, as the last F40 build was on 22nd Aug, and commit 61f05e0 patches the dkms module to be compatible with kernel 6.11.*.
I'm having an issue with resuming from sleep using 6.11, and would like to eliminate this project as the culprit.
@MrDuartePT can a new build be submitted to the COPR please?

@MrDuartePT
Copy link
Collaborator

MrDuartePT commented Oct 28, 2024

Bumping this, as the last F40 build was on 22nd Aug, and commit 61f05e0 patches the dkms module to be compatible with kernel 6.11.*. I'm having an issue with resuming from sleep using 6.11, and would like to eliminate this project as the culprit. @MrDuartePT can a new build be submitted to the COPR please?

@ryanabx should be fix now, also I don't think that our driver is causing you problems, since the only places the build fails is on fedora 41 and rawhide (in case of rawhide I don't really know how to fix it, seems to be a bug with copr, or rawhide dosent like dkms packages).

@ryanabx
Copy link
Author

ryanabx commented Oct 29, 2024

@MrDuartePT Installing now gives me an issue:

RUN dnf copr enable -y mrduarte/LenovoLegionLinux && dnf install -y dkms-LenovoLegionLinux python-LenovoLegionLinux python-darkdetect
 https://copr.fedorainfracloud.org/api_ 100% |   1.9 KiB/s | 524.0   B |  00m00sEnabling a Copr repository. Please note that this repository is not part
of the main distribution, and quality may vary.

The Fedora Project does not exercise any power over the contents of
this repository beyond the rules outlined in the Copr FAQ at
<https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
and packages are not held to any quality or security level.

Please do not file bug reports about these packages in Fedora
Bugzilla. In case of problems, contact the owner of this repository.
Updating and loading repositories:
 Copr repo for LenovoLegionLinux owned  100% |  17.7 KiB/s |   5.5 KiB |  00m00s
 Fedora 41 - x86_64 - Updates Archive   100% |   6.7 KiB/s |   4.3 KiB |  00m01s
>>> Status code: 403 for https://fedoraproject-updates-archive.fedoraproject.org/
>>> Status code: 403 for https://fedoraproject-updates-archive.fedoraproject.org/
>>> Status code: 403 for https://fedoraproject-updates-archive.fedoraproject.org/
>>> Status code: 403 for https://fedoraproject-updates-archive.fedoraproject.org/
>>> Librepo error: Yum repo downloading error: Downloading error(s): repodata/4a
Repositories loaded.
Failed to resolve the transaction:
Problem 1: conflicting requests
  - nothing provides python3.13dist(darkdetect) needed by python-LenovoLegionLinux-0.0.18-0.x86_64 from copr:copr.fedorainfracloud.org:mrduarte:LenovoLegionLinux
 Problem 2: conflicting requests
  - nothing provides python(abi) = 3.12 needed by python-darkdetect-0.8.0-1.noarch from copr:copr.fedorainfracloud.org:mrduarte:LenovoLegionLinux

@MrDuartePT
Copy link
Collaborator

MrDuartePT commented Oct 30, 2024

@MrDuartePT Installing now gives me an issue:


RUN dnf copr enable -y mrduarte/LenovoLegionLinux && dnf install -y dkms-LenovoLegionLinux python-LenovoLegionLinux python-darkdetect

 https://copr.fedorainfracloud.org/api_ 100% |   1.9 KiB/s | 524.0   B |  00m00sEnabling a Copr repository. Please note that this repository is not part

of the main distribution, and quality may vary.



The Fedora Project does not exercise any power over the contents of

this repository beyond the rules outlined in the Copr FAQ at

<https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,

and packages are not held to any quality or security level.



Please do not file bug reports about these packages in Fedora

Bugzilla. In case of problems, contact the owner of this repository.

Updating and loading repositories:

 Copr repo for LenovoLegionLinux owned  100% |  17.7 KiB/s |   5.5 KiB |  00m00s

 Fedora 41 - x86_64 - Updates Archive   100% |   6.7 KiB/s |   4.3 KiB |  00m01s

>>> Status code: 403 for https://fedoraproject-updates-archive.fedoraproject.org/

>>> Status code: 403 for https://fedoraproject-updates-archive.fedoraproject.org/

>>> Status code: 403 for https://fedoraproject-updates-archive.fedoraproject.org/

>>> Status code: 403 for https://fedoraproject-updates-archive.fedoraproject.org/

>>> Librepo error: Yum repo downloading error: Downloading error(s): repodata/4a

Repositories loaded.

Failed to resolve the transaction:

Problem 1: conflicting requests

  - nothing provides python3.13dist(darkdetect) needed by python-LenovoLegionLinux-0.0.18-0.x86_64 from copr:copr.fedorainfracloud.org:mrduarte:LenovoLegionLinux

 Problem 2: conflicting requests

  - nothing provides python(abi) = 3.12 needed by python-darkdetect-0.8.0-1.noarch from copr:copr.fedorainfracloud.org:mrduarte:LenovoLegionLinux

The error is because you probably not using Python 3.12 try to update your system and then try to install darkdetect. I try on a Fedora 41 livecd and was working

Edit: Also rebuild the Python packages to be safe should take 5m or less

@Allephh
Copy link

Allephh commented Nov 1, 2024

I have a similar problem to this one, in this case, it is related to 'python(abi)=3.12'.
I use Lenovo IdeaPad Gaming 3 15ARH7, Fedora 41 and Bios JNCN51WW(V2.11).
I started using Linux in Fedora 39 and the LenovoLegionLinux driver always worked. However, in 41, it is not working anymore and i suggest that it must be a problem with Python (which is now 3.13 in f41) or DNF5 (at the end of the installation, it says commands no longer exist or something like that).
In previous installations, i was having the same two problems (problem 1 and 2), but now only one.
Every time i installed this driver it ended up not working, it even gave some errors on the screen when turning it off and on (when pressing alt + tab), however, it did not prevent the system overall for working. Unfortunately, i didn't take a photo and i don't want to install it again because the system is already prepared (only missing the lenovo and nvidia drivers).

`sudo dnf install dkms-LenovoLegionLinux python-darkdetect python-LenovoLegionLinux
[sudo] senha para alexandre:
Updating and loading repositories:
Repositories loaded.
Problema: não é possível instalar o melhor candidato para a tarefa

  • nothing provides python(abi) = 3.12 needed by python-darkdetect-0.8.0-1.noarch from copr:copr.fedorainfracloud.org:mrduarte:LenovoLegionLinux

Package Arch Version Repository Size
Installing:
dkms-LenovoLegionLinux x86_64 0.0.18-0 copr:copr.fedorainfracloud.org:mrduarte:LenovoL 312.7 KiB
python-LenovoLegionLinux x86_64 0.0.18-0 copr:copr.fedorainfracloud.org:mrduarte:LenovoL 499.6 KiB
python-darkdetect noarch 0.8.0-1 copr:copr.fedorainfracloud.org:mrduarte:LenovoL 36.4 KiB
Installing dependencies:
SDL2 x86_64 2.30.3-2.fc41 fedora 1.8 MiB
bison x86_64 3.8.2-9.fc41 fedora 3.5 MiB
cpp x86_64 14.2.1-3.fc41 fedora 35.0 MiB
dkms noarch 3.1.1-1.fc41 updates 181.7 KiB
elfutils-libelf-devel x86_64 0.192-5.fc41 updates 49.5 KiB
flex x86_64 2.6.4-18.fc41 fedora 805.4 KiB
gcc x86_64 14.2.1-3.fc41 fedora 104.3 MiB
glibc-devel x86_64 2.40-3.fc41 fedora 35.0 KiB
glibc-headers-x86 noarch 2.40-3.fc41 fedora 2.2 MiB
kernel-devel x86_64 6.11.5-300.fc41 updates 75.1 MiB
kernel-devel-matched x86_64 6.11.5-300.fc41 updates 0.0 B
kernel-headers x86_64 6.11.3-300.fc41 fedora 6.4 MiB
libmpc x86_64 1.3.1-6.fc41 fedora 164.7 KiB
libxcrypt-devel x86_64 4.4.36-7.fc41 fedora 30.3 KiB
libzstd-devel x86_64 1.5.6-2.fc41 fedora 202.4 KiB
m4 x86_64 1.4.19-10.fc41 fedora 592.9 KiB
make x86_64 1:4.4.1-8.fc41 fedora 1.8 MiB
openssl-devel x86_64 1:3.2.2-9.fc41 fedora 4.3 MiB
python-pyqt6-rpm-macros noarch 6.8.0-0.1.fc41 updates 144.0 B
python3-pyqt6 x86_64 6.8.0-0.1.fc41 updates 5.7 MiB
python3-pyqt6-base x86_64 6.8.0-0.1.fc41 updates 15.4 MiB
python3-pyqt6-sip x86_64 13.8.0-1.fc41 fedora 146.1 KiB
qt6-filesystem x86_64 6.8.0-1.fc41 updates 0.0 B
qt6-qtbase x86_64 6.8.0-4.fc41 updates 11.9 MiB
qt6-qtbase-common noarch 6.8.0-4.fc41 updates 74.0 B
qt6-qtbase-gui x86_64 6.8.0-4.fc41 updates 23.5 MiB
qt6-qtconnectivity x86_64 6.8.0-1.fc41 updates 1.5 MiB
qt6-qtdeclarative x86_64 6.8.0-1.fc41 updates 48.9 MiB
qt6-qtmultimedia x86_64 6.8.0-1.fc41 updates 3.2 MiB
qt6-qtpdf x86_64 6.8.0-1.fc41 updates 5.7 MiB
qt6-qtpositioning x86_64 6.8.0-1.fc41 updates 1.5 MiB
qt6-qtquick3d x86_64 6.8.0-1.fc41 updates 14.8 MiB
qt6-qtquicktimeline x86_64 6.8.0-1.fc41 updates 283.3 KiB
qt6-qtremoteobjects x86_64 6.8.0-1.fc41 updates 1.4 MiB
qt6-qtsensors x86_64 6.8.0-1.fc41 updates 899.3 KiB
qt6-qtserialport x86_64 6.8.0-1.fc41 updates 213.8 KiB
qt6-qtshadertools x86_64 6.8.0-1.fc41 updates 4.7 MiB
qt6-qtspeech x86_64 6.8.0-1.fc41 updates 344.6 KiB
qt6-qtsvg x86_64 6.8.0-1.fc41 updates 762.4 KiB
qt6-qttools-common noarch 6.8.0-1.fc41 updates 7.5 KiB
qt6-qttools-libs-designer x86_64 6.8.0-1.fc41 updates 5.8 MiB
qt6-qttools-libs-help x86_64 6.8.0-1.fc41 updates 586.9 KiB
qt6-qtwayland x86_64 6.8.0-2.fc41 updates 4.7 MiB
qt6-qtwebchannel x86_64 6.8.0-1.fc41 updates 412.3 KiB
qt6-qtwebsockets x86_64 6.8.0-1.fc41 updates 299.6 KiB
speech-dispatcher-libs x86_64 0.11.5-8.fc41 fedora 74.0 KiB
tslib x86_64 1.22-11.fc41 fedora 471.7 KiB
xcb-util-cursor x86_64 0.1.5-1.fc41 updates 27.3 KiB
Installing weak dependencies:
gstreamer1-plugins-good-qt6 x86_64 1.24.8-2.fc41 updates 212.0 KiB
openssl x86_64 1:3.2.2-9.fc41 fedora 1.7 MiB
qt6-qtspeech-flite x86_64 6.8.0-1.fc41 updates 113.4 KiB
qt6-qtspeech-speechd x86_64 6.8.0-1.fc41 updates 67.6 KiB
qt6-qttranslations noarch 6.8.0-1.fc41 updates 13.7 MiB

Transaction Summary:
Installing: 56 packages

Total size of inbound packages is 127 MiB. Need to download 127 MiB.
After this operation, 406 MiB extra will be used (install 406 MiB, remove 0 B).
Is this ok [y/N]: n
Operação abortada pelo usuário.
`

@johnfanv2
Copy link
Owner

I have a similar problem to this one, in this case, it is related to 'python(abi)=3.12'. I use Lenovo IdeaPad Gaming 3 15ARH7, Fedora 41 and Bios JNCN51WW(V2.11). I started using Linux in Fedora 39 and the LenovoLegionLinux driver always worked. However, in 41, it is not working anymore and i suggest that it must be a problem with Python (which is now 3.13 in f41) or DNF5 (at the end of the installation, it says commands no longer exist or something like that). In previous installations, i was having the same two problems (problem 1 and 2), but now only one. Every time i installed this driver it ended up not working, it even gave some errors on the screen when turning it off and on (when pressing alt + tab), however, it did not prevent the system overall for working. Unfortunately, i didn't take a photo and i don't want to install it again because the system is already prepared (only missing the lenovo and nvidia drivers).

Do I get this correctly that the system crashes and you cannot use it anymore? Does that mean the screen does not work anymore ore anything else? Or is this just a problem with the Python GUI?

If the whole system crashes due to the kernel model or does not work anymore then please describe your problem in more detail and maybe take a photo. This should never happen and I will try to fix this immediately.

@ryanabx
Copy link
Author

ryanabx commented Nov 1, 2024

For me, it's not crashing my system, it's just a dnf conflict where it can't find something python related. It probably just needs a small fix in the spec file, but I don't know enough about this project to know exactly what the fix is.

@Allephh
Copy link

Allephh commented Nov 1, 2024

I have a similar problem to this one, in this case, it is related to 'python(abi)=3.12'. I use Lenovo IdeaPad Gaming 3 15ARH7, Fedora 41 and Bios JNCN51WW(V2.11). I started using Linux in Fedora 39 and the LenovoLegionLinux driver always worked. However, in 41, it is not working anymore and i suggest that it must be a problem with Python (which is now 3.13 in f41) or DNF5 (at the end of the installation, it says commands no longer exist or something like that). In previous installations, i was having the same two problems (problem 1 and 2), but now only one. Every time i installed this driver it ended up not working, it even gave some errors on the screen when turning it off and on (when pressing alt + tab), however, it did not prevent the system overall for working. Unfortunately, i didn't take a photo and i don't want to install it again because the system is already prepared (only missing the lenovo and nvidia drivers).

Do I get this correctly that the system crashes and you cannot use it anymore? Does that mean the screen does not work anymore ore anything else? Or is this just a problem with the Python GUI?

If the whole system crashes due to the kernel model or does not work anymore then please describe your problem in more detail and maybe take a photo. This should never happen and I will try to fix this immediately.

Hi! Thank you for the response.
No, the system does not crash.
As i said before, it shows problems related to Python and, possibly, DNF5 (possibly commands not existing anymore).
The errors mentioned were at boot (turn on, restart and turn off), where they appeared when pressing ALT + TAB. There were few, in red and, speaking of them, i think there was one related to dkms.
Apart from that, the system worked as if it did not have the driver installed. The Python GUI was there, i could open it, but nothing changed. FN + Q, for example, did not change anything except the LED light.

@MrDuartePT
Copy link
Collaborator

I not understand why @Allephh @ryanabx I still having problems.

I rebuild the packages for Fedora 41 and now they were build with Python 3.13. I also did try to install them with the latest live cd and they install without any error.

I recommend you both to remove the repo and add it again to see if get solve.

@ryanabx
Copy link
Author

ryanabx commented Nov 1, 2024

I recommend you both to remove the repo and add it again to see if get solve.

I'll try it out after work

@Allephh
Copy link

Allephh commented Nov 1, 2024

I not understand why @Allephh @ryanabx I still having problems.

I rebuild the packages for Fedora 41 and now they were build with Python 3.13. I also did try to install them with the latest live cd and they install without any error.

I recommend you both to remove the repo and add it again to see if get solve.

Captura de tela de 2024-11-01 18-07-04

Still accuses python(abi).
If i install it, maybe it will give the same problem. i don't know if i want to do this now, maybe later, because i will have to format the computer again to make it clean.
[comment combined] I remember installing python 3.12 to try to solve it. I also remember installing a "pip" package and then a "darkdetect" package, but it didn't solve it either and the problem continued.

@Allephh
Copy link

Allephh commented Nov 2, 2024

Hello and good morning, good afternoon or good night!
This time it didn't report the "non-existent commands" of DNF5, however, it didn't work either.
Here is the log of installation:
sudo dnf install dkms.txt
Here some videos, sorry for the quality. I hope it helps:

Reboot.after.driver.installation.mp4
FN.Q.energy.presets.and.python.gui.not.working.mp4
Second.reboot.mp4
System.shutdown.mp4

@Allephh
Copy link

Allephh commented Nov 2, 2024

So, the from system shutdown video probably don't relate to this driver. It's some weird thing that appear since Fedora 40 (USB hub or something). Therefore, the errors that appear when i turn off or at the stage of turning off the machine during a restart have nothing to do with it.
So, the real driver errors is when i turn on the system. Due to the poor quality of the video, unfortunately it is not possible to see them. However, one of them is DKMS. The other, i will check. Wait a bit.
[comment combined] Shutdown errors are not related. When i start, there two erros:
systemd-backlightglade:pi_s (or se) of leds: platform: :kbd_backlight.
Failed to start: dkms.service - Bui...ll new kernel modules through DKMS. 'systemctl status dkms.service' for details.

WhatsApp.Video.2024-11-02.at.10.06.13.mp4
WhatsApp.Video.2024-11-02.at.10.05.44.mp4
WhatsApp.Video.2024-11-02.at.10.05.27.mp4

@Allephh
Copy link

Allephh commented Nov 2, 2024

Captura de tela de 2024-11-02 18-57-09
Captura de tela de 2024-11-02 18-57-57

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

5 participants