question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

automake: command not found --builds just started breaking

See original GitHub issue

Without changing anything about the workflow, our build started breaking on Windows CI yesterday.

Action file is here: https://github.com/handshake-org/hnsd/blob/master/.github/workflows/test-windows.yaml

Starting breaking yesterday: https://github.com/handshake-org/hnsd/runs/4607649286?check_suite_focus=true#step:5:1

Run ./autogen.sh && ./configure && make
  ./autogen.sh && ./configure && make
  shell: D:\a\_temp\setup-msys2\msys2.CMD {0}
  env:
    MSYSTEM: MINGW64
+ pushd uv
/d/a/hnsd/hnsd/uv /d/a/hnsd/hnsd
+ test -f configure
+ ./autogen.sh
./autogen.sh: line 28: automake: command not found
./autogen.sh: line 33: test: : integer expression expected
./autogen.sh: line 34: test: : integer expression expected
+ libtoolize --copy
./autogen.sh: line 43: libtoolize: command not found
Error: Process completed with exit code 127.

Last successful build: https://github.com/handshake-org/hnsd/runs/4596923153?check_suite_focus=true#step:5:1

Run ./autogen.sh && ./configure && make
  ./autogen.sh && ./configure && make
  shell: D:\a\_temp\setup-msys2\msys2.CMD {0}
  env:
    MSYSTEM: MINGW64
+ pushd uv
/d/a/hnsd/hnsd/uv /d/a/hnsd/hnsd
+ test -f configure
+ ./autogen.sh
+ libtoolize --copy
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
+ aclocal -I m4
+ autoconf
configure.ac:40: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:40: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:40: the top level
+ automake --add-missing --copy
configure.ac:38: installing './ar-lib'
configure.ac:25: installing './compile'
configure.ac:22: installing './config.guess'
configure.ac:22: installing './config.sub'
configure.ac:21: installing './install-sh'
configure.ac:21: installing './missing'
Makefile.am: installing './depcomp'
+ popd
/d/a/hnsd/hnsd
+ libtoolize --copy
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
+ aclocal -I m4
+ autoconf
configure.ac:13: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:13: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:13: the top level
configure.ac:109: warning: The macro `AC_PROG_CC_C89' is obsolete.
configure.ac:109: You should run autoupdate.
../autoconf-2.71/lib/autoconf/c.m4:1652: AC_PROG_CC_C89 is expanded from...
configure.ac:109: the top level
+ automake --add-missing --copy
configure.ac:12: installing './ar-lib'
configure.ac:10: installing './compile'
configure.ac:6: installing './config.guess'
...
...
...

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lazkacommented, Dec 22, 2021

~[…] But that just my thought~ 😌

My thinking, besides fewer (magic) deps and faster CI, was also to not advertise autotools as a “standard” “recommended” build system. cmake and meson are far better when it comes to cross platform building.

1reaction
lazkacommented, Dec 22, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Automake related errors, and dealing with them - USQCD
Grab them from any GNU archive site. after which your build may carry on or break. This is a sign, that the Makefiles...
Read more >
Autotools: GCC's Makefile.in has a bug (7.3.0 and earlier ...
GCC's cross compiling autotools is supposed to be flexible, but I've isolated a bug that's been breaking cross compiler builds that ought to ......
Read more >
How do I get the latest automake? - Ask Ubuntu
Use sudo apt-get autoremove automake sudo apt-get install automake. This should get you to version 1.14.1, that is the result for my system...
Read more >
automake - GNU.org
The build tree is rooted in the current directory at the time configure was run, and is populated with all object files, programs,...
Read more >
Cannot install on alpine · Issue #210 · r-lib/fs - GitHub
I am building this package using R -e “install.packages('fs')” on alpine 3.9 using ... WARNING: 'automake-1.14' is missing on your system.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found