Created attachment 757662 [details] build.log I use Clang to build Python but nothing else on my system. libosinfo seems to know(?) about that and tries to: 1. use Clang when it wasn't told to (most of the build was done with GCC!) 2. use flags which aren't valid with Clang (-fipa-pure-const here) --- FAILED: osinfo/Libosinfo-1.0.gir /usr/bin/g-ir-scanner --no-libtool --namespace=Libosinfo --nsversion=1.0 --warn-all --output osinfo/Libosinfo-1.0.gir --c-include=osinfo/osinfo.h -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0/osinfo -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0/osinfo/. --filelist=/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo/libosinfo-1.0.so.0.1009.0.p/Libosinfo_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --include=libxml2-2.0 --symbol- prefix=osinfo --identifier-prefix=Osinfo --pkg-export=libosinfo-1.0 --cflags-begin -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_44 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_44 '-DPKG_DATA_DIR="/usr/share/libo sinfo"' '-DDATA_DIR="/usr/share"' '-DSYS_CONF_DIR="/etc"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="libosinfo"' -W -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wb uiltin-macro-redefined -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeclaration-after-statement -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimpli cit-function-declaration -Wimplicit-int -Winit-self -Wno-inline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmis sing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-def inition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wret urn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribu te=noreturn -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-vari able -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile- register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wno-sign-conversion -Wno-conversion -Wno-unused-parameter -Wjump-misses-init -Wframe-larger-than=4096 -Wno-overlength-strings --param=ssp-buf fer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all '-DPCI_IDS="/u sr/share/hwdata/pci.ids"' '-DUSB_IDS="/usr/share/hwdata/usb.ids"' -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1. 9.0/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0/osinfo/. -I/usr/include/glib-2.0 -I/usr/lib64/gli b-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-p ath=/usr/share/gir-1.0 -L/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo --library osinfo-1.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=gio-2.0 --ex tra-library=soup-2.4 --extra-library=xml2 --extra-library=xslt --extra-library=girepository-1.0 --sources-top-dirs /var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0/subprojects/ --sources-to p-dirs /var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/subprojects/ clang-13: error: unknown argument: '-fipa-pure-const' Traceback (most recent call last): File "/usr/lib/python3.9/distutils/unixccompiler.py", line 110, in preprocess self.spawn(pp_args) File "/usr/lib/python3.9/distutils/ccompiler.py", line 910, in spawn spawn(cmd, dry_run=self.dry_run) File "/usr/lib/python3.9/distutils/spawn.py", line 91, in spawn raise DistutilsExecError( distutils.errors.DistutilsExecError: command '/usr/lib/llvm/13/bin/clang' failed with exit code 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 99, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 590, in scanner_main ss, filenames = create_source_scanner(options, args) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 463, in create_source_scanner ss.parse_files(filenames) File "/usr/lib64/gobject-introspection/giscanner/sourcescanner.py", line 261, in parse_files self._parse(headers) File "/usr/lib64/gobject-introspection/giscanner/sourcescanner.py", line 307, in _parse cc.preprocess(tmp_name_cpp, File "/usr/lib64/gobject-introspection/giscanner/ccompiler.py", line 274, in preprocess self.compiler.preprocess(source=source, File "/usr/lib/python3.9/distutils/unixccompiler.py", line 112, in preprocess raise CompileError(msg) distutils.errors.CompileError: command '/usr/lib/llvm/13/bin/clang' failed with exit code 1 [60/62] aarch64-unknown-linux-gnu-gcc -o tools/osinfo-query tools/osinfo-query.p/meson-generated_.._.._osinfo_osinfo_enum_types.c.o tools/osinfo-query.p/osinfo-query.c.o -Wl,--as-needed -Wl,--no-undefined -O2 -pipe -march=armv8-a -fdiagnostics-color=always -frecord-gcc-switches -O2 -march=armv8-a -fdiagnostics-color=always -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 '-Wl,-rpath,$ORIGIN/../osinfo' -Wl,-rpath-link,/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo -Wl,--start-group osinfo/libosinfo-1.0.so.0.1009.0 /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libxml2.so /usr/lib64/libsoup-2.4.so /usr/lib64/libxslt.so -Wl,--end-group ninja: build stopped: subcommand failed. * ERROR: sys-libs/libosinfo-1.9.0-r1::gentoo failed (compile phase): --- Portage 3.0.28 (python 3.9.9-final-0, default/linux/arm64/17.0/systemd/selinux, gcc-11.2.1, glibc-2.34-r3, 5.10.83-gentoo-dist aarch64) ================================================================= System uname: Linux-5.10.83-gentoo-dist-aarch64-with-glibc2.34 KiB Mem: 131631932 total, 81183544 free KiB Swap: 25067512 total, 25067512 free Timestamp of repository gentoo: Wed, 08 Dec 2021 04:21:45 +0000 Head commit of repository gentoo: a3e5568d888d7550d683d99aff7f9a1b67f18ae4 Timestamp of repository sam_c: Mon, 06 Dec 2021 23:21:25 +0000 Head commit of repository sam_c: d1e1128c8b9ec5df1bd525897f6e81f5593aabd3 sh dash 0.5.11.5 ld GNU ld (Gentoo 2.37_p1 p1) 2.37 app-shells/bash: 5.1_p12::gentoo dev-lang/perl: 5.34.0-r3::gentoo dev-lang/python: 3.8.12_p1::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo dev-lang/rust-bin: 1.56.1::gentoo dev-util/cmake: 3.20.5::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.37_p1-r1::gentoo sys-devel/gcc: 10.3.1_p20211126::gentoo, 11.2.1_p20211127::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 sync-git-verify-commit-signature: yes sync-git-clone-extra-opts: -b stable -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0 -c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now sam_c location: /var/db/repos/sam_c sync-type: git sync-uri: https://github.com/gentoo-mirror/sam_c.git masters: gentoo local location: /var/db/repos/local masters: gentoo priority: 100 ACCEPT_KEYWORDS="arm64" ACCEPT_LICENSE="*" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-O2 -pipe -march=armv8-a -fdiagnostics-color=always -frecord-gcc-switches" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=armv8-a -fdiagnostics-color=always -frecord-gcc-switches" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --usepkg=y --complete-graph --with-bdeps=y --deep --usepkg-exclude virtual/* --usepkg-exclude acct-*/* --dynamic-deps=n --changed-deps=n --binpkg-changed-deps=n --use-ebuild-visibility=n" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=armv8-a -fdiagnostics-color=always -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=armv8-a -fdiagnostics-color=always -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-O2 -pipe -march=armv8-a -fdiagnostics-color=always -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" LINGUAS="en en_GB" MAKEOPTS="-j4" PKGDIR="/var/cache/binpkgs-host" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="PIC acl arm64 audit bash-completion bzip2 caps cli crypt dri edsp emacs fortran gdbm gmp graphite hardened hunspell iconv ipv6 jit libglvnd libtirpc lto ncurses nptl openmp pam pcre pgo pic pie readline seccomp selinux smartcard split-usr ssl system-av1 system-binutils system-boost system-bootstrap system-cairo system-clang system-digest system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-leveldb system-libevent system-libs system-libvpx system-libyaml system-lz4 system-mitkrb5 system-sqlite system-ssl system-tbb system-uulib system-webp system-zlib systemd threads thumb thumb2 udev unicode v4 v5 v6 v7 v8 verify-sig vfp vfp-d32 vfpv3 vfpv4 xattr zlib zsh-completion" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb vfp vfpv3 vfpv4 vfp-d32 v4 v5 v6 v7 v8 thumb2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Seems to happen if run independently: /var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build # /usr/bin/g-ir-scanner --no-libtool --namespace=Libosinfo --nsversion=1.0 --warn-all --output osinfo/Libosinfo-1.0.gir --c-include=osinfo/osinfo.h -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosino-1.9.0/osinfo -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0/osinfo/. --filelist=/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo/libosinfo-1.0.so.0.1009.0.p/Libosinfo_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --include=libxml2-2.0 --symbol-prefix=osinfo --identifier-prefix=Osinfo --pkg-export=libosinfo-1.0 --cflags-begin -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_44 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_44 '-DPKG_DATA_DIR="/usr/share/libosinfo"' '-DDATA_DIR="/usr/share"' '-DSYS_CONF_DIR="/etc"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="libosinfo"' -W -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeclaration-after-statement -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wno-inline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wno-sign-conversion -Wno-conversion -Wno-unused-parameter -Wjump-misses-init -Wframe-larger-than=4096 -Wno-overlength-strings --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all '-DPCI_IDS="/usr/share/hwdata/pci.ids"' '-DUSB_IDS="/usr/share/hwdata/usb.ids"' -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo/. -I/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0/osinfo/. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/osinfo --library osinfo-1.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=gio-2.0 --extra-library=soup-2.4 --extra-library=xml2 --extra-library=xslt --extra-library=girepository-1.0 --sources-top-dirs /var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0/subprojects/ --sources-top-dirs /var/tmp/portage/sys-libs/libosinfo-1.9.0-r1/work/libosinfo-1.9.0-build/subprojects Traceback (most recent call last): File "/usr/lib/python3.9/distutils/spawn.py", line 79, in spawn proc = subprocess.Popen(cmd, env=env) File "/usr/lib/python3.9/subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'clang'