[Bug 257866] security/sssd: Build fails compiling nss_sha512crypt.c: static declaration of 'mempcpy' follows non-static declaration
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257866] security/sssd: Build fails compiling nss_sha512crypt.c: static declaration of 'mempcpy' follows non-static declaration"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257866] security/sssd: Build fails compiling nss_sha512crypt.c: static declaration of 'mempcpy' follows non-static declaration"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257866] security/sssd: Build fails compiling nss_sha512crypt.c: static declaration of 'mempcpy' follows non-static declaration"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257866] security/sssd: Build fails compiling nss_sha512crypt.c: static declaration of 'mempcpy' follows non-static declaration"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257866] security/sssd: Build fails compiling nss_sha512crypt.c: static declaration of 'mempcpy' follows non-static declaration"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257866] security/sssd: Build fails compiling nss_sha512crypt.c: static declaration of 'mempcpy' follows non-static declaration"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257866] security/sssd: Fails to build: nss_sha512crypt.c:33:1: error: static declaration of 'mempcpy' follows non-static declaration"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257866] security/sssd: Fails to build: nss_sha512crypt.c:33:1: error: static declaration of 'mempcpy' follows non-static declaration"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257866] security/sssd: Fails to build: nss_sha512crypt.c:33:1: error: static declaration of 'mempcpy' follows non-static declaration"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257866] security/sssd: Fails to build: nss_sha512crypt.c:33:1: error: static declaration of 'mempcpy' follows non-static declaration"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Aug 2021 16:54:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257866 Bug ID: 257866 Summary: security/sssd: Build fails compiling nss_sha512crypt.c: static declaration of 'mempcpy' follows non-static declaration Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: radoslaw@ejsmont.net CC: lukas.slebodnik@intrak.sk Flags: maintainer-feedback?(lukas.slebodnik@intrak.sk) CC: lukas.slebodnik@intrak.sk Hello, I encountered the following error building security/sssd on arm64: src/util/crypto/nss/nss_sha512crypt.c:33:1: error: static declaration of 'mempcpy' follows non-static declaration mempcpy (void *dest, const void *src, size_t n) ^ /usr/include/string.h:70:7: note: previous declaration is here void *mempcpy(void * __restrict, const void * __restrict, size_t); ^ 1 error generated. Full build log attached. FreeBSD generic 13.0-STABLE FreeBSD 13.0-STABLE #0 stable/13-n246669-5f27244beb8: Thu Aug 5 03:46:10 UTC 2021 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 The offending prototype seems to come from /usr/include/string.h Renaming mempcpy to _sha512_mempcpy in nss_sha512crypt.c appears to fix the issue (build succeeds). -- You are receiving this mail because: You are the assignee for the bug.