Summary: | dev-ruby/ffi-1.15.5: cd: /var/tmp/portage/dev-ruby/ffi-1.15.5/work/ruby26/ffi-1.15.5/ext/ffi_c/libffi: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joonas Niilola <juippis> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Joonas Niilola
2022-05-18 15:43:18 UTC
Created attachment 779438 [details]
build.log
As noted by ionen, the ebuild is missing BDEPEND for virtual/pkgconfig. Installing that makes dev-ruby/ffi-1.15.5 compile just fine. I can commit and close this bug if you ack. (In reply to Joonas Niilola from comment #2) > As noted by ionen, the ebuild is missing BDEPEND for virtual/pkgconfig. > Installing that makes dev-ruby/ffi-1.15.5 compile just fine. I can commit > and close this bug if you ack. I'm wondering if there are more extension packages in dev-ruby that have this issue. In that case it might be better to add this dependency in the eclass. I'll do a quick investigation. (In reply to Hans de Graaff from comment #3) > I'm wondering if there are more extension packages in dev-ruby that have > this issue. In that case it might be better to add this dependency in the > eclass. I'll do a quick investigation. It seems to happen enough that an eclass solution may be more convenient. Sent to mailing list. Thanks for the thorough work! commit bb04e778c624c414ac249878369df4efcdd2f0fb (HEAD -> master) Author: Hans de Graaff <graaff@gentoo.org> Date: Fri May 20 09:11:35 2022 +0200 eclass/ruby-fakegem.eclass: depend on virtual/pkgconfig The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb04e778c624c414ac249878369df4efcdd2f0fb commit bb04e778c624c414ac249878369df4efcdd2f0fb Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2022-05-20 07:11:35 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2022-05-22 05:41:51 +0000 eclass/ruby-fakegem.eclass: depend on virtual/pkgconfig Many C extensions depend on pkgconfig during their configure phase and this is easy to miss in the ebuild. Handle this in the eclass instead even though the dependency will not be needed for all extensions. Closes: https://bugs.gentoo.org/845393 Signed-off-by: Hans de Graaff <graaff@gentoo.org> eclass/ruby-fakegem.eclass | 5 +++++ 1 file changed, 5 insertions(+) |