This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/17956] Build fails on missing definitions from header file nss/nss.h when Mozilla NSS is used for cryptography


https://sourceware.org/bugzilla/show_bug.cgi?id=17956

--- Comment #19 from Guido Trentalancia <g.trentalancia at libero dot it> ---
(In reply to Carlos O'Donell from comment #18)
> (In reply to Guido Trentalancia from comment #17)
> > There is no problem with my NSS install. I am using NSS for other projects
> > such as Mozilla Firefox and it works fine. Mozilla NSS depends on Mozilla
> > NSPR.
> 
> Please post just those patches to libc-alpha then if they fix the issue.

Those two patches might fix the issue only if the user does not explicitly pass
CPPFLAGS containing the string "-I/usr/include/nss3".

My opinion is that GNU libc should be robust even to "alternative"
configurations such as the one presented above. So that is why, I believe all
patches should be applied:

[1] https://sourceware.org/bugzilla/attachment.cgi?id=9302 (fixes possible
conflicts between Mozilla NSS nss.h header file and GNU libc nss.h header file)

[2] https://sourceware.org/ml/libc-alpha/2016-05/msg00738.html (fixes the GNU
libc build system to correctly detect and use Mozilla NSPR)

[3] https://sourceware.org/ml/libc-alpha/2016-05/msg00729.html (fixes the GNU
libc test system to prevent false positives related to the use of the Mozilla
NSPR header files)

The three patches have already been posted to the libc-alpha mailing list. They
have been tested with GNU libc version 2.22, 2.23 and latest git.

Otherwise, do you know other better ways of tackling ALL problems ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]