Hi. Something is wrong with Guile support in GNU Make. For instance, make should process the following makefile
$this->bbcode_second_pass_code('', '
$(warning $(.FEATURES))
$(warning $(guile (display "hello world") (newline) "indeed"))
$(warning $(guile "from GNU make"))
')
with the following expected output. And it does on ArchLinux x86_64
$this->bbcode_second_pass_code('', '
$ make -v && echo && guile -v && echo && make
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
guile (GNU Guile) 2.2.7
Copyright (C) 2020 Free Software Foundation, Inc.
License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
makefile:1: target-specific order-only second-expansion else-if shortest-stem undefine oneshell nocomment grouped-target extra-prereqs archives jobserver output-sync check-symlink guile load
hello world
makefile:3: indeed
makefile:4: from GNU make
make: *** No targets. Stop.
')
But it does not on ALARM both aarch64 and armv7l
$this->bbcode_second_pass_code('', '
$ make -v && echo && guile -v && echo && make
GNU Make 4.3
Built for armv7l-unknown-linux-gnueabihf
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
guile (GNU Guile) 2.2.7
Copyright (C) 2020 Free Software Foundation, Inc.
License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
makefile:1: target-specific order-only second-expansion else-if shortest-stem undefine oneshell nocomment grouped-target extra-prereqs archives jobserver output-sync check-symlink load
makefile:3: (newline) "indeed")
makefile:4:
make: *** No targets. Stop.
')
Guile support is absent, even though there is no --without-guile configuration option in the PKGBUID for make. The make binary does not depend on guile library. For comparison
ALARM
$this->bbcode_second_pass_code('', '
$ ldd $(which make)
linux-vdso.so.1 (0xbeeae000)
libdl.so.2 => /usr/lib/libdl.so.2 (0xb6f2d000)
libc.so.6 => /usr/lib/libc.so.6 (0xb6dd8000)
/lib/ld-linux-armhf.so.3 => /usr/lib/ld-linux-armhf.so.3 (0xb6f88000)
')
ArchLinux x86_64
$this->bbcode_second_pass_code('', '
$ ldd $(which make)
linux-vdso.so.1 (0x00007ffd677f4000)
libguile-2.2.so.1 => /usr/lib/libguile-2.2.so.1 (0x00007f5e2cba0000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f5e2cb98000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f5e2cb70000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f5e2c9a0000)
libgc.so.1 => /usr/lib/libgc.so.1 (0x00007f5e2c928000)
libffi.so.8 => /usr/lib/libffi.so.8 (0x00007f5e2c918000)
libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007f5e2c790000)
libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007f5e2c6f0000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007f5e2c6e0000)
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x00007f5e2c6a8000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f5e2c560000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f5e2cd38000)code]
')
I've spotted some troubles with libffi during one of the recent system updates. May be make should just be recompiled.