Created attachment 1322986 [details] patch to add -I for nspr See bug 1113172 and bug 953277. Currently, building libcrypt-nss relies on our downstream modification of hasht.h in nss-util package. We are going to revert it, because the change had caused confusion in other packages using hasht.h. Once the change is reverted, glibc build will fail due to missing -I pointing to nspr's includedir. Please consider adjusting glibc build something like the attached patch (not tested).
I have built the nss-util package in rawhide, with this change (nss-util-3.33.0-2.fc28). I don't plan to port it to other branches so far, but please be aware of the possible FTBFS in rawhide.
(In reply to Daiki Ueno from comment #1) > I have built the nss-util package in rawhide, with this change > (nss-util-3.33.0-2.fc28). I don't plan to port it to other branches so far, > but please be aware of the possible FTBFS in rawhide. Thanks. This NSS modification confused me a lot. Are nss-confiig and nspr-config scripts provided by upstream? Would it be an improvement to use “nss-config --cflags” instead, which should provide all the necessary include directories for the NSS headers and their dependencies?
Yes, it is provided by the upstream: https://hg.mozilla.org/projects/nss/file/tip/pkg/pkg-config/nss-config.in However, I hesitated to change the script as you suggested, because I realized that it does more than querying build flags, for example: $ nss-config --includedir=/usr/local/nss3 --cflags -I/usr/local/nss3 In my opinion it might make more sense to switch to the pkg-config script, which are also provided by the upstream and pull the necessary dependencies.
glibc-2.26-20.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-fb5e227432
glibc-2.26-20.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-fb5e227432
glibc-2.26-20.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.