Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 370465

Summary: `emerge` fails to find ebuilds masked by EAPI when repository is specified
Product: Portage Development Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 358927    
Attachments: create_ebuild_with_unsupported_EAPI

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-07 15:30:43 UTC
Created attachment 276141 [details]
create_ebuild_with_unsupported_EAPI

`emerge` fails to find ebuilds masked by EAPI when repository is specified. The attached script creates example ebuilds.

$ PORTDIR_OVERLAY="/tmp/test_repository" emerge -Op =app-misc/test-0

These are the packages that would be merged, in order:

[ebuild  N     ] app-misc/test-0 
$ PORTDIR_OVERLAY="/tmp/test_repository" emerge -Op =app-misc/test-0::test_repository

These are the packages that would be merged, in order:

[ebuild  N     ] app-misc/test-0 
$ PORTDIR_OVERLAY="/tmp/test_repository" emerge -Op =app-misc/test-1

These are the packages that would be merged, in order:


!!! All ebuilds that could satisfy "=app-misc/test-1" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-misc/test-1::test_repository (masked by: EAPI 5)

The current version of portage supports EAPI '4'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

$ PORTDIR_OVERLAY="/tmp/test_repository" emerge -Op =app-misc/test-1::test_repository

These are the packages that would be merged, in order:


emerge: there are no ebuilds to satisfy "=app-misc/test-1::test_repository".
Comment 2 Zac Medico gentoo-dev 2011-06-10 09:30:51 UTC
This is fixed in 2.1.10.1 and 2.2.0_alpha39.