Created attachment 920324 [details] emerge-info.bz2 I have an ebuild in a personal overlay that indicates a dependency in terms of >=dev-java/asm-5.1:4 On my system I have installed: [U] dev-java/asm Available versions: (3) [m]~3.3.1-r2^t[1] (4) [m]~5.1-r2^t[1] (7) [m]~8.0.1[1] (9) 9.7.1 (0) 9.7.1_p20241213 {doc source} Installed versions: 9.7.1(9)(11:12:08 11/11/2024)(-doc -source) Homepage: https://asm.ow2.io Description: Bytecode manipulation framework for Java [1] "spark-overlay" /var/db/repos/spark-overlay The slots 3, 4, and 7 are masked because the java-pkg-2.eclass requires EAPI=8. When I try to emerge the ebuild with the dependency on asm states above, I get the notice: !!! All ebuilds that could satisfy ">=dev-java/asm-5.1:4" have been masked. !!! One of the following masked packages is required to complete your request: - dev-java/asm-8.0.1::spark-overlay (masked by: corruption) - dev-java/asm-5.1-r2::spark-overlay (masked by: corruption) So it seems that the resolver is considering only the version of corrupted ebuilds and not their slot. In fact asm:3 is not proposed as alternative, slots 0 and 9 are neither considered (but they are not corrupted). Here the wrong behaviour is that the resolver considers asm:7 as a possible alternative which is wrong. If I change the EAPI of asm:7 to fix corruption, than I get the expected result: !!! All ebuilds that could satisfy ">=dev-java/asm-5.1:4" have been masked. !!! One of the following masked packages is required to complete your request: - dev-java/asm-5.1-r2::spark-overlay (masked by: corruption)
Comment on attachment 920324 [details] emerge-info.bz2 Please do not compress attachments under 1 MB.