🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5109

Bug#1154478: sbuild: fails if BUILD_DIR doesn't already exist

#5109
From: Jarl Gullberg
Date: Thu, 19 Nov 2026 14:30
44 lines
3011 bytes
Package: sbuild
Version: 0.91.11
Severity: normal

Dear Maintainer,

sbuild does not currently handle the case where BUILD_DIR does not
exist, failing with "Error reading configuration: BUILD_DIR directory
'...' does not exist".

It'd be nice if sbuild created the BUILD_DIR recursively if it does not
already exist. This is especially useful when BUILD_DIR is dynamically
defined based on other configuration or command-line switches, such as
the name of the distribution or architecture.

-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.117+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sbuild depends on:
ii  adduser         3.152
pn  libsbuild-perl  <none>
ii  perl            5.40.1-6+deb13u1

Versions of packages sbuild recommends:
pn  autopkgtest  <none>
pn  debootstrap  <none>
ii  iproute2     6.15.0-1
pn  mmdebstrap   <none>
pn  schroot      <none>
pn  uidmap       <none>

Versions of packages sbuild suggests:
ii  e2fsprogs  1.47.2-3+b12
ii  kmod       34.2-2
ii  wget       1.25.0-2
Technical Details
Message-ID: <O1bjb-cU0g-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Jarl Gullberg <jarl.gullberg@visar-systems.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154478: sbuild: fails if BUILD_DIR doesn't already exist
Date: Thu, 19 Nov 2026 15:30:01 +0100
Message-ID: <O1bjb-cU0g-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 19 14:21:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Jarl Gullberg <jarl.gullberg@visar-systems.com>, 1154478@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sbuild@packages.debian.org
X-Debian-Pr-Message: report 1154478
X-Debian-Pr-Package: sbuild
X-Debian-Pr-Source: sbuild
Authentication-Results: ste-pvt-msa1.bahnhof.se (amavisd-new);
	dkim=pass (2048-bit key) header.d=visar-systems.com
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003559
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 44
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 19 Nov 2026 15:11:00 +0100
X-Original-Message-ID: <179509746047.923.17909154944349804854.reportbug@debian>