Comment 3 for bug 1000055

Steve Beattie (sbeattie) wrote :

Looks like we need a dependency on texlive-latex-recommended, I'm not sure why it wasn't an issue before, but haven't looked into it.

--- debian/control 2012-05-16 16:47:28.000000000 -0700
+++ ../../precise/apparmor-2.7.102/debian/control 2012-03-30 18:27:10.000000000 -0700
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Ubuntu Developers <email address hidden>
 XSBC-Original-Maintainer: Kees Cook <email address hidden>
-Build-Depends: debhelper (>= 8.1.2), flex, bison, bzip2, apache2-prefork-dev, libpam-dev, autotools-dev, libtool, automake, autoconf, chrpath, texlive-latex-base, texlive-latex-recommended, swig, quilt, po-debconf, dejagnu, chrpath, python-all-dev, python, perl (>= 5.8.0), liblocale-gettext-perl
+Build-Depends: debhelper (>= 8.1.2), flex, bison, bzip2, apache2-prefork-dev, libpam-dev, autotools-dev, libtool, automake, autoconf, chrpath, texlive-latex-base, swig, quilt, po-debconf, dejagnu, chrpath, python-all-dev, python, perl (>= 5.8.0), liblocale-gettext-perl
 Standards-Version: 3.9.2
 Homepage: http://apparmor.net/
 Vcs-Bzr: https://code.launchpad.net/~ubuntu-core-dev/apparmor/master

It might also be useful to add the following to debian/rules to get extra output during the build:

--- debian/rules 2012-05-16 16:16:50.000000000 -0700
+++ ../../precise/apparmor-2.7.102/debian/rules 2012-03-05 07:47:27.000000000 -0800
@@ -53,7 +53,7 @@
 ifneq (,$(filter $(DEB_HOST_ARCH_OS), kfreebsd knetbsd hurd ))
  cd parser && $(MAKE) indep
 else
- cd parser && $(MAKE) V=1 && $(MAKE) check V=1
+ cd parser && $(MAKE) && $(MAKE) check
 endif
  cd profiles && $(MAKE)
  touch $@