On Sun, Jan 08 2023, Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote:
> Hi,
>
> On Sun, Jan 08 2023, Jérémie Courrèges-Anglas <j...@wxcvbn.org> wrote:
>> Bulk build on pbuild-amd64.wxcvbn.org
>>
>> Started : Tue Jan  3 02:26:11 CET 2023
>> Finished: Sat Jan  7 01:45:02 CET 2023
>> Duration: 3 Days 23 hours 19 minutes
>>
>> Built using OpenBSD 7.2-current (GENERIC.MP) #2: Fri Dec 30 02:11:28 CET 2022
>>
>> Built 10508 packages
>>
>> Number of packages built each day:
>> Jan 3: 3984
>> Jan 4: 1693
>> Jan 5: 1731
>> Jan 6: 3094
>> Jan 7: 6
>>
>>
>> Critical path missing pkgs:
>> https://wxcvbn.org/~jca/build-failures/amd64-clang/2023-01-03/summary.txt
>>
>> Build failures: 132
>
> Here's the results of a test bulk build using llvm 15 in base and ports
> on amd64.  Since a lot of the tree was taken out by a few ports
> I patched some of them.  Summary below, wip diff at the end of this
> mail.
>
> | port                                       | change summary                 
>                        |
> +--------------------------------------------+-------------------------------------------------------+
> | devel/libinotify/patches/patch-Makefile_am | drop -Werror                   
>                        |


cc -DHAVE_CONFIG_H -I. 
-I/usr/ports/pobj/libinotify-20211018/libinotify-kqueue-20211018 -I. -DNDEBUG 
-pthread -Wall -Werror -O2 -pipe -g -MT libinotify_la-controller.lo -MD -MP -MF 
.deps/libinotify_la-controller.Tpo -c 
/usr/ports/pobj/libinotify-20211018/libinotify-kqueue-20211018/controller.c 
-fPIC -DPIC -o .libs/libinotify_la-controller.o
/usr/ports/pobj/libinotify-20211018/libinotify-kqueue-20211018/controller.c:44:31:
 error: macro 'ATOMIC_VAR_INIT' has been marked as deprecated 
[-Werror,-Wdeprecated-pragma]
static atomic_uint nworkers = ATOMIC_VAR_INIT (0);
                              ^
/usr/lib/clang/15.0.6/include/stdatomic.h:51:41: note: macro marked 
'deprecated' here
#pragma clang deprecated(ATOMIC_VAR_INIT)
                                        ^

-Werror considered harmful.  ok?

llvm 15 test material:
git branch: https://github.com/jcourreges/openbsd-src/tree/llvm15-6
amd64 snaps: https://pbuild-amd64.wxcvbn.org/pub/OpenBSD/snapshots/amd64/


Index: devel/libinotify/patches/patch-Makefile_am
===================================================================
RCS file: /home/cvs/ports/devel/libinotify/patches/patch-Makefile_am,v
retrieving revision 1.8
diff -u -p -r1.8 patch-Makefile_am
--- devel/libinotify/patches/patch-Makefile_am  11 Mar 2022 18:50:34 -0000      
1.8
+++ devel/libinotify/patches/patch-Makefile_am  2 Jan 2023 20:21:11 -0000
@@ -1,13 +1,16 @@
+Drop -Werror
 Unbreak separate build
 
 Index: Makefile.am
 --- Makefile.am.orig
 +++ Makefile.am
-@@ -60,7 +60,7 @@ endif
+@@ -59,8 +59,8 @@ endif
+ 
  libinotify_la_SOURCES += compat/tree.h
  
- libinotify_la_CFLAGS = -I. @DEBUG_CFLAGS@ @PTHREAD_CFLAGS@ -Wall -Werror
+-libinotify_la_CFLAGS = -I. @DEBUG_CFLAGS@ @PTHREAD_CFLAGS@ -Wall -Werror
 -libinotify_la_LDFLAGS = @PTHREAD_LIBS@ -export-symbols libinotify.sym
++libinotify_la_CFLAGS = -I. @DEBUG_CFLAGS@ @PTHREAD_CFLAGS@ -Wall
 +libinotify_la_LDFLAGS = @PTHREAD_LIBS@ -export-symbols 
$(top_srcdir)/libinotify.sym
  endif
  


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Attachment: signature.asc
Description: PGP signature

Reply via email to