I have a small library RPM which built OK on Fedora 13 but is broken on Fedora
16. Rpmbuild reports that the shared library in the package is required by
the package itself. There is no "Provides" line, and when I try to install
the RPM it reports:
error: Failed dependencies:
libglv.so.0()(64bit) is needed by libglv0-0.3.1-1.x86_64
If I run /usr/lib/rpm/find-provides manually on the libraries it reports the
correct information:
-Karl
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
11-18-2011, 10:16 AM
Michael Schwendt
rpmbuild provides seems broken
On Fri, 18 Nov 2011 02:26:20 -0800, K (Karl) wrote:
> I have a small library RPM which built OK on Fedora 13 but is broken on Fedora
> 16. Rpmbuild reports that the shared library in the package is required by
> the package itself. There is no "Provides" line, and when I try to install
> the RPM it reports:
>
> error: Failed dependencies:
> libglv.so.0()(64bit) is needed by libglv0-0.3.1-1.x86_64
>
> If I run /usr/lib/rpm/find-provides manually on the libraries it reports the
> correct information:
>
> libglv.so.0()(64bit)
Is this with or without package "redhat-rpm-config" installed?
If without it, could be a bug -> http://bugz.fedoraproject.org/rpm
--
Fedora release 16 (Verne) - Linux 3.1.1-2.fc16.x86_64
loadavg: 0.01 0.07 0.07
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
11-18-2011, 07:21 PM
Karl
rpmbuild provides seems broken
On Friday, November 18, 2011 12:16:49 PM Michael Schwendt wrote:
> Is this with or without package "redhat-rpm-config" installed?
> If without it, could be a bug -> http://bugz.fedoraproject.org/rpm
There is no redhat-rpm-config package on my system.
-Karl
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
11-18-2011, 07:38 PM
Michael Schwendt
rpmbuild provides seems broken
On Fri, 18 Nov 2011 12:21:54 -0800, K (Karl) wrote:
> > Is this with or without package "redhat-rpm-config" installed?
> > If without it, could be a bug -> http://bugz.fedoraproject.org/rpm
>
>
> There is no redhat-rpm-config package on my system.
Try to reproduce _after_ installing redhat-rpm-config. That package
is used by the Fedora Build System, too, so building without it might
have been tested less. And it would still be a bug to report.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
11-18-2011, 08:00 PM
Karl
rpmbuild provides seems broken
There is no change in behavior with the redhat-rpm-config installed.
I also notice there is no difference in output using the rpmbuild -vv option.
Is there some other way to see what rpmbuild is actually executing?
-Karl
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
11-18-2011, 09:09 PM
Michael Schwendt
rpmbuild provides seems broken
On Fri, 18 Nov 2011 13:00:08 -0800, K (Karl) wrote:
> There is no change in behavior with the redhat-rpm-config installed.
>
> I also notice there is no difference in output using the rpmbuild -vv option.
>
Should be mode 0755. If that doesn't fix it, try to make available the src.rpm
somewhere.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
11-18-2011, 09:35 PM
Karl
rpmbuild provides seems broken
On Friday, November 18, 2011 11:09:55 PM Michael Schwendt wrote:
> > + install -m 644 x11/libglv.so.0.3
> > /home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64/usr/lib64
>
> Should be mode 0755.
That fixes the problem. Thanks for the help.
-Karl
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
11-18-2011, 10:42 PM
Panu Matilainen
rpmbuild provides seems broken
On 11/18/2011 12:26 PM, Karl wrote:
> I have a small library RPM which built OK on Fedora 13 but is broken on Fedora
> 16. Rpmbuild reports that the shared library in the package is required by
> the package itself. There is no "Provides" line, and when I try to install
> the RPM it reports:
>
> error: Failed dependencies:
> libglv.so.0()(64bit) is needed by libglv0-0.3.1-1.x86_64
>
> If I run /usr/lib/rpm/find-provides manually on the libraries it reports the
> correct information:
>
> libglv.so.0()(64bit)
I see the actual issue got already solved, but just FWIW:
/usr/lib/rpm/find-provides and -requires haven't been used by rpm in
ages, unless overridden by spec/configuration (and you do not want to do
that, those old scripts will miss all sorts of things)
These days the equivalent thing to find-provides/requires is running
/usr/lib/rpm/rpmdeps --provides|--requires, that'll give the same
results as you'd get while building, unless the spec contains tweaks to
the dependency generation (it can be filtered, various bits and pieces
overridden etc).
- Panu -
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines