[DSE-Dev] Bug#738148: libselinux: stage1 bootstrap build isn't working

Daniel Schepler dschepler at gmail.com
Sat Feb 8 05:24:25 UTC 2014

Source: libselinux
Version: 2.2.2-1
Severity: wishlist
Tags: patch

When I try doing DEB_STAGE=stage1 dpkg-buildpackage -d -b -uc in a chroot 
without python or ruby (or swig) installed, I get:

 debian/rules clean
dh: unable to load addon python2: Can't locate 
Debian/Debhelper/Sequence/python2.pm in @INC (you may need to install the 
Debian::Debhelper::Sequence::python2 module) (@INC contains: /etc/perl 
/usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 
/usr/local/lib/site_perl .) at (eval 13) line 2.
BEGIN failed--compilation aborted at (eval 13) line 2.

make: *** [clean] Error 2
dpkg-buildpackage: error: debian/rules clean gave error exit status 2

I've attached a patch which fixes this and lets the package bootstrap properly.
Daniel Schepler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libselinux.diff
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/selinux-devel/attachments/20140207/2fc82ba8/attachment.bin>

More information about the SELinux-devel mailing list