#797592 chroots: Please add option to install extra packages to base chroots (at debootstrap time)

#797592#5
Date:
2015-08-31 19:09:39 UTC
From:
To:
Hi,

I have just noticed that a build chroot does not have aptitude
installed. If the aptitude resolver is used, this results in aptitude
being installed over and over for every build process.

Is this intentional? If not, aptitude should be part of a build chroot
that is intended to be used with the aptitude resolver.

Greetings
Marc

#797592#10
Date:
2016-02-10 17:14:30 UTC
From:
To:
Hi Marc,

that actually is sort of "intentional"; more precisely, all chroots are
generic, and may potentially be used by any mini-buildd repository --
only the build requests determine what resolver to be used.

Maybe just having aptitude pre-installed generally actually brings more
benefits than harm -- in that case, however, I would like to see
'debootstrap --varinat=buildd' bringing this in.

What mini-buildd *could* do is some instance-global
"chroot_extra_packages" option, so the administrator may override
debootstrap if he wants to.

Keep this open for that?

HtH!

S

#797592#15
Date:
2016-02-11 16:56:22 UTC
From:
To:
You're right.

Sounds good.

Greetings
Marc

#797592#22
Date:
2022-06-12 20:40:51 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mini-buildd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 797592@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephan Sürken <absurd@debian.org> (supplier of updated mini-buildd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 12 Jun 2022 21:54:46 +0200
Source: mini-buildd
Architecture: source
Version: 1.9.108
Distribution: experimental
Urgency: medium
Maintainer: Stephan Sürken <absurd@debian.org>
Changed-By: Stephan Sürken <absurd@debian.org>
Closes: 797592
Changes:
 mini-buildd (1.9.108) experimental; urgency=medium
 .
   Breaking and fixing some porcelain again to solve runtime issues around
   "ls && big repos", and misc other mostly 'user convenience' updates:
 .
   * [c0ae68d] fix(call_with_retry): Retry log should be' warning', not
     'error'
   * [6f96634] doc(keyring-packages): Add tip about urold ``apt-key add``
     support (or the lack thereof)
   * [1a1367d] refactor(API): Add "show" (formerly "ls") and make "ls"
     simple (and fast)
   * [e9df3ae] fix(devel): Update to --log-level instead of deprecated
     --verbose
   * [f510245] refactor(API): Make 'Show' derive from 'Ls'
   * [4a87134] fix(api): ls: Move limiter options back
   * [6c4b0e2] feature(API): dput_conf: Add support for a local config
     snippet
   * [e4628be] feature(API): Distribution argument: Add support to get
     dist()
   * [2871749] style(pylint): Pimp up 'max-bool-expr' to 10
   * [c08cb19] refactor(repository): Simplify mbd_parse_dist[str]
     methods/functions: Simply two, oo-class functions
   * [d42970c] refactor(reprepro): Add new class 'Ls' for (later) use
     (merge all needed code here, w/ some doctests)
   * [be3a608] refactor(reprepro): Add ls() method (new style, for later
     use), mark to-be obsoleted methods
   * [7a1ad8f] reafactor(API): Update to new reprepo/ls setup
   * [75544f5] reafactor(repository): Update (partly) to new reprepo/ls
     setup
   * [d93eae5] refactor(api/ls.html): Update to new reprepo/ls setup
   * [b3ac0d5] refactor(api/show.html): Update to new reprepo/ls setup
   * [48a97a7] refactor(reprepro): exists(): Allow context message string
     in 'raise_exception' arg
   * [8615d71] refactor(package, repository); Update all find[_in] to new
     reprepro/ls style
   * [6ac1569] refactor(reprepro): Drop find, find_in, ils (obsoleted)
   * [3c3b9e0] style(repository.py): Bulk fix internal vars to match
     conventions
   * [3f371cd] feature(api): Drop API calls "list" and "find"
   * [b9df5f3] style(mini_buildd.js): Fix wording 'API Call' -> 'API call'
   * [9505d5e] feature(ls, html): Gather codenames in Ls (as class var) &&
     update ls.html to merely have 'codename links' to "show"
   * [a5afc44] feature(emacs example mini-buildd.el): Support new option
     "add-depends"
   * [2e0d6d7] fix(setup, py-argcomplete): Add compat for executable name
     change in 2.0.0 (fixes bash-completion bookworm+)
   * [d9ca421] devel(html-filter-icons): Add little tool to search for
     icons
   * [71c5285] fix(repositories/index.html): Add missing per repo "external
     doc" link
   * [b139586] refactor(guess_codename): Accept (vendor, codename, version)
     args, not release object
   * [31b6113] doc(API debmirror): Document debmirror bug/behavior not
     mirroring contents for *experimenal* suites
   * [ba11705] doc(API:debmirror): Fix typo in description
   * [112e649] refactor(distro info): Add abstract class, support
     mbd_codeversion
   * [5cc8706] refactor(dist): Add Codename class (fixes codename ordering)
   * [8920346] refactor(dist): Move guess_codeversion() to DistroInfo
   * [5a0af97] fix(DistroInfo.mbd_guess_codeversion): Make work for single-
     number "version"s
   * [ec64739] doc(devel): pylint: Fix hint to configuration
   * [e8bfaef] devel(pylint): Drop extra run with 'locally-disabled' only
     -- recent pylints seem to behave as expected (i.e., not fail and issue
     info logs)
   * [ae7ae45] refactor(dist.py): DistroInfo: Rename distro() ->
     mbd_vendor() (our naming && prefix)
   * [1b34f8d] doc(devel): Add note/issue (pydocstyle not parsable)
   * [158e0b6] devel(dist.py): List all codenames on __main__
   * [bc9145e] fix(DebianDistroInfo.mbd_codeversion): Make only return
     str, not DebianVersion
   * [886aa39] refactor(codeversion): Merge/remove redundancy: from Release
     file / from DistroInfo
   * [0577578] feature(DistroInfo, Codename): Add "cmpversion support"
     (fixes Codename sorting for Debian unstable, testing)
   * [847699c] fix(Source): Don't fail if Release lacks a "Description"
   * [a472638] refactor: Put (optional) DISTRO_INFO into own global dict
   * [565f4ce] refactor: Update Codename for generic use && sort Source via
     Codeanme
   * [1cc3762] fix(Repository.mbd_sorted_distributions): Don't revert sort
     (in-sync with Codename sorting)
   * [6a36190] doc(Source): Sync __str__() w/ Codename
   * [74c33bb] doc/style(*): Rephrase "vendor" -> "origin"
   * [5d9de97] refactor(dist.py): Drop mbd_codeversion from DistroInfo
   * [2ae13d6] fix(Codename.__eq__): Should use origin,codename, not
     origin,version
   * [eb9c936] style(setup.cfg, pylint): Drop all 'issue 516 local
     workarounds' (in favor of 'good-names workaround' in setup.cfg)
   * [c6d3a5a] style(setup.cfg, pylint): [register, urlpatterns] Drop
     'django invalid name local workarounds' (in favor of 'good-names
     workaround' in setup.cfg)
   * [813d77d] fix(builtins): mbd_model_stats: Avoid using "eval"
   * [9bb652a] setup.cfg(pylint): Handle 'no-member' false-positives from
     gpg && twisted like those from django
   * [a8efc7a] setup.cfg(pylint): Handle twisted naming oddity via 'good-
     names' in setup.cfg
   * [383cfdf] fix(api.py):Show.run: Iterate ls values directly (avoids
     pylint except)
   * [4c92e03] redactor(dist.py): Simplify/harden Codename
   * [2331ca1] refactor(dist.py): Simplify, only supply "codeversion"
     function
   * [347f78b] doc(devel): Clean up profiles; always add origin archives
     for dist selection profiles
   * [6f898d3] fix(Source): is_matching_release() ->
     check_matching_release(): Is only called once, and there we raise
     anyway (enables precise error message)
   * [5c55977] refactor(Source): Integrate check_matching_release() init
     ReleaseFile.match()
   * [c72016e] fix(API setup): Distribution, Chroot: 'archs' defaults
     value: Only use host archs actually supported by source
   * [11b9d49] fix(Source.Admin.mbd_filter_active_base_sources): Replace
     hardcoded 'known origin' list (rather use from setup)
   * [66bd4d1] doc(Source): Yet again improve error handling on "no archive
     found" (keep all failed w/ exceptions, construct longish exception on
     error)
   * [2820e06] refactor(base.py): Add pub tool func 'mbd_message' (django
     message from exception, special multiline support)
   * [2280a88] feature(ExceptionMiddleware): Try to deliver message on
     error as well
   * [ececb7d] doc(exception): No details: Rather phrase 'no public
     details' and add (HTML) hint to daemon log
   * [498674c] fix(HTTPError): Make "detail" available as class var
   * [a045166] refactor,fix(dist.py): Harden origin_from_setup, and rename
     guess_origin
   * [b2c43aa] style(dist.py): Fixup code ordering, name "codeversion"
     "guess_codeversion" again (as that's what it does, I guess)
   * [4b78367] style,doc(mbd_message): Update && 'renice'
   * [de954f2] fix(Archive.ReleaseFile): Should raise 404 not 503 if
     Release file can't be found
   * [eec880f] feature(chroot): Add support to add arbitrary debootstrap
     options (Closes: 797592)
   * [56355ce] refactor(Chroot.Admin): Remove unused method
     'mbd_host_architecture'
   * [15bb900] fix(testsuite-packages/installed-options):
     deb_build_profiles: Only test for amd64,i386 as in changelog (fixes
     false-negative on other archs)
   * [49b277f] refactor(dist, source): "native arch(s)": Instead of several
     spread-out methods, use NATIVE_ARCH(S) globals in dist.py
   * [7e3927e] feature(API setup): Add --chroots-extra-architecture,
     --repositories-extra-architectures: Makes non-native archs available
     via setup
   * [74370af] feature(API setup): Add (limited) support for origin
     "PureOS"
Checksums-Sha1:
 79ac9825a6060a3cb8f7acd1e43e43e3e51a3c5e 2273 mini-buildd_1.9.108.dsc
 7f35a39a9059304afea145fca41cc336492a489a 532444 mini-buildd_1.9.108.tar.xz
 5e6a5051ebff40a05c6158b2fd12806d9b4dc411 11537 mini-buildd_1.9.108_source.buildinfo
Checksums-Sha256:
 bdc250d3c1f5a23500175d0192f873f004a3bf74e0f8c0790fe4d56d1a78e870 2273 mini-buildd_1.9.108.dsc
 ec9c86eacdbd54674224b9d95f75dcb17505e425ab9f9b6c552b0dd867e8a02f 532444 mini-buildd_1.9.108.tar.xz
 9ad104369bb8ca3facd04ff24a424cbfd394a1ff852422fec2ef3df1a1869531 11537 mini-buildd_1.9.108_source.buildinfo
Files:
 2299684b7c7153b5c5534456f091c89e 2273 devel optional mini-buildd_1.9.108.dsc
 ed0bbb6ac239e656844e78288e45fa37 532444 devel optional mini-buildd_1.9.108.tar.xz
 9f024a7128451fbfabb5b94eaf513f68 11537 devel optional mini-buildd_1.9.108_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEVOttCJ+jfBmmRZCzBm3oAX4rYdkFAmKmRucSHGFic3VyZEBk
ZWJpYW4ub3JnAAoJEAZt6AF+K2HZyooP/jgF5dioF2jEYi6lagxnyWSFRHNKXOiP
8XUf5VWBBAGorwYb6Pqf1iYOwtcgpQoOqiz0b74iPXgjqO3l9CmLk2Q/ibLb5afP
1PztUIsmqLSdj8D9sKLZKlHUQbodjcTpDIsDxqTg+7Z7yVszkBTDCg5XSrxChtk6
tGSgi6kyMlyuxJnfBxSEHzOChThW83upqOH3MJtrl+8JaBD2m0MhJb/4TpnElgO2
3XxNCQirYpCoI1NH2ZXyq2UQMVEV39c9fJdWWRv6nv2uCn0dFQCfvryRzYao2j2d
daTQ8dPVC0bh8f/eb0ZTa2/4EnQWm3LXJmc/Ow0MfxeDbukTrbG+70D5lBZRCcZF
FyaHPi42uvpHZd/gcJmK/7242E0b3Uy1SGZojtAhHY5FWZ6mWDaaaxQWPDp8wGJd
+BNfHiu+T5Z+7XBkqbQAvpRyjJCdiR7lAB0GaYvr47OwpjoTf8HqUm0EN2RIYX17
eO/40jdlUpHrql+ZL/m5tvsIgQIJ1RnAW+3R1kfCVUpMsvq3PfYbjlM8XkRN6T9I
MejxOzP3BVg6AnjhjbUDbSwOCZzdJneMzfC8/0+pu9qgDfi/uBu35sWZuKKik6Q2
u+6LIsFa3qb/uZnoSex/RYJDDI0OH1lF7jc4zo6S2p7qpOj6pFjIn/LDMrRX599o
XKGrZRqLRAyb
=Ajp6
-----END PGP SIGNATURE-----