Created attachment 659748 [details] build.log.gz Even if ebuilds looks to try to disable CUDA, it finds it and fails (as it's not using cuda_sanitize from cuda.eclass) [94/145] : && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-stack-protector -march=native -fPIC -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -Wl,-soname,libnvimage.so -o src/nvimage/libnvimage.so src/nvimage/CMakeFiles/nvimage.dir/BlockDXT.cpp.o src/nvimage/CMakeFiles/nvimage.dir/ColorBlock.cpp.o src/nvimage/CMakeFiles/nvimage.dir/DirectDrawSurface.cpp.o src/nvimage/CMakeFiles/nvimage.dir/ErrorMetric.cpp.o src/nvimage/CMakeFiles/nvimage.dir/Filter.cpp.o src/nvimage/CMakeFiles/nvimage.dir/FloatImage.cpp.o src/nvimage/CMakeFiles/nvimage.dir/Image.cpp.o src/nvimage/CMakeFiles/nvimage.dir/ImageIO.cpp.o src/nvimage/CMakeFiles/nvimage.dir/NormalMap.cpp.o src/nvimage/CMakeFiles/nvimage.dir/KtxFile.cpp.o -Wl,-rpath,/var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvmath:/var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvcore: -lpthread extern/poshlib/libposh.a src/bc6h/libbc6h.a src/bc7/libbc7.a src/nvmath/libnvmath.so src/nvcore/libnvcore.so -lpthread -ldl && : [95/145] cd /var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda && /usr/bin/cmake -E make_directory /var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda/./cuda_compile_1_generated_CompressKernel.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda/./cuda_compile_1_generated_CompressKernel.cu.o.cubin.txt -P /var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda/cuda_compile_1_generated_CompressKernel.cu.o.Gentoo.cmake FAILED: src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda/cuda_compile_1_generated_CompressKernel.cu.o cd /var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda && /usr/bin/cmake -E make_directory /var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda/./cuda_compile_1_generated_CompressKernel.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda/./cuda_compile_1_generated_CompressKernel.cu.o.cubin.txt -P /var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda/cuda_compile_1_generated_CompressKernel.cu.o.Gentoo.cmake In file included from /opt/cuda/include/cuda_runtime.h:83, from <command-line>: /opt/cuda/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported! 138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported! | ^~~~~ CMake Error at cuda_compile_1_generated_CompressKernel.cu.o.Gentoo.cmake:222 (message): Error generating /var/tmp/portage/media-gfx/nvidia-texture-tools-2.1.2/work/nvidia-texture-tools-2.1.2_build/src/nvtt/CMakeFiles/cuda_compile_1.dir/cuda/./cuda_compile_1_generated_CompressKernel.cu.o ninja: build stopped: subcommand failed. Portage 3.0.6 (python 3.8.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-9.3.0, glibc-2.31-r6, 5.7.19-gentoo x86_64) ================================================================= System uname: Linux-5.7.19-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-glibc2.2.5 KiB Mem: 16104308 total, 3816092 free KiB Swap: 5240828 total, 2349668 free Timestamp of repository gentoo: Sat, 12 Sep 2020 08:30:01 +0000 Head commit of repository gentoo: cc17580749c44bf66ce0eddb0ade86ce0c640066 sh bash 5.0_p18 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 ccache version 3.7.11 [enabled] app-shells/bash: 5.0_p18::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo dev-util/ccache: 3.7.11::gentoo dev-util/cmake: 3.16.5::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.1-r2::gentoo sys-devel/binutils: 2.33.1-r1::gentoo sys-devel/gcc: 8.4.0-r1::gentoo, 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: no sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 x-portage location: /usr/local/portage masters: gentoo priority: 0 guru location: /hdd/portage/local/layman/guru masters: gentoo priority: 50 maggu2810-overlay location: /hdd/portage/local/layman/maggu2810-overlay masters: gentoo priority: 50 rion location: /hdd/portage/local/layman/rion masters: gentoo priority: 50 science location: /hdd/portage/local/layman/science masters: gentoo priority: 50 torbrowser location: /hdd/portage/local/layman/torbrowser masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fno-stack-protector" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/cxoffice/etc/cxoffice.conf /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native -fno-stack-protector" DISTDIR="/hdd/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write --keep-going --autounmask=y --with-test-deps" 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" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache cgroup compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="es_ES.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" LINGUAS="es es_ES en en_US fr fr_FR" MAKEOPTS="-j9" PKGDIR="/hdd/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="7z 7zip X a52 aac acl acpi alsa amd64 appindicator applet archive aribsub avahi avx avx256 ayatana bash-completion berkdb bluetooth bluray branding btrfs bzip2 cairo ccache cdda cddb cdr chm chrome chromecast chromium cli colord crypt cuda cups cvs dbus dell djvu dot dri dts dvd dvdr dvi ebook eds emboss enchant encode epub equalizer ethernet evince evo excel exif fat ffmpeg firefox flac flash fortran fuse games gdbm gdk-pixbuf gdm gedit gif gimp git gnome gnome-keyring gnome-online-accounts gnome-shell gnumeric google googledrive gphoto2 gpm grammar gromacs gstreamer gtk gtk3 gtkstyle gui heif hfs html http hwaccel ico icons iconv icu indicator inkscape inotify introspection ios ipod irc iso jabber jpeg jumbo-build kate kpathsea latex lcms libass libdrm libglvnd libindicate libnotify librtmp libsecret libtirpc libv4l libvisual lm_sensors loudness lyx lz4 lzma lzo mad math matroska media mediaplayer metric microdns mms mmx mmxext mng mobi monolithic-build mp3 mp4 mpeg mtp multilib music musicbrainz nautilus ncurses network network-cron networkmanager nls nptl ntfs ntp numa nvidia nvme oauth offensive ogg opengl openmp openvpn optimized-qmake opus pam pango pch pdf pdfimport pipelight png policykit postscript ppapi ppds pptx projectm proprietary-codecs pstricks publishers pulseaudio qt5 rar raw rdp readline reiserfs rtf rtmp scanner sdl seccomp sendto sftp skins slideshow smp sna snmp sox spell split-usr squashfs sse sse2 sse3 sse4 sse4_1 ssh ssl ssse3 startup-notification subtitles svg systemd t1lib tcpd theora thesaurus threads tiff totem tracker truetype udev udisks uefi unicode update_drivedb upnp upnp-av upower usb user-session v4l vaapi vala vcd vdpau vector-icons vimeo visio vlc vnc vorbis vpx wayland webp wifi wma wmf wpg wxwidgets x264 x265 xattr xcb xfs xft xml xmp xmpp xpm xps xv xvid xz youtube zeroconf zfs zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" 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_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" KERNEL="linux" L10N="es es-ES en en-US fr fr-FR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7 python3_8 python3_9" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel i965 nouveau nvidia" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks, so this part still needs some additional work (proper disabling + cuda_sanitize to potentially enable it)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=256f1b1d7e3b1a38a604ff6df176d22dd38284a3 commit 256f1b1d7e3b1a38a604ff6df176d22dd38284a3 Author: David Seifert <soap@gentoo.org> AuthorDate: 2022-05-11 14:14:41 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2022-05-11 14:14:41 +0000 profiles: last-rite media-gfx/nvidia-texture-tools Closes: https://github.com/gentoo/gentoo/pull/25444 Bug: https://bugs.gentoo.org/741846 Bug: https://bugs.gentoo.org/770760 Signed-off-by: David Seifert <soap@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2074b5a9bed7a014ab800d89b77f813e93ddcc9e commit 2074b5a9bed7a014ab800d89b77f813e93ddcc9e Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-10 08:01:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-10 08:01:50 +0000 media-gfx/nvidia-texture-tools: treeclean Closes: https://bugs.gentoo.org/741846 Closes: https://bugs.gentoo.org/770760 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/nvidia-texture-tools/Manifest | 3 - .../files/nvidia-texture-tools-2.0.8-cg.patch | 39 --------- .../files/nvidia-texture-tools-2.0.8-clang.patch | 18 ---- .../files/nvidia-texture-tools-2.0.8-cpp14.patch | 58 ------------- .../nvidia-texture-tools-2.0.8-drop-qt4.patch | 12 --- .../files/nvidia-texture-tools-2.0.8-gcc-4.7.patch | 16 ---- .../files/nvidia-texture-tools-2.0.8-openexr.patch | 93 --------------------- .../files/nvidia-texture-tools-2.1.2-cmake.patch | 97 ---------------------- .../nvidia-texture-tools-2.1.2-test_path.patch | 29 ------- media-gfx/nvidia-texture-tools/metadata.xml | 15 ---- .../nvidia-texture-tools-2.0.8-r4.ebuild | 65 --------------- .../nvidia-texture-tools-2.1.2.ebuild | 52 ------------ profiles/package.mask | 5 -- 13 files changed, 502 deletions(-)