Christian Weisgerber wrote:
> Here's a reminder that these ports still fail to build since the
> LLVM 13 update:
>
> devel/qbs
> lang/libv8
> misc/posixtestsuite
Here -Werror is set and some variables now throw an -Wunused-but-set error.
This happens frequently in this testsuite.
Shall we switch it off?
> Old logs:
> http://build-failures.rhaalovely.net/amd64-clang/2021-12-06/
Index: misc/posixtestsuite/Makefile
===================================================================
RCS file: /home/cvs/ports/misc/posixtestsuite/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- misc/posixtestsuite/Makefile 12 Jul 2019 20:47:53 -0000 1.6
+++ misc/posixtestsuite/Makefile 31 Dec 2021 14:56:41 -0000
@@ -3,7 +3,7 @@
COMMENT = open POSIX test suite
DISTNAME = posixtestsuite-1.5.2
-REVISION = 3
+REVISION = 4
CATEGORIES = misc
Index: misc/posixtestsuite/patches/patch-Makefile
===================================================================
RCS file: /home/cvs/ports/misc/posixtestsuite/patches/patch-Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-Makefile
--- misc/posixtestsuite/patches/patch-Makefile 8 May 2018 22:14:19 -0000 1.2
+++ misc/posixtestsuite/patches/patch-Makefile 31 Dec 2021 14:16:18 -0000
@@ -22,7 +22,7 @@ Index: Makefile
$(MAKE) all | column -t -s:
-CFLAGS = -g -O2 -Wall -Werror -D_POSIX_C_SOURCE=200112L
-+CFLAGS = -g -O2 -Wall -Werror -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
++CFLAGS = -g -O2 -Wall -Werror -Wno-unused-but-set-variable -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
# add -std=c99, -std=gnu99 if compiler supports it (gcc-2.95.3 does not).
check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi)
No comments:
Post a Comment