>>> casync 4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc Extracting gzip -d -c /tmp/instance-1/dl/casync/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc.tar.gz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc -xf - >>> casync 4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc Patching Applying 0001-castore-fix-build-without-lzma-or-xz.patch using patch: patching file src/castore.c Applying 0002-build-don-t-install-udev-rules-without-udev-support.patch using patch: patching file meson.build >>> casync 4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc Configuring rm -rf /tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc//build mkdir -p /tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc//build sed -e 's%@TARGET_CROSS@%/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-%g' -e 's%@TARGET_ARCH@%arc%g' -e 's%@TARGET_CPU@%archs%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-DNDEBUG', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-DNDEBUG', '-D_FORTIFY_SOURCE=1'%g" -e 's%@HOST_DIR@%/tmp/instance-1/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc//build/cross-compilation.conf PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /tmp/instance-1/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-1/output-1/host/lib/pkgconfig -Dman=false -Doss-fuzz=false -Dllvm-fuzz=false -Dfuse=true -Dselinux=true -Dudev=false -Dlibzstd=disabled -Dliblzma=disabled -Dlibz=enabled /tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/ /tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc//build The Meson build system Version: 0.57.2 Source dir: /tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc Build dir: /tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/build Build type: cross build Project name: casync Project version: 2 C compiler for the host machine: /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc (gcc 10.2.0 "arc-buildroot-linux-gnu-gcc.br_real (Buildroot 2021.05-rc3-369-ge7f0408f49) 10.2.0") C linker for the host machine: /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc ld.bfd 2.34.50.20200611 C compiler for the build machine: /usr/bin/gcc (gcc 9.3.0 "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arc Host machine cpu: archs Target machine cpu family: arc Target machine cpu: archs Compiler for C supports arguments -Wextra: YES ../output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/meson.build:62: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". Compiler for C supports arguments -Werror=undef: YES Compiler for C supports arguments -Werror=format=2: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Werror=old-style-definition: YES Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wfloat-equal: YES Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-declarations: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Werror=shadow: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wredundant-decls: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wendif-labels: YES Compiler for C supports arguments -Wstrict-aliasing=2: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-unused-result: YES Compiler for C supports arguments -Werror=overflow: YES Compiler for C supports arguments -Werror=sign-compare: YES Compiler for C supports arguments -Wdate-time: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -fdiagnostics-show-option: YES Compiler for C supports arguments -fno-strict-aliasing: YES Compiler for C supports arguments -fvisibility=hidden: YES Compiler for C supports arguments -fstack-protector: YES Compiler for C supports arguments -fstack-protector-strong: YES Compiler for C supports arguments -fPIE: YES Compiler for C supports arguments --param=ssp-buffer-size=4: YES C++ compiler for the build machine: /usr/bin/g++ (gcc 9.3.0 "g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.34 C++ compiler for the host machine: /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ (gcc 10.2.0 "arc-buildroot-linux-gnu-g++.br_real (Buildroot 2021.05-rc3-369-ge7f0408f49) 10.2.0") C++ linker for the host machine: /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ ld.bfd 2.34.50.20200611 Checking for size of "pid_t" : 4 Checking for size of "uid_t" : 4 Checking for size of "gid_t" : 4 Checking for function "renameat2" : YES Checking for function "copy_file_range" : YES Checking for function "getrandom" : YES Dependency liblzma skipped: feature liblzma disabled Found pkg-config: /tmp/instance-1/output-1/host/bin/pkgconf (1.6.3) Run-time dependency zlib found: YES 1.2.11 Dependency libzstd skipped: feature libzstd disabled Run-time dependency libcurl found: YES 7.77.0 Run-time dependency openssl found: YES 1.1.1k Library acl found: YES Run-time dependency fuse found: YES 2.9.9 Run-time dependency libselinux found: YES 3.2 Run-time dependency threads found: YES Library m found: YES Configuring config.h using configuration Run-time dependency bash-completion found: YES 2.11 Program sh found: YES (/bin/sh) Program test-files/test-files.sh found: YES (/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/test-files/test-files.sh) Configuring test-script.sh using configuration Program test-script.sh found: YES (/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/build/test-script.sh) Configuring test-script-sha256.sh using configuration Program test-script-sha256.sh found: YES (/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/build/test-script-sha256.sh) Configuring test-script-gzip.sh using configuration Program test-script-gzip.sh found: YES (/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/build/test-script-gzip.sh) Configuring test-script-xz.sh using configuration Program test-script-xz.sh found: YES (/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/build/test-script-xz.sh) Configuring test-nbd.sh using configuration Program test-nbd.sh found: YES (/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/build/test-nbd.sh) Configuring test-fuse.sh using configuration Program test-fuse.sh found: YES (/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/build/test-fuse.sh) Configuring test-cache.sh using configuration Program test-cache.sh found: YES (/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/build/test-cache.sh) Configuring 75-casync.rules using configuration Program true found: YES (/bin/true) Program test/meson-check-help.sh found: YES (/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/test/meson-check-help.sh) Program git found: YES (/usr/bin/git) Program env found: YES (/usr/bin/env) Program env found: YES (/usr/bin/env) Build targets in project: 26 Found ninja-1.10.2 at /tmp/instance-1/output-1/host/bin/ninja Running postconf script '/bin/sh -c ln -svf casync-http $MESON_BUILD_ROOT/casync-https' Running postconf script '/bin/sh -c ln -svf casync-http $MESON_BUILD_ROOT/casync-ftp' Running postconf script '/bin/sh -c ln -svf casync-http $MESON_BUILD_ROOT/casync-sftp' >>> casync 4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-1/output-1/host/bin/ninja -j32 -C /tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc//build ninja: Entering directory `/tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc//build' [1/89] Compiling C object src/libshared.a.p/cacompression.c.o [2/89] Compiling C object src/libshared.a.p/caprotocol-util.c.o [3/89] Compiling C object src/libshared.a.p/camakebst.c.o [4/89] Compiling C object src/libshared.a.p/cafileroot.c.o [5/89] Compiling C object src/libshared.a.p/hash-funcs.c.o [6/89] Compiling C object src/libshared.a.p/dirent-util.c.o [7/89] Compiling C object src/libshared.a.p/mempool.c.o [8/89] Compiling C object src/libshared.a.p/cachunkid.c.o [9/89] Compiling C object src/libshared.a.p/fssize.c.o [10/89] Compiling C object src/libshared.a.p/notify.c.o [11/89] Compiling C object src/libshared.a.p/cadigest.c.o [12/89] Compiling C object src/libshared.a.p/chattr.c.o [13/89] Compiling C object src/libshared.a.p/compressor.c.o [14/89] Compiling C object src/libshared.a.p/cachunker.c.o [15/89] Compiling C object src/libshared.a.p/gc.c.o In file included from ../src/gc.h:6, from ../src/gc.c:6: ../src/gc.c: In function 'ca_gc_cleanup_unused': ../src/castore.h:36:9: warning: 'iter' may be used uninitialized in this function [-Wmaybe-uninitialized] 36 | ca_store_iterator_unref(*iter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/gc.c:127:62: note: 'iter' was declared here 127 | _cleanup_(ca_store_iterator_unrefp) CaStoreIterator* iter; | ^~~~ [16/89] Compiling C object src/libshared.a.p/quota-projid.c.o [17/89] Compiling C object src/libshared.a.p/cautil.c.o [18/89] Compiling C object src/libshared.a.p/caformat-util.c.o [19/89] Compiling C object src/libshared.a.p/caorigin.c.o [20/89] Compiling C object src/libshared.a.p/parse-util.c.o [21/89] Compiling C object src/libshared.a.p/castore.c.o [22/89] Compiling C object src/libshared.a.p/time-util.c.o [23/89] Compiling C object src/libshared.a.p/canametable.c.o [24/89] Compiling C object src/libshared.a.p/siphash24.c.o [25/89] Compiling C object src/libshared.a.p/reflink.c.o [26/89] Compiling C object src/libshared.a.p/log.c.o [27/89] Compiling C object casync.p/src_signal-handler.c.o [28/89] Compiling C object src/libshared.a.p/cacache.c.o [29/89] Compiling C object src/libshared.a.p/rm-rf.c.o [30/89] Compiling C object src/libshared.a.p/camatch.c.o [31/89] Compiling C object src/libshared.a.p/canbd.c.o [32/89] Compiling C object notify-wait.p/src_time-util.c.o [33/89] Compiling C object src/libshared.a.p/realloc-buffer.c.o [34/89] Compiling C object notify-wait.p/src_log.c.o [35/89] Compiling C object test-cachunk.p/test_test-cachunk.c.o In file included from ../src/realloc-buffer.h:8, from ../src/cachunk.h:8, from ../test/test-cachunk.c:5: ../test/test-cachunk.c: In function 'test_chunk_file': ../src/util.h:301:29: warning: 'd' is used uninitialized in this function [-Wuninitialized] 301 | const char *_appendees_[] = { a, __VA_ARGS__ }; \ | ^~~~~~~~~~~ ../test/test-cachunk.c:11:21: note: 'd' was declared here 11 | const char *d; | ^ [36/89] Compiling C object src/libshared.a.p/cachunk.c.o [37/89] Compiling C object test-camakebst.p/test_test-camakebst.c.o [38/89] Compiling C object test-cadigest.p/test_test-cadigest.c.o [39/89] Compiling C object test-cachunker.p/test_test-cachunker.c.o [40/89] Compiling C object test-caencoder.p/test_test-caencoder.c.o In file included from ../src/canametable.h:9, from ../src/calocation.h:12, from ../src/cadecoder.h:12, from ../test/test-caencoder.c:11: ../test/test-caencoder.c: In function 'main': ../src/util.h:301:29: warning: 'd' is used uninitialized in this function [-Wuninitialized] 301 | const char *_appendees_[] = { a, __VA_ARGS__ }; \ | ^~~~~~~~~~~ ../test/test-caencoder.c:228:21: note: 'd' was declared here 228 | const char *d; | ^ [41/89] Compiling C object src/libshared.a.p/calocation.c.o [42/89] Compiling C object test-caorigin.p/test_test-caorigin.c.o [43/89] Compiling C object test-calocation.p/test_test-calocation.c.o [44/89] Compiling C object notify-wait.p/test_notify-wait.c.o [45/89] Compiling C object test-caindex.p/test_test-caindex.c.o [46/89] Compiling C object test-feature-flags.p/test_test-feature-flags.c.o [47/89] Compiling C object test-casync.p/test_test-casync.c.o ../test/test-casync.c: In function 'main': ../test/test-casync.c:22:13: warning: 'd' is used uninitialized in this function [-Wuninitialized] 22 | r = asprintf(&teststore, "%s/teststore.%" PRIx64, d, random_u64()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [48/89] Compiling C object test-calc-digest.p/test_test-calc-digest.c.o [49/89] Compiling C object test-cachunker-histogram.p/test_test-cachunker-histogram.c.o [50/89] Compiling C object src/libshared.a.p/caindex.c.o [51/89] Compiling C object fuzz-compress.p/test_fuzz_fuzz-main.c.o [52/89] Compiling C object test-caformat.p/test_test-caformat.c.o ../test/test-caformat.c: In function 'main': ../test/test-caformat.c:227:37: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] 227 | return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS; | ^ [53/89] Compiling C object test-util.p/test_test-util.c.o [54/89] Compiling C object casync.p/src_cafuse.c.o [55/89] Compiling C object casync.p/src_canbd.c.o [56/89] Compiling C object src/libshared.a.p/caseed.c.o [57/89] Compiling C object test-cautil.p/test_test-cautil.c.o [58/89] Compiling C object fuzz-compress.p/test_fuzz_fuzz-compress.c.o [59/89] Compiling C object casync-http.p/src_casync-http.c.o [60/89] Compiling C object test-camatch.p/test_test-camatch.c.o [61/89] Compiling C object src/libshared.a.p/hashmap.c.o [62/89] Compiling C object src/libshared.a.p/util.c.o [63/89] Compiling C object notify-wait.p/src_util.c.o [64/89] Linking target notify-wait [65/89] Compiling C object src/libshared.a.p/caremote.c.o [66/89] Compiling C object src/libshared.a.p/caencoder.c.o FAILED: src/libshared.a.p/caencoder.c.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Isrc/libshared.a.p -Isrc -I../src -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -std=gnu99 -O3 -Wextra -Werror=undef -Werror=format=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wmissing-include-dirs -Werror=old-style-definition -Werror=pointer-arith -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=shadow -Werror=int-conversion -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Werror=sign-compare -Wdate-time -Wnested-externs -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong -fPIE --param=ssp-buffer-size=4 -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -MD -MQ src/libshared.a.p/caencoder.c.o -MF src/libshared.a.p/caencoder.c.o.d -o src/libshared.a.p/caencoder.c.o -c ../src/caencoder.c ../src/caencoder.c: In function 'ca_encoder_step_node': ../src/caencoder.c:2245:1: error: control reaches end of non-void function [-Werror=return-type] 2245 | } | ^ ../src/caencoder.c: In function 'ca_encoder_node_process_acl': ../src/caencoder.c:1454:62: warning: 'permissions' may be used uninitialized in this function [-Wmaybe-uninitialized] 1454 | (*user_entries)[(*n_user_entries)++] = (CaEncoderACLEntry) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 1455 | .name = name, | ~~~~~~~~~~~~~ 1456 | .permissions = permissions, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1457 | .uid = (e->feature_flags & (CA_FORMAT_WITH_16BIT_UIDS|CA_FORMAT_WITH_32BIT_UIDS)) ? shifted_uid : 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1458 | }; | ~ ../src/caencoder.c:1493:60: warning: 'n_group_entries' may be used uninitialized in this function [-Wmaybe-uninitialized] 1493 | (*group_entries)[(*n_group_entries)++] = (CaEncoderACLEntry) { | ~~~~~~~~~~~~~~~~~~^~ ../src/caencoder.c:1454:58: warning: 'n_user_entries' may be used uninitialized in this function [-Wmaybe-uninitialized] 1454 | (*user_entries)[(*n_user_entries)++] = (CaEncoderACLEntry) { | ~~~~~~~~~~~~~~~~~^~ In file included from ../src/canametable.h:9, from ../src/calocation.h:12, from ../src/caencoder.h:12, from ../src/caencoder.c:29: ../src/util.h:625:9: warning: 'group_entries' may be used uninitialized in this function [-Wmaybe-uninitialized] 625 | greedy_realloc((void**) &(array), &(allocated), (need), sizeof((array)[0])) | ^~~~~~~~~~~~~~ ../src/caencoder.c:1364:45: note: 'group_entries' was declared here 1364 | CaEncoderACLEntry **user_entries, **group_entries; | ^~~~~~~~~~~~~ ../src/caencoder.c:1454:26: warning: 'user_entries' may be used uninitialized in this function [-Wmaybe-uninitialized] 1454 | (*user_entries)[(*n_user_entries)++] = (CaEncoderACLEntry) { | ~^~~~~~~~~~~~~~ cc1: some warnings being treated as errors [67/89] Compiling C object src/libshared.a.p/casync.c.o FAILED: src/libshared.a.p/casync.c.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Isrc/libshared.a.p -Isrc -I../src -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -std=gnu99 -O3 -Wextra -Werror=undef -Werror=format=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wmissing-include-dirs -Werror=old-style-definition -Werror=pointer-arith -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=shadow -Werror=int-conversion -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Werror=sign-compare -Wdate-time -Wnested-externs -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong -fPIE --param=ssp-buffer-size=4 -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -MD -MQ src/libshared.a.p/casync.c.o -MF src/libshared.a.p/casync.c.o.d -o src/libshared.a.p/casync.c.o -c ../src/casync.c ../src/casync.c: In function 'ca_sync_step_decode': ../src/casync.c:2663:1: error: control reaches end of non-void function [-Werror=return-type] 2663 | } | ^ ../src/casync.c: In function 'ca_sync_step_encode': ../src/casync.c:2278:1: error: control reaches end of non-void function [-Werror=return-type] 2278 | } | ^ ../src/casync.c: In function 'ca_sync_step': ../src/casync.c:2036:12: warning: 'next_step' may be used uninitialized in this function [-Wmaybe-uninitialized] 2036 | if (next_step) { | ^ ../src/casync.c:1863:14: note: 'next_step' was declared here 1863 | bool next_step; | ^~~~~~~~~ ../src/casync.c:2268:73: warning: 'step' may be used uninitialized in this function [-Wmaybe-uninitialized] 2268 | step == CA_ENCODER_PAYLOAD ? CA_SYNC_PAYLOAD : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2269 | CA_SYNC_STEP; | ~~~~~~~~~~~~ ../src/casync.c:1862:16: note: 'step' was declared here 1862 | int r, step; | ^~~~ cc1: some warnings being treated as errors [68/89] Compiling C object casync.p/src_casync-tool.c.o FAILED: casync.p/src_casync-tool.c.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Icasync.p -I. -I.. -I/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/fuse -I/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -std=gnu99 -O3 -Wextra -Werror=undef -Werror=format=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wmissing-include-dirs -Werror=old-style-definition -Werror=pointer-arith -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=shadow -Werror=int-conversion -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Werror=sign-compare -Wdate-time -Wnested-externs -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong -fPIE --param=ssp-buffer-size=4 -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_FILE_OFFSET_BITS=64 -MD -MQ casync.p/src_casync-tool.c.o -MF casync.p/src_casync-tool.c.o.d -o casync.p/src_casync-tool.c.o -c ../src/casync-tool.c ../src/casync-tool.c: In function 'process_step_generic': ../src/casync-tool.c:1182:1: error: control reaches end of non-void function [-Werror=return-type] 1182 | } | ^ cc1: some warnings being treated as errors [69/89] Compiling C object src/libshared.a.p/cadecoder.c.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:250: /tmp/instance-1/output-1/build/casync-4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-1/buildroot'