Solution: Re: Could not open debufiles.list on Redhat 9 kernel

Jay Denebeim (
Sun, 13 Jul 2003 10:23:20 -0700 (MST)

On 13 Jul 2003, Martin List-Petersen wrote:

> Yep .. all -b switches have been moved from rpm to rpmbuild.

I'm aware of that. There's a better way BTW that's documented in the RPM
man page. There's a file called /etc/popt that you can put a bunch of
macros in to cause rpm to call rpmbuild. This is a much cleaner
implementation since it works for all of the packages that use RPM rather
than just the kernel.

> So if you edit the Makefile, replacing call of "rpm" with "rpmbuild" it
> works.

Unfortunately, this has nothing to do with my problem. That was something
that happened in redhat 8 not 9. The redhat 9 feature creates a debug
package for every package you create, at least it tries to. This
aparently doesn't work for the kernel. I don't know exactly what the
mechinisim is.

Anyway, I got a helpful e-mail from a redhat person. I'm still compliling
the kernel now, but what he told me is you need to change

%_enable_debug_packages 1


%_enable_debug_packages %{nil}

not 0. In /usr/lib/rpm/redhat/macros

If you have this problem try it and see if it works.

Thanks to everyone for all the help

* Jay Denebeim  Moderator *
* newsgroup submission address:                *
* moderator contact address:        *
* personal contact address:             *

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at