Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481694 - portage-2.1.12.2: emerge -K pulls wrong ebuild
Summary: portage-2.1.12.2: emerge -K pulls wrong ebuild
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-19 21:49 UTC by Dyweni
Modified: 2013-08-21 23:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dyweni 2013-08-19 21:49:02 UTC
emerge -pv <package> shows that it will emerge the package from the "x-portage" overlay.
emerge -Kpv <package> shows that it will emerge the package from the "gentoo" overlay.

<package> exists in both overlays...


Reproducible: Always

Steps to Reproduce:
1. Pick a package that is already installed.
2. quickpkg <package>
3. mkdir -p /usr/local/portage/category; 
4. pushd /usr/local/portage/category;
5. cp -a /usr/portage/category/package package
6. popd
7. emerge -pv <package>
8. emerge -Kpv <package>
Actual Results:  
The 'emerge -Kpv' shows it will pull from the "gentoo" repository, not the "x-portage" repository.

Expected Results:  
The 'emerge -Kpv' should be pulling from the "x-portage" repository.

# l /usr/portage/dev-python/pygobject/pygobject-2.28.6-r53.ebuild /usr/local/portage/dev-python/pygobject/pygobject-2.28.6-r53.ebuild
-rw-r--r-- 1 root root 4438 Aug 19 15:42 /usr/local/portage/dev-python/pygobject/pygobject-2.28.6-r53.ebuild
-rw-r--r-- 1 root root 4395 Jul  7 07:31 /usr/portage/dev-python/pygobject/pygobject-2.28.6-r53.ebuild

# emerge -pv =dev-python/pygobject-2.28.6-r53
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R    ] dev-python/pygobject-2.28.6-r53:2::x-portage [2.28.6-r53:2::gentoo] USE="-examples -libffi {-test}" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB


# emerge -Kpv =dev-python/pygobject-2.28.6-r53
These are the packages that would be merged, in order:
Calculating dependencies... done!
[binary   R    ] dev-python/pygobject-2.28.6-r53:2  USE="-examples -libffi {-test}" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
Total: 1 package (1 reinstall, 1 binary), Size of downloads: 0 kB
Comment 1 Zac Medico gentoo-dev 2013-08-21 06:19:06 UTC
You can use this command to check the repository of the binary package:

  portageq metadata / binary dev-python/pygobject-2.28.6-r53 repository

You will probably find that it reports that the repository is 'gentoo'.
Comment 2 Zac Medico gentoo-dev 2013-08-21 23:26:34 UTC
(In reply to LeeL from comment #0)
> Actual Results:  
> The 'emerge -Kpv' shows it will pull from the "gentoo" repository, not the
> "x-portage" repository.

If you have a binary package from the "gentoo" repository (as suggested in comment #1), then wouldn't you expect it to pull that in?