Quantcast

Building NSS failed on Mac OS X 10.10 with "unknown warning group '-Wvarargs'"

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Building NSS failed on Mac OS X 10.10 with "unknown warning group '-Wvarargs'"

John Jiang
Hi,
I tried to build NSS 3.27.1 [1] on Mac OS X 10.10, but the building ended
with the following message:
ocsp.c:2200:32: error: unknown warning group '-Wvarargs', ignored
[-Werror,-Wunknown-pragmas]
#pragma GCC diagnostic ignored "-Wvarargs"
                               ^
1 error generated.
make[2]: *** [Darwin14.1.0_64_OPT.OBJ/ocsp.o] Error 1
make[1]: *** [libs] Error 2
make: *** [libs] Error 2

How to resolve this issue?
Thanks!

[1]
https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_27_1_RTM/src/nss-3.27.1-with-nspr-4.13.tar.gz
--
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building NSS failed on Mac OS X 10.10 with "unknown warning group '-Wvarargs'"

Martin Thomson
Hi John,

Could you open a bug?
https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=Libraries

On Thu, Dec 29, 2016 at 5:19 PM, John Jiang <[hidden email]> wrote:

> Hi,
> I tried to build NSS 3.27.1 [1] on Mac OS X 10.10, but the building ended
> with the following message:
> ocsp.c:2200:32: error: unknown warning group '-Wvarargs', ignored
> [-Werror,-Wunknown-pragmas]
> #pragma GCC diagnostic ignored "-Wvarargs"
>                                ^
> 1 error generated.
> make[2]: *** [Darwin14.1.0_64_OPT.OBJ/ocsp.o] Error 1
> make[1]: *** [libs] Error 2
> make: *** [libs] Error 2
>
> How to resolve this issue?
> Thanks!
>
> [1]
> https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_27_1_RTM/src/nss-3.27.1-with-nspr-4.13.tar.gz
> --
> dev-tech-crypto mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
--
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building NSS failed on Mac OS X 10.10 with "unknown warning group '-Wvarargs'"

John Jiang
Just filed a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1326368

Additionally, I commented the below line for nss/lib/certhigh/ocsp.c,
#pragma GCC diagnostic ignored "-Wvarargs"
and tried to build again. The new building finished.

Thanks!

2016-12-30 10:43 GMT+08:00 Martin Thomson <[hidden email]>:

> Hi John,
>
> Could you open a bug?
> https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=Libraries
>
> On Thu, Dec 29, 2016 at 5:19 PM, John Jiang <[hidden email]>
> wrote:
> > Hi,
> > I tried to build NSS 3.27.1 [1] on Mac OS X 10.10, but the building ended
> > with the following message:
> > ocsp.c:2200:32: error: unknown warning group '-Wvarargs', ignored
> > [-Werror,-Wunknown-pragmas]
> > #pragma GCC diagnostic ignored "-Wvarargs"
> >                                ^
> > 1 error generated.
> > make[2]: *** [Darwin14.1.0_64_OPT.OBJ/ocsp.o] Error 1
> > make[1]: *** [libs] Error 2
> > make: *** [libs] Error 2
> >
> > How to resolve this issue?
> > Thanks!
> >
> > [1]
> > https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_
> 27_1_RTM/src/nss-3.27.1-with-nspr-4.13.tar.gz
> > --
> > dev-tech-crypto mailing list
> > [hidden email]
> > https://lists.mozilla.org/listinfo/dev-tech-crypto
> --
> dev-tech-crypto mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
--
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto
Loading...