Re: FTFBS in sarge
Manoj Srivastava <srivasta@debian.org> writes:
> On Fri, 03 Sep 2004 19:40:10 +0200, Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de> said:
>
>> Manoj Srivastava <srivasta@debian.org> writes:
>>> On Fri, 03 Sep 2004 00:42:53 +0200, Goswin von Brederlow
>>> <brederlo@informatik.uni-tuebingen.de> said:
>>>
>>>> I wonder if it would be possible to tell make-kpkg to build the
>>>> -all packages without invoking arch specific steps (which need the
>>>> right host arch). The binary-arch target could then be a nop for
>>>> the wrong archs and "dpkg-buildpackage -b" would work everywhere.
>>>
> __> man make-kpkg
>>> ... See the binary-indep and binary-arch above?
>
>> Yes. I know those targets exist as per policy. Thats doesn't mean
>> anything though. Normaly the binary-* targets call the configure and
>> build target and then you are back to square one.
>
> Umm, are we still talking about having make-kpkg doo something
> feasible? The original suggestion was to make it build the -all
> packages; that does not call build. the source package does not need
> things to be configured. The headers packages doo , because it would
> not make sense for them not to.
>
>> The problems with kernel-patch/image packages I saw were that it
>> loops in make oldconfig if the arch is wrong and no .config is
>> provided.
>
> Well, garbage in, garbage out. You can' get anything correct
> out of a kernel build if the arch is wrong; and make-kpkg
> can't yet do magic or read minds.
>
>> Does binary-indep work without running make oldconfig?
>
> No, since kerel headers are useless without running oldconfig.
Then -all can't build on foreign archs and the package should refuse
to try. Strangely enough some kernel-patch/image packages build fine
on foreign archs. I haven't looked at what they do but it seems to
work. Maybe they use the kernels default config to avoid loops in
oldconfig.
>>>> PS: Maybe something for the ToDo post sarge.
>>>
>>> Or, if one reads the man page, something that can be done now.
>
>> To do for the kernel-patch/image packages. Some packages had bugs
>> against this and aparently been somehow fixed (like ppc) while other
>> haven't (like s390). But its not realy sarge critical.
>
> Uh, what?
I never saw a requirement for -all packages to be rebuildable on all
archs in the sarge requirements. Till now I always believed that
binary-indep packages must be buildable on the archs where it also has
binary-arch packages. Since -all packages are usualy build by the
maintainer and uploaded that is just how it works.
So as long as the binary-indep builds on some arch I wouldn't call a
build failure sarge RC. If kernel-image-s390 doesn't build on mips I
can certainly live with that.
> manoj
MfG
Goswin
PS: IMHO the problem is not that it fails to build but when it loops
in oldconfig, fills up the FS and breaks a buildd.
Reply to: