Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906836 - Manifest mismatch for www-apps/webdavcgi/files/webdav-1.1.conf
Summary: Manifest mismatch for www-apps/webdavcgi/files/webdav-1.1.conf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-20 11:41 UTC by Pierre-Yves Bonnetain-Nesterenko
Modified: 2023-05-21 16:46 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 Pierre-Yves Bonnetain-Nesterenko 2023-05-20 11:41:42 UTC
When performing an eix-sync, with sync-rsync-verify-metamanifest = yes, the update fails :

 * Manifest timestamp: 2023-05-20 10:39:41 UTC                                                
 * Valid OpenPGP signature found:        
 * - primary key: DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D
 * - subkey: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
 * - timestamp: 2023-05-20 10:39:41 UTC      
 * Verifying /usr/portage/.tmp-unverified-download-quarantine ...!!! Manifest verification failed:
Manifest mismatch for www-apps/webdavcgi/files/webdav-1.1.conf
  BLAKE2B: expected: 29c7dcfdc623938d90a060e4e86d70d82bceb03aba95da72c323415dfc501de975a23cacda18929126f219f540da4b015fe6871e02a551ac25b7017268bf7d58, have: ce252d3a6ea7217587f2d59a6216b5093ceb9771902586869b32a41fd6b27ad5b7d1aa547c5be624193f1f12171aeb6c21b91cfc8298e7d03743af3919446605
  SHA512: expected: 4e867f9d8de4eb3f864ddc0671bf048d1a8daa9e01c830045a7adb5ac712c46925f0ed60d5aeba9acb3f9c3fd259411af23c41476f06d38f3d8f3cb2027c51c8, have: 0d1e18d912df1c0c79a0fc9446707c0d74b5bf5de804fda1d1eb91778c817d2a15450fdc3c4be3b24f0cfd11f77375f2d467afa5561d2697800bef151d0d2e4e


Reproducible: Always

Steps to Reproduce:
1. check sync-rsync-verify-metamanifest is set to yes in /etc/portage/repos.conf/gentoo.conf
2. try to perform an update to portage tree
Actual Results:  
eix-sync fails

Expected Results:  
eix-sync should not fail
Comment 1 Mike Gilbert gentoo-dev 2023-05-20 18:04:04 UTC
Which rsync mirror(s) are you using?

Please share emerge --info and change the status back to UNCONFIRMED.
Comment 2 Pierre-Yves Bonnetain-Nesterenko 2023-05-20 21:56:20 UTC
(In reply to Mike Gilbert from comment #1)
> Which rsync mirror(s) are you using?

We are using rsync.europe.gentoo.org. Since this is a set of machines, at least rsync1.de.gentoo.org, rsync1.sk.gentoo.org, 88.198.69.178 (hosting1.amiconsult.de. ?) and tux.rainside.sk give the same error

> Please share emerge --info and change the status back to UNCONFIRMED.

# emerge --info
Portage 3.0.44 (python 3.11.3-final-0, default/linux/arm/17.0/armv7a, gcc-10, glibc-2.36-r7, 5.15.32-v7+ armv7l)
=================================================================
System uname: Linux-5.15.32-v7+-armv7l-ARMv7_Processor_rev_4_-v7l-with-glibc2.36
KiB Mem:      945684 total,    143304 free
KiB Swap:    2097148 total,   2082556 free
Timestamp of repository gentoo: Sat, 20 May 2023 07:15:01 +0000
Head commit of repository gentoo: 67d1db6bc9de92f3ad7d220f6151c742c538a7ce
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p6) 2.39.0
distcc 3.4 armv7a-hardfloat-linux-gnueabi [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.11::gentoo, 3.11.3::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::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.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             10.4.1_p20230426-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE Apache-2 as-is freedist"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /etc/stunnel/stunnel.conf /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"
CXXFLAGS="-O2 -pipe -march=armv7-a"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j5 --load-average 3.0"
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 -march=armv7-a"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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 -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j5 --load-average 3.0"
PKGDIR="/usr/portage/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"
SHELL="/bin/bash"
USE="acl arm bzip2 cli crypt dbus dri gdbm iconv minimal ncurses nls nptl openmp pam pcre readline seccomp smp split-usr ssl test-rust truetype udev unicode xattr zlib" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 vfp" 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" 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_11 python3_10" RUBY_TARGETS="ruby30" VIDEO_CARDS="exynos fbdev omap dummy v4l" 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, 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
Comment 3 Mike Gilbert gentoo-dev 2023-05-21 00:56:30 UTC
I am unable to reproduce the issue using rsync.europe.gentoo.org or rsync1.de.gentoo.org.

As well, running b2sum and sha512 sum manually on webdav-1.1.conf returns the expected result.

> # b2sum webdav-1.1.conf 
> 29c7dcfdc623938d90a060e4e86d70d82bceb03aba95da72c323415dfc501de975a23cacda18929126f219f540da4b015fe6871e02a551ac25b7017268bf7d58  webdav-1.1.conf
> # sha512sum webdav-1.1.conf 
> 4e867f9d8de4eb3f864ddc0671bf048d1a8daa9e01c830045a7adb5ac712c46925f0ed60d5aeba9acb3f9c3fd259411af23c41476f06d38f3d8f3cb2027c51c8  webdav-1.1.conf

Maybe try removing the file and re-syncing?
Comment 4 Pierre-Yves Bonnetain-Nesterenko 2023-05-21 16:20:34 UTC
(In reply to Mike Gilbert from comment #3)
>
> Maybe try removing the file and re-syncing?

PEBKAC.
I knew we had forgotten something obvious.

Removing the file (and then a few others) solved the problem. Should have thought about it.

Thanks, and sorry for having wasted your time.
Comment 5 Mike Gilbert gentoo-dev 2023-05-21 16:46:52 UTC
(In reply to Pierre-Yves Bonnetain-Nesterenko from comment #4)
> Thanks, and sorry for having wasted your time.

It's no problem.

rsync is supposed to overwrite modified files, so I'm curious why that wasn't happening in your case. Probably not worth spending a lot of time to figure that out, however.