Created attachment 880238 [details] caffe2-2.1.1-r3.build.log Portage 3.0.58 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.38-r7, 6.6.5-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.6.5-gentoo-x86_64-x86_64-AMD_Ryzen_Threadripper_PRO_3955WX_16-Cores-with-glibc2.38 KiB Mem: 131723652 total, 23047232 free KiB Swap: 32767996 total, 23802108 free Timestamp of repository gentoo: Fri, 22 Dec 2023 16:32:01 +0000 Head commit of repository gentoo: 229d7219539e2a74f2fc87a8a255c9d7c08d8825 Timestamp of repository gitlab: Wed, 20 Dec 2023 15:16:52 +0000 Head commit of repository gitlab: 87e2a76d1fbc8d19fa2e598f08d6e5e8aceed7b9 Timestamp of repository guru: Thu, 21 Dec 2023 16:48:49 +0000 Head commit of repository guru: 854a683f5c69b83fa3152423e53f15ef7e880228 Timestamp of repository sage-on-gentoo: Wed, 20 Dec 2023 13:47:10 +0000 Head commit of repository sage-on-gentoo: 98193af5ec7e5cd502900025b069d8dccaffdaf8 Head commit of repository science: c5701b9a123d9cf9ebdf13570b3b92cabae54fc2 Head commit of repository torbrowser: d706e1b47e8b7386d1b0ffa6954cdff311a84f3d Head commit of repository nitratesky: 78a81a38092019aadfce37f9aeebbbb76d1134a3 Head commit of repository steam-overlay: 1c7f890d978d9f11141b6831c8f0179bf481bc19 Timestamp of repository nest: Thu, 21 Dec 2023 16:48:49 +0000 Head commit of repository nest: 7474cf18005558743cc47ee10443e1fa5e379663 sh bash 5.2_p21-r1 ld GNU ld (Gentoo 2.41 p4) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p21-r1::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2-r1::gentoo dev-lang/python: 3.10.13::gentoo, 3.11.7::gentoo, 3.12.1::gentoo dev-lang/rust-bin: 1.74.1::gentoo dev-util/cmake: 3.28.1::gentoo dev-util/meson: 1.3.0-r2::gentoo sys-apps/baselayout: 2.14-r1::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 255.1::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.41-r3::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 17.0.6::gentoo sys-devel/gcc: 13.2.1_p20231216::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 17.0.6::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False gitlab location: /var/db/repos/gitlab sync-type: git sync-uri: https://github.com/gentoo-mirror/gitlab.git masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False local-grotto location: /var/db/repos/local-grotto masters: gentoo volatile: False sage-on-gentoo location: /var/db/repos/sage-on-gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/sage-on-gentoo.git masters: gentoo volatile: False science location: /var/db/repos/science sync-type: git sync-uri: git://git.gentoo.org/proj/sci.git masters: gentoo volatile: False torbrowser location: /var/db/repos/torbrowser sync-type: git sync-uri: https://github.com/MeisterP/torbrowser-overlay.git masters: gentoo volatile: False nitratesky location: /var/db/repos/nitratesky sync-type: git sync-uri: https://github.com/VTimofeenko/nitratesky masters: gentoo nest priority: 50 volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 volatile: False nest location: /var/db/repos/nest sync-type: git sync-uri: https://github.com/gentoo-mirror/nest.git masters: gentoo priority: 99 volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64 Installed sets: @ai, @bareboneswm, @desktop, @devops, @fonts, @games, @opencl, @privacy, @programming, @radio, @streaming, @utils ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms 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.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="en en_US" MAKEOPTS="-j48" PKGDIR="/var/cache/binpkgs" 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" RUSTFLAGS="-C target-cpu=native -C link-arg=-Wl,-z,pack-relative-relocs" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 ao apache2 appindicator archive atasmart autotype awt bluetooth boot boto branding browser btpclient btrfs bzip2 cairo calendar caps cdda cddb cdr chromium cli colord connection-sharing context crypt cups curl dbus development device-mapper dia down-root dri drm dts dvd dvdr eap-tls eds egl elfutils encode epspdf evo exif extensions extra extraengine fdk ffmpge flac fortran fpm freerdp games gcj gd gdata gdbm geckodriver gentoo-vm gif gimp git glamor gles gles1 gles2 gltf gnome gnome-keyring gnome-shell gpg gpm graph graphics gstreamer gtk gtk3 gui hcitop hddtemp http humanities hwaccel iconv icu imagemagick introspection iproute2 iptables ipv6 jack javascript jemalloc jpeg jpeg2k json kernel-install keyring lcms ldac libkms libnotify libtirpc libvirt lm-sensors lm_sensors login lto lxc lz4 lzma mad matroska maxminddb mediaplayer mms mmx mmxext mng mod modplug mp3 mp4 mpeg mtp multilib music mysql mysqli mysqlnd nautilus ncat ncurses network networkmanager nfs nfsv4 nfsv41 nftables nls notification nping nptl ocr odf offensive ofono ofx ogg omega opencl opengl openmp opus osmesa ozone pam pango pcre pda pdf pdfannotextractor pdfimport pdo pgo php pipewire png policykit postgres postproc ppds printsupport profiling pstricks publishers pulseaudio python qemu qt5 raw readline redis rrdcgi s3tc science sdl seccomp sendto sensord slib soap sockets sound speex spell spice sqlite srt sse sse2 sse3 sse4.1 sse4.2 ssh ssl ssse3 staging startup-notification svc svg syntax-check sysprof system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-llvm system-sqlite systemd systemtap sysv-utils sysvipc terminal test-rust tex4ht texi2html tfshark theora threads thunar tiff tools tor-hardening tproxy tray trayicon truetype udev udisks uki ukify unicode update_drivedb upower usb usbredir user-session uuid uvm v4l vaapi vdpau vector-icons vim vim-syntax visio vkd3d vlc vnc vorbis vpx vte vulkan vulkan-overlay wayland webp widevine wireshark-plugins wxwidgets x264 x265 xa xattr xcb xcomposite xephyr xetex xface xft xinerama xml xmlwriter xrandr xsl xslt xv xvfb xvid xvmc zip zlib zsh-completion zsh-completions" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation proxy proxy_balancer proxy_connect proxy_fdpass proxy_fcgi proxy_http proxy_scgi proxy_wstunnel ratelimit rewrite setenvif slotmem_shm socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="event" 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 rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi gunzip gzip_static metrics mp4 naxsi security realip stub_status pcre-jit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby31" SANE_BACKENDS="epson epson2 net" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
* Skipping make test/check due to ebuild restriction. * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/work/pytorch-2.1.1" * Build directory (BUILD_DIR): "/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/work/pytorch-2.1.1_build" ninja -v -j48 -l0 install [0/1] cd /var/tmp/portage/sci-libs/caffe2-2.1.1-r3/work/pytorch-2.1.1_build && /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "RelWithDebInfo" -- Set non-toolchain portion of runtime path of "/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/image/usr/lib64/libc10.so" to "$ORIGIN" -- Set non-toolchain portion of runtime path of "/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/image/usr/lib64/libshm.so" to "$ORIGIN" -- Set non-toolchain portion of runtime path of "/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/image/usr/bin/torch_shm_manager" to "$ORIGIN/../lib" -- Set non-toolchain portion of runtime path of "/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/image/usr/lib64/libtorch_python.so" to "$ORIGIN" -- Set non-toolchain portion of runtime path of "/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/image/usr/lib64/libtorch_cpu.so" to "$ORIGIN" -- Set non-toolchain portion of runtime path of "/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/image/usr/lib64/libtorch.so" to "$ORIGIN" -- Set non-toolchain portion of runtime path of "/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/image/usr/lib64/libtorch_global_deps.so" to "$ORIGIN" -- Set non-toolchain portion of runtime path of "/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/image/usr/lib64/functorch.so" to "$ORIGIN/../torch/lib" rm: cannot remove '/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/image/var/tmp/portage/sci-libs/caffe2-2.1.1-r3/work/pytorch-2.1.1/test': No such file or directory * ERROR: sci-libs/caffe2-2.1.1-r3::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_install * environment, line 3244: Called die * The specific snippet of code: * rm -r "${ED}${S}"/test || die;
Created attachment 880240 [details, diff] Remove both rm for test and third_party from ebuild Builds for me now after remove the 'rm -rf' for both test and third_party from the ebuild. Tried removing just test at first but the build failed on third_party also.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9623a3e98fc0f8e3658488d31f0708505505fa89 commit 9623a3e98fc0f8e3658488d31f0708505505fa89 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2023-12-22 22:26:06 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2023-12-22 22:26:53 +0000 sci-libs/caffe2: fix install without cuda Closes: https://bugs.gentoo.org/920549 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> sci-libs/caffe2/{caffe2-2.1.1-r3.ebuild => caffe2-2.1.1-r4.ebuild} | 3 +++ 1 file changed, 3 insertions(+)
Created attachment 880247 [details] Build is not fixed with the -r4 ebuild. Build is not fixed with the -r4 ebuild. The build failing has nothing to do with CUDA.
rm: cannot remove '/var/tmp/portage/sci-libs/caffe2-2.1.1-r4/image/var/tmp/portage/sci-libs/caffe2-2.1.1-r4/work/pytorch-2.1.1/test': No such file or directory * ERROR: sci-libs/caffe2-2.1.1-r4::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_install * environment, line 3244: Called die * The specific snippet of code: * rm -r "${ED}${S}"/test || die;
[U] sci-libs/caffe2 Available versions: (~)1.13.1-r6^t (~)2.0.0-r5^t (~)2.0.1-r5^t (~)2.1.1^t[1] (~)2.1.1-r4^t {cuda distributed fbgemm ffmpeg gloo mpi nnpack +numpy opencl opencv openmp qnnpack rocm tensorpipe xnnpack PYTHON_SINGLE_TARGET="python3_10 python3_11"} Installed versions: 2.1.1-r3^t(12:31:41 PM 12/22/2023)(numpy opencl openmp -cuda -distributed -fbgemm -ffmpeg -gloo -mpi -nnpack -opencv -qnnpack -tensorpipe -xnnpack PYTHON_SINGLE_TARGET="python3_11 -python3_10") Homepage: https://pytorch.org/ Description: A deep learning framework [1] "local-grotto" /var/db/repos/local-grotto The installed -r3 version is the one using my ebuild patch that removes the two directories, test and third_perty, from being part of the install portion.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f877a5bb3dd0a90848a2656cae80d5fcdbf1960 commit 2f877a5bb3dd0a90848a2656cae80d5fcdbf1960 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2023-12-23 08:23:06 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2023-12-23 08:24:00 +0000 sci-libs/caffe2: missing an important change Closes: https://bugs.gentoo.org/920549 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> sci-libs/caffe2/{caffe2-2.1.1-r4.ebuild => caffe2-2.1.1-r5.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)