alire
alire copied to clipboard
alr fails on recent version of Fedora
alr seems to fail in multiple ways after I updated from Fedora 35 to Fedora 37. At least some of it seems due to the gcc compiler.
-
alr with gtkada
gives me the following:ⓘ Deploying gtkada=21.0.0... -=O=- # # # # ⓘ Running post_fetch actions for gtkada=21.0.0... checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/home/cantanima/common/Ada/GtkAdaQuoter/alire/cache/dependencies/gtkada_21.0.0_3c1373c0': configure: error: C compiler cannot create executables See `config.log' for more details
- I don't see
config.log
. - In any case, the default C compiler (gcc) can create executables. So can clang, also installed.
- I don't see
- Perhaps I need to update alire toolchain?
alr search --full --external-detect gnat_
indicates that I have the most recent version - Perhaps I need to build alire anew? I clone the repository, try
alr build
, and get this:
...and a lot more like it.ⓘ Building xml_ez_out/xml_ez_out.gpr... Link [link] tmeztf.adb /home/cantanima/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libc.so.6: unknown type [0x13] section `.relr.dyn' /home/cantanima/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /lib64/libc.so.6 when searching for /lib64/libc.so.6 /home/cantanima/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /lib64/libc.so.6
Not sure where to go from here.