I'm seeing increasing occurrences of these type of issues Reproducible: Always Portage 3.0.64-29+g120b2ec98 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r6, 6.1.70-gentoo-gentoo-dist x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.1.70-gentoo-gentoo-dist-x86_64-12th_Gen_Intel-R-_Core-TM-_i3-12100-with-glibc2.39 KiB Mem: 32613764 total, 19031340 free KiB Swap: 5242876 total, 5242876 free Head commit of repository oubliette: da59471c8aacc8d99ea488a391a39d00d460428b Timestamp of repository gentoo: Wed, 29 May 2024 00:45:00 +0000 sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.41 p5) 2.41.0 ccache version 4.9.1 [enabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.1_p16-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.0-r1::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2-r3::gentoo dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo dev-lang/rust: 1.77.1::gentoo dev-util/ccache: 4.9.1-r1::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 255.4::gentoo sys-devel/binutils: 2.41-r5::gentoo, 2.42-r1::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_p20240210::gentoo, 14.1.1_p20240518::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 15.0.7::gentoo, 17.0.6::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 17.0.6::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::gentoo sys-libs/libselinux: 3.6-r1::gentoo Repositories: oubliette location: /var/db/repos/oubliette sync-type: git sync-uri: https://github.com/nabbi/oubliette-overlay masters: gentoo priority: 50 volatile: False gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: 100 volatile: True ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -flto=1 -fuse-linker-plugin -ffat-lto-objects" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-march=native -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -flto=1 -fuse-linker-plugin -ffat-lto-objects" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=n --complete-graph --binpkg-respect-use=y --binpkg-changed-deps=n --changed-deps=n --rebuild-if-new-slot=y" 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 candy ccache 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" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.gossamerhost.com/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j8" PKGDIR="/mnt/systmp/packages" PORTAGE_BINHOST="/mnt/systmp/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="/tmp" SHELL="/bin/bash" USE="0libedit X a52 a53 aac acc acpi adns aio amd64 amr asm atm audiofile avif bash-completion bluray branding brotli bzip2 c++0x c++11 cdda cdr cet cli consolekit cracklib css custom-cflags custom-optimization dav1d dbx declarative default-gold dga dirac dri dri3 dts dv dvd dvdr encode enscript exif faad ffmpeg firefox flac fortran gdu gif gles gles1 gles2 gles2-only gles3 glslang glut gmp gstreamer gui gzip heif http2 http3 iconv idn imlib io-uring ipc ipv6 jemalloc jit jpeg jpeg2k kde lame libevent libnotify libsamplerate libtirpc libwww lto lz4 lzma lzo mad matroska matrox mikmod mime minimal mmap mmx mozilla mp3 mp4 mpeg mplayer mpris mudflap multilib native-extensions networkmanager nntp nocd nptl nptlonly nsplugin offensive ogg openal opencl opengl openmp optimization opus orc osc pam pango pdf pgo phonon pie plasma png pnm policykit posix ppds pppd pulseaudio qt5 quicktime raw readline schroedinger seccomp sharedmem shorten smp sndfile sockets socks5 sound spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssse3 startup-notification strip strong-optimization svg svg2 symlink sysfs systemd taglib tcmalloc test-rust tfo theora threads tiff toolame truetype twolame udev udisks unicode unixd upower usb vaapi vcd verify-sig vhosts vorbis vpx vulkan webp widevine widgets win32codecs wxwidgets x264 x265 xcb xft xine xml xorg xpm xv xvid xxhash zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="unixd authn_core authz_core authz_host access_compat alias auth_basic authn_file log_config mime log_config proxy proxy_http rewrite proxy_balancer lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat slotmem_shm env cache dir cgid headers proxy_connect" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" 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 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="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport" LLVM_SLOT="15" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access fastcgi gzip gzip_static limit_req rewrite upstream_check proxy" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel i965 i915" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= app-emulation/qemu-8.2.3::gentoo would be built with the following: USE="aio bzip2 fdt gnutls gtk io-uring jemalloc lzo ncurses opengl pam pin-upstream-blobs pulseaudio seccomp slirp spice udev usb usbredir vhost-net vnc -accessibility -alsa -bpf (-capstone) -curl -debug -doc -filecaps -fuse -glusterfs -infiniband -iscsi -jack -jpeg -keyutils -multipath -nfs -nls -numa -oss -pipewire -plugins -png -python -rbd -sasl -sdl -sdl-image (-selinux) -smartcard -snappy -ssh -static-user -systemtap -test -vde -virgl -virtfs -vte -xattr -xen -zstd" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb -cris -hexagon -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -x86_64 -xtensa -xtensaeb" >>> Attempting to run pkg_info() for 'app-emulation/qemu-8.2.3' openpty failed: 'out of pty devices' Using: app-emulation/spice-protocol-0.14.4 sys-firmware/edk2-ovmf-bin-202202 sys-firmware/seabios-bin-1.16.0 sys-firmware/ipxe-1.21.1 sys-firmware/sgabios-0.1_pre10
As I think I've mentioned before, your GENTOO_MIRRORS is stale, so that makes sense. Anyway, please include the full output.
% GENTOO_MIRRORS= ebuild qemu-8.2.3.ebuild fetch >>> Downloading 'https://download.qemu.org/qemu-8.2.3.tar.xz' !!! Fetched file: qemu-8.2.3.tar.xz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 129917944 !!! Expected: 130106716 Refetching... File renamed to '/data/cache/distfiles/qemu-8.2.3.tar.xz._checksum_failure_.sth8dcgt' !!! Couldn't download 'qemu-8.2.3.tar.xz'. Aborting.
(In reply to Sam James from comment #1) > As I think I've mentioned before, your GENTOO_MIRRORS is stale, so that > makes sense. > > Anyway, please include the full output. Stale mirrors? You suggest I add more mirrors (because clearly 'errorCode=3 Resource not found')?
From your emerge --info: > GENTOO_MIRRORS="http://gentoo.gossamerhost.com/" That mirror is defunct. Portage will try fetch from it as you only specified one and then fallback to upstream URLs. That's why you're seeing these issues more as the sole mirror you're using gets more stale. Of course, where the upstream content has changed, this requires examination, but it's generally not critical as the right files are mirrored already.
But that mirror is listed in https://www.gentoo.org/downloads/mirrors/
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/data/api.git/commit/?id=af2c49f038acea1b8356e71bcb3ce4ce3cafde35 commit af2c49f038acea1b8356e71bcb3ce4ce3cafde35 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-07-04 01:45:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-07-04 01:45:57 +0000 mirrors/distfiles: drop Gossamer Threads The mirror is no longer being updated. Bug: https://bugs.gentoo.org/933298 Bug: https://bugs.gentoo.org/935340 Signed-off-by: Sam James <sam@gentoo.org> files/mirrors/distfiles.xml | 5 ----- 1 file changed, 5 deletions(-)