Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882069 - dev-libs/nss-3.85:0: No rule to make target '../certhigh/Linux6.0_riscv64_riscv64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/certhtml.o'
Summary: dev-libs/nss-3.85:0: No rule to make target '../certhigh/Linux6.0_riscv64_ris...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks: 879081
  Show dependency tree
 
Reported: 2022-11-20 01:18 UTC by Yixun Lan
Modified: 2022-11-20 14:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
full build.log.xz (build.log.xz,13.66 KB, application/x-xz)
2022-11-20 01:22 UTC, Yixun Lan
Details
emerge_info.txt (emerge_info.txt,5.53 KB, text/plain)
2022-11-20 01:24 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2022-11-20 01:18:34 UTC
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
Comment 1 Yixun Lan archtester gentoo-dev 2022-11-20 01:22:15 UTC
Created attachment 833921 [details]
full build.log.xz
Comment 2 Yixun Lan archtester gentoo-dev 2022-11-20 01:24:01 UTC
Created attachment 833923 [details]
emerge_info.txt
Comment 3 Joonas Niilola gentoo-dev 2022-11-20 08:57:25 UTC
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
Comment 4 Yixun Lan archtester gentoo-dev 2022-11-20 12:24:32 UTC
(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
Comment 5 Larry the Git Cow gentoo-dev 2022-11-20 14:42:07 UTC
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(+)