Closed seamus-x closed 4 years ago
run_ansible.sh runs until the eve-audio task, which yields the following errors:
TASK [Install Chrome Audio Server and sound setup files] *********************** TASK [eve-audio : Create working dir to build packages] ************************ ok: [localhost] TASK [eve-audio : clone cras source] ******************************************* ok: [localhost] TASK [eve-audio : generate cras/config (failure expected)] ********************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["make"], "delta": "0:00:00.094026", "end": "2020-08-20 16:10:28.678515", "msg": "non-zero return code", "rc": 2, "start": "2020-08-20 16:10:28.584489", "stderr": "/opt/eve-linux-setup/adhd/cras/git_prepare.sh: 5: /opt/eve-linux-setup/adhd/cras/git_prepare.sh: aclocal: not found\nmake[1]: *** [/opt/eve-linux-setup/adhd/cras/configure] Error 127\nmake: *** [cras] Error 2", "stderr_lines": ["/opt/eve-linux-setup/adhd/cras/git_prepare.sh: 5: /opt/eve-linux-setup/adhd/cras/git_prepare.sh: aclocal: not found", "make[1]: *** [/opt/eve-linux-setup/adhd/cras/configure] Error 127", "make: *** [cras] Error 2"], "stdout": " [0] Building cras\nlibtoolize: You should add the contents of the following files to 'aclocal.m4':\nlibtoolize: '/usr/share/aclocal/libtool.m4'\nlibtoolize: '/usr/share/aclocal/ltoptions.m4'\nlibtoolize: '/usr/share/aclocal/ltsugar.m4'\nlibtoolize: '/usr/share/aclocal/ltversion.m4'\nlibtoolize: '/usr/share/aclocal/lt~obsolete.m4'\nlibtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,\nlibtoolize: and rerunning libtoolize and aclocal.\nlibtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.\n/opt/eve-linux-setup/adhd/cras/cras.mk:10: recipe for target '/opt/eve-linux-setup/adhd/cras/configure' failed\nMakefile:11: recipe for target 'cras' failed", "stdout_lines": [" [0] Building cras", "libtoolize: You should add the contents of the following files to 'aclocal.m4':", "libtoolize: '/usr/share/aclocal/libtool.m4'", "libtoolize: '/usr/share/aclocal/ltoptions.m4'", "libtoolize: '/usr/share/aclocal/ltsugar.m4'", "libtoolize: '/usr/share/aclocal/ltversion.m4'", "libtoolize: '/usr/share/aclocal/lt~obsolete.m4'", "libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,", "libtoolize: and rerunning libtoolize and aclocal.", "libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.", "/opt/eve-linux-setup/adhd/cras/cras.mk:10: recipe for target '/opt/eve-linux-setup/adhd/cras/configure' failed", "Makefile:11: recipe for target 'cras' failed"]} ...ignoring TASK [eve-audio : configure cras] ********************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["env", "CFLAGS=-I/usr/include/iniparser", "./configure", "--disable-dbus", "--disable-webrtc-apm", "--with-socketdir=/var/run/cras"], "delta": "0:00:00.001754", "end": "2020-08-20 16:10:28.843802", "msg": "non-zero return code", "rc": 127, "start": "2020-08-20 16:10:28.842048", "stderr": "env: ‘./configure’: No such file or directory", "stderr_lines": ["env: ‘./configure’: No such file or directory"], "stdout": "", "stdout_lines": []}
Resolved using method found in #54
run_ansible.sh runs until the eve-audio task, which yields the following errors: