Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #68078 > unrolled thread

Bug#970011: linux: missing build dependency on kernel-wedge in stage1 build

Started byHelmut Grohne <helmut@subdivi.de>
First post2020-09-10 07:10 +0200
Last post2020-09-19 18:10 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#970011: linux: missing build dependency on kernel-wedge in stage1 build Helmut Grohne <helmut@subdivi.de> - 2020-09-10 07:10 +0200
    Processed: Re: Bug#970011: linux: missing build dependency on  kernel-wedge in stage1 build "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-09-11 16:00 +0200
    Bug#970011: linux: missing build dependency on kernel-wedge in stage1 build Ben Hutchings <ben@decadent.org.uk> - 2020-09-11 16:00 +0200
    Bug#970011: marked as done (linux: missing build dependency on  kernel-wedge in stage1 build) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-09-19 18:10 +0200

#68078 — Bug#970011: linux: missing build dependency on kernel-wedge in stage1 build

FromHelmut Grohne <helmut@subdivi.de>
Date2020-09-10 07:10 +0200
SubjectBug#970011: linux: missing build dependency on kernel-wedge in stage1 build
Message-ID<ANn0l-1PC-3@gated-at.bofh.it>
Source: linux
Version: 5.8.7-1
Severity: important
User: helmutg@debian.org
Usertags: rebootstrap

Hi,

I'm run into a bootstrap failure caused by linux:
https://jenkins.debian.net/job/rebootstrap_hppa_gcc10/9/
| dh_prep
| dh_prep: warning: All requested packages have been excluded (e.g. via a Build-Profile or due to architecture restrictions).
| kernel-wedge install-files 5.8.0-1
| bash: kernel-wedge: command not found
| make[2]: Leaving directory '/tmp/buildd/linux/linux-5.8.7'
| make[2]: *** [debian/rules.real:573: install-udeb_hppa] Error 127
| make[1]: Leaving directory '/tmp/buildd/linux/linux-5.8.7'
| make[1]: *** [debian/rules.gen:89: binary-arch_hppa] Error 2
| make: *** [debian/rules:43: binary-arch] Error 2
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2

What we see here is that kernel-wedge is not found while cross building
linux with the stage1 profile for hppa. This seems to be a recent thing.
It used to work earlier. I'm not sure yet, how many other architectures
are affected.

A kernel-wedge dependency is there, but it is tagged <!stage1>. That
used to be true.

Do note that the failing target is install-udeb_hppa and that in a
stage1 build, we don't produce any udebs. So in reality it seems more
likely that the whole target should be skipped, but isn't. The target
seems to be pulled in by debian/rules.gen, but that's about where I
stopped understanding the logic. Can I ask you to look into this?

In the mean time, I guess installing kernel-wedge is a viable
workaround.

While looking into linux' build profiles I was wondering whether we
still need stage1. linux gained a number of functional profiles
including pkg.linux.nokernel, pkg.linux.notools and pkg.linux.nosource.
Their combination does not exactly reproduce stage1, but it is close.
I'm wondering whether we can simply switch any stage1 user to using the
combination of these three and be done. I haven't tried whether this
actually works yet, but I believe it is feasible and you get the idea.

Helmut

[toc] | [next] | [standalone]


#68094 — Processed: Re: Bug#970011: linux: missing build dependency on kernel-wedge in stage1 build

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-09-11 16:00 +0200
SubjectProcessed: Re: Bug#970011: linux: missing build dependency on kernel-wedge in stage1 build
Message-ID<ANRKN-4k6-1@gated-at.bofh.it>
In reply to#68078
Processing control commands:

> tag -1 pending
Bug #970011 [src:linux] linux: missing build dependency on kernel-wedge in stage1 build
Added tag(s) pending.

-- 
970011: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970011
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#68095

FromBen Hutchings <ben@decadent.org.uk>
Date2020-09-11 16:00 +0200
Message-ID<ANRKN-4k6-3@gated-at.bofh.it>
In reply to#68078

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 pending

On Thu, 2020-09-10 at 06:59 +0200, Helmut Grohne wrote:
> Source: linux
> Version: 5.8.7-1
> Severity: important
> User: helmutg@debian.org
> Usertags: rebootstrap
> 
> Hi,
> 
> I'm run into a bootstrap failure caused by linux:
> https://jenkins.debian.net/job/rebootstrap_hppa_gcc10/9/
> > dh_prep
> > dh_prep: warning: All requested packages have been excluded (e.g. via a Build-Profile or due to architecture restrictions).
> > kernel-wedge install-files 5.8.0-1
> > bash: kernel-wedge: command not found
> > make[2]: Leaving directory '/tmp/buildd/linux/linux-5.8.7'
> > make[2]: *** [debian/rules.real:573: install-udeb_hppa] Error 127
> > make[1]: Leaving directory '/tmp/buildd/linux/linux-5.8.7'
> > make[1]: *** [debian/rules.gen:89: binary-arch_hppa] Error 2
> > make: *** [debian/rules:43: binary-arch] Error 2
> > dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
> 
> What we see here is that kernel-wedge is not found while cross building
> linux with the stage1 profile for hppa. This seems to be a recent thing.
> It used to work earlier. I'm not sure yet, how many other architectures
> are affected.

This is specific to hppa.  It recently gained transitional metapackages
with no build-profiles set, and that made the condition here true:

install-udeb_$(ARCH):
# Logically we should check for %-di here, but that would break test builds
ifneq (,$(filter linux-image-%,$(packages_enabled)))
...
endif
endif  # enabled

> A kernel-wedge dependency is there, but it is tagged <!stage1>. That
> used to be true.

It should still be true; there is no reason to run kernel-wedge, and it
would fail if it was installed anyway.

[...]
> While looking into linux' build profiles I was wondering whether we
> still need stage1. linux gained a number of functional profiles
> including pkg.linux.nokernel, pkg.linux.notools and pkg.linux.nosource.
> Their combination does not exactly reproduce stage1, but it is close.
> I'm wondering whether we can simply switch any stage1 user to using the
> combination of these three and be done. I haven't tried whether this
> actually works yet, but I believe it is feasible and you get the idea.

I think that would be more fragile than the clearly defined stage1.

Ben.

-- 
Ben Hutchings
Never put off till tomorrow what you can avoid all together.


[toc] | [prev] | [next] | [standalone]


#68174 — Bug#970011: marked as done (linux: missing build dependency on kernel-wedge in stage1 build)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-09-19 18:10 +0200
SubjectBug#970011: marked as done (linux: missing build dependency on kernel-wedge in stage1 build)
Message-ID<AQNAZ-4Ra-3@gated-at.bofh.it>
In reply to#68078

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sat, 19 Sep 2020 16:02:01 +0000
with message-id <E1kJfJJ-00038k-RS@fasolo.debian.org>
and subject line Bug#970011: fixed in linux 5.8.10-1
has caused the Debian Bug report #970011,
regarding linux: missing build dependency on kernel-wedge in stage1 build
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
970011: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970011
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web