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


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

Bug#1035941: linux-image-amd64: too much space needed to build

Started byClaude Heiland-Allen <claude@mathr.co.uk>
First post2023-05-11 14:40 +0200
Last post2023-05-11 15:30 +0200
Articles 3 — 3 participants

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


Contents

  Bug#1035941: linux-image-amd64: too much space needed to build Claude Heiland-Allen <claude@mathr.co.uk> - 2023-05-11 14:40 +0200
    Bug#1035941: linux-image-amd64: too much space needed to build Diederik de Haas <didi.debian@cknow.org> - 2023-05-11 15:30 +0200
    Processed: Re: Bug#1035941: linux-image-amd64: too much space  needed to build "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-05-11 15:30 +0200

#79030 — Bug#1035941: linux-image-amd64: too much space needed to build

FromClaude Heiland-Allen <claude@mathr.co.uk>
Date2023-05-11 14:40 +0200
SubjectBug#1035941: linux-image-amd64: too much space needed to build
Message-ID<GudKp-88hv-1@gated-at.bofh.it>
Package: linux-image-amd64
Severity: normal
X-Debbugs-Cc: claude@mathr.co.uk

Dear Maintainer,

   * What led up to the situation?

I tried to build locally-patched kernel debs:

sudo apt build-dep linux-image-6.1.0-8-amd64-unsigned
apt source linux-image-6.1.0-8-amd64-unsigned
cd linux-6.1.25
# make changes to source code
debuild -i -us -uc -b

   * What was the outcome of this action?

I ran out of disk space.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I freed up more space, but even with 53GB available it ran out.

   * What outcome did you expect instead?

The build process to use a reasonable amount of space,
perhaps by cleaning up artifacts after each output deb
before starting to build the next output deb.

Documentation of the required amount of disk space would be nice.

Thanks for your work on this package,


Claude


-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (990, 'testing-security'), (990, 'testing'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-8-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-amd64 depends on:
pn  linux-image-6.1.0-8-amd64  <none>

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

[toc] | [next] | [standalone]


#79031

FromDiederik de Haas <didi.debian@cknow.org>
Date2023-05-11 15:30 +0200
Message-ID<GuewN-88Np-3@gated-at.bofh.it>
In reply to#79030

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

Control: reassign -1 debian-kernel-handbook 1.0.21
Control: severity -1 wishlist
Control: retitle -1 debian-kernel-handbook: Paragraph 4.5.1.1. Disk space requirements needs an update (from 2018 numbers)?

On Thursday, 11 May 2023 14:33:40 CEST Claude Heiland-Allen wrote:
> I freed up more space, but even with 53GB available it ran out.
> 
>    * What outcome did you expect instead?
> 
> The build process to use a reasonable amount of space,
> perhaps by cleaning up artifacts after each output deb
> before starting to build the next output deb.
> 
> Documentation of the required amount of disk space would be nice.

The kernel is a big package and if you don't restrict what's getting build via
f.e. build profiles then it will need a lot of space. Especially debug packages
can get rather large. But it could be that the numbers mentioned in the 
debian-kernel-handbook are a bit too optimistic.

"Building binary packages for a single kernel flavour requires up to 15 GB space"
could be technically correct, but unless you're 'deep' into Debian kernel
building, you likely won't spot the importance of the chosen words.
IOW: newbies likely assume they need 15GB of disk space, while that's only
true in specific circumstances (as described in 4.5.5).

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


#79032 — Processed: Re: Bug#1035941: linux-image-amd64: too much space needed to build

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-05-11 15:30 +0200
SubjectProcessed: Re: Bug#1035941: linux-image-amd64: too much space needed to build
Message-ID<GuewN-88Np-1@gated-at.bofh.it>
In reply to#79030
Processing control commands:

> reassign -1 debian-kernel-handbook 1.0.21
Bug #1035941 [linux-image-amd64] linux-image-amd64: too much space needed to build
Bug reassigned from package 'linux-image-amd64' to 'debian-kernel-handbook'.
Ignoring request to alter found versions of bug #1035941 to the same values previously set
Ignoring request to alter fixed versions of bug #1035941 to the same values previously set
Bug #1035941 [debian-kernel-handbook] linux-image-amd64: too much space needed to build
Marked as found in versions kernel-handbook/1.0.21.
> severity -1 wishlist
Bug #1035941 [debian-kernel-handbook] linux-image-amd64: too much space needed to build
Severity set to 'wishlist' from 'normal'
> retitle -1 debian-kernel-handbook: Paragraph 4.5.1.1. Disk space requirements needs an update (from 2018 numbers)?
Bug #1035941 [debian-kernel-handbook] linux-image-amd64: too much space needed to build
Changed Bug title to 'debian-kernel-handbook: Paragraph 4.5.1.1. Disk space requirements needs an update (from 2018 numbers)?' from 'linux-image-amd64: too much space needed to build'.

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

[toc] | [prev] | [standalone]


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


csiph-web