Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603132 - "disqualify" binpkg if ebuild is not available
Summary: "disqualify" binpkg if ebuild is not available
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 155723
  Show dependency tree
 
Reported: 2016-12-19 19:42 UTC by Rick Farina (Zero_Chaos)
Modified: 2024-03-03 22:36 UTC (History)
2 users (show)

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 Rick Farina (Zero_Chaos) gentoo-dev 2016-12-19 19:42:17 UTC
it is possible to end up in situations like this:

- dev-ruby/awesome_print-1.6.1::gentoo (masked by: use flag configuration mismatch)

when an old binpkg exists and no ebuild exists any longer.  It is a very confusing error message that basically boils down to "the binpkg is bad and we can't rebuild it" which would be much better served with an option to not consider the binpkg if it's out of date and cannot be rebuilt (in my opinion).

One possible solution to this (which may be insane) would be to calculate deps based on ebuilds only, and then see if binpkgs happen to be available which match.
Comment 1 Zac Medico gentoo-dev 2016-12-19 19:52:42 UTC
For the specific situation that you've encountered with the unsatisfied awesome_print dependency, I would expect the new output to be something like this:

 - dev-ruby/awesome_print-1.6.1::gentoo (masked by: corresponding ebuild is not available)

Sounds reasonable?
Comment 2 SpanKY gentoo-dev 2022-08-22 23:09:02 UTC
> One possible solution to this (which may be insane) would be to calculate deps based on ebuilds only, and then see if binpkgs happen to be available which match.

yeah, this would break a lot of flows.  the nice thing for embedded systems is that you only need a binpkg host in order to install/update packages ... you don't need any ebuilds locally.

we also see confusing error messages when binpkg rebuilds are required.  but maybe that error message in general is not great, binpkgs not withstanding.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-22 23:14:10 UTC
(In reply to SpanKY from comment #2)
> > One possible solution to this (which may be insane) would be to calculate deps based on ebuilds only, and then see if binpkgs happen to be available which match.
> 
> yeah, this would break a lot of flows.  the nice thing for embedded systems
> is that you only need a binpkg host in order to install/update packages ...
> you don't need any ebuilds locally.
> 

I suspect it'd be okay if we checked the repository it was from and we had a copy of it but the ebuild wasn't there.
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2022-08-23 15:37:55 UTC
Just to clarify my position here, I simply reported what was mostly a "less than helpful" message from portage.  I didn't mean to suggest or require any specific fix, simply that "use flag configuration mismatch" is less helpful than some other messages might be to actually help the user resolve the issue.  Any implementation details and message changes are left up to the portage team, to ensure it works for wider cases than just me.

That said, even a message like "no binpkgs or ebuilds available to satisfy this dep" and then showing the dep would be a valid solution for me, and probably for Vapier as well.