>>> mtd-utils: Building main/mtd-utils 2.2.1-r0 (using abuild 3.14.0-r0) started Thu, 17 Oct 2024 03:38:46 +0000 >>> mtd-utils: Validating /home/buildozer/aports/main/mtd-utils/APKBUILD... >>> WARNING: mtd-utils: Setting the maintainer with a comment is deprecated. Use maintainer="Olliver Schinagl " instead >>> mtd-utils: Analyzing dependencies... >>> mtd-utils: Installing for build: build-base acl-dev autoconf automake coreutils cmocka-dev libtool linux-headers lzo-dev openssl-dev>3 util-linux-dev zlib-dev zstd-dev (1/64) Installing acl-dev (2.3.2-r1) (2/64) Installing m4 (1.4.19-r3) (3/64) Installing libbz2 (1.0.8-r6) (4/64) Installing perl (5.40.0-r3) (5/64) Installing autoconf (2.72-r0) (6/64) Installing automake (1.17-r0) (7/64) Installing coreutils-env (9.5-r1) (8/64) Installing coreutils-fmt (9.5-r1) (9/64) Installing coreutils-sha512sum (9.5-r1) (10/64) Installing utmps-libs (0.1.2.3-r1) (11/64) Installing coreutils (9.5-r1) (12/64) Installing cmocka (1.1.7-r2) (13/64) Installing cmocka-dev (1.1.7-r2) (14/64) Installing libltdl (2.4.7-r3) (15/64) Installing libtool (2.4.7-r3) (16/64) Installing linux-headers (6.6-r1) (17/64) Installing lzo (2.10-r5) (18/64) Installing lzo-dev (2.10-r5) (19/64) Installing openssl-dev (3.3.2-r2) (20/64) Installing libeconf (0.6.3-r0) (21/64) Installing libblkid (2.40.2-r3) (22/64) Installing libuuid (2.40.2-r3) (23/64) Installing libfdisk (2.40.2-r3) (24/64) Installing libmount (2.40.2-r3) (25/64) Installing libsmartcols (2.40.2-r3) (26/64) Installing sqlite (3.46.1-r0) (27/64) Installing sqlite-libs (3.46.1-r0) (28/64) Installing sqlite-dev (3.46.1-r0) (29/64) Installing util-linux (2.40.2-r3) (30/64) Installing dmesg (2.40.2-r3) (31/64) Installing setarch (2.40.2-r3) (32/64) Installing util-linux-misc (2.40.2-r3) (33/64) Installing linux-pam (1.6.1-r1) (34/64) Installing runuser (2.40.2-r3) (35/64) Installing mount (2.40.2-r3) (36/64) Installing losetup (2.40.2-r3) (37/64) Installing hexdump (2.40.2-r3) (38/64) Installing uuidgen (2.40.2-r3) (39/64) Installing blkid (2.40.2-r3) (40/64) Installing sfdisk (2.40.2-r3) (41/64) Installing mcookie (2.40.2-r3) (42/64) Installing agetty (2.40.2-r3) (43/64) Installing wipefs (2.40.2-r3) (44/64) Installing cfdisk (2.40.2-r3) (45/64) Installing umount (2.40.2-r3) (46/64) Installing flock (2.40.2-r3) (47/64) Installing lsblk (2.40.2-r3) (48/64) Installing libcap-ng (0.8.5-r0) (49/64) Installing setpriv (2.40.2-r3) (50/64) Installing lscpu (2.40.2-r3) (51/64) Installing logger (2.40.2-r3) (52/64) Installing partx (2.40.2-r3) (53/64) Installing fstrim (2.40.2-r3) (54/64) Installing findmnt (2.40.2-r3) (55/64) Installing util-linux-dev (2.40.2-r3) (56/64) Installing zlib-dev (1.3.1-r2) (57/64) Installing zstd (1.5.6-r1) (58/64) Installing zstd-dev (1.5.6-r1) (59/64) Installing .makedepends-mtd-utils (20241017.033846) (60/64) Installing util-linux-openrc (2.40.2-r3) (61/64) Installing agetty-openrc (0.55.1-r2) (62/64) Installing perl-error (0.17029-r2) (63/64) Installing perl-git (2.46.2-r0) (64/64) Installing git-perl (2.46.2-r0) Executing busybox-1.36.1-r32.trigger OK: 305 MiB in 161 packages >>> mtd-utils: Cleaning up srcdir >>> mtd-utils: Cleaning up pkgdir >>> mtd-utils: Cleaning up tmpdir >>> mtd-utils: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mtd-utils-2.2.1.tar.bz2 >>> mtd-utils: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mtd-utils-2.2.1.tar.bz2 >>> mtd-utils: Checking sha512sums... mtd-utils-2.2.1.tar.bz2: OK >>> mtd-utils: Unpacking /var/cache/distfiles/mtd-utils-2.2.1.tar.bz2... configure: WARNING: unrecognized options: --enable-tests checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for loongarch64-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for loongarch64-alpine-linux-musl-ar... no checking for ar... ar checking for loongarch64-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for loongarch64-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... gcc -E checking whether compiler handles -Wall... yes checking whether compiler handles -Wextra... yes checking whether compiler handles -Wunused... yes checking whether compiler handles -Wmissing-prototypes... yes checking whether compiler handles -Wmissing-declarations... yes checking whether compiler handles -Wwrite-strings... yes checking whether compiler handles -Wjump-misses-init... yes checking whether compiler handles -Wuninitialized... yes checking whether compiler handles -Winit-self... yes checking whether compiler handles -Wlogical-op... yes checking whether compiler handles -Wunused-but-set-parameter... yes checking whether compiler handles -Wunused-but-set-variable... yes checking whether compiler handles -Wunused-parameter... yes checking whether compiler handles -Wunused-result... yes checking whether compiler handles -Wunused-variable... yes checking whether compiler handles -Wduplicated-cond... yes checking whether compiler handles -Wduplicated-branches... yes checking whether compiler handles -Wrestrict... yes checking whether compiler handles -Wnull-dereference... yes checking whether compiler handles -Wno-shadow... yes checking whether compiler handles -Wno-sign-compare... yes checking for zlib... yes checking for uuid... yes checking for library containing clock_gettime... none required checking for clock_gettime... yes checking build system type... loongarch64-alpine-linux-musl checking host system type... loongarch64-alpine-linux-musl checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for lzo1x_1_15_compress in -llzo2... yes checking for libzstd... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/xattr.h... yes checking for sys/acl.h... yes checking for libselinux... no checking for selinux/selinux.h... no checking for selinux/label.h... no checking for openssl/rand.h... yes checking for openssl... yes checking for sys/random.h... yes checking for cmocka... yes checking for execinfo.h... no checking size of off_t... 8 checking size of loff_t... 0 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating tests/fs-tests/fs_help_all.sh config.status: creating tests/fs-tests/fs_run_all.sh config.status: creating tests/fs-tests/stress/fs_stress00.sh config.status: creating tests/fs-tests/stress/fs_stress01.sh config.status: creating tests/ubi-tests/runubitests.sh config.status: creating tests/ubi-tests/ubi-stress-test.sh config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --enable-tests mtd-utils 2.2.1 prefix: /usr exec prefix: ${prefix} runstatedir: ${localstatedir}/run bindir: ${exec_prefix}/bin sbindir: ${exec_prefix}/sbin libdir: ${exec_prefix}/lib includedir: ${prefix}/include compiler: gcc cflags: -Os -fstack-clash-protection -Wformat -Werror=format-security ldflags: -Wl,--as-needed,-O1,--sort-common lzo support: yes zlib support: yes zstd support: yes xattr/acl support: yes SELinux support: no fscrypt support: yes Test programs: yes Unit tests: yes ubihealthd: yes lsmtd: yes jffs2 utils: yes ubifs utils: yes warnings: -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wjump-misses-init -Wuninitialized -Winit-self -Wlogical-op -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wduplicated-cond -Wduplicated-branches -Wrestrict -Wnull-dereference -Wno-shadow -Wno-sign-compare Type 'make' or 'make ' to compile. CC lib/execinfo.o CC ubi-utils/ubiupdatevol.o CC lib/libmtd.o CC lib/libfec.o CC lib/common.o CC lib/list_sort.o CC lib/rbtree.o CC lib/libcrc32.o CC lib/libmtd_legacy.o CC lib/libubi.o CC ubi-utils/ubimkvol.o CC ubi-utils/ubirmvol.o CC ubi-utils/ubicrc32.o CC ubi-utils/ubinfo.o CC ubi-utils/ubiattach.o CC ubi-utils/ubidetach.o CC ubi-utils/ubinize.o CC lib/libubigen.o CC lib/libiniparser.o CC lib/dictionary.o CC ubi-utils/ubiformat.o CC lib/libscan.o CC ubi-utils/ubirename.o CC ubi-utils/mtdinfo.o CC ubi-utils/ubirsvol.o CC ubi-utils/ubiblock.o CC ubi-utils/ubiscan.o CC ubi-utils/ubihealthd.o CC misc-utils/ftl_format.o CC misc-utils/doc_loadbios.o CC misc-utils/ftl_check.o CC misc-utils/mtd_debug.o ubi-utils/ubinize.c: In function 'main': ubi-utils/ubinize.c:483:28: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 483 | vi = calloc(sizeof(struct ubigen_vol_info), sects); | ^~~~~~ ubi-utils/ubinize.c:483:28: note: earlier argument should specify number of elements, later size of each element CC misc-utils/docfdisk.o CC misc-utils/serve_image.o CC misc-utils/recv_image.o CC misc-utils/fectest.o CC misc-utils/flash_erase.o CC misc-utils/flash_lock.o CC misc-utils/flash_unlock.o CC misc-utils/flash_otp_info.o CC misc-utils/flash_otp_dump.o CC misc-utils/flash_otp_lock.o CC misc-utils/flash_otp_erase.o CC misc-utils/flash_otp_write.o CC misc-utils/flashcp.o CC misc-utils/mtdpart.o CC misc-utils/lsmtd-lsmtd.o CC misc-utils/lsmtd-lsmtd_scan.o CC nand-utils/nanddump.o CC nand-utils/nandwrite.o CC nand-utils/nandtest.o CC nand-utils/nftldump.o CC nand-utils/nftl_format.o CC nand-utils/nandflipbits.o CC nor-utils/rfddump.o CC nor-utils/rfdformat.o misc-utils/flashcp.c: In function 'main': misc-utils/flashcp.c:341:2: warning: #warning "Check for smaller erase regions" [-Wcpp] 341 | #warning "Check for smaller erase regions" | ^~~~~~~ CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-crc16.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-lpt.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-compr.o CC ubifs-utils/mkfs.ubifs/hashtable/mkfs_ubifs-hashtable.o CC ubifs-utils/mkfs.ubifs/hashtable/mkfs_ubifs-hashtable_itr.o nand-utils/nanddump.c: In function 'process_options': nand-utils/nanddump.c:165:38: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | free(dumpfile); | ^~~~~~~~ In file included from /usr/include/fortify/stdlib.h:23, from nand-utils/nanddump.c:23: /usr/include/stdlib.h:43:12: note: expected 'void *' but argument is of type 'const char *' 43 | void free (void *); | ^~~~~~ CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-devtable.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-crypto.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-fscrypt.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-sign.o nand-utils/nandwrite.c: In function 'main': nand-utils/nandwrite.c:621:43: warning: pointer 'filebuf' may be used after 'free' [-Wuse-after-free] 621 | || (writebuf < filebuf + filebuf_len)) | ~~~~~~~~^~~~~~~~~~~~~ nand-utils/nandwrite.c:617:9: note: call to 'free' here 617 | free(filebuf); | ^~~~~~~~~~~~~ CC jffsX-utils/mkfs_jffs2-mkfs.jffs2.o CC jffsX-utils/mkfs_jffs2-compr.o CC jffsX-utils/mkfs_jffs2-compr_rtime.o CC jffsX-utils/mkfs_jffs2-compr_lzo.o CC jffsX-utils/mkfs_jffs2-compr_zlib.o CC jffsX-utils/jffs2dump-jffs2dump.o CC jffsX-utils/jffs2reader-jffs2reader.o CC jffsX-utils/sumtool.o misc-utils/flashcp.c:439:17: warning: 'wrlast_buf' may be used uninitialized [-Wmaybe-uninitialized] 439 | safe_write(dev_fd, wrlast_buf, wrlast_len, 0, wrlast_len, device); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc-utils/flashcp.c:224:35: note: 'wrlast_buf' was declared here 224 | unsigned char *src,*dest,*wrlast_buf; | ^~~~~~~~~~ CC tests/ubi-tests/io_basic-io_basic.o CC tests/ubi-tests/io_basic-helpers.o CC tests/ubi-tests/io_update-io_update.o CC tests/ubi-tests/io_update-helpers.o CC tests/ubi-tests/io_paral-io_paral.o nand-utils/nandwrite.c:553:43: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 553 | } else if (cnt == 0) { | ^ nand-utils/nandwrite.c:531:41: note: 'cnt' was declared here 531 | ssize_t cnt; | ^~~ CC tests/ubi-tests/io_paral-helpers.o CC tests/ubi-tests/io_read-io_read.o CC tests/ubi-tests/io_read-helpers.o CC tests/ubi-tests/volrefcnt-volrefcnt.o CC tests/ubi-tests/volrefcnt-helpers.o CC tests/ubi-tests/integ-integ.o CC tests/ubi-tests/integ-helpers.o CC tests/ubi-tests/mkvol_basic-mkvol_basic.o ubifs-utils/mkfs.ubifs/sign.c: In function 'display_openssl_errors': ubifs-utils/mkfs.ubifs/sign.c:92:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 92 | while ((e = ERR_get_error_line(&file, &line))) { | ^~~~~ In file included from ubifs-utils/mkfs.ubifs/sign.c:27: /usr/include/openssl/err.h:423:15: note: declared here 423 | unsigned long ERR_get_error_line(const char **file, int *line); | ^~~~~~~~~~~~~~~~~~ ubifs-utils/mkfs.ubifs/sign.c: In function 'drain_openssl_errors': ubifs-utils/mkfs.ubifs/sign.c:105:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 105 | while (ERR_get_error_line(&file, &line)) {} | ^~~~~ /usr/include/openssl/err.h:423:15: note: declared here 423 | unsigned long ERR_get_error_line(const char **file, int *line); | ^~~~~~~~~~~~~~~~~~ ubifs-utils/mkfs.ubifs/sign.c: In function 'read_private_key': ubifs-utils/mkfs.ubifs/sign.c:152:17: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 152 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ubifs-utils/mkfs.ubifs/sign.c:28: /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ubifs-utils/mkfs.ubifs/sign.c:154:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 154 | e = ENGINE_by_id("pkcs11"); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ ubifs-utils/mkfs.ubifs/sign.c:160:17: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 160 | if (ENGINE_init(e)) { | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ ubifs-utils/mkfs.ubifs/sign.c:168:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 168 | if (!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ ubifs-utils/mkfs.ubifs/sign.c:173:17: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 173 | private_key = ENGINE_load_private_key(e, private_key_name, | ^~~~~~~~~~~ /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ ubifs-utils/mkfs.ubifs/sign.c:176:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 176 | err = ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 0); | ^~~ /usr/include/openssl/engine.h:450:27: note: declared here 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~ ubifs-utils/mkfs.ubifs/sign.c: In function 'init_authentication': ubifs-utils/mkfs.ubifs/sign.c:391:9: warning: 'OPENSSL_config' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 391 | OPENSSL_config(NULL); | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/http.h:19, from /usr/include/openssl/x509.h:558, from /usr/include/openssl/pem.h:23, from ubifs-utils/mkfs.ubifs/sign.c:26: /usr/include/openssl/conf.h:135:30: note: declared here 135 | OSSL_DEPRECATEDIN_1_1_0 void OPENSSL_config(const char *config_name); | ^~~~~~~~~~~~~~ CC tests/ubi-tests/mkvol_basic-helpers.o tests/ubi-tests/io_update.c: In function 'test_update1': tests/ubi-tests/io_update.c:145:33: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized] 145 | if (off + l > test_len) | ~~~~^~~ tests/ubi-tests/io_update.c:131:41: note: 'l' was declared here 131 | int n, rnd_len, l; | ^ CC tests/ubi-tests/mkvol_bad-mkvol_bad.o CC tests/ubi-tests/mkvol_bad-helpers.o CC tests/ubi-tests/mkvol_paral-mkvol_paral.o CC tests/ubi-tests/mkvol_paral-helpers.o CC tests/ubi-tests/rsvol-rsvol.o CC tests/ubi-tests/rsvol-helpers.o CC tests/jittertest/JitterTest-JitterTest.o CC tests/jittertest/plotJittervsFill-plotJittervsFill.o CC tests/checkfs/makefiles-makefiles.o CC tests/checkfs/checkfs-checkfs.o CC tests/checkfs/checkfs-comm.o CC tests/fs-tests/integrity/integck-integck.o AR libmissing.a ar: `u' modifier ignored since `D' is the default (see `U') CC tests/fs-tests/simple/test_1-test_1.o CC tests/fs-tests/lib/test_1-tests.o CC tests/fs-tests/simple/test_2-test_2.o CC tests/fs-tests/lib/test_2-tests.o jffsX-utils/jffs2reader.c: In function 'resolvepath0': jffsX-utils/jffs2reader.c:697:13: warning: potential null pointer dereference [-Wnull-dereference] 697 | if (*path == '/') { | ^~~~~ tests/checkfs/comm.c:37:5: warning: no previous prototype for 'do_pwr_dn' [-Wmissing-prototypes] 37 | int do_pwr_dn(int fd, int cycleCnt) | ^~~~~~~~~ CC tests/fs-tests/simple/ftrunc-ftrunc.o CC tests/fs-tests/lib/ftrunc-tests.o CC tests/fs-tests/simple/perf-perf.o CC tests/fs-tests/lib/perf-tests.o CC tests/fs-tests/simple/orph-orph.o CC tests/fs-tests/lib/orph-tests.o CC tests/fs-tests/stress/atoms/stress_1-stress_1.o CC tests/fs-tests/lib/stress_1-tests.o CC tests/fs-tests/stress/atoms/stress_2-stress_2.o CC tests/fs-tests/lib/stress_2-tests.o CC tests/fs-tests/stress/atoms/stress_3-stress_3.o CC tests/fs-tests/lib/stress_3-tests.o CC tests/fs-tests/stress/atoms/pdfrun-pdfrun.o CC tests/fs-tests/lib/pdfrun-tests.o CC tests/fs-tests/stress/atoms/gcd_hupper-gcd_hupper.o CC tests/fs-tests/lib/gcd_hupper-tests.o CC tests/fs-tests/stress/atoms/rndwrite00-rndwrite00.o CC tests/fs-tests/lib/rndwrite00-tests.o CC tests/fs-tests/stress/atoms/fwrite00-fwrite00.o In function 'do_an_operation', inlined from 'do_some_operations' at tests/ubi-tests/integ.c:579:3, inlined from 'main' at tests/ubi-tests/integ.c:755:3: tests/ubi-tests/integ.c:521:17: warning: potential null pointer dereference [-Wnull-dereference] 521 | operate_on_open_volume(ofd->vol_fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC tests/fs-tests/lib/fwrite00-tests.o CC tests/fs-tests/stress/atoms/rmdir00-rmdir00.o CC tests/fs-tests/lib/rmdir00-tests.o CC tests/fs-tests/stress/atoms/rndrm00-rndrm00.o CC tests/fs-tests/lib/rndrm00-tests.o CC tests/fs-tests/stress/atoms/rndrm99-rndrm99.o CC tests/fs-tests/lib/rndrm99-tests.o CC tests/fs-tests/utils/fstest_monitor.o CC tests/fs-tests/utils/free_space.o CC tests/mtd-tests/flash_torture-flash_torture.o CC tests/mtd-tests/flash_stress-flash_stress.o CC tests/mtd-tests/flash_speed-flash_speed.o CC tests/mtd-tests/nandbiterrs-nandbiterrs.o CC tests/mtd-tests/flash_readtest-flash_readtest.o CC tests/mtd-tests/nandpagetest-nandpagetest.o CC tests/mtd-tests/nandsubpagetest-nandsubpagetest.o AR libmtd.a ar: `u' modifier ignored since `D' is the default (see `U') AR libubi.a AR libubigen.a ar: `u' modifier ignored since `D' is the default (see `U') ar: `u' modifier ignored since `D' is the default (see `U') AR libiniparser.a AR libscan.a ar: `u' modifier ignored since `D' is the default (see `U') CCLD ubirename ar: `u' modifier ignored since `D' is the default (see `U') CCLD mtdinfo CCLD ubirsvol CCLD ubiblock CCLD ubiscan CCLD ubihealthd CCLD ftl_format CCLD doc_loadbios CCLD ftl_check CCLD mtd_debug CCLD docfdisk CCLD serve_image CCLD recv_image CCLD fectest CCLD flash_erase CCLD flash_lock CCLD flash_unlock CCLD flash_otp_info CCLD flash_otp_dump CCLD flash_otp_lock CCLD flash_otp_erase CCLD flash_otp_write CCLD flashcp CCLD mtdpart CCLD lsmtd CCLD nanddump CCLD nandwrite CCLD nandtest CCLD nftldump CCLD nftl_format CCLD rfddump CCLD nandflipbits CCLD rfdformat CCLD jffs2dump CCLD jffs2reader CCLD sumtool CCLD io_basic CCLD io_update CCLD io_paral CCLD io_read CCLD volrefcnt CCLD integ CCLD mkvol_bad CCLD mkvol_basic CCLD mkvol_paral CCLD rsvol CCLD JitterTest CCLD plotJittervsFill CCLD makefiles CCLD checkfs CCLD fstest_monitor CCLD free_space CCLD flash_torture CCLD flash_stress CCLD flash_readtest CCLD ubiupdatevol CCLD ubimkvol CCLD ubirmvol CCLD ubicrc32 CCLD ubinfo CCLD ubiattach CCLD ubidetach CCLD ubinize CCLD ubiformat CCLD nandbiterrs CCLD nandsubpagetest CCLD flash_speed CCLD nandpagetest CCLD test_1 CCLD test_2 CCLD ftrunc CCLD perf CCLD orph CCLD mkfs.jffs2 CCLD stress_1 CCLD stress_2 CCLD stress_3 CCLD pdfrun CCLD gcd_hupper CCLD rndwrite00 CCLD rmdir00 CCLD rndrm00 CCLD fwrite00 CCLD rndrm99 CCLD mkfs.ubifs CCLD integck >>> mtd-utils: Entering fakeroot... make[1]: Entering directory '/home/buildozer/aports/main/mtd-utils/src/mtd-utils-2.2.1' /bin/mkdir -p '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/sbin' /usr/bin/install -c ubifs-utils/mount.ubifs '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/sbin' /bin/mkdir -p '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/sbin' /bin/mkdir -p '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/share/man/man1' /bin/mkdir -p '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/share/man/man8' libfakeroot internal error: payload not recognized! /usr/bin/install -c misc-utils/flash_eraseall '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/sbin' /usr/bin/install -c -m 644 jffsX-utils/mkfs.jffs2.1 '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/share/man/man1' /usr/bin/install -c -m 644 ubi-utils/ubinize.8 misc-utils/lsmtd.8 '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/share/man/man8' /bin/mkdir -p '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/libexec/mtd-utils' /bin/mkdir -p '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/sbin' /bin/mkdir -p '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/libexec/mtd-utils' /usr/bin/install -c nand-utils/load_nandsim.sh tests/ubi-tests/runubitests.sh tests/ubi-tests/ubi-stress-test.sh tests/jittertest/filljffs2.sh tests/fs-tests/fs_help_all.sh tests/fs-tests/fs_run_all.sh tests/fs-tests/stress/fs_stress00.sh tests/fs-tests/stress/fs_stress01.sh '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/libexec/mtd-utils' /usr/bin/install -c io_basic io_update io_paral io_read volrefcnt integ mkvol_basic mkvol_bad mkvol_paral rsvol JitterTest plotJittervsFill makefiles checkfs integck test_1 test_2 ftrunc perf orph stress_1 stress_2 stress_3 pdfrun gcd_hupper rndwrite00 fwrite00 rmdir00 rndrm00 rndrm99 fstest_monitor free_space flash_torture flash_stress flash_speed nandbiterrs flash_readtest nandpagetest nandsubpagetest '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/libexec/mtd-utils' /usr/bin/install -c ubiupdatevol ubimkvol ubirmvol ubicrc32 ubinfo ubiattach ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol ubiblock ubiscan ubihealthd ftl_format doc_loadbios ftl_check mtd_debug docfdisk serve_image recv_image fectest flash_erase flash_lock flash_unlock flash_otp_info flash_otp_dump flash_otp_lock flash_otp_erase flash_otp_write flashcp mtdpart lsmtd nanddump nandwrite nandtest nftldump nftl_format nandflipbits rfddump rfdformat mkfs.ubifs mkfs.jffs2 jffs2dump jffs2reader sumtool '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils/usr/sbin' make[1]: Leaving directory '/home/buildozer/aports/main/mtd-utils/src/mtd-utils-2.2.1' >>> mtd-utils-doc*: Running split function doc... renamed 'usr/share/man' -> '/home/buildozer/aports/main/mtd-utils/pkg/mtd-utils-doc/usr/share/man' >>> mtd-utils-doc*: Preparing subpackage mtd-utils-doc... >>> mtd-utils-doc*: Running postcheck for mtd-utils-doc >>> mtd-utils-flash*: Running split function flash... >>> mtd-utils-flash*: Preparing subpackage mtd-utils-flash... >>> mtd-utils-flash*: Stripping binaries >>> mtd-utils-flash*: Running postcheck for mtd-utils-flash >>> mtd-utils-jffs*: Running split function jffs... /home/buildozer/aports/main/mtd-utils/pkg/mtd-utils-jffs >>> mtd-utils-jffs*: Preparing subpackage mtd-utils-jffs... >>> mtd-utils-jffs*: Stripping binaries >>> mtd-utils-jffs*: Running postcheck for mtd-utils-jffs >>> mtd-utils-misc*: Running split function misc... >>> mtd-utils-misc*: Preparing subpackage mtd-utils-misc... >>> mtd-utils-misc*: Stripping binaries >>> mtd-utils-misc*: Running postcheck for mtd-utils-misc >>> mtd-utils-nand*: Running split function nand... >>> mtd-utils-nand*: Preparing subpackage mtd-utils-nand... >>> mtd-utils-nand*: Stripping binaries >>> mtd-utils-nand*: Running postcheck for mtd-utils-nand >>> mtd-utils-nor*: Running split function nor... >>> mtd-utils-nor*: Preparing subpackage mtd-utils-nor... >>> mtd-utils-nor*: Stripping binaries >>> mtd-utils-nor*: Running postcheck for mtd-utils-nor >>> mtd-utils-ubi*: Running split function ubi... >>> mtd-utils-ubi*: Preparing subpackage mtd-utils-ubi... >>> mtd-utils-ubi*: Stripping binaries >>> mtd-utils-ubi*: Running postcheck for mtd-utils-ubi >>> mtd-utils-dev*: Running split function dev... >>> mtd-utils-dev*: Preparing subpackage mtd-utils-dev... >>> mtd-utils-dev*: Stripping binaries >>> mtd-utils-dev*: Running postcheck for mtd-utils-dev >>> mtd-utils*: Running postcheck for mtd-utils >>> mtd-utils*: Preparing package mtd-utils... >>> mtd-utils*: Stripping binaries >>> mtd-utils-dev*: Scanning shared objects >>> mtd-utils-doc*: Scanning shared objects >>> mtd-utils-flash*: Scanning shared objects >>> mtd-utils-jffs*: Scanning shared objects >>> mtd-utils-misc*: Scanning shared objects >>> mtd-utils-nand*: Scanning shared objects >>> mtd-utils-nor*: Scanning shared objects >>> mtd-utils-ubi*: Scanning shared objects >>> mtd-utils*: Scanning shared objects >>> mtd-utils-dev*: Tracing dependencies... >>> mtd-utils-dev*: Package size: 292.4 KB >>> mtd-utils-dev*: Compressing data... >>> mtd-utils-dev*: Create checksum... >>> mtd-utils-dev*: Create mtd-utils-dev-2.2.1-r0.apk >>> mtd-utils-doc*: Tracing dependencies... >>> mtd-utils-doc*: Package size: 6.1 KB >>> mtd-utils-doc*: Compressing data... >>> mtd-utils-doc*: Create checksum... >>> mtd-utils-doc*: Create mtd-utils-doc-2.2.1-r0.apk >>> mtd-utils-flash*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> mtd-utils-flash*: Package size: 254.4 KB >>> mtd-utils-flash*: Compressing data... >>> mtd-utils-flash*: Create checksum... >>> mtd-utils-flash*: Create mtd-utils-flash-2.2.1-r0.apk >>> mtd-utils-jffs*: Tracing dependencies... so:libc.musl-loongarch64.so.1 so:liblzo2.so.2 so:libz.so.1 >>> mtd-utils-jffs*: Package size: 104.3 KB >>> mtd-utils-jffs*: Compressing data... >>> mtd-utils-jffs*: Create checksum... >>> mtd-utils-jffs*: Create mtd-utils-jffs-2.2.1-r0.apk >>> mtd-utils-misc*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> mtd-utils-misc*: Package size: 204.7 KB >>> mtd-utils-misc*: Compressing data... >>> mtd-utils-misc*: Create checksum... >>> mtd-utils-misc*: Create mtd-utils-misc-2.2.1-r0.apk >>> mtd-utils-nand*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> mtd-utils-nand*: Package size: 185.9 KB >>> mtd-utils-nand*: Compressing data... >>> mtd-utils-nand*: Create checksum... >>> mtd-utils-nand*: Create mtd-utils-nand-2.2.1-r0.apk >>> mtd-utils-nor*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> mtd-utils-nor*: Package size: 35.2 KB >>> mtd-utils-nor*: Compressing data... >>> mtd-utils-nor*: Create checksum... >>> mtd-utils-nor*: Create mtd-utils-nor-2.2.1-r0.apk >>> mtd-utils-ubi*: Tracing dependencies... so:libc.musl-loongarch64.so.1 so:libcrypto.so.3 so:liblzo2.so.2 so:libuuid.so.1 so:libz.so.1 so:libzstd.so.1 >>> mtd-utils-ubi*: Package size: 879.1 KB >>> mtd-utils-ubi*: Compressing data... >>> mtd-utils-ubi*: Create checksum... >>> mtd-utils-ubi*: Create mtd-utils-ubi-2.2.1-r0.apk >>> mtd-utils*: Tracing dependencies... mtd-utils-flash mtd-utils-jffs mtd-utils-misc mtd-utils-nand mtd-utils-nor mtd-utils-ubi mtd-utils-dev so:libc.musl-loongarch64.so.1 >>> mtd-utils*: Package size: 1.4 MB >>> mtd-utils*: Compressing data... >>> mtd-utils*: Create checksum... >>> mtd-utils*: Create mtd-utils-2.2.1-r0.apk >>> mtd-utils: Build complete at Thu, 17 Oct 2024 03:38:57 +0000 elapsed time 0h 0m 11s >>> mtd-utils: Cleaning up srcdir >>> mtd-utils: Cleaning up pkgdir >>> mtd-utils: Uninstalling dependencies... (1/64) Purging .makedepends-mtd-utils (20241017.033846) (2/64) Purging acl-dev (2.3.2-r1) (3/64) Purging autoconf (2.72-r0) (4/64) Purging m4 (1.4.19-r3) (5/64) Purging automake (1.17-r0) (6/64) Purging coreutils (9.5-r1) Executing coreutils-9.5-r1.post-deinstall (7/64) Purging coreutils-env (9.5-r1) (8/64) Purging coreutils-fmt (9.5-r1) (9/64) Purging coreutils-sha512sum (9.5-r1) (10/64) Purging cmocka-dev (1.1.7-r2) (11/64) Purging cmocka (1.1.7-r2) (12/64) Purging libtool (2.4.7-r3) (13/64) Purging libltdl (2.4.7-r3) (14/64) Purging linux-headers (6.6-r1) (15/64) Purging lzo-dev (2.10-r5) (16/64) Purging lzo (2.10-r5) (17/64) Purging openssl-dev (3.3.2-r2) (18/64) Purging util-linux-dev (2.40.2-r3) (19/64) Purging zlib-dev (1.3.1-r2) (20/64) Purging zstd-dev (1.5.6-r1) (21/64) Purging zstd (1.5.6-r1) (22/64) Purging agetty-openrc (0.55.1-r2) (23/64) Purging agetty (2.40.2-r3) (24/64) Purging blkid (2.40.2-r3) (25/64) Purging cfdisk (2.40.2-r3) (26/64) Purging dmesg (2.40.2-r3) (27/64) Purging findmnt (2.40.2-r3) (28/64) Purging flock (2.40.2-r3) (29/64) Purging fstrim (2.40.2-r3) (30/64) Purging git-perl (2.46.2-r0) (31/64) Purging perl-git (2.46.2-r0) (32/64) Purging perl-error (0.17029-r2) (33/64) Purging perl (5.40.0-r3) (34/64) Purging hexdump (2.40.2-r3) (35/64) Purging libbz2 (1.0.8-r6) (36/64) Purging logger (2.40.2-r3) (37/64) Purging losetup (2.40.2-r3) (38/64) Purging lsblk (2.40.2-r3) (39/64) Purging lscpu (2.40.2-r3) (40/64) Purging mcookie (2.40.2-r3) (41/64) Purging mount (2.40.2-r3) (42/64) Purging partx (2.40.2-r3) (43/64) Purging runuser (2.40.2-r3) (44/64) Purging setpriv (2.40.2-r3) (45/64) Purging sfdisk (2.40.2-r3) (46/64) Purging sqlite-dev (3.46.1-r0) (47/64) Purging sqlite (3.46.1-r0) (48/64) Purging umount (2.40.2-r3) (49/64) Purging util-linux-misc (2.40.2-r3) (50/64) Purging setarch (2.40.2-r3) (51/64) Purging util-linux-openrc (2.40.2-r3) (52/64) Purging uuidgen (2.40.2-r3) (53/64) Purging wipefs (2.40.2-r3) (54/64) Purging libfdisk (2.40.2-r3) (55/64) Purging libmount (2.40.2-r3) (56/64) Purging libblkid (2.40.2-r3) (57/64) Purging libcap-ng (0.8.5-r0) (58/64) Purging libeconf (0.6.3-r0) (59/64) Purging libsmartcols (2.40.2-r3) (60/64) Purging libuuid (2.40.2-r3) (61/64) Purging linux-pam (1.6.1-r1) (62/64) Purging util-linux (2.40.2-r3) (63/64) Purging sqlite-libs (3.46.1-r0) (64/64) Purging utmps-libs (0.1.2.3-r1) Executing busybox-1.36.1-r32.trigger OK: 243 MiB in 97 packages >>> mtd-utils: Updating the main/loongarch64 repository index... >>> mtd-utils: Signing the index...