Disable -Werror=nonnull on getcwd(0, 4096) because GCC incorrectly warns that the second argument should be NULL with recent glibc. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96832 https://sourceware.org/bugzilla/show_bug.cgi?id=26545 diff --git a/nss/coreconf/nsinstall/nsinstall.c b/nss/coreconf/nsinstall/nsinstall.c --- a/nss/coreconf/nsinstall/nsinstall.c +++ b/nss/coreconf/nsinstall/nsinstall.c @@ -236,14 +236,20 @@ main(int argc, char **argv) return 0; if (!cwd) { +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wnonnull" cwd = GETCWD(0, PATH_MAX); +#pragma GCC diagnostic pop if (!cwd) fail("could not get CWD"); } /* make sure we can get into todir. */ xchdir(todir); +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wnonnull" todir = GETCWD(0, PATH_MAX); +#pragma GCC diagnostic pop if (!todir) fail("could not get CWD in todir"); tdlen = strlen(todir);
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/maven.scm
AgeCommit message (Expand)Author
2023-07-09Revert "gnu: maven-model-builder@3.0: Fix build."...This reverts commit d54faf155aeeeb2aceb5cc19f141c2b8d0e0720a. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Bruno Victal
2023-07-09Revert "gnu: maven-settings-builder: Fix build."...This reverts commit c0a0cec87ff01ba3ee6f9baaafdb92b7ecc94489. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Bruno Victal
2023-07-09Revert "gnu: maven-model-builder: Fix build."...This reverts commit 04f9ac0cfaf86f9e590e0fdc62855d9c87245104. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Bruno Victal
2023-07-09Revert "gnu: maven-resolver-provider: Fix build."...This reverts commit 3d2ce30f6b4b505c9680369d118c2aa9f7bacff4. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Bruno Victal
2023-07-09Revert "gnu: maven-core-bootstrap: Fix build."...This reverts commit 1a93ff9a8b0c64ccb0e365f4e5c199e0ac8b9de6. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Bruno Victal
2023-07-09Revert "gnu: maven-embedder: Fix build."...This reverts commit 87ba11eff1b7a1784c94c897d468ba28822b0609. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Bruno Victal
2023-06-18gnu: maven-model-builder@3.0: Fix build....* gnu/packages/maven.scm (maven-3.0-model-builder)[#:phases]: Add ‘add-components-shebang’. Liliana Marie Prikler