emerge fails with error Reproducible: Always emerge --info Portage 3.0.65 (python 3.11.9-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-13, glibc-2.39-r6, 6.6.38-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-6.6.38-gentoo-x86_64-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.39 KiB Mem: 32791308 total, 22615096 free KiB Swap: 31249404 total, 28792316 free Timestamp of repository gentoo: Sun, 11 Aug 2024 15:00:00 +0000 Head commit of repository gentoo: b7a1eb4945b9ee25cb412aad98f346b2d7a578f5 Timestamp of repository edgets: Sat, 10 Aug 2024 14:22:06 +0000 Head commit of repository edgets: f7438d28c6631779b4ec2055d7601d6d887f2705 Timestamp of repository escpr2: Sat, 10 Aug 2024 14:22:11 +0000 Head commit of repository escpr2: 9678eb4bbae0a5dcf224b4eae71f871c517dc398 Timestamp of repository guru: Sat, 10 Aug 2024 20:48:48 +0000 Head commit of repository guru: ebc9f1475c2cd5a5cdaa35bb7b7c92abc456797c Timestamp of repository sage-on-gentoo: Sat, 10 Aug 2024 14:21:49 +0000 Head commit of repository sage-on-gentoo: 84b67cff8de66b03dfa273ceae766125eb273469 Timestamp of repository science: Sat, 10 Aug 2024 14:22:06 +0000 Head commit of repository science: 262cca0827b825de2e96f60a9d71adb201c74b54 Timestamp of repository ssnb: Sat, 10 Aug 2024 14:21:56 +0000 Head commit of repository ssnb: 20c782dcc93feac77ff05969a50c9a2ba292f899 Timestamp of repository steam-overlay: Sat, 10 Aug 2024 14:21:51 +0000 Head commit of repository steam-overlay: f58515ef7cbf5a30fa9ebab679166065dc0f36e5 sh bash 5.2_p26-r6 ld GNU ld (Gentoo 2.42 p3) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26-r6::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.28.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.38.2-r3::gentoo dev-lang/python: 3.11.9-r1::gentoo, 3.12.3-r1::gentoo dev-lang/rust: 1.79.0::gentoo dev-lang/rust-bin: 1.79.0::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54.2::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 17.0.6::gentoo, 18.1.8::gentoo sys-devel/gcc: 12.4.0::gentoo, 13.3.1_p20240614::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo, 18.1.8::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 17.0.6::gentoo, 18.1.8-r1::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 3 sync-rsync-verify-metamanifest: yes edgets location: /var/db/repos/edgets sync-type: git sync-uri: https://github.com/gentoo-mirror/edgets.git masters: gentoo volatile: False escpr2 location: /var/db/repos/escpr2 sync-type: git sync-uri: https://github.com/gentoo-mirror/escpr2.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 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: https://github.com/gentoo-mirror/science.git masters: gentoo volatile: False ssnb location: /var/db/repos/ssnb sync-type: git sync-uri: https://github.com/gentoo-mirror/ssnb.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O3 -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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O3 -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="-march=native -O3 -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 merge-wait 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="-march=native -O3 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="de en" 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" SHELL="/bin/bash" USE="7zip R X Xaw3d a52 aac acl acpi activities addc addressbook admin ads alembic alsa amd64 amr amrenc appstream aprs aptx archive asm aspell assistant athena avif base bittorrent blake2 bluetooth bluray boost branding broadway brotli bs2b btrfs bzip2 cairo calendar capi caps cdda cddb cdio cdr cdrom cet chromium cinnamon clamav cli clippy codec2 collada color-management colord context contrib contribcvv contribdnn contribfreetype contribhdf contribxfeatures2d cpudetection crypt cryptsetup cuda cue cups curl cvs cxx d3d11 dbus deep-sky designer device-mapper dhcp-tools dhcpcd dia dicom discover distancefieldgenerator distributed djvu dos download dri drm dropbox dts dv dvb dvd dvdr dvi eds education efiemu egl eglfs eigen elogind encode eps epub equalizer escprlib evdev examples excel exif expat extra extraengine faad fbgemm fdk ffmpeg fftw fits flac flite fltk font-styles fontconfig fpx frei0r fribidi ftp fuse gd gdal gdbm gdbui geckodriver geolocation geos gfile gflags gif gimp git gles2 gloo gme gml gmp gnome gnome-keyring gnome-shell gnumeric gnuplot gnutls go goffice googledrive gpg gpgme gphoto2 gps grammar graphics graphite grub gsettings gsf gsl gsm gssapi gstreamer gtk gtk3 gtk4 gts gui guile gzip handbook hardcoded-tables hdf5 heif hex highlight html htmlreport http humanities hunspell ibus iconv icu iec61883 image image-backend imagemagick imagequant innodb-lz4 innodb-lzo introspection iprint ipv6 ithreads jack java javascript jdbc jit jpeg jpeg2k jpegxl json julia junction jupyter kaccounts kafka kate kbd kbindicator kcm kde kdesu kerberos keyring kf6compat kpathsea kvazaar kwallet ladspa lapack latency-timing latex latin layers lcms ldac ldap lensfun libaom libaribb24 libcaca libdrm libilbc libnotify libproxy librtmp libsoxr libtesseract libtirpc libupnp libuv libv4l libxml2 linguist llvm lm-sensors logrotate lrz lspclient lto lv2 lvm lz4 lzma lzo m17n-lib mad map marble mariadb markdown mate math mathml matio media mediaplayer mercurial metapost mng mobi modplug modula2 mongodb motif mount mp3 mp4 mpd mpeg mpi multilib multimedia multitarget mysql nautilus nbconvert ncurses netapi netcdf netlink network networkmanager nfc nftables nls nnpack notebook nsight ntfs numpy nvcontrol nvdec nvenc nvidia objc objc++ objc-gc oci8 odbc offlinehelp ogg okular onednn opds openal openblas opencl opencv opencvapps openexr opengl openh264 openmp openssl openvdb opus oqgraph oracle origin osg osl osmesa oss oxygen pam pango panorama pcap pcre pdf pdfimport pdfium perl pgplot phonon pim pipewire pixeltool plasma png policykit positioning postgres postscript ppds ppp printsupport pstricks publishers pulseaudio pyqt6 python qalculate qdbus qml qmldesigner qnnpack qt5 qt6 qtattributionsscanner qtaudio qtcamera qtdiag qtegrity qthelp qtmedia qtmultimedia qtplugininfo quick quick3d racket rar rav1e raw readline redland remote-fs reviewboard rss rtf rtmp rubberband ruby rust rust-analyzer rust-src rustfmt rustls samba sanitizer sasl scanner science scope screencast scripts scripttools sdk sdl sdl-image sdl2 search seccomp semantic-desktop sensord sensors serial serialport serialterminal server session sha2 shaderc shaders shapefile share sieve sift sim skins smartcard smp snapper snappy sndfile sndio sodium sound source-highlight spacenav spam-report spamassassin spatialaudio speech speex spell sphinx split-usr spotlight sql sqlite srt ssh ssl sst-rsync stars startup-notification subversion svg svg2 svt-av1 systemtap szip t1lib tcl telephony telescope tensorpipe terminal tesseract test-rust tex4ht texi2html theora thesaurus threads tiff tk tools tor-hardening tpm tree-sitter truetype twolame udev udisks uefi ufw unicode unrar upower usb utils v4l v4lutils vala vcd vdpau verify-file verify-sig video vidstab vis-profiler vlc vnc vorbis vpx vtv vulkan wav wavpack wayland webchannel webdav webengine webkit webp websockets wide-int widgets wifi winbind wineappdb wireless wma wmf wordperfect wxwidgets x11extras x264 x265 xattr xcb xft xine xinerama xkb xla xls xml xmlpatterns xmlwriter xmp xmss xnnpack xpm xps xrandr xray xrender xs xscreensaver xv xvid xwidgets xxhash yassl zeroconf zeromq zimg zlib zstd zvbi" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file 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 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" 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" KERNEL="linux" L10N="de en en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="nvidia nouveau" 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, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 899923 [details] build log in tar.gz format build log in tar.gz format
In the future, please compress the build log using gzip directly instead of sticking it inside of a pointless tar file.
FAILED: bin/torch_shm_manager : && /usr/bin/x86_64-pc-linux-gnu-g++ -march=native -O3 -pipe -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DUSE_FBGEMM -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -Wal l -Wextra -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-funct ion -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=pedantic -Wno-error=old-style-cast -Wno-missing-braces -fdiagnostics-color=always -faligned-new - Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -rdynam ic -Wl,--no-as-needed caffe2/torch/lib/libshm/CMakeFiles/torch_shm_manager.dir/manager.cpp.o -o bin/torch_shm_manager -Wl,-rpath,/var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib: lib/libshm.so -lrt l ib/libc10.so /usr/lib64/libglog.so.0.6.0 /usr/lib64/libgflags.so.2.2.2 -Wl,-rpath-link,/var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib && /usr/bin/cmake -E __run_co_compile --lwyu="ldd;-u;-r" --source=bi n/torch_shm_manager && : /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::Post(std::__cxx11::basic _string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void (httplib::Request const&, httplib::Response&)>)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::set_address_family(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::bind_to_port(std::__cxx1 1::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Response::set_content(std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::stop()' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::set_keep_alive_max_count (unsigned long)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::set_keep_alive_timeout(l ong)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::listen_after_bind()' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::Get(std::__cxx11::basic_ string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void (httplib::Request const&, httplib::Response&)>)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::~Server()' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::Server()' collect2: error: ld returned 1 exit status
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c347f7335b65811fbf73dad70d68b84b6788b764 commit c347f7335b65811fbf73dad70d68b84b6788b764 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2024-09-04 04:40:36 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2024-09-04 04:58:52 +0000 sci-libs/caffe2: req cpp-httplib Closes: https://bugs.gentoo.org/937635 Closes: https://bugs.gentoo.org/937788 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> .../caffe2/{caffe2-2.4.0.ebuild => caffe2-2.4.0-r1.ebuild} | 6 +++++- sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch | 13 +++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-)