Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117849 - --resume does not work well with parallel-fetch feature turned on
Summary: --resume does not work well with parallel-fetch feature turned on
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2006-01-05 00:37 UTC by Robert Muchacki (RETIRED)
Modified: 2006-02-22 10:38 UTC (History)
0 users

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


Attachments
emerge-mtimedb.patch (mtimedb.patch,558 bytes, patch)
2006-01-05 00:42 UTC, Brian Harring (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Muchacki (RETIRED) gentoo-dev 2006-01-05 00:37:09 UTC
These are my features in /etc/make.conf:

FEATURES="fixpackages deplclean keepwork keeptemp collision-protect parallel-fetch"

Since I'm using parallel-fetch I get a strange error during some merges. For example, when some package for some reason does not want to merge (eg. postgres - because it needs to have the database backed up) I usually type:

emerge --resume --skipfirst

Fix what is to be fixed and get an emerge again. Now, while parallel-fetch is on, it seems that emerge mixes the list of packages to merge and I have to emerge --resume --skipfirst the same package many times (eg. postgres).

Here are some logs:

1136449821:  >>> AUTOCLEAN: sys-apps/shadow
1136449827: === Unmerging... (sys-apps/shadow-4.0.13)
1136449831:  >>> unmerge success: sys-apps/shadow-4.0.13
1136449831:  ::: completed emerge (2 of 11) sys-apps/shadow-4.0.14 to /
1136449831:  >>> emerge (3 of 11) dev-db/postgresql-8.1.1 to /
1136449831:  === (3 of 11) Cleaning (dev-db/postgresql-8.1.1::/mnt/hda4/portage/dev-db/postgresql/postgresql-8.1.1.ebuild)
1136449832:  === (3 of 11) Compiling/Merging (dev-db/postgresql-8.1.1::/mnt/hda4/portage/dev-db/postgresql/postgresql-8.1.1.ebuild)
1136449834:  *** terminating.
1136449834:  *** terminating.
1136449956: Started emerge on: Jan 05, 2006 09:32:36
1136449956:  *** emerge --resume --skipfirst
1136449956:  *** Resuming merge...
1136449956:  >>> emerge (1 of 10) sys-apps/shadow-4.0.14 to /
1136449956:  === (1 of 10) Cleaning (sys-apps/shadow-4.0.14::/mnt/hda4/portage/sys-apps/shadow/shadow-4.0.14.ebuild)
1136449957:  === (1 of 10) Compiling/Merging (sys-apps/shadow-4.0.14::/mnt/hda4/portage/sys-apps/shadow/shadow-4.0.14.ebuild)
1136450031:  === (1 of 10) Post-Build Cleaning (sys-apps/shadow-4.0.14::/mnt/hda4/portage/sys-apps/shadow/shadow-4.0.14.ebuild)
1136450032:  >>> AUTOCLEAN: sys-apps/shadow
1136450032:  --- AUTOCLEAN: Nothing unmerged.
1136450032:  ::: completed emerge (1 of 10) sys-apps/shadow-4.0.14 to /
1136450032:  >>> emerge (2 of 10) dev-db/postgresql-8.1.1 to /
1136450032:  === (2 of 10) Cleaning (dev-db/postgresql-8.1.1::/mnt/hda4/portage/dev-db/postgresql/postgresql-8.1.1.ebuild)
1136450033:  === (2 of 10) Compiling/Merging (dev-db/postgresql-8.1.1::/mnt/hda4/portage/dev-db/postgresql/postgresql-8.1.1.ebuild)
1136450034:  *** terminating.
1136450034:  *** terminating.
1136450041: Started emerge on: Jan 05, 2006 09:34:01
1136450041:  *** emerge --resume --skipfirst
1136450041:  *** Resuming merge...
1136450041:  >>> emerge (1 of 9) dev-db/postgresql-8.1.1 to /
1136450041:  === (1 of 9) Cleaning (dev-db/postgresql-8.1.1::/mnt/hda4/portage/dev-db/postgresql/postgresql-8.1.1.ebuild)
1136450042:  === (1 of 9) Compiling/Merging (dev-db/postgresql-8.1.1::/mnt/hda4/portage/dev-db/postgresql/postgresql-8.1.1.ebuild)
1136450043:  *** terminating.
1136450043:  *** terminating.
1136450054: Started emerge on: Jan 05, 2006 09:34:14
1136450054:  *** emerge --resume --skipfirst
1136450055:  *** Resuming merge...
1136450055:  >>> emerge (1 of 8) app-text/poppler-0.4.3-r3 to /

As you can see - shadow and postgres where supposed to be merged at least twice.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2006-01-05 00:42:59 UTC
Created attachment 76216 [details, diff]
emerge-mtimedb.patch

Try this please.
Comment 2 Robert Muchacki (RETIRED) gentoo-dev 2006-01-05 01:09:49 UTC
I tested it now quickly, but I'll have to observe how portage/emerge works for some time and give you an answer. It worked this time (didn't want to fetch postgres again). I'll wait for a bigger update maybe, unless you have any other ideas.
Comment 3 Brian Harring (RETIRED) gentoo-dev 2006-01-05 01:21:20 UTC
el commito'd
Comment 4 Zac Medico gentoo-dev 2006-02-22 10:38:40 UTC
Fixed in r2534 and released in 2.1_pre4.