Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35521 - incomplete merges are not detected correctly
Summary: incomplete merges are not detected correctly
Status: RESOLVED DUPLICATE of bug 31881
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 05:39 UTC by georg.lippold
Modified: 2011-10-30 22:17 UTC (History)
0 users

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


Attachments
patch to detect incomplete merges correctly (portage-patch.diff,596 bytes, patch)
2003-12-10 05:40 UTC, georg.lippold
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***