[Rpm-maint] [rpm-software-management/rpm] Rich dependency failure or PEBCAK? (Discussion #3457)
Brian J. Murrell
notifications at github.com
Wed Nov 20 15:03:42 UTC 2024
If I have a BR (line only broken below for clarity, it's all one long line the actual spec file):
```
BuildRequires: (pkgconfig(ffnvcodec) >= 12.1.14.0 or
(pkgconfig(ffnvcodec) >= 12.0.16.1 and pkgconfig(ffnvcodec) < 12.1) or
(pkgconfig(ffnvcodec) >= 11.1.5.2 and pkgconfig(ffnvcodec < 12.0) or
(pkgconfig(ffnvcodec) >= 11.0.10.3 and pkgconfig(ffnvcodec < 11.1) or
(pkgconfig(ffnvcodec) >= 8.1.24.15 and pkgconfig(ffnvcodec < 8.2))
```
and I have installed `nv-codec-headers-11.1.5.2-1.el9.noarch` which provides:
```
nv-codec-headers = 11.1.5.2-1.el9
pkgconfig(ffnvcodec) = 11.1.5.2
```
shouldn't the above BR: allow the build to happen?
I'm actually getting:
```
Error:
Problem: nothing provides requested (pkgconfig(ffnvcodec) >= 12.1.14.0 or (pkgconfig(ffnvcodec) >= 12.0.16.1 and pkgconfig(ffnvcodec) < 12.1) or (pkgconfig(ffnvcodec) >= 11.1.5.2 and pkgconfig(ffnvcodec < 12.0) or (pkgconfig(ffnvcodec) >= 11.0.10.3 and pkgconfig(ffnvcodec < 11.1) or (pkgconfig(ffnvcodec) >= 8.1.24.15 and pkgconfig(ffnvcodec < 8.2))
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
```
As an aside, is there any way to actually break long lines like the above in a specfile? Can I use `\` for example?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3457
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/3457 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241120/0c52f4f5/attachment.htm>
More information about the Rpm-maint
mailing list