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

Attachment: apparmor-profiles-extra-build-log.txt.gz
Description: application/gunzip

Attachment: pgpi5UxuEPpW2.pgp
Description: PGP signature

Reply via email to