Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711554 - dev-libs/nss-3.50 does not install cmac.h
Summary: dev-libs/nss-3.50 does not install cmac.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-04 20:14 UTC by Andrew John Hughes
Modified: 2020-03-06 14:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2020-03-04 20:14:48 UTC
The NSS ebuild installs two private headers, blapi.h and alghmac.h.

However, in the latest 3.50 ebuild, blapi.h references another private header file, cmac.h, which is not installed. This leads to the failure of builds which attempt to use this header.

The fix is simple:

@@ -280,7 +280,7 @@
 	insinto /usr/include/nss
 	doins public/nss/*.{h,api}
 	insinto /usr/include/nss/private
-	doins private/nss/{blapi,alghmac}.h
+	doins private/nss/{blapi,alghmac,cmac}.h
 
 	popd >/dev/null || die
Comment 1 Jory A. Pratt gentoo-dev 2020-03-05 23:39:58 UTC
(In reply to Andrew John Hughes from comment #0)
> The NSS ebuild installs two private headers, blapi.h and alghmac.h.
> 
> However, in the latest 3.50 ebuild, blapi.h references another private
> header file, cmac.h, which is not installed. This leads to the failure of
> builds which attempt to use this header.
> 
> The fix is simple:
> 
> @@ -280,7 +280,7 @@
>  	insinto /usr/include/nss
>  	doins public/nss/*.{h,api}
>  	insinto /usr/include/nss/private
> -	doins private/nss/{blapi,alghmac}.h
> +	doins private/nss/{blapi,alghmac,cmac}.h
>  
>  	popd >/dev/null || die

This will be fixed in -r1 which is in the mozilla overlay waiting to be moved over along with the nss-pem ebuild.
Comment 2 Jory A. Pratt gentoo-dev 2020-03-06 14:23:05 UTC
commit 5eca3e02c87163b3c541cdee893830d201abfb86
Author: Jory Pratt <anarchy@gentoo.org>
Date:   Fri Mar 6 08:13:38 2020 -0600

    dev-libs/nss: Drop pem support in favor of new nss-pem package
    
    Package-Manager: Portage-2.3.92, Repoman-2.3.20
    Signed-off-by: Jory Pratt <anarchy@gentoo.org>