Bug#1072131: swiftlang: FTBFS: swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h:194:1: error: static declaration of 'strlcpy' follows non-static declaration

Santiago Vila sanvila at debian.org
Tue May 28 23:37:25 BST 2024


Package: src:swiftlang
Version: 5.6.3-3
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary
    dh_update_autotools_config
	cp -an --reflink=auto llvm-project/polly/lib/External/ppcg/config.guess debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b.tmp
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
	mv debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b.tmp debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b
	cp -f /usr/share/misc/config.guess ./llvm-project/polly/lib/External/ppcg/config.guess
	cp -an --reflink=auto llvm-project/polly/lib/External/isl/config.guess debian/.debhelper/bucket/files/38c9c1918db4a87b9296da02346f0daa8c1acf18b6763227bf563268989315d3.tmp
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
	mv debian/.debhelper/bucket/files/38c9c1918db4a87b9296da02346f0daa8c1acf18b6763227bf563268989315d3.tmp debian/.debhelper/bucket/files/38c9c1918db4a87b9296da02346f0daa8c1acf18b6763227bf563268989315d3
	cp -f /usr/share/misc/config.guess ./llvm-project/polly/lib/External/isl/config.guess
	cp -an --reflink=auto llvm-project/polly/lib/External/isl/interface/config.guess debian/.debhelper/bucket/files/38c9c1918db4a87b9296da02346f0daa8c1acf18b6763227bf563268989315d3.tmp
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
	mv debian/.debhelper/bucket/files/38c9c1918db4a87b9296da02346f0daa8c1acf18b6763227bf563268989315d3.tmp debian/.debhelper/bucket/files/38c9c1918db4a87b9296da02346f0daa8c1acf18b6763227bf563268989315d3

[... snipped ...]

-- Found Threads: TRUE
-- The Swift compiler identification is Apple 5.6.3
-- Check for working Swift compiler: /<<PKGBUILDDIR>>/build/buildbot_linux/swift-linux-x86_64/bin/swiftc
-- Check for working Swift compiler: /<<PKGBUILDDIR>>/build/buildbot_linux/swift-linux-x86_64/bin/swiftc - works
-- Looking for __GNU_LIBRARY__
-- Looking for __GNU_LIBRARY__ - found
-- Performing Test __BUILTIN_TRAP
-- Performing Test __BUILTIN_TRAP - Success
-- Found LibRT: /usr/lib/x86_64-linux-gnu/librt.a
-- Looking for _pthread_workqueue_init
-- Looking for _pthread_workqueue_init - not found
-- Looking for getprogname
-- Looking for getprogname - not found
-- Looking for mach_absolute_time
-- Looking for mach_absolute_time - not found
-- Looking for mach_approximate_time
-- Looking for mach_approximate_time - not found
-- Looking for mach_port_construct
-- Looking for mach_port_construct - not found
-- Looking for malloc_create_zone
-- Looking for malloc_create_zone - not found
-- Looking for posix_fadvise
-- Looking for posix_fadvise - found
-- Looking for posix_spawnp
-- Looking for posix_spawnp - found
-- Looking for pthread_key_init_np
-- Looking for pthread_key_init_np - not found
-- Looking for pthread_attr_setcpupercent_np
-- Looking for pthread_attr_setcpupercent_np - not found
-- Looking for pthread_yield_np
-- Looking for pthread_yield_np - not found
-- Looking for pthread_main_np
-- Looking for pthread_main_np - not found
-- Looking for pthread_workqueue_setdispatch_np
-- Looking for pthread_workqueue_setdispatch_np - not found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for include file TargetConditionals.h
-- Looking for include file TargetConditionals.h - not found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file libkern/OSAtomic.h
-- Looking for include file libkern/OSAtomic.h - not found
-- Looking for include file libkern/OSCrossEndian.h
-- Looking for include file libkern/OSCrossEndian.h - not found
-- Looking for include file libproc_internal.h
-- Looking for include file libproc_internal.h - not found
-- Looking for include file mach/mach.h
-- Looking for include file mach/mach.h - not found
-- Looking for include file malloc/malloc.h
-- Looking for include file malloc/malloc.h - not found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file pthread/qos.h
-- Looking for include file pthread/qos.h - not found
-- Looking for include file pthread/workqueue_private.h
-- Looking for include file pthread/workqueue_private.h - not found
-- Looking for include file pthread_machdep.h
-- Looking for include file pthread_machdep.h - not found
-- Looking for include file pthread_np.h
-- Looking for include file pthread_np.h - not found
-- Looking for include file pthread_workqueue.h
-- Looking for include file pthread_workqueue.h - not found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/guarded.h
-- Looking for include file sys/guarded.h - not found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file objc/objc-internal.h
-- Looking for include file objc/objc-internal.h - not found
-- Looking for sem_init in pthread
-- Looking for sem_init in pthread - found
-- Looking for CLOCK_UPTIME
-- Looking for CLOCK_UPTIME - not found
-- Looking for CLOCK_UPTIME_FAST
-- Looking for CLOCK_UPTIME_FAST - not found
-- Looking for CLOCK_MONOTONIC
-- Looking for CLOCK_MONOTONIC - found
-- Looking for CLOCK_REALTIME
-- Looking for CLOCK_REALTIME - found
-- Looking for CLOCK_MONOTONIC_COARSE
-- Looking for CLOCK_MONOTONIC_COARSE - found
-- Looking for FD_COPY
-- Looking for FD_COPY - not found
-- Looking for NOTE_LOWAT
-- Looking for NOTE_LOWAT - not found
-- Looking for NOTE_NONE
-- Looking for NOTE_NONE - not found
-- Looking for NOTE_REAP
-- Looking for NOTE_REAP - not found
-- Looking for NOTE_REVOKE
-- Looking for NOTE_REVOKE - not found
-- Looking for NOTE_SIGNAL
-- Looking for NOTE_SIGNAL - not found
-- Looking for POSIX_SPAWN_START_SUSPENDED
-- Looking for POSIX_SPAWN_START_SUSPENDED - not found
-- Looking for SIGEMT
-- Looking for SIGEMT - not found
-- Looking for VQ_DESIRED_DISK
-- Looking for VQ_DESIRED_DISK - not found
-- Looking for VQ_NEARLOWDISK
-- Looking for VQ_NEARLOWDISK - not found
-- Looking for VQ_QUOTA
-- Looking for VQ_QUOTA - not found
-- Looking for VQ_UPDATE
-- Looking for VQ_UPDATE - not found
-- Looking for VQ_VERYLOWDISK
-- Looking for VQ_VERYLOWDISK - not found
-- Looking for VQ_FREE_SPACE_CHANGE
-- Looking for VQ_FREE_SPACE_CHANGE - not found
-- Looking for program_invocation_name
-- Looking for program_invocation_name - found
-- Looking for __printflike
-- Looking for __printflike - found
-- Performing Test C_SUPPORTS_OMIT_LEAF_FRAME_POINTER
-- Performing Test C_SUPPORTS_OMIT_LEAF_FRAME_POINTER - Success
-- Configuring done (6.5s)
-- Generating done (0.0s)
CMake Warning:
   Manually-specified variables were not used by the project:

     CLANG_VERSION_MAJOR
     CLANG_VERSION_MINOR
     CLANG_VERSION_PATCH
     CMAKE_LIBTOOL
     CMAKE_SWIFT_COMPILER
     ENABLE_TESTING
     LLVM_VERSION_MAJOR
     LLVM_VERSION_MINOR
     LLVM_VERSION_PATCH
     Swift_DIR


-- Build files have been written to: /<<PKGBUILDDIR>>/build/buildbot_linux/libdispatch_static-linux-x86_64
+ popd
/<<PKGBUILDDIR>>
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
+ /usr/bin/cmake --build /<<PKGBUILDDIR>>/build/buildbot_linux/libdispatch_static-linux-x86_64 -- -j2 all
[1/82][  1%][0.030s] Building C object src/BlocksRuntime/CMakeFiles/BlocksRuntime.dir/data.c.o
[2/82][  2%][0.166s] Building C object src/BlocksRuntime/CMakeFiles/BlocksRuntime.dir/runtime.c.o
[3/82][  3%][0.210s] Building C object src/CMakeFiles/dispatch.dir/allocator.c.o
[4/82][  4%][0.416s] Building C object src/CMakeFiles/dispatch.dir/benchmark.c.o
[5/82][  6%][0.549s] Building C object src/CMakeFiles/dispatch.dir/apply.c.o
[6/82][  7%][0.781s] Building C object src/CMakeFiles/dispatch.dir/data.c.o
[7/82][  8%][0.806s] Building C object src/CMakeFiles/dispatch.dir/introspection.c.o
[8/82][  9%][1.035s] Building C object src/CMakeFiles/dispatch.dir/init.c.o
[9/82][ 10%][1.208s] Building C object src/CMakeFiles/dispatch.dir/mach.c.o
[10/82][ 12%][1.481s] Building C object src/CMakeFiles/dispatch.dir/object.c.o
[11/82][ 13%][1.665s] Building C object src/CMakeFiles/dispatch.dir/once.c.o
[12/82][ 14%][2.054s] Building C object src/CMakeFiles/dispatch.dir/io.c.o
[13/82][ 15%][2.384s] Building C object src/CMakeFiles/dispatch.dir/semaphore.c.o
[14/82][ 17%][3.222s] Building C object src/CMakeFiles/dispatch.dir/source.c.o
[15/82][ 18%][3.446s] Building C object src/CMakeFiles/dispatch.dir/time.c.o
[16/82][ 19%][3.922s] Building C object src/CMakeFiles/dispatch.dir/transform.c.o
[17/82][ 20%][4.107s] Building C object src/CMakeFiles/dispatch.dir/voucher.c.o
[18/82][ 21%][4.270s] Building C object src/CMakeFiles/dispatch.dir/shims.c.o
[19/82][ 23%][4.406s] Building C object src/CMakeFiles/dispatch.dir/queue.c.o
[20/82][ 24%][4.727s] Building C object src/CMakeFiles/dispatch.dir/event/event.c.o
[21/82][ 25%][4.813s] Building C object src/CMakeFiles/dispatch.dir/event/event_epoll.c.o
[22/82][ 26%][4.891s] Building C object src/CMakeFiles/dispatch.dir/event/event_kevent.c.o
[23/82][ 28%][4.984s] Building C object src/CMakeFiles/dispatch.dir/event/event_windows.c.o
[24/82][ 29%][5.176s] Building C object src/CMakeFiles/dispatch.dir/shims/yield.c.o
[25/82][ 30%][5.177s] Building C object src/CMakeFiles/dispatch.dir/shims/lock.c.o
[26/82][ 31%][5.391s] Building CXX object src/CMakeFiles/dispatch.dir/block.cpp.o
[27/82][ 32%][5.435s] Building C object src/CMakeFiles/dispatch.dir/event/workqueue.c.o
[28/82][ 34%][5.457s] Linking C static library src/BlocksRuntime/libBlocksRuntime.a
[29/82][ 35%][5.508s] Building CXX object src/swift/CMakeFiles/DispatchStubs.dir/DispatchStubs.cc.o
[30/82][ 36%][5.625s] Building C object tests/CMakeFiles/bsdtests.dir/dispatch_test.c.o
[31/82][ 37%][5.656s] Generating /<<PKGBUILDDIR>>/swift-corelibs-libdispatch/dispatch/module.modulemap, /<<PKGBUILDDIR>>/swift-corelibs-libdispatch/private/module.modulemap
[32/82][ 39%][5.749s] Building C object tests/CMakeFiles/bsdtests.dir/bsdtests.c.o
[33/82][ 40%][5.763s] Linking CXX static library src/libdispatch.a
[34/82][ 41%][5.813s] Linking CXX static library src/swift/libDispatchStubs.a
[35/82][ 42%][5.828s] Linking C static library tests/libbsdtests.a
[36/82][ 43%][5.911s] Building C object tests/CMakeFiles/bsdtestharness.dir/bsdtestharness.c.o
[37/82][ 45%][5.935s] Building C object tests/CMakeFiles/dispatch_apply.dir/dispatch_apply.c.o
[38/82][ 46%][5.982s] Building C object tests/CMakeFiles/dispatch_api.dir/dispatch_api.c.o
[39/82][ 47%][6.012s] Building C object tests/CMakeFiles/dispatch_debug.dir/dispatch_debug.c.o
[40/82][ 48%][6.070s] Building C object tests/CMakeFiles/dispatch_queue_finalizer.dir/dispatch_queue_finalizer.c.o
[41/82][ 50%][6.108s] Building C object tests/CMakeFiles/dispatch_overcommit.dir/dispatch_overcommit.c.o
[42/82][ 51%][6.176s] Building C object tests/CMakeFiles/dispatch_context_for_key.dir/dispatch_context_for_key.c.o
[43/82][ 52%][6.236s] Building C object tests/CMakeFiles/dispatch_after.dir/dispatch_after.c.o
[44/82][ 53%][6.281s] Building C object tests/CMakeFiles/dispatch_timer.dir/dispatch_timer.c.o
[45/82][ 54%][6.370s] Building C object tests/CMakeFiles/dispatch_timer_timeout.dir/dispatch_timer_timeout.c.o
[46/82][ 56%][6.390s] Building C object tests/CMakeFiles/dispatch_timer_short.dir/dispatch_timer_short.c.o
[47/82][ 57%][6.452s] Building C object tests/CMakeFiles/dispatch_sema.dir/dispatch_sema.c.o
[48/82][ 58%][6.471s] Building C object tests/CMakeFiles/dispatch_timer_bit31.dir/dispatch_timer_bit31.c.o
[49/82][ 59%][6.533s] Building C object tests/CMakeFiles/dispatch_timer_bit63.dir/dispatch_timer_bit63.c.o
[50/82][ 60%][6.558s] Building C object tests/CMakeFiles/dispatch_timer_set_time.dir/dispatch_timer_set_time.c.o
[51/82][ 62%][6.638s] Building C object tests/CMakeFiles/dispatch_data.dir/dispatch_data.c.o
[52/82][ 63%][6.697s] Building C object tests/CMakeFiles/dispatch_io_muxed.dir/dispatch_io_muxed.c.o
[53/82][ 64%][6.800s] Building C object tests/CMakeFiles/dispatch_io_net.dir/dispatch_io_net.c.o
[54/82][ 65%][6.897s] Building C object tests/CMakeFiles/dispatch_io_pipe_close.dir/dispatch_io_pipe_close.c.o
[55/82][ 67%][6.931s] Building C object tests/CMakeFiles/dispatch_io_pipe.dir/dispatch_io_pipe.c.o
[56/82][ 68%][7.007s] Building C object tests/CMakeFiles/dispatch_c99.dir/dispatch_c99.c.o
[57/82][ 69%][7.014s] Building C object tests/CMakeFiles/dispatch_select.dir/dispatch_select.c.o
[58/82][ 70%][7.130s] Building CXX object tests/CMakeFiles/dispatch_plusplus.dir/dispatch_plusplus.cpp.o
[59/82][ 71%][7.233s] Linking CXX executable bsdtestharness
[60/82][ 73%][7.458s] Linking CXX executable dispatch_apply
[61/82][ 74%][7.630s] Linking CXX executable dispatch_api
[62/82][ 75%][7.849s] Linking CXX executable dispatch_debug
[63/82][ 76%][8.023s] Linking CXX executable dispatch_queue_finalizer
[64/82][ 78%][8.241s] Linking CXX executable dispatch_overcommit
[65/82][ 79%][8.469s] Linking CXX executable dispatch_context_for_key
[66/82][ 80%][8.676s] Linking CXX executable dispatch_after
[67/82][ 81%][8.921s] Linking CXX executable dispatch_timer
[68/82][ 82%][9.019s] Linking CXX executable dispatch_timer_short
[69/82][ 84%][9.114s] Linking CXX executable dispatch_timer_timeout
[70/82][ 85%][9.209s] Linking CXX executable dispatch_sema
[71/82][ 86%][9.302s] Linking CXX executable dispatch_timer_bit31
[72/82][ 87%][9.394s] Linking CXX executable dispatch_timer_bit63
[73/82][ 89%][9.489s] Linking CXX executable dispatch_timer_set_time
[74/82][ 90%][9.581s] Linking CXX executable dispatch_data
[75/82][ 91%][9.675s] Linking CXX executable dispatch_io_muxed
[76/82][ 92%][9.770s] Linking CXX executable dispatch_io_net
[77/82][ 93%][9.865s] Linking CXX executable dispatch_io_pipe
[78/82][ 95%][9.963s] Linking CXX executable dispatch_io_pipe_close
[79/82][ 96%][10.054s] Linking CXX executable dispatch_select
[80/82][ 97%][10.144s] Linking CXX executable dispatch_c99
[81/82][ 98%][10.236s] Linking CXX executable dispatch_plusplus
[82/82][100%][12.377s] Linking Swift static library src/swift/libswiftDispatch.a
/<<PKGBUILDDIR>>/swift-corelibs-libdispatch/src/swift/Dispatch.swift:99:4: warning: default will never be executed
                         default: return nil
                         ^
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
Cleaning the Foundation build directory
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
+ rm -rf /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
+ mkdir -p /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
+ mkdir -p /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64/.cmake/api/v1/query
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
+ touch /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64/.cmake/api/v1/query/codemodel-v2 /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64/.cmake/api/v1/query/cache-v2
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
+ pushd /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64
/<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64 /<<PKGBUILDDIR>>
+ env /usr/bin/cmake -G Ninja -DCMAKE_C_COMPILER:PATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:PATH=/usr/bin/clang++ -DCMAKE_Swift_COMPILER:PATH= -DCMAKE_LIBTOOL:PATH= -DCMAKE_AR:PATH=/usr/bin/ar -DCMAKE_RANLIB:PATH=/usr/bin/ranlib -DLLVM_VERSION_MAJOR:STRING=13 -DLLVM_VERSION_MINOR:STRING=0 -DLLVM_VERSION_PATCH:STRING=0 -DCLANG_VERSION_MAJOR:STRING=13 -DCLANG_VERSION_MINOR:STRING=0 -DCLANG_VERSION_PATCH:STRING=0 -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_C_COMPILER:PATH=/<<PKGBUILDDIR>>/build/buildbot_linux/llvm-linux-x86_64/bin/clang -DCMAKE_CXX_COMPILER:PATH=/<<PKGBUILDDIR>>/build/buildbot_linux/llvm-linux-x86_64/bin/clang++ -DCMAKE_SWIFT_COMPILER:PATH=/<<PKGBUILDDIR>>/build/buildbot_linux/swift-linux-x86_64/bin/swiftc -DCMAKE_Swift_COMPILER:PATH=/<<PKGBUILDDIR>>/build/buildbot_linux/swift-linux-x86_64/bin/swiftc '-DCMAKE_Swift_FLAGS:STRING=  -module-cache-path "/<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64/module-cache" ' -DCMAKE_INSTALL_PREFIX:PATH=/usr/ -DFOUNDATION_PATH_TO_LIBDISPATCH_SOURCE=/<<PKGBUILDDIR>>/swift-corelibs-libdispatch -DFOUNDATION_PATH_TO_LIBDISPATCH_BUILD=/<<PKGBUILDDIR>>/build/buildbot_linux/libdispatch-linux-x86_64 -Ddispatch_DIR=/<<PKGBUILDDIR>>/build/buildbot_linux/libdispatch-linux-x86_64/cmake/modules -DENABLE_TESTING:BOOL=NO -DBUILD_SHARED_LIBS=YES /<<PKGBUILDDIR>>/swift-corelibs-foundation
-- The C compiler identification is Clang 13.0.0
-- The Swift compiler identification is Apple 5.6.3
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /<<PKGBUILDDIR>>/build/buildbot_linux/llvm-linux-x86_64/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working Swift compiler: /<<PKGBUILDDIR>>/build/buildbot_linux/swift-linux-x86_64/bin/swiftc
-- Check for working Swift compiler: /<<PKGBUILDDIR>>/build/buildbot_linux/swift-linux-x86_64/bin/swiftc - works
-- Found the following ICU libraries:
--   uc (required): /usr/lib/x86_64-linux-gnu/libicuuc.so
--   i18n (required): /usr/lib/x86_64-linux-gnu/libicui18n.so
--   data (optional): /usr/lib/x86_64-linux-gnu/libicudata.so
-- Found ICU: /usr/include (found version "72.1")
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /<<PKGBUILDDIR>>/build/buildbot_linux/llvm-linux-x86_64/bin/clang
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.12.7")
-- Could NOT find CURL (missing: CURL_DIR)
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "8.8.0")
-- Looking for sched.h
-- Looking for sched.h - found
-- Looking for sched_getaffinity
-- Looking for sched_getaffinity - found
-- Could NOT find CURL (missing: CURL_DIR)
-- Configuring done (1.2s)
-- Generating done (0.0s)
CMake Warning:
   Manually-specified variables were not used by the project:

     CLANG_VERSION_MAJOR
     CLANG_VERSION_MINOR
     CLANG_VERSION_PATCH
     CMAKE_CXX_COMPILER
     CMAKE_LIBTOOL
     CMAKE_SWIFT_COMPILER
     FOUNDATION_PATH_TO_LIBDISPATCH_BUILD
     FOUNDATION_PATH_TO_LIBDISPATCH_SOURCE
     LLVM_VERSION_MAJOR
     LLVM_VERSION_MINOR
     LLVM_VERSION_PATCH


-- Build files have been written to: /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64
+ popd
/<<PKGBUILDDIR>>
<string>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
+ /usr/bin/cmake --build /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64 -- -j2 all
[1/223][  0%][0.018s] Generating ../CoreFoundation.framework/Headers/CFArray.h
[2/223][  0%][0.029s] Generating uuid-headers/uuid/uuid.h
[3/223][  1%][0.032s] Generating ../CoreFoundation.framework/Headers/CFAttributedString.h
[4/223][  1%][0.041s] Generating ../CoreFoundation.framework/Headers/CFAvailability.h
[5/223][  2%][0.045s] Generating ../CoreFoundation.framework/Headers/CFBag.h
[6/223][  2%][0.054s] Generating ../CoreFoundation.framework/Headers/CFBase.h
[7/223][  3%][0.057s] Generating ../CoreFoundation.framework/Headers/CFBinaryHeap.h
[8/223][  3%][0.067s] Generating ../CoreFoundation.framework/Headers/CFBitVector.h
[9/223][  4%][0.069s] Generating ../CoreFoundation.framework/Headers/CFBundle.h
[10/223][  4%][0.079s] Generating ../CoreFoundation.framework/Headers/CFBundlePriv.h
[11/223][  4%][0.082s] Generating ../CoreFoundation.framework/Headers/CFByteOrder.h
[12/223][  5%][0.092s] Generating ../CoreFoundation.framework/Headers/CFCalendar.h
[13/223][  5%][0.094s] Generating ../CoreFoundation.framework/Headers/CFCalendar_Internal.h
[14/223][  6%][0.105s] Generating ../CoreFoundation.framework/Headers/CFCharacterSet.h
[15/223][  6%][0.107s] Generating ../CoreFoundation.framework/Headers/CFCharacterSetPriv.h
[16/223][  7%][0.118s] Generating ../CoreFoundation.framework/Headers/CFData.h
[17/223][  7%][0.119s] Generating ../CoreFoundation.framework/Headers/CFDate.h
[18/223][  8%][0.131s] Generating ../CoreFoundation.framework/Headers/CFDateComponents.h
[19/223][  8%][0.131s] Generating ../CoreFoundation.framework/Headers/CFDateFormatter.h
[20/223][  8%][0.143s] Generating ../CoreFoundation.framework/Headers/CFDateInterval.h
[21/223][  9%][0.144s] Generating ../CoreFoundation.framework/Headers/CFDateIntervalFormatter.h
[22/223][  9%][0.156s] Generating ../CoreFoundation.framework/Headers/CFDictionary.h
[23/223][ 10%][0.156s] Generating ../CoreFoundation.framework/Headers/CFError.h
[24/223][ 10%][0.169s] Generating ../CoreFoundation.framework/Headers/CFKnownLocations.h
[25/223][ 11%][0.169s] Generating ../CoreFoundation.framework/Headers/CFLocale.h
[26/223][ 11%][0.181s] Generating ../CoreFoundation.framework/Headers/CFLocking.h
[27/223][ 12%][0.182s] Generating ../CoreFoundation.framework/Headers/CFLocaleInternal.h
[28/223][ 12%][0.194s] Generating ../CoreFoundation.framework/Headers/CFLogUtilities.h
[29/223][ 13%][0.194s] Generating ../CoreFoundation.framework/Headers/CFMachPort.h
[30/223][ 13%][0.206s] Generating ../CoreFoundation.framework/Headers/CFMessagePort.h
[31/223][ 13%][0.206s] Generating ../CoreFoundation.framework/Headers/CFNotificationCenter.h
[32/223][ 14%][0.219s] Generating ../CoreFoundation.framework/Headers/CFNumber.h
[33/223][ 14%][0.219s] Generating ../CoreFoundation.framework/Headers/CFNumberFormatter.h
[34/223][ 15%][0.232s] Generating ../CoreFoundation.framework/Headers/CFPlugInCOM.h
[35/223][ 15%][0.232s] Generating ../CoreFoundation.framework/Headers/CFPlugIn.h
[36/223][ 16%][0.244s] Generating ../CoreFoundation.framework/Headers/CFPreferences.h
[37/223][ 16%][0.245s] Generating ../CoreFoundation.framework/Headers/CFPriv.h
[38/223][ 17%][0.257s] Generating ../CoreFoundation.framework/Headers/CFPropertyList.h
[39/223][ 17%][0.257s] Generating ../CoreFoundation.framework/Headers/CFRegularExpression.h
[40/223][ 17%][0.270s] Generating ../CoreFoundation.framework/Headers/CFRunArray.h
[41/223][ 18%][0.270s] Generating ../CoreFoundation.framework/Headers/CFRunLoop.h
[42/223][ 18%][0.282s] Generating ../CoreFoundation.framework/Headers/CFRuntime.h
[43/223][ 19%][0.282s] Generating ../CoreFoundation.framework/Headers/CFSet.h
[44/223][ 19%][0.294s] Generating ../CoreFoundation.framework/Headers/CFSocket.h
[45/223][ 20%][0.295s] Generating ../CoreFoundation.framework/Headers/CFStream.h
[46/223][ 20%][0.307s] Generating ../CoreFoundation.framework/Headers/CFStreamPriv.h
[47/223][ 21%][0.308s] Generating ../CoreFoundation.framework/Headers/CFString.h
[48/223][ 21%][0.319s] Generating ../CoreFoundation.framework/Headers/CFStringEncodingConverter.h
[49/223][ 21%][0.321s] Generating ../CoreFoundation.framework/Headers/CFStringEncodingConverterExt.h
[50/223][ 22%][0.332s] Generating ../CoreFoundation.framework/Headers/CFStringEncodingExt.h
[51/223][ 22%][0.333s] Generating ../CoreFoundation.framework/Headers/CFTimeZone.h
[52/223][ 23%][0.345s] Generating ../CoreFoundation.framework/Headers/CFTree.h
[53/223][ 23%][0.347s] Generating ../CoreFoundation.framework/Headers/CFURL.h
[54/223][ 24%][0.357s] Generating ../CoreFoundation.framework/Headers/CFURLAccess.h
[55/223][ 24%][0.360s] Generating ../CoreFoundation.framework/Headers/CFURLComponents.h
[56/223][ 25%][0.370s] Generating ../CoreFoundation.framework/Headers/CFURLPriv.h
[57/223][ 25%][0.372s] Generating ../CoreFoundation.framework/Headers/CFURLSessionInterface.h
[58/223][ 26%][0.383s] Generating ../CoreFoundation.framework/Headers/CFUUID.h
[59/223][ 26%][0.385s] Generating ../CoreFoundation.framework/Headers/CFUserNotification.h
[60/223][ 26%][0.396s] Generating ../CoreFoundation.framework/Headers/CFUtilities.h
[61/223][ 27%][0.398s] Generating ../CoreFoundation.framework/Headers/CoreFoundation.h
[62/223][ 27%][0.409s] Generating ../CoreFoundation.framework/Headers/ForFoundationOnly.h
[63/223][ 28%][0.411s] Generating ../CoreFoundation.framework/Headers/ForSwiftFoundationOnly.h
[64/223][ 28%][0.422s] Generating ../CoreFoundation.framework/Headers/TargetConditionals.h
[65/223][ 29%][0.423s] Generating ../CoreFoundation.framework/PrivateHeaders/CFAsmMacros.h
[66/223][ 29%][0.435s] Generating ../CoreFoundation.framework/PrivateHeaders/CFAttributedStringPriv.h
[67/223][ 30%][0.436s] Generating ../CoreFoundation.framework/PrivateHeaders/CFBasicHash.h
[68/223][ 30%][0.448s] Generating ../CoreFoundation.framework/PrivateHeaders/CFBigNumber.h
[69/223][ 30%][0.448s] Generating ../CoreFoundation.framework/PrivateHeaders/CFBundlePriv.h
[70/223][ 31%][0.460s] Generating ../CoreFoundation.framework/PrivateHeaders/CFBundle_BinaryTypes.h
[71/223][ 31%][0.461s] Generating ../CoreFoundation.framework/PrivateHeaders/CFBundle_Internal.h
[72/223][ 32%][0.472s] Generating ../CoreFoundation.framework/PrivateHeaders/CFBurstTrie.h
[73/223][ 32%][0.476s] Generating ../CoreFoundation.framework/PrivateHeaders/CFCalendar_Internal.h
[74/223][ 33%][0.485s] Generating ../CoreFoundation.framework/PrivateHeaders/CFCharacterSetPriv.h
[75/223][ 33%][0.489s] Generating ../CoreFoundation.framework/PrivateHeaders/CFCollections_Internal.h
[76/223][ 34%][0.497s] Generating ../CoreFoundation.framework/PrivateHeaders/CFDateComponents.h
[77/223][ 34%][0.501s] Generating ../CoreFoundation.framework/PrivateHeaders/CFDateFormatter_Private.h
[78/223][ 34%][0.509s] Generating ../CoreFoundation.framework/PrivateHeaders/CFDateInterval.h
[79/223][ 35%][0.513s] Generating ../CoreFoundation.framework/PrivateHeaders/CFDateIntervalFormatter.h
[80/223][ 35%][0.522s] Generating ../CoreFoundation.framework/PrivateHeaders/CFError_Private.h
[81/223][ 36%][0.526s] Generating ../CoreFoundation.framework/PrivateHeaders/CFICUConverters.h
[82/223][ 36%][0.535s] Generating ../CoreFoundation.framework/PrivateHeaders/CFICULogging.h
[83/223][ 37%][0.540s] Generating ../CoreFoundation.framework/PrivateHeaders/CFInternal.h
[84/223][ 37%][0.548s] Generating ../CoreFoundation.framework/PrivateHeaders/CFKnownLocations.h
[85/223][ 38%][0.553s] Generating ../CoreFoundation.framework/PrivateHeaders/CFListFormatter.h
[86/223][ 38%][0.560s] Generating ../CoreFoundation.framework/PrivateHeaders/CFLocaleInternal.h
[87/223][ 39%][0.566s] Generating ../CoreFoundation.framework/PrivateHeaders/CFLocale_Private.h
[88/223][ 39%][0.572s] Generating ../CoreFoundation.framework/PrivateHeaders/CFLogUtilities.h
[89/223][ 39%][0.579s] Generating ../CoreFoundation.framework/PrivateHeaders/CFMachPort_Internal.h
[90/223][ 40%][0.585s] Generating ../CoreFoundation.framework/PrivateHeaders/CFMachPort_Lifetime.h
[91/223][ 40%][0.591s] Generating ../CoreFoundation.framework/PrivateHeaders/CFNumber_Private.h
[92/223][ 41%][0.597s] Generating ../CoreFoundation.framework/PrivateHeaders/CFOverflow.h
[93/223][ 41%][0.603s] Generating ../CoreFoundation.framework/PrivateHeaders/CFPlugIn_Factory.h
[94/223][ 42%][0.609s] Generating ../CoreFoundation.framework/PrivateHeaders/CFPriv.h
[95/223][ 42%][0.616s] Generating ../CoreFoundation.framework/PrivateHeaders/CFPropertyList_Private.h
[96/223][ 43%][0.622s] Generating ../CoreFoundation.framework/PrivateHeaders/CFRegularExpression.h
[97/223][ 43%][0.629s] Generating ../CoreFoundation.framework/PrivateHeaders/CFRelativeDateTimeFormatter.h
[98/223][ 43%][0.634s] Generating ../CoreFoundation.framework/PrivateHeaders/CFRunArray.h
[99/223][ 44%][0.641s] Generating ../CoreFoundation.framework/PrivateHeaders/CFRuntime.h
[100/223][ 44%][0.646s] Generating ../CoreFoundation.framework/PrivateHeaders/CFRuntime_Internal.h
[101/223][ 45%][0.653s] Generating ../CoreFoundation.framework/PrivateHeaders/CFStorage.h
[102/223][ 45%][0.658s] Generating ../CoreFoundation.framework/PrivateHeaders/CFStreamAbstract.h
[103/223][ 46%][0.666s] Generating ../CoreFoundation.framework/PrivateHeaders/CFStreamInternal.h
[104/223][ 46%][0.671s] Generating ../CoreFoundation.framework/PrivateHeaders/CFStreamPriv.h
[105/223][ 47%][0.678s] Generating ../CoreFoundation.framework/PrivateHeaders/CFStringDefaultEncoding.h
[106/223][ 47%][0.683s] Generating ../CoreFoundation.framework/PrivateHeaders/CFStringEncodingConverter.h
[107/223][ 47%][0.690s] Generating ../CoreFoundation.framework/PrivateHeaders/CFStringEncodingConverterExt.h
[108/223][ 48%][0.695s] Generating ../CoreFoundation.framework/PrivateHeaders/CFStringEncodingConverterPriv.h
[109/223][ 48%][0.703s] Generating ../CoreFoundation.framework/PrivateHeaders/CFStringEncodingDatabase.h
[110/223][ 49%][0.708s] Generating ../CoreFoundation.framework/PrivateHeaders/CFStringLocalizedFormattingInternal.h
[111/223][ 49%][0.716s] Generating ../CoreFoundation.framework/PrivateHeaders/CFString_Internal.h
[112/223][ 50%][0.721s] Generating ../CoreFoundation.framework/PrivateHeaders/CFString_Private.h
[113/223][ 50%][0.729s] Generating ../CoreFoundation.framework/PrivateHeaders/CFURL.inc.h
[114/223][ 51%][0.733s] Generating ../CoreFoundation.framework/PrivateHeaders/CFURLPriv.h
[115/223][ 51%][0.742s] Generating ../CoreFoundation.framework/PrivateHeaders/CFURLSessionInterface.h
[116/223][ 52%][0.746s] Generating ../CoreFoundation.framework/PrivateHeaders/CFUniChar.h
[117/223][ 52%][0.755s] Generating ../CoreFoundation.framework/PrivateHeaders/CFUniCharPriv.h
[118/223][ 52%][0.759s] Generating ../CoreFoundation.framework/PrivateHeaders/CFUnicodeDecomposition.h
[119/223][ 53%][0.767s] Generating ../CoreFoundation.framework/PrivateHeaders/CFUnicodePrecomposition.h
[120/223][ 53%][0.771s] Generating ../CoreFoundation.framework/PrivateHeaders/ForFoundationOnly.h
[121/223][ 54%][0.779s] Generating ../CoreFoundation.framework/PrivateHeaders/ForSwiftFoundationOnly.h
[122/223][ 54%][0.783s] Generating ../CFURLSessionInterface.framework/Headers/CFURLSessionInterface.h
[123/223][ 55%][1.000s] Building C object CoreFoundation/CMakeFiles/CoreFoundation.dir/Base.subproj/CFBase.c.o
FAILED: CoreFoundation/CMakeFiles/CoreFoundation.dir/Base.subproj/CFBase.c.o
/<<PKGBUILDDIR>>/build/buildbot_linux/llvm-linux-x86_64/bin/clang -DCF_BUILDING_CF -DDEPLOYMENT_RUNTIME_SWIFT -DHAVE_SCHED_GETAFFINITY -DU_SHOW_DRAFT_API -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/swift-corelibs-foundation/CoreFoundation -I/<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64/uuid-headers -I/<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64/CoreFoundation.framework/Headers -isystem /<<PKGBUILDDIR>>/swift-corelibs-libdispatch/src/BlocksRuntime -isystem /<<PKGBUILDDIR>>/build/buildbot_linux/libdispatch-linux-x86_64 -isystem /<<PKGBUILDDIR>>/swift-corelibs-libdispatch -isystem /<<PKGBUILDDIR>>/swift-corelibs-libdispatch/src -isystem /<<PKGBUILDDIR>>/build/buildbot_linux/libdispatch-linux-x86_64/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -DNDEBUG -std=gnu99 -fPIC -include /<<PKGBUILDDIR>>/swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h -fblocks -fexceptions -fconstant-cfstrings -fdollars-in-identifiers -fno-common -Werror=implicit-function-declaration -fcf-runtime-abi=swift -Wno-shorten-64-to-32 -Wno-deprecated-declarations -Wno-unreachable-code -Wno-conditional-uninitialized -Wno-unused-variable -Wno-int-conversion -Wno-unused-function -Wno-microsoft-enum-forward-reference -F /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64 -I /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64/CoreFoundation.framework/PrivateHeaders -MD -MT CoreFoundation/CMakeFiles/CoreFoundation.dir/Base.subproj/CFBase.c.o -MF CoreFoundation/CMakeFiles/CoreFoundation.dir/Base.subproj/CFBase.c.o.d -o CoreFoundation/CMakeFiles/CoreFoundation.dir/Base.subproj/CFBase.c.o -c /<<PKGBUILDDIR>>/swift-corelibs-foundation/CoreFoundation/Base.subproj/CFBase.c
In file included from <built-in>:1:
/<<PKGBUILDDIR>>/swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h:194:1: error: static declaration of 'strlcpy' follows non-static declaration
strlcpy(char * dst, const char * src, size_t maxlen) {
^
/usr/include/string.h:506:15: note: previous declaration is here
extern size_t strlcpy (char *__restrict __dest,
               ^
In file included from <built-in>:1:
/<<PKGBUILDDIR>>/swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h:206:1: error: static declaration of 'strlcat' follows non-static declaration
strlcat(char * dst, const char * src, size_t maxlen) {
^
/usr/include/string.h:512:15: note: previous declaration is here
extern size_t strlcat (char *__restrict __dest,
               ^
2 errors generated.
[124/223][ 55%][1.007s] Building C object CoreFoundation/CMakeFiles/CoreFoundation.dir/Base.subproj/CFFileUtilities.c.o
FAILED: CoreFoundation/CMakeFiles/CoreFoundation.dir/Base.subproj/CFFileUtilities.c.o
/<<PKGBUILDDIR>>/build/buildbot_linux/llvm-linux-x86_64/bin/clang -DCF_BUILDING_CF -DDEPLOYMENT_RUNTIME_SWIFT -DHAVE_SCHED_GETAFFINITY -DU_SHOW_DRAFT_API -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/swift-corelibs-foundation/CoreFoundation -I/<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64/uuid-headers -I/<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64/CoreFoundation.framework/Headers -isystem /<<PKGBUILDDIR>>/swift-corelibs-libdispatch/src/BlocksRuntime -isystem /<<PKGBUILDDIR>>/build/buildbot_linux/libdispatch-linux-x86_64 -isystem /<<PKGBUILDDIR>>/swift-corelibs-libdispatch -isystem /<<PKGBUILDDIR>>/swift-corelibs-libdispatch/src -isystem /<<PKGBUILDDIR>>/build/buildbot_linux/libdispatch-linux-x86_64/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -DNDEBUG -std=gnu99 -fPIC -include /<<PKGBUILDDIR>>/swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h -fblocks -fexceptions -fconstant-cfstrings -fdollars-in-identifiers -fno-common -Werror=implicit-function-declaration -fcf-runtime-abi=swift -Wno-shorten-64-to-32 -Wno-deprecated-declarations -Wno-unreachable-code -Wno-conditional-uninitialized -Wno-unused-variable -Wno-int-conversion -Wno-unused-function -Wno-microsoft-enum-forward-reference -F /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64 -I /<<PKGBUILDDIR>>/build/buildbot_linux/foundation-linux-x86_64/CoreFoundation.framework/PrivateHeaders -MD -MT CoreFoundation/CMakeFiles/CoreFoundation.dir/Base.subproj/CFFileUtilities.c.o -MF CoreFoundation/CMakeFiles/CoreFoundation.dir/Base.subproj/CFFileUtilities.c.o.d -o CoreFoundation/CMakeFiles/CoreFoundation.dir/Base.subproj/CFFileUtilities.c.o -c /<<PKGBUILDDIR>>/swift-corelibs-foundation/CoreFoundation/Base.subproj/CFFileUtilities.c
In file included from <built-in>:1:
/<<PKGBUILDDIR>>/swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h:194:1: error: static declaration of 'strlcpy' follows non-static declaration
strlcpy(char * dst, const char * src, size_t maxlen) {
^
/usr/include/string.h:506:15: note: previous declaration is here
extern size_t strlcpy (char *__restrict __dest,
               ^
In file included from <built-in>:1:
/<<PKGBUILDDIR>>/swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h:206:1: error: static declaration of 'strlcat' follows non-static declaration
strlcat(char * dst, const char * src, size_t maxlen) {
^
/usr/include/string.h:512:15: note: previous declaration is here
extern size_t strlcat (char *__restrict __dest,
               ^
2 errors generated.
ninja: build stopped: subcommand failed.
-- Warning: {} Host toolchain could not locate a compiler to build swift-driver. (Try `--skip-early-swift-driver`)
--- Building cmark ---
Building the standard library for: swift-stdlib-linux-x86_64
Running Swift tests for: check-swift-only_early_swiftdriver-linux-x86_64 check-swift-all-linux-x86_64 check-swift-all-optimize-linux-x86_64
Building the standard library for: swift-stdlib-linux-x86_64
Running Swift tests for: check-swift-only_early_swiftdriver-linux-x86_64 check-swift-all-linux-x86_64 check-swift-all-optimize-linux-x86_64
ERROR: command terminated with a non-zero exit status 1, aborting

ERROR: command terminated with a non-zero exit status 1, aborting

make[1]: *** [debian/rules:37: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202405/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the Pkg-llvm-team mailing list