I have to build libmcrypt. Wrote first version of recipe (attached) and got into libtool problem: NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Tainting hash to force rebuild of task /home/hrw/HDD/devel/canonical/aarch64/openembedded/repos/meta-aarch64/recipes/libmcrypt/libmcrypt_2.5.8.bb, do_configure NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: do_configure (see /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/temp/log.do_configure.24548 for further information) ERROR: Logfile of failure stored in: /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/temp/log.do_configure.24548 Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'common-linux', 'common-glibc', 'aarch64-linux', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing shell function do_configure | automake (GNU automake) 1.12.6 | Copyright (C) 2012 Free Software Foundation, Inc. | License GPLv2+: GNU GPL version 2 or later | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. | | Written by Tom Tromey | and Alexandre Duret-Lutz . | AUTOV is 1.12 | NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/aclocal-copy/ --automake-acdir=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12" autoreconf --verbose --install --force --exclude=autopoint -I /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/lib/ | autoreconf: Entering directory `.' | autoreconf: configure.in: not using Gettext | autoreconf: running: aclocal --system-acdir=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/aclocal-copy/ --automake-acdir=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/lib/ -I /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/lib/ --force | aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' | autoreconf: configure.in: tracing | autoreconf: configure.in: adding subdirectory libltdl to autoreconf | autoreconf: Entering directory `libltdl' | aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' | acinclude.m4:3740: warning: the serial number must appear before any macro definition | autoreconf: running: libtoolize --copy --force | libtoolize: putting auxiliary files in `..'. | libtoolize: copying file `../ltmain.sh' | libtoolize: putting auxiliary files in `..'. | libtoolize: `config/compile' not found in `/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/share/libtool' | autoreconf: libtoolize failed with exit status: 1 | ERROR: autoreconf execution failed. | ERROR: Function failed: do_configure (see /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/temp/log.do_configure.24548 for further information) ERROR: Task 3 (/home/hrw/HDD/devel/canonical/aarch64/openembedded/repos/meta-aarch64/recipes/libmcrypt/libmcrypt_2.5.8.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 253 tasks of which 252 didn't need to be rerun and 1 failed. config/compile is only present in build-arch sysroot. Ideas what is wrong?