[buildd-tools-devel] Bug#810248: sbuild: experimental sbuild breaks building in squeeze chroot due to build directory having setgid bit
Raphaël Hertzog
hertzog at debian.org
Thu Jan 7 16:34:55 UTC 2016
Package: sbuild
Version: 0.67.0-2.0~exp2
Severity: important
I just tried to build a package for squeeze-lts and got this failure:
[...]
Check dependencies
------------------
Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: control directory has bad permissions 2775 (must be >=0755 and <=0775)
dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/<<BUILDDIR>>/resolver-lxgIE7/apt_archive/sbuild-build-depends-core-dummy.deb'.
Dummy package creation failed
+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+
Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Core build dependencies not satisfied; skipping
Effectively I see this:
$ ls -al /var/lib/sbuild/build/
total 8
drwxrws--- 2 sbuild sbuild 4096 janv. 7 17:27 .
drwxrws--- 4 sbuild sbuild 4096 oct. 26 2014 ..
Same problem happens with build in wheezy. Jessie is fine though.
Newer dpkg cope better with that apparently... but I don't think that the
"setgid" bit is necessary here.
Cheers,
-- System Information:
Debian Release: stretch/sid
APT prefers squeeze-lts
APT policy: (500, 'squeeze-lts'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (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.113+nmu3
ii apt-utils 1.1.10
ii libsbuild-perl 0.67.0-2.0~exp2
ii perl 5.22.1-3
Versions of packages sbuild recommends:
ii debootstrap 1.0.75
ii fakeroot 1.20.2-1
Versions of packages sbuild suggests:
pn deborphan <none>
ii wget 1.17.1-1
-- no debconf information
More information about the Buildd-tools-devel
mailing list