[buildd-tools-devel] Bug#817121: schroot: Failing lintian call via --run-session
Mathias Behrle
mathiasb at m9s.biz
Tue Mar 8 09:28:04 UTC 2016
Package: schroot
Version: 1.7.2-3
Severity: normal
Dear Maintainer,
I am hit by this error with lintian failing when called in post build
chroot by sbuild. Not entirely sure if the assignment to schroot is
correct, but seems to me most adequate.
The relevant lines of the sbuild debug log:
...
D: Setting Dummy package path=undef
D: Setting Dummy archive directory=undef
D: Setting Dummy Release file=undef
I: schroot -d /<<BUILDDIR>> -c sid-amd64-sbuild-IgSZzA-3865 --run-session -q -u mathiasb -p -- lintian tryton-server_3.8.3-2_amd64.changes
D: Running command: schroot -d /<<BUILDDIR>> -c sid-amd64-sbuild-IgSZzA-3865 --run-session -q -u mathiasb -p -- lintian tryton-server_3.8.3-2_amd64.changes
tryton-server_3.8.3-2_amd64.changes is not available
D: Setting Lintian Reason=pass
D: Setting Lintian Reason=error
D: Setting Lintian Reason=fail
E: Lintian run failed (policy violation)
...
Basic information:
- I am using overlay in schroot conf
- I am aware of #798835 and running sbuild from experimental (0.68.0-1.0~exp1)
For debugging purposes I kept the chroot sessions available by running
$ sbuild --purge=never -D
Indeed the command fails when calling lintian from outside the chroot:
mathiasb at monsterix:~/bin/tryton/debian_builder/tmp/tryton-server$
schroot -d /build/tryton-seriver-g23533 \
-c sid-amd64-sbuild-IgSZzA-3865 --run-session -q -u mathiasb \
-p -- lintian tryton-server_3.8.3-2_amd64.changes
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "de_DE.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard
locale ("C").
tryton-server_3.8.3-2_amd64.changes is not available
but succeeds with a call to ls:
mathiasb at monsterix:~/bin/tryton/debian_builder/tmp/tryton-server$
schroot -d /build/tryton-server-g23533 -c sid-amd64-sbuild-IgSZzA-3865 \
--run-session -q -u mathiasb -p -- ls
tryton-server-3.8.3 tryton-server-doc_3.8.3-2_all.deb
tryton-server_3.8.3-2.debian.tar.xz tryton-server_3.8.3-2.dsc
tryton-server_3.8.3-2_all.deb tryton-server_3.8.3-2_amd64.changes
tryton-server_3.8.3.orig.tar.gz
also the lintian call succeeds inside the chroot:
mathiasb at monsterix:~/bin/tryton/debian_builder/tmp/tryton-server$
schroot -r -c sid-amd64-sbuild-IgSZzA-3865
...
(sid-amd64-sbuild)mathiasb at monsterix:/$ cd build/tryton-server-g23533/
(sid-amd64-sbuild)mathiasb at monsterix:/build/tryton-server-g23533$
lintian -v tryton-server_3.8.3-2_amd64.changes
N: Using profile debian/main.
N: Setting up lab in /tmp/temp-lintian-lab-WUBBSgAJE8 ...
N: Unpacking packages in group tryton-server/3.8.3-2
N: ----
N: Processing changes file tryton-server (version 3.8.3-2, arch source
all) ...
N: ----
N: Processing source package tryton-server (version 3.8.3-2, arch
source) ...
N: ----
N: Processing binary package tryton-server-doc (version 3.8.3-2, arch
all) ...
N: ----
N: Processing binary package tryton-server (version 3.8.3-2, arch all)
...
I am running out of ideas why especially the lintian command is failing
with schroot --run-session. Just now I am unable to reboot this machine,
but this will be one of the next steps to check. Please let me know what
I can do to track down further this issue.
Cheers,
Mathias
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable'), (400, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages schroot depends on:
ii libboost-filesystem1.58.0 1.58.0+dfsg-5+b1
ii libboost-program-options1.58.0 1.58.0+dfsg-5+b1
ii libboost-system1.58.0 1.58.0+dfsg-5+b1
ii libc6 2.21-9
ii libgcc1 1:5.3.1-10
ii libsbuild1.7.2 1.7.2-3
ii libstdc++6 5.3.1-10
ii schroot-common 1.7.2-3
schroot recommends no packages.
Versions of packages schroot suggests:
ii aufs-tools 1:3.2+20130722-1.1
ii btrfs-tools 4.4-1
ii debootstrap 1.0.79
ii lvm2 2.02.142-1+b1
ii qemu-user-static 1:2.5+dfsg-5
ii unionfs-fuse 1.0-1
-- Configuration Files:
/etc/schroot/buildd/nssdatabases changed [not included]
/etc/schroot/default/nssdatabases changed [not included]
/etc/schroot/sbuild/fstab changed [not included]
/etc/schroot/schroot.conf changed [not included]
-- no debconf information
More information about the Buildd-tools-devel
mailing list