Your message dated Sun, 15 Jan 2017 21:39:06 +0000
with message-id <[email protected]>
and subject line Bug#560332: fixed in pbuilder 0.228
has caused the Debian Bug report #560332,
regarding pbuilder: Please exclude sys/ from the base tarball
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
560332: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560332
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pbuilder
Version: 0.194
Severity: wishlist
User: [email protected]
Usertags: kfreebsd
Hi,
on GNU/kFreeBSD systems, freebsd-utils's postinst runs an init script
which takes care of setting up various filesystems, including /sys; I've
reported a bug accordingly (#560127), but I think the solution would
rather find its place inside pbuilder.
A few solutions I thought of:
- we could try and exclude /sys stuff using --exclude, but since it
seems that tar doesn't support anchoring the pattern, we may be
excluding other paths which contains “sys” somewhere, which would be
kind of nasty. Anyway, patching pbuilder as follows made it possible
to create a base.tgz I could use to build a package.
- but even then, removing the temporary directory failed because /sys
was still mounted. Which led me to believe it might be nicer if
pbuilder could check where /sys is not empty, and umounting
accordingly if needed (umount $path/sys). The same could be said
about /proc, I guess. Maybe controlling this umount behaviour through
a configuration option?
The diff I used (pbuilder-modules):
- if ! tar cfz "${BASETGZ}.tmp" * ; then
+ if ! tar cfz "${BASETGZ}.tmp" ./* --exclude ./sys; then
Thanks for considering.
(By the way, I'm tracking your git repository, I can test some patches,
or some branches, and report back.)
Mraw,
KiBi.
--- End Message ---
--- Begin Message ---
Source: pbuilder
Source-Version: 0.228
We believe that the bug you reported is fixed in the latest version of
pbuilder, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mattia Rizzolo <[email protected]> (supplier of updated pbuilder 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 15 Jan 2017 20:52:02 +0100
Source: pbuilder
Binary: pbuilder
Architecture: source
Version: 0.228
Distribution: unstable
Urgency: medium
Maintainer: Debian pbuilder maintenance team
<[email protected]>
Changed-By: Mattia Rizzolo <[email protected]>
Description:
pbuilder - personal package builder for Debian packages
Closes: 560332 591291 717022 773765 847944
Changes:
pbuilder (0.228) unstable; urgency=medium
.
[ Mattia Rizzolo ]
* modules:
+ Use default value of I if LOGLEVEL is undefined (fixes missing output
from pbuilder-satisfydepends-apt).
+ create_basetgz(): explicitly exclude /sys/* and /proc/* from being saved
in the tarball. Closes: #560332
+ mount a tmpfs on /dev/shm by default, and set up a symlink
/run/shm → /dev/shm.
This also renames the configuration variable USERUNSHM to USESHM
(deprecating the former).
This will happen regardless of the Debian version of the chroot and the
architecture used, as it ought to be harmless if unused. Administrators
are suggested to drop any workarounds in place to overcome this
deficiency in pbuilder, such as bind-mounting /dev/shm from the host, to
avoid situations like over-mounting.
Closes: #591291, #717022, #773765
+ cross_build_setup(): run `apt-get update` after adding the foreign
architecture in dpkg. Otherwise apt won't know a thing about the
foreign architectures, and won't be able to install anything.
+ extractbuildplace(): if ARCHITECTURE is not set, finalize it and
HOST_ARCH right after chroot extraction, using the native architecture
of the chroot.
* pbuilder.8:
+ Fix a typo and add a missing word.
Thanks to Unit193 for spotting and reporting.
* pbuilderrc.5:
+ correct default for CCACHEDIR, which is not enabled by default.
* satifydepends-apt:
+ Use the new --indep-only flag from APT 1.4~beta3 when performing an
indep-only build. This bumps the required apt version inside the chroot.
* d/NEWS:
+ Add news entry for the SHM behaviour change.
* t:
+ testlib: Autodetect if this is running from a git checkout and
automatically set PBUILDER_CHECKOUT.
.
[ James Clarke ]
* modules:
+ add a get822field() function.
* buildpackage-funcs:
+ add a dsc_get_basename() function returning the standard
$srcname-$version as expected by other tools.
* satisfydepends-funcs:
+ split get_build_depends_field() out of get_source_control_field().
get_source_control_field() is now only a wrapper around the new
get822field(), whilst the logic to clean up and normalize the dependency
list is moved into get_build_depends_field(). Change get_build_deps()
and get_build_conflicts() to use this new function.
+ Make get_source_control_field() more robust.
This includes fixing comments or blank lines just before a field causing
the field to be ignored. Closes: #847944; LP: #1632980
* Add new --source-only-changes option, and related SOURCE_ONLY_CHANGES
config variable, to ask pbuilder to also produce a _sources.changes file,
suitable for a source only upload.
* pdebuild:
+ Use dpkg-source instead of dpkg-buildpackage to build the source package.
This will avoid generating a .changes that can't be used in the case
the source package is rebuilt (as the rebuilt source package is not
guaranteed to be the same as the original one). Although, if
BUILDRESULT is not the parent directory, the _sources.changes will still
be generated.
* d/NEWS:
+ Add news entry for pdebuild switching from dpkg-buildpackage -S to
calling dpkg-source directly.
Checksums-Sha1:
1bfd48741025abb5016da61d021e76f50adafd4c 1849 pbuilder_0.228.dsc
dd8f806a067776cebcf7ca655c991a53dd7b7ed3 314408 pbuilder_0.228.tar.xz
Checksums-Sha256:
eb78011bc1f92de869b0590b638a53b1c47226e64f06af10043a1aaddf6996b0 1849
pbuilder_0.228.dsc
30699364ec14cd19a4e03ad00821ba2f5b62c7b75dc6d766ca22c7def2fbd49c 314408
pbuilder_0.228.tar.xz
Files:
0410d9bcc78537f370edd0b565cc8311 1849 devel extra pbuilder_0.228.dsc
f3f8f220751d266b6c70ca26b03a4ae1 314408 devel extra pbuilder_0.228.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlh71dESHG1hdHRpYUBk
ZWJpYW4ub3JnAAoJEAgWueGMdiutLfMQAKpj3tgDCfGpihIE6eg48BauSwAIDYAC
ONY5C+F0EU7FR2oqT5DGCtUeEftTx+i+XwIMRjgS65aOtTLoIA8UseiyMe0cyHvb
UrvICpLopXdIo8z+JhZw4GPG/R2VwOi98drJecA92LjOrPT5RyZf0V/LGTMWlEEW
d+SIjCXJOr4x7gQ+Gqov4hn2T0S7kgEqUHhOy54yxPDN0OJjD70UFORdKUrnQQXp
X4/BtcCDwcvMFBhQH13WUTEC/I0eHQ89mORhPqfbnSfZslyJiV88ZTawrLeBHmuT
6YTdaBGNFVDd5KwYHnQaBRtDKWHSU9jPH1x4xYFyuTPYE8oBZXsWnHQUvsvLefN5
x+o40+cND4ap7tN93ndEirhvzyH4Ev6o7mvLXgXYW7Ru4rY/GbZ10leHV7n53SKr
ppvFg948AeLcpXhU8GBqbSJDz/zXQGYPr3xx97ByDacddXHSG4RdC0znXEGYm1sZ
i1Rqqis6iHNs0RKYkZxqZFv+MjobTj2fpjpuSrAtNX5t+HvyGW2wpRgUsvov4ywt
631E142QInzypuJby7B+qUZojCrabfvWlSSqHinZyn23NNFdPcJIPpw0Ht8cTxKS
EuI/hVT9lrd9XcphiSC3Q2rvAgUf/S5/8WnNyUi0Wkvek3j8/j0iEKnLefaGLk2R
Y8tISmyjivhY
=y+7x
-----END PGP SIGNATURE-----
--- End Message ---