Created attachment 354756 [details, diff] ebuild diff This would enter the tree masked and will get the relevant blockers on emul-libs upon unmasking.
Comment on attachment 354756 [details, diff] ebuild diff >@@ -26,9 +26,10 @@ > include/builddefs.in \ > || die > strip-linguas -u po >+ multilib_copy_sources why ? does the package not build out-of-tree ? if it doesn't, let's fix that instead. >+multilib_src_compile() { >+ local mopts="" >+ multilib_is_native_abi || mopts="TOOL_SUBDIRS= " >+ emake ${mopts} i'd one-line it: emake $(multilib_is_native_abi || echo TOOL_SUBDIRS=) >+multilib_src_install() { >+ local mopts="" >+ multilib_is_native_abi || mopts="TOOL_SUBDIRS= " >+ emake ${mopts} DIST_ROOT="${D}" install install-lib install-dev same here, although you prob want to start wrapping the args emake \ ...tool subdirs... \ DIST_ROOT... \ ...install targets...
(In reply to SpanKY from comment #1) > Comment on attachment 354756 [details, diff] [details, diff] > ebuild diff > > >@@ -26,9 +26,10 @@ > > include/builddefs.in \ > > || die > > strip-linguas -u po > >+ multilib_copy_sources > > why ? does the package not build out-of-tree ? if it doesn't, let's fix > that instead. checking whether x86_64-pc-linux-gnu-gcc -m32 accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc -m32 option to accept ISO C89... (cached) none needed /var/tmp/portage/sys-apps/attr-2.4.47-r1/work/attr-2.4.47/configure: line 11183: ./VERSION: No such file or directory !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-apps/attr-2.4.47-r1/work/attr-2.4.47-x86/config.log * ERROR: sys-apps/attr-2.4.47-r1::gentoo failed (configure phase): configure is: #! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69. # # but there is no configure.ac/in do you really want this to be patched ? even if I copy that VERSION file, its not automake based and configure only generates include/{builddefs,config.h} + libtool ------ fixed the rest locally
Created attachment 355484 [details, diff] ebuild diff updated patch out of tree builds really do not work. I filled https://savannah.nongnu.org/bugs/index.php?39736 IMHO its not worth fixing for now. I'll commit if you have no more objection, glib has been acked by its maintainers and this is the only remaining blocker.
(In reply to Alexis Ballier from comment #3) > Created attachment 355484 [details, diff] [details, diff] > ebuild diff > > updated patch > > out of tree builds really do not work. I filled > https://savannah.nongnu.org/bugs/index.php?39736 > IMHO its not worth fixing for now. > > > I'll commit if you have no more objection, glib has been acked by its > maintainers and this is the only remaining blocker. committed (masked atm)