During the recent integration testing of ffs harvester build, this fun portage masking issue popped up during ffs fchroot steps:
!!! The following update has been skipped due to unsatisfied dependencies: virtual/libffi:0 selected: (virtual/libffi-3.0.13-r1:0/0::core-kit, ebuild scheduled for merge) skipped: (virtual/libffi-3.3_rc0:0/7::core-kit, ebuild scheduled for merge) (see unsatisfied dependency below) !!! All ebuilds that could satisfy ">=dev-libs/libffi-3.3_rc0:0/7[-mgorny(-)]" have been masked. !!! One of the following masked packages is required to complete your request: - dev-libs/libffi-3.3_rc0::core-kit (masked by: ) (dependency required by "virtual/libffi-3.3_rc0::core-kit" [ebuild]) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
Upon further inspection in kit-fixups we are indeed pulling libffi from our Gentoo snapshot that is years old:
git grep libffi | grep packages core-kit/next/packages.yaml.wip: - dev-libs/libffi core-kit/next/packages.yaml.wip: - virtual/libffi core-kit/packages.yaml: - dev-libs/libffi core-kit/packages.yaml: - virtual/libffi
This is an improvement issue for Funtoo toolchain work to add YAML autogens for the latest libffi related packages
Upstream Git Repo is here and has GitHub Releases: https://github.com/libffi/libffi
Gentoo Ebuilds for a adaptation and Funtooifying are here: https://packages.gentoo.org/packages/dev-libs/libffi