I run an embedded system where I have no use for several package classes (like games) and processing these packages during sync only use (quite a lot of) time. For this reason I use PORTAGE_RSYNC_EXTRA_OPTS to exclude the unwanted parts of the official tree. Recent versions of Portage are now throwing an error on this and it turns out this is caused by the added manifest verification. Reproducible: Always Steps to Reproduce: 1. Add PORTAGE_RSYNC_EXTRA_OPTS entry to make.conf - PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 2. Fill /etc/portage/rsync_excludes with unwanted package classes - games-*/* dev-games/* 3. Delete these classes - cat /etc/portage/rsync_excludes | while read file; do if [ ! -z $file ]; then rm -r /usr/portage/$file; fi; done 4. Run emerge --sync (or eix-sync) Actual Results: total size is 199.63M speedup is 55.07 * Manifest timestamp: 2018-08-05 07:38:42 UTC * Valid OpenPGP signature found: * - primary key: DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D * - subkey: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250 * - timestamp: 2018-08-05 07:38:42 UTC * Verifying /usr/portage ...!!! Manifest verification failed: Manifest mismatch for dev-games/Manifest.gz __exists__: expected: True, have: False Expected Results: Skip or ignore empty dirs As a workaround I've now added `sync-rsync-verify-metamanifest = no` to the repo conf to skip the verification process completely. Obviously this does defeat the purpose of adding the verification.
*** This bug has been marked as a duplicate of bug 657324 ***