2003-07-13 17:08:19

by Jay Denebeim

[permalink] [raw]
Subject: Solution: Re: Could not open debufiles.list on Redhat 9 kernel compile

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

to

%_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

--
* Jay Denebeim Moderator rec.arts.sf.tv.babylon5.moderated *
* newsgroup submission address: [email protected] *
* moderator contact address: [email protected] *
* personal contact address: [email protected] *