Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272000 - [PATCH] emerge --keep-going should not fail completely when certain ebuilds have a digest issue
Summary: [PATCH] emerge --keep-going should not fail completely when certain ebuilds h...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 264802 (view as bug list)
Depends on:
Blocks: 210077 288499
  Show dependency tree
 
Reported: 2009-05-31 17:48 UTC by Kobboi
Modified: 2009-10-11 00:40 UTC (History)
1 user (show)

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


Attachments
Don't do the manifest check before the merge starts if --keep-going is enabled (portage-emerge-delay-manifest-check-with-keep-going.patch,881 bytes, patch)
2009-06-08 18:37 UTC, Sebastian Luther (few)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2009-05-31 17:48:14 UTC
I want to do a system update. I type emerge -avuDN world --keep-going. I agree with the list of packages to update and type 'y'. One package (not the first) has a digest issue (wrong filesize of a file in SRC_URI). The emerge fails because of this and I don't think this should happen.

Example traces:

$ sudo emerge -avuDN world --keep-going


Performing Global Updates: /usr/portage/profiles/updates/2Q-2009
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'
........................
ERROR: Malformed update entry 'slotmove =kde-misc/dolphin 0 3.5'



These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] app-emulation/virtualbox-ose-additions-2.2.4 [2.2.2] 28,074 kB [1]
[ebuild  N    ] media-libs/win32codecs-20071007-r2  USE="(-real)" 13,540 kB [0]
[ebuild     U ] sys-libs/libieee1284-0.2.11 [0.2.8] USE="-doc" 273 kB [0]
[ebuild     U ] media-libs/xvid-1.2.2-r1 [1.1.3] USE="-examples -pic% (-altivec%)" 629 kB [0]
[ebuild     U ] sys-power/iasl-20090123 [20060912] USE="-test%" 906 kB [0]
[ebuild     U ] app-emulation/virtualbox-modules-2.2.4 [2.2.2] 470 kB [1]
[ebuild     U ] dev-perl/perl-tk-804.028-r2 [804.028-r1] 6,766 kB [0]
[ebuild   R   ] x11-libs/qt-qt3support-4.5.1  USE="accessibility -custom-cxxflags -debug -pch -phonon (-kde%*)" 0 kB [0]
[ebuild     U ] app-emulation/virtualbox-ose-2.2.4 [2.2.2] USE="additions alsa hal opengl python qt4 -headless -pulseaudio -sdk -vboxwebsrv" 49,755 kB [1]
[ebuild   R   ] x11-libs/qt-webkit-4.5.1  USE="-custom-cxxflags -debug -pch (-kde%*)" 0 kB [0]
[ebuild     U ] net-libs/webkit-gtk-1.1.8 [1.1.7] USE="gstreamer -coverage -debug -doc -gnome-keyring -pango" 6,087 kB [0]
[ebuild     U ] gnome-extra/gnome-games-2.26.2-r1 [2.26.2] USE="X gstreamer%* opengl -artworkextra -guile -test" 0 kB [0]

Total: 12 packages (9 upgrades, 1 new, 2 reinstalls), Size of downloads: 106,496 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/jokey

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /usr/portage/local/layman/jokey/app-emulation/virtualbox-ose/ChangeLog
!!! Reason: Filesize does not match recorded size
!!! Got: 17577
!!! Expected: 17439

Reproducible: Always

Steps to Reproduce:
Comment 1 Sebastian Luther (few) 2009-06-08 18:37:28 UTC
Created attachment 193923 [details, diff]
Don't do the manifest check before the merge starts if --keep-going is enabled
Comment 2 Sebastian Luther (few) 2009-06-09 10:25:28 UTC
*** Bug 264802 has been marked as a duplicate of this bug. ***
Comment 3 Zac Medico gentoo-dev 2009-10-09 07:28:17 UTC
Thanks, this is in svn r14523.
Comment 4 Pacho Ramos gentoo-dev 2009-10-09 08:28:36 UTC
Thanks a lot for fixing this :-D
Comment 5 Zac Medico gentoo-dev 2009-10-11 00:40:59 UTC
This is fixed in 2.1.7 and 2.2_rc45.