Skip to content

Build issues seen on Alpine linux aarch64 #687

@ayankuma

Description

@ayankuma

Greetings from a newbie.

I am trying with v0.7.2 swtpm. I see the following issues :-

/Users/ayankuma/alpine_vm/swtpm # ./autogen.sh --prefix=/Users/ayankuma/alpine_vm/ --libdir=/Users/ayankuma/alpine_vm/lib --with-openssl --with-tss-user=root --with-tss-group=root
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
src/swtpm/Makefile.am:37: error: Libtool library used but 'LIBTOOL' is undefined
src/swtpm/Makefile.am:37:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/swtpm/Makefile.am:37:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/swtpm/Makefile.am:37:   If 'LT_INIT' is in 'configure.ac', make sure
src/swtpm/Makefile.am:37:   its definition is in aclocal's search path.
src/utils/Makefile.am:13: error: Libtool library used but 'LIBTOOL' is undefined
src/utils/Makefile.am:13:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/utils/Makefile.am:13:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/utils/Makefile.am:13:   If 'LT_INIT' is in 'configure.ac', make sure
src/utils/Makefile.am:13:   its definition is in aclocal's search path.
autoreconf: error: automake failed with exit status: 1

Can you help me with this ?

Also, I read your statement "So far it has been integrated into QEMU and as a prototype into RunC (PR)" . Can you share with me some docs/commands to test this ?

To reproduce,
You can use the docker image (registry.gitlab.com/lf-edge/runx/tests-artifacts/xen:4.16-arm64v8) for aarch64 alpine VM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions