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

Bug 35521

Summary: incomplete merges are not detected correctly
Product: Portage Development Reporter: georg.lippold
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to detect incomplete merges correctly

Description georg.lippold 2003-12-10 05:39:17 UTC
I had a nasty bug whenever I executed 'emerge clean': portage always told me, that  I had an invalid /var/db/pkg entry for devfsd:

>>> Auto-cleaning packages ...
!!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd!!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd!!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd!!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd
>>> No outdated packages were found on your system.

first, I tried to unmerge sys-fs/devfsd and then emerged it anew, but that didn't fix the problem. The problem lay in the portage source: The routine, that should detect incomplete merges had a problem: it looked for the string '.*/-MERGING-(.*)', but incomplete merges can only be detected with '.*/-MERGING-.*', since the brackets went away sometime ago. I attached a patch that fixes it.
Comment 1 georg.lippold 2003-12-10 05:40:27 UTC
Created attachment 21968 [details, diff]
patch to detect incomplete merges correctly
Comment 2 SpanKY gentoo-dev 2003-12-10 12:15:20 UTC

*** This bug has been marked as a duplicate of 31881 ***