[buildd-tools-devel] sbuild 0.62.3 released
Roger Leigh
rleigh at codelibre.net
Tue Jun 14 21:41:12 UTC 2011
Hi,
I have released sbuild version 0.62.3. This is a bugfix release
which does not contain any major new features.
The major changes of interest are
- the apt resolver change to make it 100% compatible with internal
when resolving alternatives
- sbuild is arch-any again, following the removal of the schroot
wrapper program used to implement privilege separation. This
wrapper will be moved to schroot in the next release, at which
point it can be re-enabled.
- the schroot buildd profile has been moved into the schroot package
+ schroot is arch-all, and the profile is generated for the host
platform
+ sbuild is arch-any, which meant that the profile was only valid
for the platform on which sbuild was built. This left kfreebsd
and hurd with broken-by-default configurations
It consolidates the profile with the existing
default/minimal/desktop/sbuild profiles already in the schroot
package.
- newly debootstrapped unstable chroots containing /run no longer
break sbuild
* Major changes in 0.62.3:
1) The apt and internal resolvers will resolve some alternatives
even when resolving alternative dependencies is disabled. For
relations involving the same package, the alternative will be
permitted when the package names are the same for each
alternative. For example,
foo (<< x) | foo (>= y) | bar
will be reduced to
foo (<< x) | foo (>= y)
while
foo | bar
will be reduced to
foo
2) The sbuild-schroot wrapper has been removed. This will be moved
into the schroot package in its next release.
3) The schroot "buildd" configuration profile has been moved to the
schroot package itself. This is due to being generated and being
architecture-dependent, and sbuild being an arch-all package (the
configuration would only be valid for the architecture sbuild was
built on).
4) A new option, "-j", has been added to allow parallel builds.
sbuild (0.62.3-1) unstable; urgency=low
* New release.
* sbuild:
- The apt and internal resolvers will resolve some alternatives
even when resolving alternative dependencies is disabled
(Closes: #622832). For relations involving the same package,
the alternative will be permitted when the package names are
the same for each alternative. For example,
foo (<< x) | foo (>= y) | bar
will be reduced to
foo (<< x) | foo (>= y)
while
foo | bar
will be reduced to
foo
- The sbuild-schroot wrapper program has been removed; sbuild is
now an arch-all package again.
- Move lock directory to /var/lib/sbuild/chroot-lock, rather than
using /var/lock/sbuild which could be a symlink to /run/lock on
the host (Closes: #626826). This means parallel builds won't
block due to sharing the same lockfile.
- Remove schroot buildd profile. This will now be provided by
the schroot package itself directly. This requires schroot
1.4.22 or greater.
- Add lintian and piuparts results to build summary
(Closes: #617450).
- Remove directory correctly in postrm (Closes: #627641). Thanks
to Daniel Baumann.
- Lock sbuild account on purge, and unlock on install
(Closes: #619892).
- Add -j option to run parallel builds (Closes: #626357).
- Log build environment prior to starting a build. This will be
useful in diagnosing problems with a misconfigured chroot, such
as missing HOME which can lead to misbuilds.
* sbuild-createchroot:
- Don't call ChrootSetup::basesetup after initial bootstrap; wait
until actually running sbuild. The users and groups used for
chown don't exist at this point, leading to (harmless) failure.
Closes: #622735.
- Don't overwrite existing symlinks under /etc/sbuild/chroot
(Closes: #608416).
* sbuild-update:
- Don't try to end the current chroot session if a signal is
received and no session is in progress (Closes: #629005).
* buildd:
- init script starts buildd in runlevels 2-5 rather than S, and
stops in 0, 1 and 6.
- Lock buildd account on purge, and unlock on install.
* buildd-mail:
- Remove empty newline from .changes (Closes: #627854).
ftp-master started refusing .changes files which have a trailing
empty line (after the GPG end of signature). It happens that
mutt introduces one when signing GPG in traditional mode. Other
tools probably do too. buildd-mail-wrapper should probably drop
it automatically. Thanks to Samuel Thibault.
-- Roger Leigh <rleigh at debian.org> Sat, 04 Jun 2011 00:01:13 +0100
Daniel Baumann (1):
Correcting sbuild.postrm to not fail if /etc/sbuild/chroot does not exist (Closes: #627641).
Philipp Kern (1):
create-chroot: set check intervals to 0 for the new filesystem
Roger Leigh (45):
Sbuild::ResolverBase: Allow alternative dependencies for same package
NEWS: Bump version to 0.62.3 and document alternatives change
debian: Bump version to 0.62.3-1 and Close #622832
sbuild: Remove buildd profile (moved to schroot)
debian: Document buildd profile removal
debian: buildd init scripts uses standard runlevels
debian: Document buildd init script runlevels
debian: Close #627854
debian: Close #627641
sbuild-createchroot: Add sbuild user and group before updating
debian: Close #622735
debian: Lock rather than delete accounts
debian: Close #619892
Sbuild::Chroot: Use /var/lib/sbuild/chroot-lock
debian: Close #626826
Sbuild::Build: Add lintian and piuparts status to summary
debian: Close #617450
Sbuild: Use BUILD_USER rather than hardcoding sbuild
Sbuild::ConfBase: Default BUILD_USER to current user
Sbuild::Conf: Use plain schroot binary rather than wrapper
Remove sbuild-schroot wrapper program
debian: Remove sbuild-schroot wrapper
NEWS: Remove sbuild-schroot wrapper
debian: sbuild is arch all again
NEWS: Document buildd profile move to schroot
debian: Bump minimum schroot version
debian: Document requirement for schroot >= 1.4.22
debian: Don't package removed files
Sbuild::Build: Simplify lintian status codes
Sbuild::Options: Add -j option to run parallel builds
debian: Close #626357
NEWS: Document -j
sbuild-createchroot: Don't overwrite sudo symlink
debian: Close #608416
Sbuild::Build: Log build environment prior to building
debian: Document environment logging
Sbuild::Build: Filter package build directory in log
debian: sbuild needs apt-utils for dependency package
Sbuild::Chroot: Create chroot lock inside chroot
Merge branch 'master' of ssh+git://git.debian.org/git/buildd-tools/sbuild
Sbuild::Build: Add 'Build Dir' to replace 'Chroot Build Dir'
Sbuild::Build: Missing lsb-release is not an error
Sbuild::Utility: Only end session if one exists
debian: Close #629005
Sbuild: Set HOME=/nonexistent in the build environment
Samuel Thibault (1):
Buildd::Mail: Remove empty newline from .changes
Makefile.am | 2 +-
NEWS | 28 +++-
bin/create-chroot | 1 +
bin/sbuild-createchroot | 41 ++--
configure.ac | 1 -
debian/buildd.init | 4 +-
debian/buildd.postinst | 2 +
debian/buildd.postrm | 5 +-
debian/changelog | 59 ++++++
debian/control | 6 +-
debian/rules | 22 ---
debian/sbuild.install | 2 -
debian/sbuild.lintian-overrides | 1 -
debian/sbuild.postinst | 2 +
debian/sbuild.postrm | 7 +-
etc/Makefile.am | 38 +----
etc/genprofile | 60 ------
etc/profile-templates/all/all/fstab | 5 -
etc/profile-templates/all/freebsd/fstab | 1 -
etc/profile-templates/all/linux/fstab | 2 -
etc/profile-templates/buildd/all/config | 19 --
etc/profile-templates/buildd/all/copyfiles | 6 -
etc/profile-templates/buildd/all/nssdatabases | 6 -
etc/profile-templates/buildd/freebsd/fstab | 3 -
etc/profile-templates/buildd/linux/fstab | 3 -
lib/Buildd/Mail.pm | 2 +
lib/Sbuild/Build.pm | 74 ++++++--
lib/Sbuild/Chroot.pm | 118 ++++++++----
lib/Sbuild/Conf.pm | 3 +-
lib/Sbuild/ConfBase.pm | 2 +-
lib/Sbuild/Options.pm | 4 +
lib/Sbuild/ResolverBase.pm | 37 +++-
lib/Sbuild/Utility.pm | 4 +-
man/sbuild.1.in | 4 +
wrapper/.gitignore | 1 -
wrapper/Makefile.am | 33 ----
wrapper/util.cc | 250 -------------------------
wrapper/util.h | 194 -------------------
wrapper/wrapper.cc | 195 -------------------
39 files changed, 301 insertions(+), 946 deletions(-)
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110614/c7060359/attachment-0001.pgp>
More information about the Buildd-tools-devel
mailing list