Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 321871

Summary: sys-apps/portage-2.1.8.3: repoman does not notice wrong digest of metadata.xml or ChangeLog
Product: Portage Development Reporter: Andreas K. Hüttel <dilfridge>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 335925    
Attachments: Output of emerge --info

Description Andreas K. Hüttel archtester gentoo-dev 2010-05-28 17:44:03 UTC
pinacolada spyview # ls
Manifest  metadata.xml  spyview-20100329.ebuild
pinacolada spyview # repoman

RepoMan scours the neighborhood...                                                                                                                               
  ebuild.allmasked              1
   sci-visualization/spyview

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

RepoMan sez: "You're only giving me a partial QA payment?
              I'll take it this time, but I'm not happy."
pinacolada spyview # 
pinacolada spyview # ebuild spyview-20100329.ebuild unpack 
 * spyview-20100329.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                    [ !! ]

!!! Digest verification failed:
!!! /usr/local/portage/dilfridge/sci-visualization/spyview/metadata.xml
!!! Reason: Filesize does not match recorded size
!!! Got: 471
!!! Expected: 171
pinacolada spyview #
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-05-28 17:46:55 UTC
Created attachment 233305 [details]
Output of emerge --info
Comment 2 Zac Medico gentoo-dev 2010-05-28 21:19:06 UTC
There's a new repoman manifest-check mode that's not in a released version of portage yet. We can make that code trigger for all modes, so that manifest issues will always be detected.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-06-15 19:45:10 UTC
Seems like this also affects ChangeLog...

huettel@pinacolada ~/Gentoo/sci/sci-electronics/klayout $ ebuild klayout-0.20.2.ebuild install
Appending /home/huettel/Gentoo/sci to PORTDIR_OVERLAY...
 * klayout-0.20.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                    [ !! ]

!!! Digest verification failed:
!!! /home/huettel/Gentoo/sci/sci-electronics/klayout/ChangeLog
!!! Reason: Filesize does not match recorded size
!!! Got: 509
!!! Expected: 233
huettel@pinacolada ~/Gentoo/sci/sci-electronics/klayout $ repoman

RepoMan scours the neighborhood...                                                                                                                               
  ebuild.allmasked              1
   sci-electronics/klayout

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

RepoMan sez: "You're only giving me a partial QA payment?
              I'll take it this time, but I'm not happy."
huettel@pinacolada ~/Gentoo/sci/sci-electronics/klayout $ 
Comment 5 Zac Medico gentoo-dev 2010-08-23 06:24:24 UTC
This is in 2.2_rc68, but I'll leave this bug open until it's in an unmasked version.
Comment 6 Zac Medico gentoo-dev 2010-09-04 08:32:36 UTC
This is fixed in 2.1.9.