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

Jay Denebeim (denebeim@deepthot.org)
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

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: b5mod@deepthot.org                *
* moderator contact address:    b5mod-request@deepthot.org        *
* personal contact address:     denebeim@deepthot.org             *

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/