Skip to content

FreeBSD (tcsh) build problem due to HOST environment variable #1231

@laanwj

Description

@laanwj

On master commit 4ffd5e2 (just checked out) I'm unable to build on FreeBSD - with 73cda2f it was working. Output:

if git submodule status external/libwally-core | grep -q '^[-+]'; then rm -rf external/libwally-core; git submodule update --init external/libwally-core; fi
cd external/libwally-core && ./tools/autogen.sh && ./configure CC="cc" --enable-static=yes --host="medea" --build="" --enable-module-recovery --enable-shared=no --prefix=/ --libdir=/ && gmake
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:10: installing 'build-aux/compile'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'tools/build-aux'.
libtoolize: copying file 'tools/build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'tools/build-aux/m4'.
libtoolize: copying file 'tools/build-aux/m4/libtool.m4'
libtoolize: copying file 'tools/build-aux/m4/ltoptions.m4'
libtoolize: copying file 'tools/build-aux/m4/ltsugar.m4'
libtoolize: copying file 'tools/build-aux/m4/ltversion.m4'
libtoolize: copying file 'tools/build-aux/m4/lt~obsolete.m4'
configure.ac:28: installing 'tools/build-aux/compile'
configure.ac:27: installing 'tools/build-aux/missing'
src/Makefile.am: installing 'tools/build-aux/depcomp'
checking build system type... amd64-unknown-freebsd11.1
checking host system type... Invalid configuration `medea': machine `medea' not recognized
configure: error: /bin/sh tools/build-aux/config.sub medea failed
gmake: *** [external/Makefile:44: external/libwally-core/src/libwallycore.la] Error 1

Problem is --host="medea" --build="" in the configure spec - it's passing my hostname as host tuple?!?

Will try to bisect.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions