fedora-cloud / docker-brew-fedora

MIT License
176 stars 46 forks source link

autoconf not working in rawhide #84

Closed tschoonj closed 1 year ago

tschoonj commented 3 years ago

Hi all,

I tried using fedora:rawhide as part of a Github Actions CI workflow for my GNU Autotools based project and ran immediately into trouble:

autoreconf -fi
41
/usr/bin/autoconf: This script requires a shell more modern than all
42
/usr/bin/autoconf: the shells that I found on your system.
43
/usr/bin/autoconf: Please tell bug-autoconf@gnu.org about your system,
44
/usr/bin/autoconf: including any error possibly output before this
45
/usr/bin/autoconf: message. Then install a modern shell, or manually run
46
/usr/bin/autoconf: the script under such a shell if you do have one.
47
autoreconf: /usr/bin/autoconf failed with exit status: 1

The same command works fine on fedora:latest as well as on centos:7 and centos:8.

Any thoughts on why this happened? Is there some new exotic default shell in rawhide??

pevik commented 3 years ago

Fedora rawhide has problems seccomp() issue with faccessat2() due use glibc 2.33 (the same has openSUSE Tumbleweed and Arch, which also use glibc 2.33): https://github.com/opencontainers/runc/pull/2750 https://github.com/seccomp/libseccomp/issues/314 I've sent a workaround to glibc: http://patchwork.ozlabs.org/project/glibc/patch/20210225194702.6113-1-pvorel@suse.cz/ Autoconf has problems because checking executable file does not work due this issue. Try f=$(readlink -f /bin/sh); ls -la $f; if [ -x "$f" ]; then echo 'execute ok'; else echo 'execute *NOT* ok'; fi and you'll see that /bin/sh is wrongly not detected as executable.