tested, and found dev-libs/nss(both 3.85 and 3.84-r1) has problem with sys-devel/make-4.4, but if I downgrade sys-devel/make to 4.3,then the problem is gone. make[4]: *** No rule to make target '../certhigh/Linux6.0_riscv64_riscv64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/certhtml.o', needed by 'Linux6.0_riscv_ris cv64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/libnss3.so'. Stop. make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/var/tmp/portage/dev-libs/nss-3.85/work/nss-3.85/nss-.lp64d/lib/nss' make[3]: *** [../coreconf/rules.mk:44: nss] Error 2 Reproducible: Always
Created attachment 833921 [details] full build.log.xz
Created attachment 833923 [details] emerge_info.txt
If you make this change to the ebuild, --- ./nss-3.85.ebuild 2022-11-11 15:12:50.660879692 +0200 +++ /tmp/nss-3.85.ebuild 2022-11-20 10:56:12.455471860 +0200 @@ -63,6 +63,9 @@ # Respect LDFLAGS sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk + # Workaround make-4.4's change to sub-make, bmo#1800237, bgo#882069 + sed -i -e "s/^CPU_TAG = _.*/CPU_TAG = _$(nssarch)/" Linux.mk || die + popd >/dev/null || die # Fix pkgconfig file for Prefix does it fix the issue for you? https://savannah.gnu.org/bugs/index.php?63347 https://bugzilla.mozilla.org/show_bug.cgi?id=1800237
(In reply to Joonas Niilola from comment #3) > If you make this change to the ebuild, > > --- ./nss-3.85.ebuild 2022-11-11 15:12:50.660879692 +0200 > +++ /tmp/nss-3.85.ebuild 2022-11-20 10:56:12.455471860 +0200 > @@ -63,6 +63,9 @@ > # Respect LDFLAGS > sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk > > + # Workaround make-4.4's change to sub-make, bmo#1800237, bgo#882069 > + sed -i -e "s/^CPU_TAG = _.*/CPU_TAG = _$(nssarch)/" Linux.mk || die > + > popd >/dev/null || die > > # Fix pkgconfig file for Prefix > > does it fix the issue for you? > > https://savannah.gnu.org/bugs/index.php?63347 > https://bugzilla.mozilla.org/show_bug.cgi?id=1800237 Yes, works for me, I applied the patch to ebuild, and solved this issue noted, tested on the unmatched board
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239fa7c0967ac799d4614268463f5bbfc9c17f90 commit 239fa7c0967ac799d4614268463f5bbfc9c17f90 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-11-20 14:41:22 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-11-20 14:42:04 +0000 dev-libs/nss: fix make-4.4 breakage on some arches (hopefully all!) Closes: https://bugs.gentoo.org/882069 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-libs/nss/nss-3.85.ebuild | 3 +++ 1 file changed, 3 insertions(+)