[pkg-apparmor] Bug#764726: apparmor-profiles-extra: FTBFS as non-root user - apparmor_parser: not found
Michael Tautschnig
mt at debian.org
Fri Oct 10 14:43:07 UTC 2014
Package: apparmor-profiles-extra
Version: 1.2
Severity: wishlist
Usertags: goto-cc
During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.
[...]
debian/rules override_dh_auto_test
make[1]: Entering directory '/srv/jenkins-slave/workspace/sid-goto-cc-apparmor-profiles-extra/apparmor-profiles-extra-1.2'
mkdir -p tests/local
set -ex && for profile in usr.bin.evince usr.bin.pidgin usr.bin.totem-previewers usr.bin.irssi gst_plugin_scanner usr.bin.totem usr.sbin.tcpdump usr.sbin.ntpd; do \
touch tests/local/$profile; \
apparmor_parser --add --skip-cache --skip-kernel-load -I profiles -I tests /srv/jenkins-slave/workspace/sid-goto-cc-apparmor-profiles-extra/apparmor-profiles-extra-1.2/profiles/$profile; \
done
+ touch tests/local/usr.bin.evince
+ apparmor_parser --add --skip-cache --skip-kernel-load -I profiles -I tests /srv/jenkins-slave/workspace/sid-goto-cc-apparmor-profiles-extra/apparmor-profiles-extra-1.2/profiles/usr.bin.evince
/bin/sh: 3: apparmor_parser: not found
debian/rules:21: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 127
The full build log is attached; the problem seems to be that apparmor_parser is
in /sbin, which isn't in $PATH when building as non-root user.
Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apparmor-profiles-extra-build-log.txt.gz
Type: application/x-gunzip
Size: 4809 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-apparmor-team/attachments/20141010/eb922a47/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-apparmor-team/attachments/20141010/eb922a47/attachment.sig>
More information about the pkg-apparmor-team
mailing list