Summary: | dev-libs/nss-3.79-r1: databuffer.h:20:20: error: 'uint8_t' does not name a type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marco Scardovi (scardracs) <mscardovi> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/nss-dev/nss/commit/edf5cb12af8a4668997b7edb65c7add4a1390b09 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log (compressed)
emerge.info |
Created attachment 781979 [details]
emerge.info
Please don't CC manually. databuffer.h:48:17: error: 'uint8_t' does not name a type 48 | data_ = new uint8_t[l ? l : 1](); // Don't depend on new [0]. | ^~~~~~~ databuffer.h:48:17: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? Fixed already upstream: https://github.com/nss-dev/nss/commit/edf5cb12af8a4668997b7edb65c7add4a1390b09. I don't see this with GCC 12. I suspect it's GCC 13 only. I doubt it happens w/ 11. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1309e3bab51ba812641509a623ab288235ea64f9 commit 1309e3bab51ba812641509a623ab288235ea64f9 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-01 19:16:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-01 19:17:01 +0000 dev-libs/nss: fix build with GCC 13 Closes: https://bugs.gentoo.org/849005 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/nss/files/nss-3.79-gcc-13.patch | 33 ++++++++++++++++++++++++++++++++ dev-libs/nss/nss-3.79-r1.ebuild | 1 + 2 files changed, 34 insertions(+) Thanks, I can confirm it works now |
Created attachment 781976 [details] build.log (compressed) Hi there, I've compiled this with gcc-13 but actually happens with gcc-11 too. My OS is non-multilib. I'm adding also logs and info for more completeness