Summary: | sys-apps/portage does not detect the change of ebuild's source repository | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Anton Bolshakov <anton.bugs> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, throw_away_2002, zerochaos |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 240187 |
Description
Anton Bolshakov
2010-11-30 10:33:38 UTC
this is correct behavior. i'm pretty sure this is a dupe, but i cant recall the bug that someone else opened. search forums/mailing list archives for scripts people have put together for this sort of thing. Thanks, found the suggested workaround here: http://forums.gentoo.org/viewtopic-t-701720-start-0.html cd /var/db/pkg ; for x in */* ; do [[ ! -f "${x}/repository" ]] && PACKAGES="${PACKAGES} =${x}" ; done ; emerge -1 ${PACKAGES} Hi, I would like to reopen the bug because the script does not actually work. It can't detect the change of the source if it's described in the "profiles/repo_name" or give false positive results (for the second run) if it's unknown. I believe this feature should be part of the portage. Here is the test case: bash# emerge -pv eio These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/eio-0.1.0.54504 USE="nls threads -doc -static-libs" 0 kB [1=>2] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/e17 [2] /var/lib/layman/enlightenment bash# emerge -DNupv world These are the packages that would be merged, in order: Calculating dependencies... done! Total: 0 packages, Size of downloads: 0 kB I suggest to implement an additional switch for emerge which would allow to rebuild such packages. Again, such feature would be very helpful with overlays for clean add/removal because it's quite common that overlays overlap ebuild's names. would be good to see some progress here --newrepo Tells emerge to recompile a package if it is now being pulled from a different repository. This option also implies the --selective option. This kinda seems like this bug just wasn't resolved after the feature was added to portage. Is this what you wanted? (In reply to Rick Farina (Zero_Chaos) from comment #5) > --newrepo > Tells emerge to recompile a package if it is now being pulled > from a different repository. This option also implies the --selective option. > > This kinda seems like this bug just wasn't resolved after the feature was > added to portage. Is this what you wanted? Good find. Thank you. Yes, it is exactly what I needed. Fixed since portage-2.2.9: https://gitweb.gentoo.org/proj/portage.git/commit/?id=7cfb541e02d3098395fd36e6e20bec2835f0c987 *** Bug 462372 has been marked as a duplicate of this bug. *** |