Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883371 - dev-libs/libgpg-error-1.46-r1 wrong filesizes in Manifest
Summary: dev-libs/libgpg-error-1.46-r1 wrong filesizes in Manifest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal critical
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-28 00:43 UTC by melser_regs@gmxpro.net
Modified: 2022-11-30 07:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description melser_regs@gmxpro.net 2022-11-28 00:43:04 UTC
When trying to emerge dev-libs/libgpg-error-1.46-r1 you get a verify failed error. 

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-libs/libgpg-error-1.46-r1

Actual Results:  
the ebuild failes with file size mismatch

Expected Results:  
proper recording of file size for new release in manifest (size of bz2 files not gz)

I checked the recorded file sizes and noticed that the ones from the Manifest are from the .gz files on the mirror (which are also available for download). But the ebuild downloads the .bz2 files (not the .gz ones) and that's why the recorded filesizes in the Manifest don't match.

A workaround is to download the .bz2 files manually to /usr/local/portage/distfiles, delete the Manifest and recreate it with ebuild dev-libs/libgpg-error-1.46-r1 digest. This fixes the wrongly recorded filesize and then installation is working.

Seems to be a small error that occured when the Manifest was created. Probably the maintainer/author did wrongly download the gz files and saved them as bz2 erronously. Then the manifest was created with the wrong file sizes.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-28 00:45:01 UTC
Please share the full output you've had. Note that your described scenario couldn't have happened because it's been in tree for weeks with everyone else able to install it.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-28 00:46:20 UTC
What is possible however is that upstream mixed up the two files, retroactively fixed them, and your lack of a GENTOO_MIRRORS setting (hard to say without emerge --info, please share it; it's valid not to have one set but not a good idea) means you're exposed to it.
Comment 3 melser_regs@gmxpro.net 2022-11-28 01:27:09 UTC
emerge --info

It shows that GENTOO_MIRRORS are set.

----------------------------
Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.3.0, glibc-2.36-r5, 5.15.75-gentoo x86_64)
=================================================================
System uname: Linux-5.15.75-gentoo-x86_64-Intel-R-_Core-TM-_i3-5010U_CPU_@_2.10GHz-with-glibc2.36
KiB Mem:    16272320 total,   4190688 free
KiB Swap:    4193276 total,   4193276 free
Timestamp of repository gentoo: Sun, 27 Nov 2022 21:45:01 +0000
Head commit of repository gentoo: 314a493874604932ec68a72eb99949cbab721360
Timestamp of repository go-overlay: Sat, 26 Nov 2022 21:17:39 +0000
Head commit of repository go-overlay: cb73667a85ae315692f2a513ea24b4f264a7976d

Timestamp of repository guru: Sat, 26 Nov 2022 21:17:50 +0000
Head commit of repository guru: 7d725d19f37091bfa7e074d1d1e30adcc010eee7

Timestamp of repository kde: Sun, 27 Nov 2022 13:31:46 +0000
Head commit of repository kde: 6a8093811dfca186880beb90ac39040552e0a8be

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
distcc 3.4 x86_64-pc-linux-gnu [enabled]
ccache version 4.5.1 [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r4::gentoo
dev-lang/python:           3.10.8_p3::gentoo, 3.11.0_p2::gentoo
dev-lang/rust:             1.64.0-r1::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.63.2-r1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

go-overlay
    location: /var/db/repos/go-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/go-overlay.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo

g-cpan
    location: /usr/local/overlay/g-cpan
    masters: gentoo
    priority: 5000

local-portage-repo
    location: /usr/local/portage
    masters: gentoo
    priority: 10000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini /etc/teamspeak3-server/tsdns_settings.ini /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
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/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--load-average 4.0"
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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live ccache config-protect-if-modified distcc 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.evowise.com/gentoo/ https://mirrors.evowise.com/gentoo/ http://mirror.netcologne.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j42"
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="X a52 aac acl acpi activities alsa amd64 apache2 bash-complection bluetooth branding bzip2 cairo cdda cdr clamav cli crypt cups dbus declarative dri dts dvd dvdr dvdread elogind encode exif ffmpeg flac fontconfig fortran ftp gdbm gif glade gnutls gpm gtk gtk-sharp hal iconv icu imagemagick imap innodb ipv6 ithreads java jpeg jpg kde kwallet lcms libglvnd libnotify libtirpc mad maildir midi mmx mng mozilla mp3 mp4 mpeg multilib mysql mysqli ncurses nls nptl nptlonly odbc ogg opengl openmp openssl pam pango pcmcia pcre pdf pic plasma png policykit ppds qml qt5 readline samba sasl sdl seccomp semantic-desktop spell split-usr sql sse sse2 ssl startup-notification svg test-rust tetex threads tiff truetype type1 udev udisks unicode upower usb vcd vorbis widgets wxwidgets x264 xattr xcb xml xsl xslt xulrunner xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="cgi actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias slotmem_shm authn_core authz_core unixd socache_shmcb" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-28 01:31:21 UTC
Note your first two mirrors seem gone. Can you include the mismatch error please in full?
Comment 5 melser_regs@gmxpro.net 2022-11-28 01:34:27 UTC
Unfortunately I don't have those logs anymore are they recorded anyhwere in /var/log or elsewhere? Cause after the installation worked I didn't care about them
Comment 6 Andrei Horodniceanu 2022-11-28 13:22:05 UTC
I ran into the same issue, it has been happening for maybe a week, don't remember for certain when I first got the size missmatch error.

emerge --info:
```
Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1/hardened, gcc-11.3.0, glibc-2.36-r5, 5.15.77-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.15.77-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.36
KiB Mem:    16321800 total,   8686380 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 28 Nov 2022 11:48:46 +0000
Head commit of repository gentoo: 51530e767f6c59b762b4ff9b9b9beb544d7311b9

sh dash 0.5.11.5
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r4::gentoo
dev-lang/python:           2.7.18_p16::gentoo, 3.10.8_p3::gentoo, 3.11.0_p2::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.63.3::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.3::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.3::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.3::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: yes

local
    location: /var/db/repos/local
    masters: gentoo

brave-overlay
    location: /var/lib/layman/brave-overlay
    masters: gentoo
    priority: 50

dlang
    location: /var/lib/layman/dlang
    masters: gentoo
    priority: 50

nix-guix
    location: /var/lib/layman/nix-guix
    masters: gentoo
    priority: 50

src_prepare-overlay
    location: /var/lib/layman/src_prepare-overlay
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    masters: gentoo
    priority: 50

Installed sets: @minecraft
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
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/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
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 XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirrors.xservers.ro/gentoo/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
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/zsh"
USE="X acl amd64 bzip2 cli crypt dri elogind fortran gdbm hardened iconv libglvnd libtirpc lvm multilib ncurses nls nptl nvidia openmp pam pcre pie pulseaudio readline seccomp split-usr ssl ssp test-rust unicode vim-syntax xattr xinerama xtpax zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2021" 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="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 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US ro fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
```

and the build log:
```
>>> Downloading 'http://ftp.romnet.org/gentoo/distfiles/layout.conf'
--2022-11-28 15:18:46--  http://ftp.romnet.org/gentoo/distfiles/layout.conf
Resolving ftp.romnet.org... 194.42.102.4
Connecting to ftp.romnet.org|194.42.102.4|:80... failed: Connection refused.
!!! Couldn't download '.layout.conf.ftp.romnet.org'. Aborting.
>>> Downloading 'http://ftp.romnet.org/gentoo/distfiles/libgpg-error-1.46.tar.bz2'
--2022-11-28 15:18:46--  http://ftp.romnet.org/gentoo/distfiles/libgpg-error-1.46.tar.bz2
Resolving ftp.romnet.org... 194.42.102.4
Connecting to ftp.romnet.org|194.42.102.4|:80... failed: Connection refused.
>>> Downloading 'http://mirrors.xservers.ro/gentoo/distfiles/layout.conf'
--2022-11-28 15:18:46--  http://mirrors.xservers.ro/gentoo/distfiles/layout.conf
Resolving mirrors.xservers.ro... 89.38.249.150
Connecting to mirrors.xservers.ro|89.38.249.150|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-11-28 15:18:46 ERROR 404: Not Found.

!!! Couldn't download '.layout.conf.mirrors.xservers.ro'. Aborting.
>>> Downloading 'http://mirrors.xservers.ro/gentoo/distfiles/libgpg-error-1.46.tar.bz2'
--2022-11-28 15:18:46--  http://mirrors.xservers.ro/gentoo/distfiles/libgpg-error-1.46.tar.bz2
Resolving mirrors.xservers.ro... 89.38.249.150
Connecting to mirrors.xservers.ro|89.38.249.150|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-11-28 15:18:46 ERROR 404: Not Found.

>>> Downloading 'https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2'
--2022-11-28 15:18:46--  https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2
Resolving www.mirrorservice.org... 212.219.56.184
Connecting to www.mirrorservice.org|212.219.56.184|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1014291 (991K) [application/x-bzip2]
Saving to: ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.__download__’


          /var/cach   0%[                    ]       0  --.-KB/s               
         /var/cache  20%[===>                ] 200,00K   954KB/s               
/var/cache/distfile 100%[===================>] 990,52K  2,89MB/s    in 0,3s    

2022-11-28 15:18:47 (2,89 MB/s) - ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.__download__’ saved [1014291/1014291]

[32m * [39;49;00mlibgpg-error-1.46.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                                                                         [34;01m[ [39;49;00m[32;01mok[39;49;00m[34;01m ][39;49;00m
>>> Downloading 'http://ftp.romnet.org/gentoo/distfiles/layout.conf'
--2022-11-28 15:18:47--  http://ftp.romnet.org/gentoo/distfiles/layout.conf
Resolving ftp.romnet.org... 194.42.102.4
Connecting to ftp.romnet.org|194.42.102.4|:80... failed: Connection refused.
!!! Couldn't download '.layout.conf.ftp.romnet.org'. Aborting.
>>> Downloading 'http://ftp.romnet.org/gentoo/distfiles/libgpg-error-1.46.tar.bz2.sig'
--2022-11-28 15:18:47--  http://ftp.romnet.org/gentoo/distfiles/libgpg-error-1.46.tar.bz2.sig
Resolving ftp.romnet.org... 194.42.102.4
Connecting to ftp.romnet.org|194.42.102.4|:80... failed: Connection refused.
>>> Downloading 'http://mirrors.xservers.ro/gentoo/distfiles/layout.conf'
--2022-11-28 15:18:47--  http://mirrors.xservers.ro/gentoo/distfiles/layout.conf
Resolving mirrors.xservers.ro... 89.38.249.150
Connecting to mirrors.xservers.ro|89.38.249.150|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-11-28 15:18:47 ERROR 404: Not Found.

!!! Couldn't download '.layout.conf.mirrors.xservers.ro'. Aborting.
>>> Downloading 'http://mirrors.xservers.ro/gentoo/distfiles/libgpg-error-1.46.tar.bz2.sig'
--2022-11-28 15:18:47--  http://mirrors.xservers.ro/gentoo/distfiles/libgpg-error-1.46.tar.bz2.sig
Resolving mirrors.xservers.ro... 89.38.249.150
Connecting to mirrors.xservers.ro|89.38.249.150|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-11-28 15:18:47 ERROR 404: Not Found.

>>> Downloading 'https://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2.sig'
--2022-11-28 15:18:47--  https://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2.sig
Resolving ftp.heanet.ie... 193.1.193.10
Connecting to ftp.heanet.ie|193.1.193.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 238 [application/pgp-signature]
Saving to: ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig.__download__’


          /var/cach   0%[                    ]       0  --.-KB/s               
/var/cache/distfile 100%[===================>]     238  --.-KB/s    in 0s      

2022-11-28 15:18:52 (37,5 MB/s) - ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig.__download__’ saved [238/238]

!!! Fetched file: libgpg-error-1.46.tar.bz2.sig VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      238
!!! Expected: 119
Refetching... File renamed to '/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig._checksum_failure_.txwnuaha'

>>> Downloading 'https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2.sig'
--2022-11-28 15:18:52--  https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2.sig
Resolving gnupg.org... 217.69.76.60
Connecting to gnupg.org|217.69.76.60|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 238 [application/pgp-signature]
Saving to: ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig.__download__’


          /var/cach   0%[                    ]       0  --.-KB/s               
/var/cache/distfile 100%[===================>]     238  --.-KB/s    in 0s      

2022-11-28 15:18:52 (10,8 MB/s) - ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig.__download__’ saved [238/238]

!!! Fetched file: libgpg-error-1.46.tar.bz2.sig VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      238
!!! Expected: 119
Refetching... File renamed to '/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig._checksum_failure_.txwnuaha'

>>> Downloading 'https://mirrors.dotsrc.org/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2.sig'
--2022-11-28 15:18:52--  https://mirrors.dotsrc.org/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2.sig
Resolving mirrors.dotsrc.org... 130.225.254.116
Connecting to mirrors.dotsrc.org|130.225.254.116|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 238 [text/plain]
Saving to: ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig.__download__’


          /var/cach   0%[                    ]       0  --.-KB/s               
/var/cache/distfile 100%[===================>]     238  --.-KB/s    in 0s      

2022-11-28 15:18:52 (398 MB/s) - ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig.__download__’ saved [238/238]

!!! Fetched file: libgpg-error-1.46.tar.bz2.sig VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      238
!!! Expected: 119
Refetching... File renamed to '/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig._checksum_failure_.txwnuaha'

>>> Downloading 'https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2.sig'
--2022-11-28 15:18:52--  https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2.sig
Resolving www.mirrorservice.org... 212.219.56.184
Connecting to www.mirrorservice.org|212.219.56.184|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 238 [application/pgp-signature]
Saving to: ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig.__download__’


          /var/cach   0%[                    ]       0  --.-KB/s               
/var/cache/distfile 100%[===================>]     238  --.-KB/s    in 0s      

2022-11-28 15:18:53 (324 MB/s) - ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig.__download__’ saved [238/238]

!!! Fetched file: libgpg-error-1.46.tar.bz2.sig VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      238
!!! Expected: 119
Refetching... File renamed to '/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig._checksum_failure_.txwnuaha'

>>> Downloading 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2.sig'
--2022-11-28 15:18:53--  ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2.sig
           => ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig.__download__’
Resolving ftp.gnupg.org... 217.69.76.55
Connecting to ftp.gnupg.org|217.69.76.55|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /gcrypt/libgpg-error ... done.
==> SIZE libgpg-error-1.46.tar.bz2.sig ... 238
==> PASV ... done.    ==> RETR libgpg-error-1.46.tar.bz2.sig ... done.
Length: 238 (unauthoritative)


          libgpg-er   0%[                    ]       0  --.-KB/s               
libgpg-error-1.46.t 100%[===================>]     238  --.-KB/s    in 0s      

2022-11-28 15:18:53 (52,3 MB/s) - ‘/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig.__download__’ saved [238]

!!! Fetched file: libgpg-error-1.46.tar.bz2.sig VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      238
!!! Expected: 119
Refetching... File renamed to '/var/cache/distfiles/libgpg-error-1.46.tar.bz2.sig._checksum_failure_.txwnuaha'

!!! Couldn't download 'libgpg-error-1.46.tar.bz2.sig'. Aborting.
[31;01m * [39;49;00mFetch failed for 'dev-libs/libgpg-error-1.46-r1', Log file:
[31;01m * [39;49;00m '/var/tmp/portage/dev-libs/libgpg-error-1.46-r1/temp/build.log'
```
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-28 13:29:35 UTC
Note that your GENTOO_MIRRORS values are stale too, but thanks for the output, it's helpful!
Comment 8 melser_regs@gmxpro.net 2022-11-28 13:41:06 UTC
I can confirm that my output looked similar so it's the same problem. Glad that you still got the logs.

I remember for example for the .sig file I also got the mismatch of 
Got:      238
Expected: 119

If I can help with anything I'm glad to help. But because of my workaround for me it installed now fine.
Comment 9 Larry the Git Cow gentoo-dev 2022-11-30 07:07:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6e4bb07df502eafb10720a3ae3b45448b8c864f

commit e6e4bb07df502eafb10720a3ae3b45448b8c864f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-30 07:03:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-30 07:03:18 +0000

    dev-libs/libgpg-error: update .sig Manifest entry
    
    Closes: https://bugs.gentoo.org/883371
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libgpg-error/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)