Bug#478696: [libpciaccess-dev] unable to parse vendor/device information from pci.ids.gz
On Wed, Apr 30, 2008 at 22:09:45 +1000, Kel Modderman wrote:
> Package: libpciaccess-dev
> Version: 0.10-1
> Severity: minor
>
> pciutils provided /usr/share/misc/pci.ids up until version 1:3.0.0-2, now
> it installs a gzip compressed file to /usr/share/misc/pci.ids.gz.
>
Would the pciutils maintainer be so kind to not break his reverse
dependencies every so often? I believe that would be appreciated.
> pci_device_get_vendor_name() and pci_device_get_device_name() must rely on
> populate_vendor() from src/common_device_name.c to open /usr/share/misc/pci.ids
> for parsing. Obviously this is failing now that the file is compressed and has
> a different filepath.
>
> The 2 options i see available are:
>
> 1) Asking pciutils maintainer nicely to ship the plaintext pci.ids
> file, though I can guess that he probably would prefer it to be
> compressed as it grows over time
I'm not sure I can manage to ask nicely, sorry.
> 2) Patch libpciaccess to support either situation, support gzip file streams
> and depend on associated libs to do that
>
Patches welcome :)
Cheers,
Julien
Reply to: