The nvidia-firmware package uses the script extract_firmware.py which depends on python 2.7. Luckily, someone already looked at this from an upstream perspective, so maybe we can replace the script by an updated one. Original Issue (Python2 dep): https://github.com/imirkin/re-vp2/issues/4 PR for an updated script: https://github.com/imirkin/re-vp2/pull/7 Current home of the updated script file: https://github.com/envytools/firmware Reproducible: Always Steps to Reproduce: 1. Mask python2.7 2. emerge -1 nvidia-firmware 3. cannot emerge due to dependencies Actual Results: nvidia-firmware tries to pull in python 2.7 Expected Results: duh. nvidia-firmware does NOT try to pull in python 2.7, but something newer. Suggestion for a solution are included in the description
Blocks python3 tracker bug
I've compared the original script, the preliminary one from the pull request and the current master blob. Results: 1. broken 2. runs but fails at extracting 3. works as intended, no error messages Patch incoming
Created attachment 648230 [details, diff] Patch of original ebuild to r1 Please note: the patch keeps the filename nvidia_extract_firmware.py, I don't know wether that's a good idea.
ping.
Created attachment 655504 [details, diff] patch of original to 340.108 I suggest to: - keep original author and use https://github.com/envytools/firmware (see https://github.com/imirkin/re-vp2/pull/7) - use extractor version instead of nvidia version in filename - update to nvidia 340.108 as it's the latest supported
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103d75937a1ee825c84aec68f1caeacb66972d44 commit 103d75937a1ee825c84aec68f1caeacb66972d44 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-09-19 18:00:49 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-09-19 18:00:49 +0000 sys-firmware/nvidia-firmware: Remove old Closes: https://bugs.gentoo.org/731258 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org> profiles/package.mask | 1 - sys-firmware/nvidia-firmware/Manifest | 3 -- .../nvidia-firmware/nvidia-firmware-325.15.ebuild | 43 ---------------------- .../nvidia-firmware/nvidia-firmware-340.32.ebuild | 43 ---------------------- 4 files changed, 90 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14955162c5e32b437bf3ad88a687466d64563a06 commit 14955162c5e32b437bf3ad88a687466d64563a06 Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2020-09-19 18:00:46 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-09-19 18:00:46 +0000 sys-firmware/nvidia-firmware: migrate to Python 3 * Migrate to Python 3 and EAPI 7. Updated SRC_URI for python firmware extractor. Bug: https://bugs.gentoo.org/731258 Closes: https://github.com/gentoo/gentoo/pull/17600 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org> sys-firmware/nvidia-firmware/Manifest | 1 + .../nvidia-firmware-340.32-r1.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+)