Created attachment 592528 [details] build log /var/tmp/portage/sys-devel/llvm-10.0.0.9999/work/llvm-10.0.0.9999/cmake/config.guess: unable to guess system type This script, last modified 2011-08-20, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (/var/tmp/portage/sys-devel/llvm-10.0.0.9999/work/llvm-10.0.0.9999/cmake/config.guess) is already up to date, please send the following data and any information you think might be pertinent to <config-patches@gnu.org> in order to provide the needed information to handle your system. config.guess timestamp = 2011-08-20 uname -m = riscv64 uname -r = 5.1.9 uname -s = Linux uname -v = #3 SMP Thu Jun 13 20:13:22 EDT 2019 /usr/bin/uname -p = unknown /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = riscv64 UNAME_RELEASE = 5.1.9 UNAME_SYSTEM = Linux UNAME_VERSION = #3 SMP Thu Jun 13 20:13:22 EDT 2019 CMake Error at cmake/modules/GetHostTriple.cmake:27 (message): Failed to execute /var/tmp/portage/sys-devel/llvm-10.0.0.9999/work/llvm-10.0.0.9999/cmake/config.guess Call Stack (most recent call first): cmake/config-ix.cmake:386 (get_host_triple) CMakeLists.txt:627 (include) emerge info: Portage 2.3.69 (python 3.7.4-final-0, default/linux/riscv/17.0/rv64gc, gcc-9.1.0, glibc-2.29-r3, 5.1.9 riscv64) ================================================================= System Settings ================================================================= System uname: Linux-5.1.9-riscv64-with-gentoo-2.6 KiB Mem: 32969308 total, 30327292 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 05 Oct 2019 23:30:01 +0000 Head commit of repository gentoo: 2db94ff3caff546a2c2baf8e4b819f7d385c2d24 sh bash 5.0_p7 ld GNU ld (Gentoo 2.32 p2) 2.32.0 app-shells/bash: 5.0_p7::gentoo dev-lang/perl: 5.30.0::gentoo dev-lang/python: 3.7.4-r1::gentoo dev-util/cmake: 3.15.4::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.2::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 9.1.0-r1::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="riscv ~riscv" ACCEPT_LICENSE="@FREE" CBUILD="riscv64-unknown-linux-gnu" CFLAGS="-O2 -pipe -g" CHOST="riscv64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--nospinner --jobs=1 --fail-clean=n --misspell-suggestions=n --oneshot" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" 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="acl berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 logrotate multilib ncurses nls nptl openmp pam pcre readline riscv split-usr ssl tcpd unicode xattr zlib" ABI_RISCV="lp64d" ADA_TARGET="gnat_2018" 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" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="RISCV" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Oh, right. LLVM uses some ancient version and refuses to upgrade because of GPL-3. I'll look into replacing it locally. That said, feel free to submit a patch adding just this one arch to reviews.llvm.org. They should accept it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39648a88e4fca0e91be366c5b1891d9172da58c2 commit 39648a88e4fca0e91be366c5b1891d9172da58c2 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-10-11 18:16:50 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-10-11 18:57:03 +0000 sys-devel/llvm: Update config.guess from gnuconfig in 10+ Closes: https://bugs.gentoo.org/697510 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-devel/llvm/llvm-10.0.0.9999.ebuild | 4 ++++ 1 file changed, 4 insertions(+)