Debian Bug report logs - #875445
sbuild: Allow the user to override the dpkg-buildpackage command

version graph

Package: sbuild; Maintainer for sbuild is sbuild maintainers <sbuild@packages.debian.org>; Source for sbuild is src:sbuild (PTS, buildd, popcon).

Reported by: Ximin Luo <infinity0@debian.org>

Date: Mon, 11 Sep 2017 13:09:05 UTC

Severity: wishlist

Tags: moreinfo

Found in version sbuild/0.73.0-4

Blocking fix for 847805: reprotest: document/support simple reproducibility test with sbuild

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>:
Bug#875445; Package sbuild. (Mon, 11 Sep 2017 13:09:07 GMT) (full text, mbox, link).


Acknowledgement sent to Ximin Luo <infinity0@debian.org>:
New Bug report received and forwarded. Copy sent to Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>. (Mon, 11 Sep 2017 13:09:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ximin Luo <infinity0@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: sbuild: Allow the user to override the dpkg-buildpackage command
Date: Mon, 11 Sep 2017 15:07:48 +0200
Package: sbuild
Version: 0.73.0-4
Severity: wishlist
Control: block 847805 by -1

Dear Maintainer,

In order to make some build variations effective, reprotest(1) wraps the
user's build command in various wrappers like faketime(1), setarch(8), etc.

In sbuild, some of this can be done with --pre-build-commands but not all of
them. It would be good if sbuild(1) allowed the user to specify an override for
the dpkg-buildpackage invocation itself, something like

sbuild --builder='faketime +373days+7hours+13minutes linux32 dpkg-buildpackage'

etc.

X

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (300, 'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser         3.116
ii  libsbuild-perl  0.73.0-4
ii  perl            5.26.0-5

Versions of packages sbuild recommends:
ii  autopkgtest  4.4
ii  debootstrap  1.0.91
ii  schroot      1.6.10-4

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  kmod       24-1
ii  wget       1.19.1-4

-- no debconf information



Added indication that bug 875445 blocks 847805 Request was from Ximin Luo <infinity0@debian.org> to submit@bugs.debian.org. (Mon, 11 Sep 2017 13:09:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, sbuild maintainers <sbuild@packages.debian.org>:
Bug#875445; Package sbuild. (Mon, 02 Jul 2018 12:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Johannes Schauer <josch@debian.org>:
Extra info received and forwarded to list. Copy sent to sbuild maintainers <sbuild@packages.debian.org>. (Mon, 02 Jul 2018 12:03:03 GMT) (full text, mbox, link).


Message #12 received at 875445@bugs.debian.org (full text, mbox, reply):

From: Johannes Schauer <josch@debian.org>
To: infinity0@debian.org
Cc: 875445@bugs.debian.org
Subject: Re: sbuild: Allow the user to override the dpkg-buildpackage command
Date: Mon, 02 Jul 2018 13:59:47 +0200
[Message part 1 (text/plain, inline)]
Control: tag -1 + moreinfo

Hi,

On Mon, 11 Sep 2017 15:07:48 +0200 Ximin Luo <infinity0@debian.org> wrote:
> In order to make some build variations effective, reprotest(1) wraps the
> user's build command in various wrappers like faketime(1), setarch(8), etc.
> 
> In sbuild, some of this can be done with --pre-build-commands but not all of
> them. It would be good if sbuild(1) allowed the user to specify an override for
> the dpkg-buildpackage invocation itself, something like
> 
> sbuild --builder='faketime +373days+7hours+13minutes linux32 dpkg-buildpackage'
> 
> etc.

how is the BUILD_ENV_CMND configuration variable not sufficient for your
use-case?

Thanks!

cheers, josch
[signature.asc (application/pgp-signature, inline)]

Added tag(s) moreinfo. Request was from Johannes Schauer <josch@debian.org> to 875445-submit@bugs.debian.org. (Mon, 02 Jul 2018 12:03:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 09:23:39 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.