[Bug 1190210] New: nvidia: PCI ID Supplements no longer available on Tumbleweed
https://bugzilla.suse.com/show_bug.cgi?id=1190210 Bug ID: 1190210 Summary: nvidia: PCI ID Supplements no longer available on Tumbleweed Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: X11 3rd Party Driver Assignee: gfx-bugs@suse.de Reporter: sndirsch@suse.com QA Contact: sndirsch@suse.com Found By: --- Blocker: --- Apparently PCI ID Supplements are no longer generated on TW builds since at least Dec 2020 - probably even longer. My current guess is that sth has changed (again) in RPM - similar to what happened in boo#1087460 nvidia-gfxG04.changes [...] Thu Mar 29 13:41:25 UTC 2018 - sndirsch@suse.com - supplements macro name changed again with rpm 4.14.1, i.e. sle15/ Leap15/TW (boo#1087460) * %__ksyms_supplements --> %__kmp_supplements [...] -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1190210 https://bugzilla.suse.com/show_bug.cgi?id=1190210#c1 --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- I'm using Version: 470.63.01 [...[ Source4: pci_ids-%{version} [...] Source12: my-find-supplements [...] %define pci_id_file %_sourcedir/pci_ids-%version [...] %define __kmp_supplements %_sourcedir/my-find-supplements %pci_id_file [...] chmod 755 %_sourcedir/my-find-supplements* in kmp specfile. (https://build.opensuse.org/package/view_file/X11:Drivers:Video/nvidia-gfxG05...) my-find-supplements -------------------------- #!/bin/bash PCI_ID_FILE=$1 shift tmp=$(mktemp) trap 'rm -f "$tmp"' EXIT /usr/lib/rpm/find-supplements.ksyms "$@" >"$tmp" # the system script currently only generates modalias(...) lines, but allow # other dependencies just in case grep -v '^modalias(' "$tmp" # determine the kernel flavor krel=$(sed -rn 's/modalias\(([^:]*):.*/\1/p; T; q' "$tmp") if test -z "$krel"; then exit fi # and create our own list of modalias supplements for id in $(cat ${PCI_ID_FILE} | cut -d " " -f 1|sed 's/0x//g'); do echo "modalias(${krel}:pci:v000010DEd0000${id}sv*sd*bc03sc0[02]i00*)" done -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1190210 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |CONFIRMED Assignee|gfx-bugs@suse.de |sndirsch@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1190210 https://bugzilla.suse.com/show_bug.cgi?id=1190210#c2 --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> --- The same mechanism still works for Leap 15.3 builds. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1190210 https://bugzilla.suse.com/show_bug.cgi?id=1190210#c3 --- Comment #3 from Stefan Dirsch <sndirsch@suse.com> --- Ok. Seems find-supplements radically changed in rpm 4.16 of TW in comparison to rpm 4.14 in Leap 15.x --- openSUSE_Leap_15.2-x86_64/usr/lib/rpm/find-supplements 2020-06-08 22:13:36.000000000 +0200 +++ openSUSE_Factory-x86_64/usr/lib/rpm/find-supplements 2021-06-01 10:35:46.000000000 +0200 @@ -1,14 +1,3 @@ -#!/bin/bash +#!/bin/sh -# This script reads filenames from STDIN and outputs any relevant provides -# information that needs to be included in the package. -IFS=$'\n' -filelist=($(cat)) - -# -# --- Kernel module hardware identifiers -# (e.g., modalias(pci:v0000109Ed00000878sv00000070sd0000FF01bc*sc*i*) -[ -x /usr/lib/rpm/find-supplements.ksyms ] && - printf "%s\n" "${filelist[@]}" | /usr/lib/rpm/find-supplements.ksyms "$@" - -exit 0 +/usr/lib/rpm/rpmdeps --define="_use_internal_dependency_generator 1" --supplements So, apparently find-supplements.ksyms is no longer been used. (!?!) I'm afraid my-find-supplements needs to be rewritten. :-( -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1190210 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mls@suse.com, | |msuchanek@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1190210 https://bugzilla.suse.com/show_bug.cgi?id=1190210#c4 Michal Suchanek <msuchanek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(mls@suse.com) --- Comment #4 from Michal Suchanek <msuchanek@suse.com> --- Maybe that's something to be addressed in rpm-build? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com