Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280255 - portage-2.2_rc35 breaks package.provided
Summary: portage-2.2_rc35 breaks package.provided
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 04:37 UTC by Andrew Church
Modified: 2010-01-31 21:02 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 Andrew Church 2009-08-04 04:37:05 UTC
One of the changes made in portage-2.2_rc35 breaks /etc/portage/profile/package.provided (at least as I understand its use).  I have the following in /etc/portage:

    /etc/portage/profile/package.provided:
    mail-mta/my-mta  # Dummy package name for custom MTA, not in portage

    /etc/portage/profile/virtuals:
    virtual/mta  mail-mta/my-mta

Through portage-2.2_rc33 this setup has worked fine; however, portage-2.2_rc35 attempts to install mail-mta/ssmtp, which (naturally) fails due to a collision on /usr/sbin/sendmail.  I suspect the patch from bug 275796 (prefer packages in the graph over installed packages) is at fault, though I wasn't able to reverse it cleanly so I can't be sure.

Is this a problem with Portage, or am I misusing package.provided?
Comment 1 Zac Medico gentoo-dev 2009-08-04 05:11:46 UTC
It's the code from bug #82488 that's doing it. If you create my-mta-1.ebuild and define PROVIDE="virtual/mta" then it will work.
Comment 2 Andrew Church 2009-08-04 08:00:39 UTC
Thanks, that fixed the problem.  After removing the package.provided entry and merging mail-mta/my-mta, portage-2.2_rc35 no longer attempts to merge mail-mta/ssmtp.