RPM debuginfo problems
Michael Schwendt
fedora at wir-sind-cool.org
Thu Sep 2 06:43:00 UTC 2004
On Wed, 1 Sep 2004 16:41:41 -0700 (PDT), Eric Smith wrote:
> When I try to rebuild Fedora RPMs, I routinely complaints like:
> error: Could not open %files file
> /home/esmith/rpmbuild/BUILD/kernel-utils-2.4/debugfiles.list: No such
> file or directory
>
> Google shows that many other people encounter this as well. The
> conventional wisdom seems to be that the solution is to edit the
> spec file to add:
> %define debug_package %{nil}
> Or (better) add to ~/.rpmmacros:
> %debug_package %{nil}
>
> While this does allow the RPM to be built, it is not a particularly
> satisfying solution. It seems unlikely that these SRPMS are being
> distributed in a broken state, so surely there must be some intent that
> they build correctly WITH a debug package as output. The Fedora
> download server does offer debuginfo RPMs for all of the packages for
> which I've seen this problem, so obviously it can be done.
>
> So my question is, how is this SUPPOSED to work? Why doesn't building
> these packages work correctly "out-of-the-box", and what is required to
> get it to do so?
Never heard about this problem before nor seen it myself.
$ cat ~/.rpmrc
include: /usr/lib/rpm/redhat/rpmrc
$ rpm -q redhat-rpm-config
redhat-rpm-config-8.0.28-1.1.1
What else does your ~/.rpmmacros contain?
More information about the fedora-devel-list
mailing list