/usr/lib/debug ownership
Michael Schwendt
mschwendt at gmail.com
Fri Feb 15 20:47:39 UTC 2013
On Fri, 15 Feb 2013 13:03:50 +0100, Alec Leamas wrote:
> On 02/14/2013 11:19 PM, Michael Schwendt wrote:
> > On Thu, 14 Feb 2013 16:36:03 +0100, Alec Leamas wrote:
> >
> >> Running some automated tests I stumble over the debug directories. E. g.,
> >>
> >> $ repoquery -qf /usr/lib/debug
> >>
> >> shows 45 owners on current F18. Other directories under /usr/lib/debug
> >> have a similar situation with many owners..
> >>
> >> I note that /usr/src/debug is owned by filesystem, but filesystem does
> >> not own /usr/lib/debug.
> >>
> >> Is all this on purpose, or is something broken here? Thinking about it,
> >> we never require anything for the debug package AFAICT. What's the story?
> > It depends on what the package stores below /usr/lib/debug.
> > Here's one that is mispackaged:
> >
> > # repoquery -qf /usr/lib/debug
> > nacl-devel-0:20110221-3.fc19.i686
> >
> > -> http://koji.fedoraproject.org/koji/rpminfo?rpmID=3336721
> >
> > It includes the -debuginfo package contents in the -devel package, most
> > likely because it does a lazy'n'risky %{_libdir}/* in its %files section.
> >
> Thanks for reply... Still, I'm puzzled about 45 packages owning
> /usr/lib/debug, none of them the filesystem package. This looks weird,
> although I don't grasp the consequences (if any).
Which packages are returned for your query?
I've tried "repoquery --whatprovides /usr/lib/debug" for both x86_64
and i686, but it doesn't return anything other than nacl-devel.
Do you have any -debuginfo packages installed from a -debuginfo repo?
Those do own /usr/lib/debug and /usr/src/debug.
rpm -qa \*debuginfo
More information about the devel
mailing list