[apparmor] Fun with libapparmor build

Tyler Hicks tyhicks at canonical.com
Mon Apr 6 16:13:21 UTC 2015


On 2015-04-04 14:24:12, Christian Boltz wrote:
> Hello,
> 
> # cd libraries/libapparmor
> # ./configure 
> [... everything looks good ...]
> # make clean
> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/cb/apparmor/HEAD-clean/libraries/libapparmor/missing aclocal-1.14 
> /home/cb/apparmor/HEAD-clean/libraries/libapparmor/missing: Zeile 81: aclocal-1.14: Kommando nicht gefunden.
> WARNING: 'aclocal-1.14' is missing on your system.
>          You should only need it if you modified 'acinclude.m4' or
>          'configure.ac' or m4 files included by 'configure.ac'.
>          The 'aclocal' program is part of the GNU Automake package:
>          <http://www.gnu.org/software/automake>
>          It also requires GNU Autoconf, GNU m4 and Perl in order to run:
>          <http://www.gnu.org/software/autoconf>
>          <http://www.gnu.org/software/m4/>
>          <http://www.perl.org/>
> Makefile:376: die Regel für Ziel »aclocal.m4« scheiterte
> make: *** [aclocal.m4] Fehler 127
> 
> 
> Now the interesting question is why it is looking for aclocal-1.14. 
> I have /usr/bin/aclocal and /usr/bin/aclocal-1.15 in $PATH...
> 
> # make ACLOCAL=/usr/bin/aclocal-1.15 clean
> overrides this problem, but then it looks for automake 1.14 (instead of 
> the installed 1.15). And if I also override that:
> 
> make ACLOCAL=/usr/bin/aclocal-1.15 AUTOMAKE=/usr/bin/automake-1.15  clean
>  cd . && /usr/bin/automake-1.15 --foreign
> configure.ac:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
> configure.ac:8: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
> src/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
> src/Makefile.am:48: error: Libtool library used but 'LIBTOOL' is undefined
> src/Makefile.am:48:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
> src/Makefile.am:48:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
> src/Makefile.am:48:   If 'LT_INIT' is in 'configure.ac', make sure
> src/Makefile.am:48:   its definition is in aclocal's search path.
> testsuite/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
> Makefile:347: die Regel für Ziel »Makefile.in« scheiterte
> make: *** [Makefile.in] Fehler 1
> 
> 
> Am I doing something wrong, or did I find a bug? ;-)

Is this a bzr checkout? If so, run ./autogen.sh and you should get your
tree back to a buildable state.

If this is from a release tarball, then we may need to investigate more
to see if we should be doing something different in the release process
to prevent this from happening.

Tyler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150406/4fb45bdd/attachment.pgp>


More information about the AppArmor mailing list