Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49720 - portage interprets blocker packages in wrong way with option --builpkgonly
Summary: portage interprets blocker packages in wrong way with option --builpkgonly
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: Bug, InVCS
: 61230 92828 96457 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-02 08:45 UTC by Marcin Kryczek (RETIRED)
Modified: 2005-07-14 06:58 UTC (History)
3 users (show)

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


Attachments
patch for portage.py (portage.py.patch,463 bytes, text/plain)
2004-05-02 08:46 UTC, Marcin Kryczek (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kryczek (RETIRED) gentoo-dev 2004-05-02 08:45:18 UTC
portage can't build package when there is other one installed, which blocks package we want to build. let me give an example:

<root@CogES>/tmp: emerge -p vnc
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[blocks B     ] net-misc/tightvnc (from pkg net-misc/vnc-3.3.7-r1)
[ebuild  N    ] net-misc/vnc-3.3.7-r1

as we see here all dependencies are already installed, the only problem is that there is tightvnc, which blocks vnc. let see what'll happen when i want to build package for vnc:

<root@CogES>/tmp: emerge -B vnc
Calculating dependencies ...done!
 
!!! --buildpkgonly requires all dependencies to be merged.
!!! Cannot merge requested packages. Merge deps and try again.

portage thinks that tightvnc is a dependency of vnc and won't build package

Reproducible: Always
Steps to Reproduce:
1. have some blockers in system
2. have all needed dependencies installed
3. want to build package

Actual Results:  
portage says that not all dependencies are installed

Expected Results:  
portage should build package
Comment 1 Marcin Kryczek (RETIRED) gentoo-dev 2004-05-02 08:46:32 UTC
Created attachment 30521 [details]
patch for portage.py

It's a patch, which solves described problem
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-05-20 10:55:34 UTC
Do not modify data when doing checks.
Fixed in cvs. >=portage-2.0.51_pre9
Comment 3 Marcin Kryczek (RETIRED) gentoo-dev 2004-09-18 04:37:54 UTC
it seems to be broken till now (i'm using portage-2.0.51_rc1):

<root@CogES>~: emerge -p xfree

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] x11-base/xorg-x11 (from pkg x11-base/xfree-4.3.0-r7)
[ebuild  N    ] x11-base/xfree-4.3.0-r7

<root@CogES>~: emerge -B xfree
Calculating dependencies ...done!

!!! --buildpkgonly requires all dependencies to be merged.
!!! Cannot merge requested packages. Merge deps and try again.
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2004-09-26 23:44:51 UTC
*** Bug 61230 has been marked as a duplicate of this bug. ***
Comment 5 Brian Harring (RETIRED) gentoo-dev 2005-02-28 00:40:58 UTC
nick->"Fixed in cvs. >=portage-2.0.51_pre9"

Marcin 'aye' Kryczek->"it seems to be broken till now (i'm using portage-2.0.51_rc1)"

Interpretting his comments above as "it's still horked".  Unable to check it atm, but anyone know offhand if it's still broke?
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2005-05-17 06:00:44 UTC
*** Bug 92828 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-06-18 05:32:04 UTC
*** Bug 96457 has been marked as a duplicate of this bug. ***
Comment 8 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:48:00 UTC
Fixed on or before 2.0.51.22-r1 
Comment 9 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:42 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.