>>> mbuffer: Building community/mbuffer 20231216-r0 (using abuild 3.12.0-r0) started Mon, 01 Jan 2024 13:50:31 +0000 >>> mbuffer: Checking sanity of /home/buildozer/aports/community/mbuffer/APKBUILD... >>> mbuffer: Analyzing dependencies... >>> mbuffer: Installing for build: build-base linux-headers openssl-dev>3 (1/3) Installing linux-headers (6.6-r0) (2/3) Installing openssl-dev (3.1.4-r2) (3/3) Installing .makedepends-mbuffer (20240101.135032) OK: 388 MiB in 109 packages >>> mbuffer: Cleaning up srcdir >>> mbuffer: Cleaning up pkgdir >>> mbuffer: Cleaning up tmpdir >>> mbuffer: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mbuffer-20231216.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> mbuffer: Fetching https://www.maier-komor.de/software/mbuffer/mbuffer-20231216.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147k 100 147k 0 0 848k 0 --:--:-- --:--:-- --:--:-- 853k >>> mbuffer: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mbuffer-20231216.tgz >>> mbuffer: Checking sha512sums... mbuffer-20231216.tgz: OK fix-shell.patch: OK >>> mbuffer: Unpacking /var/cache/distfiles/edge/mbuffer-20231216.tgz... >>> mbuffer: fix-shell.patch patching file Makefile.in checking build system type... x86_64-pc-linux-musl checking host system type... x86_64-pc-linux-musl checking target system type... x86_64-pc-linux-musl checking for 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc option to accept ISO C99... none needed checking for gtar... no checking for C/C++ restrict keyword... __restrict checking for inline... inline checking whether gcc provides -Wunused-result... yes checking for a BSD-compatible install... /usr/bin/install -c checking for bash... /bin/sh checking for rm... /bin/rm checking for cp... /bin/cp checking for mt... ./configure: line 4337: WARNING:: not found no checking for gtar... no checking for tar... /bin/tar checking for awk... /usr/bin/awk checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for struct stat.st_blksize... yes checking for -gobjdump... no checking for -objdump... no checking for gobjdump... no checking for objdump... objdump checking whether to enable assertions... yes checking for pthread_mutex_init in -lpthread... yes checking for library containing dlsym... none required checking for library containing clock_gettime... none required checking for library containing sem_init... none required checking for library containing rint... none required checking for library containing seteuid... none required checking for library containing hstrerror... none required checking for library containing getaddrinfo... none required checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing sendfile... none required checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for mkostemp... yes checking for library containing MD5Init... no checking md5.h usability... no checking md5.h presence... no checking for md5.h... no checking for library containing MD5_Init... -lcrypto checking linking open() and write() to detect libc names... OK checking name of open() in C library... open checking name of read() in C library... read checking name of write() in C library... write checking name of fstat() in C library... fstat configure: creating ./config.status config.status: creating Makefile config.status: creating config.h mkdir build gcc -MM -MG -MT build/log.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. log.c -o build/log.d gcc -MM -MG -MT build/network.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. network.c -o build/network.d gcc -MM -MG -MT build/mbuffer.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. mbuffer.c -o build/mbuffer.d gcc -MM -MG -MT build/hashing.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. hashing.c -o build/hashing.d gcc -MM -MG -MT build/input.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. input.c -o build/input.d gcc -MM -MG -MT build/common.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. common.c -o build/common.d gcc -MM -MG -MT build/settings.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. settings.c -o build/settings.d gcc -MM -MG -MT build/globals.o -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. globals.c -o build/globals.d gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -c log.c -o build/log.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -c network.c -o build/network.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -c mbuffer.c -o build/mbuffer.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -c hashing.c -o build/hashing.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -c input.c -o build/input.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -c common.c -o build/common.o /bin/sh mkversion.sh gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -c globals.c -o build/globals.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -shared -g -fPIC idev.c -o idev.so -lcrypto -lpthread gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -shared -fPIC tapetest.c -o tapetest.so -lcrypto -lpthread gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs have-af.c -lcrypto -lpthread -o have-af creating version.h creating man-page gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -c settings.c -o build/settings.o hashing.c: In function 'hashThread': hashing.c:301:17: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 301 | MD5_Init(ctxt); | ^~~~~~~~ In file included from hashing.c:43: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ hashing.c:352:33: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 352 | MD5_Final(hashvalue,ctxt); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ hashing.c:398:25: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 398 | MD5_Update(ctxt,SendAt,size); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs build/log.o build/network.o build/mbuffer.o build/hashing.o build/input.o build/common.o build/settings.o build/globals.o -lcrypto -lpthread -o mbuffer /bin/sh mkversion.sh version.h is up-to-date /bin/tar cf test.tar --ignore-failed-read /home/buildozer/aports/community/mbuffer/src/mbuffer-20231216/* /bin/tar: Removing leading `/' from member names /bin/tar: Removing leading `/' from hard link targets openssl md5 < test.tar > test.md5 ./mbuffer -i test.tar -p10 | ./mbuffer -q -P 90 | openssl md5 > test0.md5 summary: 1000 kiByte in 0.1sec - average of 7650 kiB/s sync diff test0.md5 test.md5 touch test0 ./mbuffer -i test.tar -f -o test1.tar -o /dev/null -H mbuffer: warning: No controlling terminal and no autoloader command specified. openssl:md5 hash: a597aebe1276a9a9d0a18d8ebc0ca723 summary: 2x 1000 kiByte in 0.0sec - average of 40.1 MiB/s openssl md5 < test1.tar > test1.md5 rm -f test1.tar sync diff test1.md5 test.md5 touch test1 if ./have-af inet; then \ ./mbuffer --pid -q -4 -I :7001 -o test2.tar -o - | openssl md5 > test2.md5 & \ sleep 1; \ rm -f test2.tar; \ ./mbuffer --pid -i test.tar -o /dev/null -4 -O localhost:7001 -H; \ wait; \ else \ echo 'SKIPPING the IPv4-only test!'; \ cp test.tar test2.tar; \ cp test.md5 test2.md5; \ fi mbuffer: PID is 45472 mbuffer: PID is 45476 ./mbuffer (45472): warning: No controlling terminal and no autoloader command specified. ./mbuffer (45476): warning: No controlling terminal and no autoloader command specified. openssl:md5 hash: a597aebe1276a9a9d0a18d8ebc0ca723 summary: 2x 1000 kiByte in 0.0sec - average of 219 MiB/s sync diff test2.md5 test.md5 rm test2.md5 openssl md5 < test2.tar > test2.md5 rm -f test2.tar sync diff test2.md5 test.md5 touch test2 if ./have-af inet6; then \ ./mbuffer --pid -q -6 -I :7002 | openssl md5 > test3.md5 & \ sleep 1; \ rm -f test3.tar; \ ./mbuffer --pid -i test.tar -o /dev/null -6 -O ::1:7002 -o test3.tar -H; \ wait; \ else \ echo 'SKIPPING the IPv6-only test!'; \ cp test.tar test3.tar; \ cp test.md5 test3.md5; \ fi mbuffer: PID is 45494 mbuffer: PID is 45498 ./mbuffer (45498): warning: No controlling terminal and no autoloader command specified. openssl:md5 hash: a597aebe1276a9a9d0a18d8ebc0ca723 summary: 3x 1000 kiByte in 0.0sec - average of 70.8 MiB/s sync diff test3.md5 test.md5 rm test3.md5 openssl md5 < test3.tar > test3.md5 rm -f test3.tar sync diff test3.md5 test.md5 touch test3 openssl md5 > mbuffer.md5 < mbuffer rm -f output-test4.tar.* cat mbuffer | LD_PRELOAD=./tapetest.so ./mbuffer -s10k -f -o output-test4 -H -A "echo '[test4] Replacing tape'" [test4] Replacing tape openssl:md5 hash: c230df43dd99dca8c5c95870608a3a7c summary: 88.0 kiByte in 0.1sec - average of 1207 kiB/s [INTERCEPT] open: output-test4, intercepted and writing as output-test4.001 [INTERCEPT] write(block 0): OK [INTERCEPT] write(block 1): OK [INTERCEPT] write(block 2): OK [INTERCEPT] write(block 3): OK [INTERCEPT] write(block 4): OK [INTERCEPT] write(block 5): ENOSPC (early) [INTERCEPT] open: output-test4, intercepted and writing as output-test4.002 [INTERCEPT] write(block 0): OK [INTERCEPT] write(block 1): OK [INTERCEPT] write(block 2): OK [INTERCEPT] write(block 3): OK [INTERCEPT] write(block 4): OK cat output-test4* | openssl md5 > test4.md5 rm -f output-test4 sync diff test4.md5 mbuffer.md5 > test4 rm -f output-test5.tar.* cat mbuffer | LD_PRELOAD=./tapetest.so ./mbuffer -s10k -f -o output-test5 -H -A "echo '[test5] Replacing tape'" --tapeaware openssl:md5 hash: c230df43dd99dca8c5c95870608a3a7c summary: 88.0 kiByte in 0.1sec - average of 1262 kiB/s [INTERCEPT] open: output-test5, intercepted and writing as output-test5.001 [INTERCEPT] write(block 0): OK [INTERCEPT] write(block 1): OK [INTERCEPT] write(block 2): OK [INTERCEPT] write(block 3): OK [INTERCEPT] write(block 4): OK [INTERCEPT] write(block 5): ENOSPC (early) [INTERCEPT] write(block 5): OK [INTERCEPT] write(block 6): ENOSPC (early) [INTERCEPT] write(block 6): OK [INTERCEPT] write(block 7): ENOSPC (early) [INTERCEPT] write(block 7): OK [INTERCEPT] write(block 8): ENOSPC (early) [INTERCEPT] write(block 8): OK [INTERCEPT] write(block 9): ENOSPC (early) [INTERCEPT] write(block 9): OK cat output-test5* | openssl md5 > test5.md5 rm -f output-test5 sync diff test5.md5 mbuffer.md5 > test5 LD_PRELOAD=./idev.so BSIZE=317 IDEV=mbuffer ./mbuffer -s256 -i mbuffer -f -o mbuffer2 idev.so: d_open = 0x7fa665338fd1 idev.so: open(/proc/meminfo,0x0,...) = 6 (IDEV='mbuffer') idev.so: open(/etc/mbuffer.rc,0x0,...) = -1 (IDEV='mbuffer') idev.so: open(/usr/etc/mbuffer.rc,0x0,...) = -1 (IDEV='mbuffer') idev.so: open(/home/buildozer/.mbuffer.rc,0x0,...) = -1 (IDEV='mbuffer') idev.so: open(mbuffer,0x8000,...) = 6 (IDEV='mbuffer') idev.so: FD = 6 idev.so: open(mbuffer2,0x8241,...) = 7 (IDEV='mbuffer') idev.so: open(/dev/tty,0x2,...) = -1 (IDEV='mbuffer') mbuffer: warning: No controlling terminal and no autoloader command specified. mbuffer: warning: Block size is not a multiple of native input size (317B). summary: 88.0 kiByte in 0.0sec - average of 3960 kiB/s ./mbuffer -P90 --md5 -i INSTALL -o /dev/null mbuffer: warning: No controlling terminal and no autoloader command specified. openssl:md5 hash: 8bb45d9574a827d338e06f010f00c8c1 summary: 0.0 kiByte in 0.0sec - average of 0.0 kiB/s >>> mbuffer: Entering fakeroot... /bin/sh mkversion.sh version.h is up-to-date /usr/bin/install -c -d -m 755 /home/buildozer/aports/community/mbuffer/pkg/mbuffer/etc /usr/bin/install -c -m 644 mbuffer.rc /home/buildozer/aports/community/mbuffer/pkg/mbuffer/etc /usr/bin/install -c -d -m 755 /home/buildozer/aports/community/mbuffer/pkg/mbuffer/usr/bin /usr/bin/install -c -m 755 mbuffer /home/buildozer/aports/community/mbuffer/pkg/mbuffer/usr/bin/ /usr/bin/install -c -d -m 755 /home/buildozer/aports/community/mbuffer/pkg/mbuffer/usr/share/man/man1 /usr/bin/install -c -m 644 mbuffer.1 /home/buildozer/aports/community/mbuffer/pkg/mbuffer/usr/share/man/man1/ >>> mbuffer-doc*: Running split function doc... >>> mbuffer-doc*: Preparing subpackage mbuffer-doc... >>> mbuffer-doc*: Running postcheck for mbuffer-doc >>> mbuffer*: Running postcheck for mbuffer >>> mbuffer*: Preparing package mbuffer... >>> mbuffer*: Stripping binaries >>> mbuffer-doc*: Scanning shared objects >>> mbuffer*: Scanning shared objects >>> mbuffer-doc*: Tracing dependencies... >>> mbuffer-doc*: Package size: 24.0 KB >>> mbuffer-doc*: Compressing data... >>> mbuffer-doc*: Create checksum... >>> mbuffer-doc*: Create mbuffer-doc-20231216-r0.apk >>> mbuffer*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libcrypto.so.3 >>> mbuffer*: Package size: 96.0 KB >>> mbuffer*: Compressing data... >>> mbuffer*: Create checksum... >>> mbuffer*: Create mbuffer-20231216-r0.apk >>> mbuffer: Build complete at Mon, 01 Jan 2024 13:50:43 +0000 elapsed time 0h 0m 13s >>> mbuffer: Cleaning up srcdir >>> mbuffer: Cleaning up pkgdir >>> mbuffer: Uninstalling dependencies... (1/3) Purging .makedepends-mbuffer (20240101.135032) (2/3) Purging linux-headers (6.6-r0) (3/3) Purging openssl-dev (3.1.4-r2) OK: 378 MiB in 106 packages >>> mbuffer: Updating the community/x86_64 repository index... >>> mbuffer: Signing the index...