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


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

Bug#873373: parallel building of kernel package seems broken

Started byRoger Shimizu <rogershimizu@gmail.com>
First post2017-08-27 08:20 +0200
Last post2017-08-28 15:10 +0200
Articles 3 — 2 participants

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


Contents

  Bug#873373: parallel building of kernel package seems broken Roger Shimizu <rogershimizu@gmail.com> - 2017-08-27 08:20 +0200
    Bug#873373: marked as done (parallel building of kernel package  seems broken) owner@bugs.debian.org (Debian Bug Tracking System) - 2017-08-27 18:10 +0200
    Bug#873373: parallel building of kernel package seems broken Roger Shimizu <rogershimizu@gmail.com> - 2017-08-28 15:10 +0200

#58766 — Bug#873373: parallel building of kernel package seems broken

FromRoger Shimizu <rogershimizu@gmail.com>
Date2017-08-27 08:20 +0200
SubjectBug#873373: parallel building of kernel package seems broken
Message-ID<uiZ5n-3NF-1@gated-at.bofh.it>
Package: src:linux
Version: 4.9.30-2+deb9u3
Severity: normal

Dear Maintainer,

In d/changelog, I read there's support for "DEB_BUILD_OPTIONS=parallel=N",
but this setting seems broken.  No actual parallel compiling is proceeded,
as I spotted by running "uptime" command several times during building.

Is anything else need to be set, or parallel building is turned off
because some other bugs?

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

[toc] | [next] | [standalone]


#58794 — Bug#873373: marked as done (parallel building of kernel package seems broken)

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2017-08-27 18:10 +0200
SubjectBug#873373: marked as done (parallel building of kernel package seems broken)
Message-ID<uj8il-1yf-1@gated-at.bofh.it>
In reply to#58766

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

Your message dated Sun, 27 Aug 2017 17:07:12 +0100
with message-id <1503850032.4448.3.camel@decadent.org.uk>
and subject line Re: Bug#873373: parallel building of kernel package seems broken
has caused the Debian Bug report #873373,
regarding parallel building of kernel package seems broken
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.)


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

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


#58804

FromRoger Shimizu <rogershimizu@gmail.com>
Date2017-08-28 15:10 +0200
Message-ID<ujrXI-5Zo-31@gated-at.bofh.it>
In reply to#58766
On Sun, Aug 27, 2017 at 3:14 PM, Roger Shimizu <rogershimizu@gmail.com> wrote:





On Mon, Aug 28, 2017 at 1:09 AM, Debian Bug Tracking System
<owner@bugs.debian.org> wrote:
> ---------- Forwarded message ----------
> From: Roger Shimizu <rogershimizu@gmail.com>
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Cc:
> Bcc:
> Date: Sun, 27 Aug 2017 15:14:17 +0900
> Subject: parallel building of kernel package seems broken
> Package: src:linux
> Version: 4.9.30-2+deb9u3
> Severity: normal
>
> Dear Maintainer,
>
> In d/changelog, I read there's support for "DEB_BUILD_OPTIONS=parallel=N",
> but this setting seems broken.  No actual parallel compiling is proceeded,
> as I spotted by running "uptime" command several times during building.
>
> Is anything else need to be set, or parallel building is turned off
> because some other bugs?
>
> ---------- Forwarded message ----------
> From: Ben Hutchings <ben@decadent.org.uk>
> To: 873373-done@bugs.debian.org
> Cc:
> Bcc:
> Date: Sun, 27 Aug 2017 17:07:12 +0100
> Subject: Re: Bug#873373: parallel building of kernel package seems broken
> On Sun, 2017-08-27 at 15:14 +0900, Roger Shimizu wrote:
>> Package: src:linux
>> Version: 4.9.30-2+deb9u3
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> In d/changelog, I read there's support for "DEB_BUILD_OPTIONS=parallel=N",
>> but this setting seems broken.  No actual parallel compiling is proceeded,
>> as I spotted by running "uptime" command several times during building.
>>
>> Is anything else need to be set, or parallel building is turned off
>> because some other bugs?
>
> It works for me and it looks like it works on the buildds.
>
> I use the dpkg-buildpackage -j option rather than directly setting an
> environment variable.  It might be that the way you start the build
> replaces or deletes this variable.

Thanks for this hint!
Looked up manpage of dpkg-buildpackage, I find option "-j" equals adding:
 - DEB_BUILD_OPTIONS
 - MAKEFLAGS

After adding MAKEFLAGS option, my script works as expected. [0]
Thanks again!

[0] https://wiki.debian.org/HowToCrossBuildAnOfficialDebianKernelPackage?action=diff&rev2=13&rev1=12

PS. Maybe you can also add this to the kernel handbook.

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

[toc] | [prev] | [standalone]


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


csiph-web