Mock Version: 3.5
Mock Version: 3.5
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/socat.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-189008-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe1c36170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/socat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Wrote: /builddir/build/SRPMS/socat-1.7.4.4-2.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/socat.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-189008-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe1c36170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/socat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0lR1Kc
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf socat-1.7.4.4
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/socat-1.7.4.4.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd socat-1.7.4.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/socat-1.7.3.3-warn.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uAMES1
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd socat-1.7.4.4
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2022-10-30 23:21:47.000000000 +0800
+++ ./configure	2024-06-26 05:41:46.560993174 +0800
@@ -1798,7 +1798,7 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char $2 ();
+__attribute__ ((used)) char $2 ();
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']'
++ find . -name ltmain.sh
+ ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-help --enable-stdio --enable-fdnum --enable-file --enable-creat --enable-gopen --enable-pipe --enable-termios --enable-unix --enable-ip4 --enable-ip6 --enable-rawip --enable-tcp --enable-udp --enable-listen --enable-proxy --enable-exec --enable-system --enable-pty --enable-readline --enable-openssl --enable-sycls --enable-filan --enable-retry
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking which defines needed for makedepend... fgrep: warning: fgrep is obsolescent; using grep -F
checking for a BSD-compatible install... /usr/bin/install -c
checking for loongarch64-opencloudos-linux-gnu-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 for loongarch64-opencloudos-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for ar... ar
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for inttypes.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/stat.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for net/if.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for netdb.h... (cached) yes
checking for resolv.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking linux/if_tun.h usability... yes
checking linux/if_tun.h presence... yes
checking for linux/if_tun.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking for linux/errqueue.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking bsd/libutil.h usability... no
checking bsd/libutil.h presence... no
checking for bsd/libutil.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/stropts.h usability... no
checking sys/stropts.h presence... no
checking for sys/stropts.h... no
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking linux/ext2_fs.h usability... no
checking linux/ext2_fs.h presence... no
checking for linux/ext2_fs.h... no
checking for setgrent... yes
checking for getgrent... yes
checking for endgrent... yes
checking for getgrouplist... yes
checking for cfmakeraw... yes
checking for library containing res_9_init... no
checking for hstrerror... yes
checking for gethostent... yes
checking for setsockopt... yes
checking for hstrerror prototype... yes
checking for getprotobynumber_r() variant... 1 /* Linux */
checking whether to include help... yes
checking whether to include STDIO support... yes
checking whether to include FD-number support... yes
checking whether to include direct file support... yes
checking whether to include direct create support... yes
checking whether to include gopen support... yes
checking whether to include explicit pipe support... yes
checking whether to include explicit termios support... yes
checking whether to include UNIX socket support... yes
checking whether to include abstract UNIX socket support... yes
checking whether to include IPv4 support... yes
checking whether to include IPv6 support... yes
checking for netinet/ip6.h... yes
checking netinet6/in6.h usability... no
checking netinet6/in6.h presence... no
checking for netinet6/in6.h... no
checking if __APPLE_USE_RFC_2292 is helpful... no
checking whether to include raw IP support... yes
checking whether to include generic socket support... yes
checking whether to include generic network interface support... yes
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking for netinet/if_ether.h... yes
checking whether to include TCP support... yes
checking whether to include UDP support... yes
checking whether to include SCTP support... yes
checking for IPPROTO_SCTP... yes
checking whether to include vsock support... yes
checking for linux/vm_sockets.h... yes
checking whether to include listen support... yes
checking whether to include socks4 support... yes
checking whether to include socks4a support... yes
checking whether to include proxy connect support... yes
checking whether to include exec support... yes
checking whether to include system (shell) support... yes
checking whether to include pty address support... yes
checking whether to include fs attributes support... yes
checking whether to include readline support... yes
checking for usable readline in default location... yes
checking whether to include openssl support... yes
configure: checking for components of OpenSSL
configure: checked for openssl/ssl.h... yes
checking for libssl... yes
checking for OPENSSL_init_ssl... yes
checking for SSL_library_init... no
checking whether to include OpenSSL method option... no
checking whether to include deprecated resolver option... no
checking whether to include openssl fips support... no
checking whether to include tun/tap address support... yes
checking whether to include system call tracing... yes
checking whether to include file descriptor analyzer... yes
checking whether to include retry support... yes
checking included message level... debug
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking for nanosleep... yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for putenv... yes
checking for select... yes
checking for pselect... yes
checking for poll... yes
checking for socket... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking for getpgid... yes
checking for getsid... yes
checking for gethostbyname... yes
checking for getaddrinfo... yes
checking for getprotobynumber... yes
checking for setgroups... yes
checking for inet_aton... yes
checking for grantpt... yes
checking for unlockpt... yes
checking for cfsetispeed... yes
checking for cfgetispeed... yes
checking for cfsetospeed... yes
checking for cfgetospeed... yes
checking for posix_memalign prototype... yes
checking for strdup prototype... yes
checking for strerror prototype... yes
checking for strstr prototype... yes
checking for getipnodebyname prototype... no
checking for strndup prototype... yes
checking for memrchr prototype... yes
checking for if_indextoname prototype... yes
checking for ptsname prototype... yes
checking for long long... yes
checking for sig_atomic_t... yes
checking for bool... yes
checking for socklen_t... yes
checking for struct stat64... yes
checking for off64_t... yes
checking for sighandler_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for fdset->fds_bits... yes
checking for struct termios . c_ispeed... yes
checking for struct termios . c_ospeed... yes
checking for sa_family_t... yes
checking for struct sock_extended_err... yes
checking for struct sigaction.sa_sigaction... yes
checking if _SVID3 is helpful... no
checking if _XPG4_2 is helpful... no
checking for struct timespec... yes
checking for struct linger... yes
checking for struct ip... yes
checking for struct ip_mreq... yes
checking for struct ip_mreqn... yes
checking for struct ipv6_mreq... yes
checking for struct ip_mreq_source... yes
checking for struct ifreq... yes
checking for struct ifreq.ifr_index... no
checking for struct ifreq.ifr_ifindex... yes
checking for struct sockaddr.sa_len... no
checking for component names of sockaddr_in6... s6_addr
checking for struct iovec... yes
checking for struct msghdr.msg_control... yes
checking for struct msghdr.msg_controllen... yes
checking for struct msghdr.msgflags... yes
checking for struct cmsghdr... yes
checking for struct in_pktinfo... yes
checking for ipi_spec_dst in struct in_pktinfo... yes
checking for struct in6_pktinfo... yes
checking for struct ip.ip_hl... yes
checking for sigaction... yes
checking for stat64... yes
checking for fstat64... yes
checking for lstat64... yes
checking for lseek64... yes
checking for truncate64... yes
checking for ftruncate64... yes
checking for strtoll... yes
checking for hstrerror... (cached) yes
checking for inet_ntop... yes
checking for openpty... yes
checking for openpty in -lbsd... no
checking for openpty in -lutil... yes
checking for gettimeofday prototype... yes
checking for clock_gettime... yes
checking for flock... yes
checking for setenv... yes
checking for unsetenv... yes
checking for TLS_client_method... yes
checking for TLS_server_method... yes
checking for DTLS_client_method... yes
checking for DTLS_server_method... yes
checking for SSL_CTX_set_default_verify_paths... yes
checking for RAND_egd... no
checking for RAND_egd in -lcrypt... no
checking for DH_set0_pqg... yes
checking for ASN1_STRING_get0_data... yes
checking for RAND_status... yes
checking for SSL_CTX_clear_mode... no
checking for SSL_set_tlsext_host_name... no
checking for SSL_library_init... (cached) no
checking for ERR_error_string... yes
checking for type EC_KEY... yes
checking if snprintf conforms to C99... yes
checking if printf has Z modifier... no
checking shift offset of CRDLY... 9
checking shift offset of TABDLY... 11
checking shift offset of CSIZE... 4
configure: using code run method to find basic types
checking for equivalent simple type of uint16_t... 2 /* unsigned short */
checking for equivalent simple type of uint32_t... 4 /* unsigned int */
checking for equivalent simple type of uint64_t... 6 /* unsigned long */
checking for equivalent simple type of int16_t... 1 /* short */
checking for equivalent simple type of int32_t... 3 /* int */
checking for equivalent simple type of int64_t... 5 /* long */
checking for equivalent simple type of size_t... 6 /* unsigned long */
checking for equivalent simple type of mode_t... 4 /* unsigned int */
checking for equivalent simple type of pid_t... 3 /* int */
checking for equivalent simple type of uid_t... 4 /* unsigned int */
checking for equivalent simple type of gid_t... 4 /* unsigned int */
checking for equivalent simple type of time_t... 5 /* long */
checking for equivalent simple type of socklen_t... 4 /* unsigned int */
checking for equivalent simple type of off_t... 5 /* long */
checking for equivalent simple type of off64_t... 5 /* long */
checking for equivalent simple type of dev_t... 6 /* unsigned long */
checking for equivalent simple type of speed_t... 4 /* unsigned int */
checking for basic type of struct stat.st_ino... 6 /* unsigned long */
checking for basic type of struct stat.st_nlink... 4 /* unsigned int */
checking for basic type of struct stat.st_size... 5 /* long */
checking for basic type of struct stat.st_blksize... 3 /* int */
checking for basic type of struct stat.st_blocks... 5 /* long */
checking for basic type of struct stat64.st_dev... 6 /* unsigned long */
checking for basic type of struct stat64.st_ino... 6 /* unsigned long */
checking for basic type of struct stat64.st_nlink... 4 /* unsigned int */
checking for basic type of struct stat64.st_size... 5 /* long */
checking for basic type of struct stat64.st_blksize... 3 /* int */
checking for basic type of struct stat64.st_blocks... 5 /* long */
checking for basic type of struct timeval.tv_usec... 5 /* long */
checking for basic type of struct timespec.tv_nsec... 5 /* long */
checking for basic type of struct rlimit.rlim_max... 6 /* unsigned long */
checking for basic type of struct cmsghdr.cmsg_len... 6 /* unsigned long */
checking for /dev/ptmx... yes
checking for /proc... yes
checking for /proc/*/fd... yes
checking for /proc/*/path... no
checking whether to include libwrap support... yes
checking for components of libwrap... configure: checked for tcpd.h... no
configure: WARNING: not all components of tcp wrappers found, disabling it
checking for hosts_allow_table... no
checking for declaration of environ... yes
checking for var environ... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiolayer.o xiolayer.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-fd.o xio-fd.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioexit.o xioexit.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-process.o xio-process.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioparam.o xioparam.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-gopen.o xio-gopen.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioclose.o xioclose.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiodiag.o xiodiag.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioshutdown.o xioshutdown.c
xioshutdown.c: In function 'xioshutdown':
xioshutdown.c:63:7: warning: 'writenull' may be used uninitialized [-Wmaybe-uninitialized]
   63 |       xiowrite(sock, &writenull, 0);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xioopen.h:18,
                 from xioshutdown.c:9:
xio.h:462:16: note: by argument 2 of type 'const void *' to 'xiowrite' declared here
  462 | extern ssize_t xiowrite(xiofile_t *sock1, const void *buff, size_t bufsiz);
      |                ^~~~~~~~
xioshutdown.c:45:12: note: 'writenull' declared here
   45 |       char writenull;
      |            ^~~~~~~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-file.o xio-file.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-fdnum.o xio-fdnum.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiosignal.o xiosignal.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-stdio.o xio-stdio.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiosigchld.o xiosigchld.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-pipe.o xio-pipe.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioinitialize.o xioinitialize.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiohelp.o xiohelp.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-creat.o xio-creat.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioread.o xioread.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-named.o xio-named.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-interface.o xio-interface.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiowrite.o xiowrite.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ip4.o xio-ip4.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioopen.o xioopen.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-listen.o xio-listen.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-vsock.o xio-vsock.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-sctp.o xio-sctp.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ip6.o xio-ip6.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-tcp.o xio-tcp.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ascii.o xio-ascii.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ip.o xio-ip.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-streams.o xio-streams.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o dalan.o dalan.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-system.o xio-system.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-tcpwrap.o xio-tcpwrap.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-fs.o xio-fs.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-rawip.o xio-rawip.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ipapp.o xio-ipapp.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o snprinterr.o snprinterr.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-unix.o xio-unix.c
xio-unix.c: In function 'xiosetunix':
xio-unix.c:104:4: warning: 'strncpy' specified bound 108 equals destination size [-Wstringop-truncation]
  104 |    strncpy(saun->sun_path, path, sizeof(saun->sun_path));       /* ok */
      |    ^
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiolockfile.o xiolockfile.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-socks.o xio-socks.c
In file included from xioopen.h:10,
                 from xio-socks.c:11:
xio-socks.c: In function '_xioopen_socks4_connect':
xio-socks.c:383:19: warning: array subscript 'struct socks4[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
  383 |          replyhead->version, replyhead->action, ntohs(replyhead->port),
      |                   ^~
xio-socks.c:302:18: note: object 'buff' of size 8
  302 |    unsigned char buff[SIZEOF_STRUCT_SOCKS4];
      |                  ^~~~
xio-socks.c:383:39: warning: array subscript 'struct socks4[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
  383 |          replyhead->version, replyhead->action, ntohs(replyhead->port),
      |                                       ^~
xio-socks.c:302:18: note: object 'buff' of size 8
  302 |    unsigned char buff[SIZEOF_STRUCT_SOCKS4];
      |                  ^~~~
xio-socks.c:383:64: warning: array subscript 'struct socks4[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
  383 |          replyhead->version, replyhead->action, ntohs(replyhead->port),
      |                                                                ^~
xio-socks.c:302:18: note: object 'buff' of size 8
  302 |    unsigned char buff[SIZEOF_STRUCT_SOCKS4];
      |                  ^~~~
xio-socks.c:388:17: warning: array subscript 'struct socks4[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
  388 |    if (replyhead->version != 0) {
      |                 ^~
xio-socks.c:302:18: note: object 'buff' of size 8
  302 |    unsigned char buff[SIZEOF_STRUCT_SOCKS4];
      |                  ^~~~
xio-socks.c:393:21: warning: array subscript 'struct socks4[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
  393 |    switch (replyhead->action) {
      |                     ^~
xio-socks.c:302:18: note: object 'buff' of size 8
  302 |    unsigned char buff[SIZEOF_STRUCT_SOCKS4];
      |                  ^~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-exec.o xio-exec.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o procan_main.o procan_main.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-termios.o xio-termios.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o procan.o procan.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o hostan.o hostan.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o procan-cdefs.o procan-cdefs.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-tun.o xio-tun.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-udp.o xio-udp.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-readline.o xio-readline.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-proxy.o xio-proxy.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-progcall.o xio-progcall.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-pty.o xio-pty.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o vsnprintf_r.o vsnprintf_r.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o nestlex.o nestlex.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o utils.o utils.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o fdname.o fdname.c
fdname.c: In function 'sockname':
fdname.c:289:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  289 |    strncpy(protoname, protoentp->p_name, sizeof(protoname));
      |    ^
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o error.o error.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o filan_main.o filan_main.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o sslcls.o sslcls.c
sslcls.c: In function 'sycPEM_read_bio_DHparams':
sslcls.c:434:4: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  434 |    result = PEM_read_bio_DHparams(bp, x, cb, u);
      |    ^~~~~~
In file included from /usr/include/openssl/ssl.h:36,
                 from sysincludes.h:184,
                 from sslcls.c:13:
/usr/include/openssl/pem.h:469:1: note: declared here
  469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-socket.o xio-socket.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o socat.o socat.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o filan.o filan.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o sysutils.o sysutils.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-openssl.o xio-openssl.c
xio-openssl.c: In function '_xioopen_openssl_listen':
xio-openssl.c:711:16: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  711 |                Msg4(level, "SSL_accept(): %s / %s / %s / %s", error_string,
      |                ^~~~
In file included from sysincludes.h:185,
                 from xiosysincludes.h:11,
                 from xio-openssl.c:7:
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
xio-openssl.c: In function '_xioopen_openssl_prepare':
xio-openssl.c:1225:7: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1225 |       dh = DH_new();
      |       ^~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:37,
                 from /usr/include/openssl/ssl.h:31,
                 from sysincludes.h:184:
/usr/include/openssl/dh.h:203:27: note: declared here
  203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
xio-openssl.c:1230:13: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1230 |             DH_free(dh);
      |             ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
xio-openssl.c:1243:7: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1243 |       if (!DH_set0_pqg(dh, p, NULL, g)) {
      |       ^~
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
xio-openssl.c:1244:15: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1244 |               DH_free(dh);
      |               ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
xio-openssl.c:1261:7: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1261 |       DH_free(dh);
      |       ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
xio-openssl.c:1280:7: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1280 |       ecdh = EC_KEY_new_by_curve_name(nid);
      |       ^~~~
In file included from /usr/include/openssl/x509.h:33:
/usr/include/openssl/ec.h:998:31: note: declared here
  998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
xio-openssl.c: In function 'xioSSL_connect':
xio-openssl.c:1892:16: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1892 |                Msg4(level, "SSL_connect(): %s / %s / %s / %s", error_string,
      |                ^~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
xio-openssl.c: In function 'xioread_openssl':
xio-openssl.c:1952:16: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1952 |                Error4("SSL_read(): %s / %s / %s / %s", error_string,
      |                ^~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
xio-openssl.c: In function 'xiowrite_openssl':
xio-openssl.c:2011:16: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2011 |                Error4("SSL_write(): %s / %s / %s / %s", error_string,
      |                ^~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o sycls.o sycls.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioopts.o xioopts.c
ar r libxio.a xioinitialize.o xiohelp.o xioparam.o xiodiag.o xioopen.o xioopts.o xiosignal.o xiosigchld.o xioread.o xiowrite.o xiolayer.o xioshutdown.o xioclose.o xioexit.o xio-process.o xio-fd.o xio-fdnum.o xio-stdio.o xio-pipe.o xio-gopen.o xio-creat.o xio-file.o xio-named.o xio-socket.o xio-interface.o xio-listen.o xio-unix.o xio-vsock.o xio-ip.o xio-ip4.o xio-ip6.o xio-ipapp.o xio-tcp.o xio-sctp.o xio-rawip.o xio-socks.o xio-proxy.o xio-udp.o xio-progcall.o xio-exec.o xio-system.o xio-termios.o xio-readline.o xio-pty.o xio-openssl.o xio-streams.o xio-ascii.o xiolockfile.o xio-tcpwrap.o xio-fs.o xio-tun.o error.o dalan.o procan.o procan-cdefs.o hostan.o fdname.o sysutils.o utils.o nestlex.o vsnprintf_r.o snprinterr.o filan.o sycls.o sslcls.o
ranlib libxio.a
ar: creating libxio.a
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o procan procan_main.o procan.o procan-cdefs.o hostan.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o -lutil  -lreadline  -lssl -lcrypto
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o filan filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o -lutil  -lreadline  -lssl -lcrypto
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o socat socat.o libxio.a -lutil  -lreadline  -lssl -lcrypto
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qO006k
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64
++ dirname /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64
+ cd socat-1.7.4.4
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64 'INSTALL=/usr/bin/install -p'
mkdir -p /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/bin
/usr/bin/install -p -m 755 socat /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/bin
/usr/bin/install -p -m 755 procan /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/bin
/usr/bin/install -p -m 755 filan /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/bin
mkdir -p /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/man/man1
/usr/bin/install -p -m 644 ./doc/socat.1 /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/man/man1/
+ install -d /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64//usr/share/doc/socat
+ install -m 0644 daemon.sh ftp.sh gatherinfo.sh mail.sh proxy.sh proxyecho.sh readline-test.sh readline.sh socat_buildscript_for_android.sh socks4a-echo.sh socks4echo.sh test.sh /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64//usr/share/doc/socat/
+ echo '.so man1/socat.1'
+ gzip
+ cp -a /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64//usr/share/man/man1/filan.1.gz /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64//usr/share/man/man1/procan.1.gz
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.7.4.4-2.ocs23 --unique-debug-suffix -1.7.4.4-2.ocs23.loongarch64 --unique-debug-src-base socat-1.7.4.4-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/socat-1.7.4.4
extracting debug info from /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/bin/filan
extracting debug info from /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/bin/procan
extracting debug info from /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/bin/socat
2086 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZrDpcS
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd socat-1.7.4.4
+ make test
./test.sh
fgrep: warning: fgrep is obsolescent; using grep -F
Using temp directory /tmp/mockbuild/2065959
testing if address array is sorted...egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
 ok
testing if address options are sorted... ok
test   1 UNISTDIO: unidirectional throughput from stdin to stdout... OK
test   2 UNPIPESTDIO: stdio with simple echo via internal pipe... OK
test   3 UNPIPESHORT: short form of stdio ('-') with simple echo via internal pipe... OK
test   4 DUALSTDIO: splitted form of stdio ('stdin!!stdout') with simple echo via internal pipe... OK
test   5 DUALSHORTSTDIO: short splitted form of stdio ('-!!-') with simple echo via internal pipe... OK
test   6 DUALFDS: file descriptors with simple echo via internal pipe... OK
test   7 NAMEDPIPE: simple echo via named pipe... OK
test   8 DUALPIPE: simple echo via named pipe, specified twice... OK
test   9 FILE: simple echo via file... OK
test  10 EXECSOCKET: simple echo via exec of cat with socketpair... OK
test  11 SYSTEMSOCKET: simple echo via system() of cat with socketpair... OK
test  12 EXECPIPES: simple echo via exec of cat with pipes... OK
test  13 SYSTEMPIPES: simple echo via system() of cat with pipes... OK
test  14 EXECPTY: simple echo via exec of cat with pseudo terminal... OK
test  15 SYSTEMPTY: simple echo via system() of cat with pseudo terminal... OK
test  16 SYSTEMPIPESFDS: simple echo via system() of cat with pipes, non stdio... OK
test  17 DUALSYSTEMFDS: echo via dual system() of cat... OK
test  18 EXECSOCKETFLUSH: call to od via exec with socketpair... OK
test  19 SYSTEMSOCKETFLUSH: call to od via system() with socketpair... OK
test  20 EXECPIPESFLUSH: call to od via exec with pipes... OK
test  21 SYSTEMPIPESFLUSH: call to od via system() with pipes... OK
test  22 SYSTEMPIPESFDSFLUSH: call to od via system() with pipes, non stdio... OK
test  23 DUALSYSTEMFDSFLUSH: call to od via dual system()... OK
egrep: warning: egrep is obsolescent; using grep -E
test  24 RAWIP4SELF: simple echo via self receiving raw IPv4 protocol... must be root
test  25 RAWIPX4SELF: simple echo via self receiving raw IP protocol, v4 by target... must be root
egrep: warning: egrep is obsolescent; using grep -E
test  26 RAWIP6SELF: simple echo via self receiving raw IPv6 protocol... must be root
test  27 RAWIPX6SELF: simple echo via self receiving raw IP protocol, v6 by target... must be root
test  28 TCPSELF: echo via self connection of TCP IPv4 socket... OK
test  29 UDPSELF: echo via self connection of UDP IPv4 socket... OK
test  30 UDP6SELF: echo via self connection of UDP IPv6 socket... OK
test  31 DUALUDPSELF: echo via two unidirectional UDP IPv4 sockets... OK
test  32 UNIXSTREAM: echo via connection to UNIX domain socket... OK
test  33 TCP4: echo via connection to TCP V4 socket... OK
test  34 TCP6: echo via connection to TCP V6 socket... OK
test  35 TCPX4: echo via connection to TCP socket, v4 by target... OK
test  36 TCPX6: echo via connection to TCP socket, v6 by target... OK
test  37 IPV6ONLY0: option ipv6-v6only=0 listens on IPv4... OK
test  38 IPV6ONLY1: option ipv6-v6only=1 does not listen on IPv4... OK
test  39 ENV_LISTEN_4: env SOCAT_DEFAULT_LISTEN_IP for IPv4 preference on listen... OK
test  40 ENV_LISTEN_6: env SOCAT_DEFAULT_LISTEN_IP for IPv6 preference on listen... OK
test  41 LISTEN_OPTION_4: option -4 for IPv4 preference on listen... OK
test  42 LISTEN_OPTION_6: option -6 for IPv6 preference on listen... OK
test  43 LISTEN_PF_IP4: pf=4 overrides option -6 on listen... OK
test  44 LISTEN_PF_IP6: pf=6 overrides option -4 on listen... OK
test  45 UDP4STREAM: echo via connection to UDP V4 socket... OK
test  46 UDP6STREAM: echo via connection to UDP V6 socket... OK
test  47 GOPENFILE: file opening with gopen... OK
test  48 GOPENPIPE: pipe opening with gopen for reading... OK
test  49 GOPENUNIXSTREAM: GOPEN on UNIX stream socket... OK
test  50 GOPENUNIXSEQPACKET: GOPEN on UNIX seqpacket socket... OK
test  51 GOPENUNIXDGRAM: GOPEN on UNIX datagram socket... OK
test  52 IGNOREEOF: ignoreeof on file... OK
test  53 IGNOREEOF_REV: ignoreeof on file right-to-left... OK
test  54 EXECIGNOREEOF: exec against address with ignoreeof... OK
test  55 FAKEPTY: generation of pty for other processes... OK
test  56 O_TRUNC: option o-trunc... OK
test  57 FTRUNCATE: option ftruncate... OK
test  58 RIGHTTOLEFT: unidirectional throughput from stdin to stdout, right to left... OK
test  59 CHILDDEFAULT: child process default properties... FAILED:
 ./socat -t 0.1  -u exec:./procan -
test  60 CHILDSETSID: child process with setsid... OK
test  61 MAINSETSID: main process with setsid... OK
Generating DH parameters, 2048 bit long safe prime
............+..........................................................................................................................................................................................+........+..............................................................................................................+.........................................................................................................................................................................................................................+................................................................+..........................................................+.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................+.................................................................................................+....................................................................................................+..............................+..................................+.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................+..........................................................................+........................................+............+...................................................................................................................+.....................................+......................................................................................................................+.....+.............................................................................................................+...................................+........+...................................................................................................+..............................+.................................................................................................................................................+.................+...........................................+.........................................+.......................+........................................................................+.........................................................................................................................+............................................+................................+..........................................................................................+.........................................................................+.....................................................................................................................................................................................................+..................................................................................................................................................................................................................+.........+.........................................................................................................+...................................................................................................................................................+.....................+........................+........................................................................................................................................................................................+.........+.............+.........................................+.........................................................................................................+.................+................................................................................................+.............................................................................................+...............................+.................................+................................................+............................................................+................................++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*
test  62 OPENSSL_TCP4: openssl connect... OK
test  63 OPENSSLLISTEN_TCP4: openssl listen... OK
test  64 OPENSSLLISTEN_TCP6: openssl listen... OK
test  65 UNIXCONNECT_HALFCLOSE: UNIX-CONNECT half close... OK
test  66 UNIXCLIENT_HALFCLOSE: UNIX-CLIENT half close... OK
test  67 GOPEN_UNIXSTREAM_HALFCLOSE: GOPEN half close... OK
test  68 UNIXLISTEN_HALFCLOSE: UNIX-LISTEN half close... OK
test  69 TCP4CONNECT_HALFCLOSE: TCP4-CONNECT half close... OK
test  70 TCP4LISTEN_HALFCLOSE: TCP4-LISTEN half close... OK
test  71 TCP6CONNECT_HALFCLOSE: TCP6-CONNECT half close... OK
test  72 TCP6LISTEN_HALFCLOSE: TCP6-LISTEN half close... OK
test  73 OPENSSL4CLIENT_HALFCLOSE: OPENSSL half close... OK
test  74 OPENSSL4SERVER_HALFCLOSE: OPENSSL-LISTEN half close... OK
test  75 OPENSSL6CLIENT_HALFCLOSE: OPENSSL half close... OK
test  76 OPENSSL6SERVER_HALFCLOSE: OPENSSL-LISTEN half close... OK
test  77 OPENSSL_SERVERAUTH: OpenSSL server authentication (hostname)... OK
test  78 OPENSSL_CLIENTAUTH: openssl client authentication... OK
test  79 OPENSSL_FIPS_BOTHAUTH: OpenSSL+FIPS client and server authentication... OPENSSL/FIPS not available
test  80 OPENSSL_COMPRESS: OpenSSL compression... OK
test  81 SOCKS4CONNECT_TCP4: socks4 connect over TCP/IPv4... OK
test  82 SOCKS4CONNECT_TCP6: socks4 connect over TCP/IPv6... OK
test  83 SOCKS4ACONNECT_TCP4: socks4a connect over TCP/IPv4... OK
test  84 SOCKS4ACONNECT_TCP6: socks4a connect over TCP/IPv6... OK
test  85 PROXYCONNECT_TCP4: proxy connect over TCP/IPv4... OK
test  86 PROXYCONNECT_TCP6: proxy connect over TCP/IPv6... OK
test  87 TCP4NOFORK: echo via connection to TCP V4 socket with nofork'ed exec... OK
test  88 EXECCATNOFORK: simple echo via exec of cat with nofork... OK
test  89 SYSTEMCATNOFORK: simple echo via system() of cat with nofork... OK
test  90 NOFORKSETSID: simple echo via exec() of cat with nofork and setsid... OK
test  91 TOTALTIMEOUT: socat inactivity timeout... OK
test  92 IGNOREEOF+TOTALTIMEOUT: ignoreeof and inactivity timeout... OK
test  93 PROXY2SPACES: proxy connect accepts status with multiple spaces... OK
test  94 BUG-UNISTDIO: for bug with address options on both stdin/out in unidirectional mode... OK
test  95 SINGLEEXECOUTSOCKETPAIR: inheritance of stdout to single exec with socketpair... OK
test  96 SINGLEEXECOUTPIPE: inheritance of stdout to single exec with pipe... OK
test  97 SINGLEEXECOUTPTY: inheritance of stdout to single exec with pty... OK
test  98 SINGLEEXECINSOCKETPAIR: inheritance of stdin to single exec with socketpair... OK
test  99 SINGLEEXECINPIPE: inheritance of stdin to single exec with pipe... OK
test 100 SINGLEEXECINPTYDELAY: inheritance of stdin to single exec with pty, with delay... OK
test 101 SINGLEEXECINPTY: inheritance of stdin to single exec with pty... OK
test 102 READLINE: readline with password and sigint... OK
test 103 GENDERCHANGER: TCP4 "gender changer"... OK
test 104 OUTBOUNDIN: gender changer via SSL through HTTP proxy, oneshot... OK
test 105 INTRANETRIPPER: gender changer via SSL through HTTP proxy, daemons... OK
test 106 TCP4RANGEBITS: security of TCP4-L with RANGE option... OK
test 107 TCP4RANGEMASK: security of TCP4-L with RANGE option... OK
test 108 TCP4RANGEMASKHAIRY: security of TCP4-L with RANGE option... OK
test 109 TCP4SOURCEPORT: security of TCP4-L with SOURCEPORT option... OK
test 110 TCP4LOWPORT: security of TCP4-L with LOWPORT option... OK
test 111 TCP4WRAPPERS_ADDR: security of TCP4-L with TCPWRAP option... libwrap not available
test 112 TCP4WRAPPERS_NAME: security of TCP4-L with TCPWRAP option... libwrap not available
test 113 TCP6RANGE: security of TCP6-L with RANGE option... OK
test 114 TCP6SOURCEPORT: security of TCP6-L with SOURCEPORT option... OK
test 115 TCP6LOWPORT: security of TCP6-L with LOWPORT option... OK
test 116 TCP6TCPWRAP: security of TCP6-L with TCPWRAP option... libwrap not available
test 117 UDP4RANGE: security of UDP4-L with RANGE option... OK
test 118 UDP4SOURCEPORT: security of UDP4-L with SOURCEPORT option... OK
test 119 UDP4LOWPORT: security of UDP4-L with LOWPORT option... OK
test 120 UDP4TCPWRAP: security of UDP4-L with TCPWRAP option... libwrap not available
test 121 UDP6RANGE: security of UDP6-L with RANGE option... OK
test 122 UDP6SOURCEPORT: security of UDP6-L with SOURCEPORT option... OK
test 123 UDP6LOWPORT: security of UDP6-L with LOWPORT option... OK
test 124 UDP6TCPWRAP: security of UDP6-L with TCPWRAP option... libwrap not available
test 125 OPENSSLTCP4_RANGE: security of SSL-L over TCP/IPv4 with RANGE option... OK
test 126 OPENSSLTCP4_SOURCEPORT: security of SSL-L with SOURCEPORT option... OK
test 127 OPENSSLTCP4_LOWPORT: security of SSL-L with LOWPORT option... OK
test 128 OPENSSLTCP4_TCPWRAP: security of SSL-L with TCPWRAP option... libwrap not available
test 129 OPENSSLCERTSERVER: security of SSL-L with client certificate... OK
test 130 OPENSSLCERTCLIENT: security of SSL with server certificate... OK
test 131 OPENSSLTCP6_RANGE: security of SSL-L over TCP/IPv6 with RANGE option... OK
test 132 OPENSSLTCP6_SOURCEPORT: security of SSL-L over TCP/IPv6 with SOURCEPORT option... OK
test 133 OPENSSLTCP6_LOWPORT: security of SSL-L over TCP/IPv6 with LOWPORT option... OK
test 134 OPENSSLTCP6_TCPWRAP: security of SSL-L over TCP/IPv6 with TCPWRAP option... libwrap not available
test 135 OPENSSL_CN_CLIENT_SECURITY: security of client openssl-commonname option... OK
test 136 OPENSSL_CN_SERVER_SECURITY: security of server openssl-commonname option... OK
test 137 OPENSSL_FIPS_SECURITY: OpenSSL restrictions by FIPS... OPENSSL/FIPS not available
test 138 UNIEXECEOF: give exec'd write-only process a chance to flush (-u)... OK
test 139 REVEXECEOF: give exec'd write-only process a chance to flush (-U)... OK
test 140 FILANDIR: check type printed for directories... OK
test 141 FILANSOCKET: capability to analyze named unix socket... OK
test 142 PTMXWAITSLAVE: test if master pty (ptmx) waits for slave connection... OK
test 143 OPENPTYWAITSLAVE: test if master pty (openpty) waits for slave connection... OK
test 144 CONNECTTIMEOUT: test the connect-timeout option... OK
test 145 CONNECTTIMEOUT_CONN: TCP4 connect-timeout option when server replies... OK
test 146 OPENSSLLISTENDSA: openssl listen with DSA certificate... FAILED
 ./socat -t 0.1  OPENSSL-LISTEN:26003,pf=ip4,reuseaddr,,cert=testsrvdsa.pem,key=testsrvdsa.key,verify=0 pipe &
 ./socat -t 0.1  - openssl:localhost:26003,pf=ip4,verify=0,
2024/06/26 05:45:28 socat[2080414] E SSL_accept(): error:0A0000C1:SSL routines::no shared cipher
2024/06/26 05:45:28 socat[2080551] E SSL_connect(): error:0A000410:SSL routines::sslv3 alert handshake failure
1d0
< test146 Wed Jun 26 05:45:27 CST 2024 20324
test 147 EXITCODESIGTERM: exit status when dying on SIGTERM... OK
test 148 EXITCODESIGILL: exit status when dying on SIGILL... OK
test 149 READBYTES: restrict reading from file with bytes option... OK
test 150 UDPLISTENFORK: UDP socket rebinds after first connection... OK
test 151 TCP4LISTENFORK: TCP4 listen handles 2 concurrent connections... OK
test 152 TCP6LISTENFORK: TCP6 listen handles 2 concurrent connections... OK
test 153 UDP4LISTENFORK: UDP4 listen handles 2 concurrent connections... OK
test 154 UDP6LISTENFORK: UDP6 listen handles 2 concurrent connections... OK
test 155 SCTP4LISTENFORK: SCTP4 listen handles 2 concurrent connections... SCTP4 not available
test 156 SCTP6LISTENFORK: SCTP6 listen handles 2 concurrent connections... SCTP6 not available
test 157 UNIXLISTENFORK: UNIX listen handles 2 concurrent connections... OK
test 158 UNIXTOSTREAM: generic UNIX client connects to stream socket... OK
test 159 UNIXTODGRAM: generic UNIX client connects to datagram socket... OK
test 160 EXECPIPESSTDERR: simple echo via exec of cat with pipes,stderr... OK
test 161 EXECSTDERRLOG: simple echo via exec of cat with pipes,stderr... OK
test 162 SIMPLEPARSE: invoke socat from socat... OK
test 163 FULLPARSE: correctly parse special chars... OK
test 164 NESTEDSOCATEXEC: does lexical analysis work sensibly (exec)... OK
test 165 NESTEDSOCATSYSTEM: does lexical analysis work sensibly (system)... OK
test 166 TCP6BYTCP4: TCP4 mapped into TCP6 address space... Feature removed
test 167 UDP4DGRAM: UDP/IPv4 sendto and recvfrom... OK
test 168 UDP6DGRAM: UDP/IPv6 datagram... OK
test 169 RAWIP4RECVFROM: raw IPv4 datagram... must be root
test 170 UNIXDGRAM: UNIX datagram... OK
test 171 UDP4RECV: UDP/IPv4 receive... OK
test 172 UDP6RECV: UDP/IPv6 receive... OK
test 173 RAWIP4RECV: raw IPv4 receive... must be root
test 174 RAWIP6RECV: raw IPv6 receive... must be root
test 175 UNIXRECV: UNIX receive... OK
test 176 UDP4RECVFROM_SOURCEPORT: security of UDP4-RECVFROM with SOURCEPORT option... OK
test 177 UDP4RECVFROM_LOWPORT: security of UDP4-RECVFROM with LOWPORT option... OK
test 178 UDP4RECVFROM_RANGE: security of UDP4-RECVFROM with RANGE option... OK
test 179 UDP4RECVFROM_TCPWRAP: security of UDP4-RECVFROM with TCPWRAP option... libwrap not available
test 180 UDP4RECV_SOURCEPORT: security of UDP4-RECV with SOURCEPORT option... OK
test 181 UDP4RECV_LOWPORT: security of UDP4-RECV with LOWPORT option... OK
test 182 UDP4RECV_RANGE: security of UDP4-RECV with RANGE option... OK
test 183 UDP4RECV_TCPWRAP: security of UDP4-RECV with TCPWRAP option... libwrap not available
test 184 UDP6RECVFROM_SOURCEPORT: security of UDP6-RECVFROM with SOURCEPORT option... OK
test 185 UDP6RECVFROM_LOWPORT: security of UDP6-RECVFROM with LOWPORT option... OK
test 186 UDP6RECVFROM_RANGE: security of UDP6-RECVFROM with RANGE option... OK
test 187 UDP6RECVFROM_TCPWRAP: security of UDP6-RECVFROM with TCPWRAP option... libwrap not available
test 188 UDP6RECV_SOURCEPORT: security of UDP6-RECV with SOURCEPORT option... OK
test 189 UDP6RECV_LOWPORT: security of UDP6-RECV with LOWPORT option... OK
test 190 UDP6RECV_RANGE: security of UDP6-RECV with RANGE option... OK
test 191 UDP6RECV_TCPWRAP: security of UDP6-RECV with TCPWRAP option... libwrap not available
test 192 IP4RECVFROM_RANGE: security of IP4-RECVFROM with RANGE option... must be root
test 193 IP4RECVFROM_TCPWRAP: security of IP4-RECVFROM with TCPWRAP option... libwrap not available
test 194 IP4RECV_RANGE: security of IP4-RECV with RANGE option... must be root
test 195 IP4RECV_TCPWRAP: security of IP4-RECV with TCPWRAP option... libwrap not available
test 196 IP6RECVFROM_RANGE: security of IP6-RECVFROM with RANGE option... must be root
test 197 IP6RECVFROM_TCPWRAP: security of IP6-RECVFROM with TCPWRAP option... libwrap not available
test 198 IP6RECV_RANGE: security of IP6-RECV with RANGE option... must be root
test 199 IP6RECV_TCPWRAP: security of IP6-RECV with TCPWRAP option... libwrap not available
test 200 O_NOATIME_FILE: option O_NOATIME on file... OK
test 201 O_NOATIME_FD: option O_NOATIME on file descriptor... OK
test 202 FS_NOATIME: extended file system options using fs noatime option... OK
test 203 COOLWRITE: option cool-write... OK
test 204 COOLSTDIO: option cool-write on bidirectional stdio... OK
test 205 TCP4ENDCLOSE: end-close keeps TCP V4 socket open... OK
test 206 EXECENDCLOSE: end-close keeps EXEC child running... OK
test 207 PTYENDCLOSE: PTY handles option end-close... OK
test 208 SHUTNULLEOF: options shut-null and null-eof... OK
test 209 UDP6LISTENBIND: UDP6-LISTEN with bind... OK
test 210 TCPWRAPPERS_MULTIOPTS: use of multiple tcpwrapper enabling options... libwrap not available
test 211 TCPWRAPPERS_TCP6ADDR: specification of TCP6 address in hosts.allow... libwrap not available
test 212 UDP4BROADCAST: UDP/IPv4 broadcast... OK
test 213 IP4BROADCAST: raw IPv4 broadcast... must be root
test 214 UDP4MULTICAST_UNIDIR: UDP/IPv4 multicast, send only... OK
test 215 IP4MULTICAST_UNIDIR: IPv4 multicast... must be root
test 216 UDP6MULTICAST_UNIDIR: UDP/IPv6 multicast... works only on Linux up to about 4.4
test 217 UDP4MULTICAST_BIDIR: UDP/IPv4 multicast, with reply... OK
test 218 IP4MULTICAST_BIDIR: IPv4 multicast, with reply... must be root
test 219 TUNREAD: reading data sent through tun interface... must be root
test 220 TUNINTERFACE: pass data through tun interface using INTERFACE... must be root
test 221 ABSTRACTSTREAM: abstract UNIX stream socket, listen and connect... OK
test 222 ABSTRACTDGRAM: abstract UNIX datagram... OK
test 223 ABSTRACTRECV: abstract UNIX datagram receive... OK
test 224 ABSTRACT_BIND: abstract bind... OK
test 225 OPENSSLREAD: socat handles data buffered by openssl... OK
test 226 READBYTES_EOF: trigger EOF after that many bytes, even when socket idle... OK
test 227 EXECPTYKILL: exec:...,pty explicitely kills sub process... OK
test 228 TCP4SERVICE: echo via connection to TCP V4 socket... OK
test 229 EXCEED_FOPEN_MAX: more than FOPEN_MAX FDs in use... OK
test 230 UDP4LISTEN_SIGCHLD: test if UDP4-LISTEN child becomes zombie... OK
test 231 UDP4RECVFROM_SIGCHLD: test if UDP4-RECVFROM child becomes zombie... OK
test 232 RAWIP4RECVBIND: raw IPv4 receive with bind... must be root
test 233 UDP4RECVFROM_FORK: test if UDP4-RECVFROM handles more than one packet... OK
test 234 EXECSPACES: correctly parse exec with consecutive spaces... OK
test 235 UDP4LISTENCONT: let range drop a packet and see if old socket is closed... OK
test 236 IGNOREEOFNOBLOCK: ignoreeof does not block other direction... OK
test 237 ESCAPE: escape character triggers EOF... OK
test 238 ESCAPE_IGNOREEOF: escape character triggers EOF... OK
test 239 UDP4SCM_IP_OPTIONS: UDP4 log ancillary message IP_OPTIONS options... OK
test 240 UDP4SCM_SCM_TIMESTAMP: UDP4 log ancillary message SCM_TIMESTAMP timestamp... OK
test 241 UDP4SCM_IP_TTL: UDP4 log ancillary message IP_TTL ttl... OK
test 242 UDP4SCM_IP_TOS: UDP4 log ancillary message IP_TOS tos... OK
test 243 UDP4SCM_IP_PKTINFO: UDP4 log ancillary message IP_PKTINFO locaddr... OK
test 244 UDP4SCM_IP_PKTINFO: UDP4 log ancillary message IP_PKTINFO dstaddr... OK
test 245 UDP4SCM_IP_PKTINFO: UDP4 log ancillary message IP_PKTINFO if... OK
test 246 UDP4SCM_IP_RECVIF: UDP4 log ancillary message IP_RECVIF if... option ip-recvif not available
test 247 UDP4SCM_IP_RECVDSTADDR: UDP4 log ancillary message IP_RECVDSTADDR dstaddr... option ip-recvdstaddr not available
test 248 IP4SCM_IP_OPTIONS: IP4 log ancillary message IP_OPTIONS options... must be root
test 249 IP4SCM_SCM_TIMESTAMP: IP4 log ancillary message SCM_TIMESTAMP timestamp... must be root
test 250 IP4SCM_IP_TTL: IP4 log ancillary message IP_TTL ttl... must be root
test 251 IP4SCM_IP_TOS: IP4 log ancillary message IP_TOS tos... must be root
test 252 IP4SCM_IP_PKTINFO: IP4 log ancillary message IP_PKTINFO locaddr... must be root
test 253 IP4SCM_IP_PKTINFO: IP4 log ancillary message IP_PKTINFO dstaddr... must be root
test 254 IP4SCM_IP_PKTINFO: IP4 log ancillary message IP_PKTINFO if... must be root
test 255 IP4SCM_IP_RECVIF: IP4 log ancillary message IP_RECVIF if... must be root
test 256 IP4SCM_IP_RECVDSTADDR: IP4 log ancillary message IP_RECVDSTADDR dstaddr... must be root
test 257 UDP6SCM_SCM_TIMESTAMP: UDP6 log ancillary message SCM_TIMESTAMP timestamp... OK
test 258 UDP6SCM_IPV6_PKTINFO: UDP6 log ancillary message IPV6_PKTINFO dstaddr... OK
test 259 UDP6SCM_IPV6_HOPLIMIT: UDP6 log ancillary message IPV6_HOPLIMIT hoplimit... OK
test 260 UDP6SCM_IPV6_TCLASS: UDP6 log ancillary message IPV6_TCLASS tclass... OK
test 261 IP6SCM_SCM_TIMESTAMP: IP6 log ancillary message SCM_TIMESTAMP timestamp... must be root
test 262 IP6SCM_IPV6_PKTINFO: IP6 log ancillary message IPV6_PKTINFO dstaddr... must be root
test 263 IP6SCM_IPV6_HOPLIMIT: IP6 log ancillary message IPV6_HOPLIMIT hoplimit... must be root
test 264 IP6SCM_IPV6_TCLASS: IP6 log ancillary message IPV6_TCLASS tclass... must be root
test 265 TCP4LISTENENV: TCP4-LISTEN sets environment variables with socket addresses... OK
test 266 TCP6LISTENENV: TCP6-LISTEN sets environment variables with socket addresses... OK
test 267 UDP6LISTENENV: UDP6-LISTEN sets environment variables with socket addresses... OK
test 268 SCTP4LISTENENV: SCTP4-LISTEN sets environment variables with socket addresses... SCTP4 not available
test 269 SCTP6LISTENENV: SCTP6-LISTEN sets environment variables with socket addresses... SCTP6 not available
test 270 UNIXLISTENENV: UNIX-LISTEN sets environment variables with socket addresses... OK
test 271 UDP4ENV_IP_OPTIONS: UDP4 ancillary message sets env SOCAT_IP_OPTIONS... OK
test 272 UDP4ENV_TIMESTAMP: UDP4 ancillary message sets env SOCAT_TIMESTAMP... OK
test 273 UDP4ENV_IP_TTL: UDP4 ancillary message sets env SOCAT_IP_TTL... OK
test 274 UDP4ENV_IP_TOS: UDP4 ancillary message sets env SOCAT_IP_TOS... OK
test 275 UDP4ENV_IP_LOCADDR: UDP4 ancillary message sets env SOCAT_IP_LOCADDR... OK
test 276 UDP4ENV_IP_DSTADDR: UDP4 ancillary message sets env SOCAT_IP_DSTADDR... OK
test 277 UDP4ENV_IP_IF: UDP4 ancillary message sets env SOCAT_IP_IF... OK
test 278 UDP4ENV_IP_IF: UDP4 ancillary message sets env SOCAT_IP_IF... ip-recvif not available
test 279 UDP4ENV_IP_DSTADDR: UDP4 ancillary message sets env SOCAT_IP_DSTADDR... ip-recvdstaddr not available
test 280 IP4ENV_IP_OPTIONS: IP4 ancillary message sets env SOCAT_IP_OPTIONS... must be root
test 281 IP4ENV_TIMESTAMP: IP4 ancillary message sets env SOCAT_TIMESTAMP... must be root
test 282 IP4ENV_IP_TTL: IP4 ancillary message sets env SOCAT_IP_TTL... must be root
test 283 IP4ENV_IP_TOS: IP4 ancillary message sets env SOCAT_IP_TOS... must be root
test 284 IP4ENV_IP_LOCADDR: IP4 ancillary message sets env SOCAT_IP_LOCADDR... must be root
test 285 IP4ENV_IP_DSTADDR: IP4 ancillary message sets env SOCAT_IP_DSTADDR... must be root
test 286 IP4ENV_IP_IF: IP4 ancillary message sets env SOCAT_IP_IF... must be root
test 287 IP4ENV_IP_IF: IP4 ancillary message sets env SOCAT_IP_IF... must be root
test 288 IP4ENV_IP_DSTADDR: IP4 ancillary message sets env SOCAT_IP_DSTADDR... must be root
test 289 UDP6ENV_IPV6_DSTADDR: UDP6 ancillary message sets env SOCAT_IPV6_DSTADDR... OK
test 290 UDP6ENV_IPV6_HOPLIMIT: UDP6 ancillary message sets env SOCAT_IPV6_HOPLIMIT... OK
test 291 UDP6ENV_IPV6_TCLASS: UDP6 ancillary message sets env SOCAT_IPV6_TCLASS... OK
test 292 IP6ENV_IPV6_DSTADDR: IP6 ancillary message sets env SOCAT_IPV6_DSTADDR... must be root
test 293 IP6ENV_IPV6_HOPLIMIT: IP6 ancillary message sets env SOCAT_IPV6_HOPLIMIT... must be root
test 294 IP6ENV_IPV6_TCLASS: IP6 ancillary message sets env SOCAT_IPV6_TCLASS... must be root
test 295 SOCKET_CONNECT_TCP4: socket connect with TCP/IPv4... OK
test 296 SOCKET_CONNECT_TCP6: socket connect with TCP/IPv6... OK
test 297 SOCKET_CONNECT_UNIX: socket connect with UNIX domain... OK
test 298 SOCKET_LISTEN: socket recvfrom with TCP/IPv4... OK
test 299 SOCKET_SENDTO: socket sendto with UDP/IPv4... OK
test 300 SOCKET_RECVFROM: socket recvfrom with UDP/IPv4... OK
test 301 SOCKET_RECV: socket recv with UDP/IPv4... OK
test 302 SOCKET_DATAGRAM: socket datagram via UDP/IPv4... OK
test 303 SOCKETRANGEMASK: security of generic socket-listen with RANGE option... OK
test 304 IOCTL_VOID: test the ioctl-void option... OK
test 305 SETSOCKOPT: test the setsockopt option... OK
test 306 SETSOCKOPT_LISTEN: test the setsockopt-listen option... OK
test 307 SCTP4STREAM: echo via connection to SCTP V4 socket... SCTP4 not available
test 308 SCTP6STREAM: echo via connection to SCTP V6 socket... SCTP6 not available
egrep: warning: egrep is obsolescent; using grep -E
test 309 OPENSSLRENEG1: OpenSSL connections survive renogotiation... fgrep: warning: fgrep is obsolescent; using grep -F
FAILED
 ./socat -t 0.1  OPENSSL-LISTEN:26119,reuseaddr,cert=testsrv.crt,key=testsrv.key,verify=0 PIPE &
openssl s_client -4 -tls1_2 -port 26119
1d0
< test309 Wed Jun 26 05:47:42 CST 2024 14435
test 310 OPENSSLRENEG2: OpenSSL connections do not block after renogotiation... fgrep: warning: fgrep is obsolescent; using grep -F
FAILED
 ./socat -t 0.1  OPENSSL-LISTEN:26120,reuseaddr,cert=testsrv.crt,key=testsrv.key,verify=0 SYSTEM:"sleep 1; echo \\\"\"test310 Wed Jun 26 05:47:44 CST 2024 28783\"\\\"; sleep 1"!!STDIO &
openssl s_client -4 -tls1_2 -port 26120
sh: line 1: echo: write error: Broken pipe
1d0
< test310 Wed Jun 26 05:47:44 CST 2024 28783
test 311 HOSTNAMEOVFL: stack overflow on overly long host name... OK
test 312 FILENAMEOVFL: stack overflow on overly long file name... OK
test 313 NESTEDOVFL: stack overflow on overly long nested arg... OK
test 314 GOPEN_UNIX_CRASH: check crash when connecting to a unix domain socket using address GOPEN... OK
test 315 UNIXLISTEN_KEEPFILE: socat keeps an existing file where it wanted to create a UNIX socket... OK
test 316 PTY_VOIDARG: check if address params of PTY produce error... OK
test 317 INCOMPLETE_WRITE: check if incomplete writes are handled properly... OK
test 318 OPENSSL_ANULL: OpenSSL server with cipher aNULL ... FAILED
test 319 TCP4MAXCHILDREN: max-children option... OK
test 320 TCP6MAXCHILDREN: max-children option... OK
test 321 SCTP4MAXCHILDREN: max-children option... SCTP4 not available
test 322 SCTP6MAXCHILDREN: max-children option... SCTP6 not available
test 323 UNIXMAXCHILDREN: max-children option... OK
test 324 UDP4MAXCHILDREN: max-children option... OK
test 325 UDP6MAXCHILDREN: max-children option... OK
test 326 READLINE_OVFL: test for buffer overflow in readline prompt handling... OK
test 327 FDLEAK: file descriptor leak with range option... OK
test 328 LISTEN_KEEPALIVE: keepalive option is applied to connection socket... OK
test 329 OPENSSL_CONNECT_BIND: test OPENSSL-CONNECT with bind option... OK
test 330 TCP4RANGE_0BITS: correct evaluation of range mask 0... OK
test 331 ENV_OPENSSL_SERVER_X509_ISSUER: OPENSSL sets env SOCAT_OPENSSL_X509_ISSUER... OK
test 332 ENV_OPENSSL_SERVER_X509_SUBJECT: OPENSSL sets env SOCAT_OPENSSL_X509_SUBJECT... OK
test 333 ENV_OPENSSL_SERVER_X509_COMMONNAME: OPENSSL sets env SOCAT_OPENSSL_X509_COMMONNAME... OK
test 334 ENV_OPENSSL_SERVER_X509_COUNTRYNAME: OPENSSL sets env SOCAT_OPENSSL_X509_COUNTRYNAME... OK
test 335 ENV_OPENSSL_SERVER_X509_LOCALITYNAME: OPENSSL sets env SOCAT_OPENSSL_X509_LOCALITYNAME... OK
test 336 ENV_OPENSSL_SERVER_X509_ORGANIZATIONALUNITNAME: OPENSSL sets env SOCAT_OPENSSL_X509_ORGANIZATIONALUNITNAME... OK
test 337 ENV_OPENSSL_SERVER_X509_ORGANIZATIONNAME: OPENSSL sets env SOCAT_OPENSSL_X509_ORGANIZATIONNAME... OK
test 338 ENV_OPENSSL_CLIENT_X509_SUBJECT: OPENSSL sets env SOCAT_OPENSSL_X509_SUBJECT... OK
test 339 ENV_OPENSSL_CLIENT_X509_ISSUER: OPENSSL sets env SOCAT_OPENSSL_X509_ISSUER... OK
test 340 CREATE_UMASK: CREATE applies option umask... OK
test 341 OPEN_UMASK: OPEN applies option umask... OK
test 342 GOPEN_UMASK: GOPEN applies option umask... OK
test 343 UNIX_LISTEN_UMASK: UNIX-LISTEN applies option umask... OK
test 344 UNIX_RECVFROM_UMASK: UNIX-RECVFROM applies option umask... OK
test 345 UNIX_RECV_UMASK: UNIX-RECV applies option umask... OK
test 346 PIPE_UMASK: PIPE applies option umask... OK
test 347 CREATE_PERM: CREATE applies option perm... OK
test 348 OPEN_PERM: OPEN applies option perm... OK
test 349 GOPEN_PERM: GOPEN applies option perm... OK
test 350 UNIX_LISTEN_PERM: UNIX-LISTEN applies option perm... OK
test 351 UNIX_RECVFROM_PERM: UNIX-RECVFROM applies option perm... OK
test 352 UNIX_RECV_PERM: UNIX-RECV applies option perm... OK
test 353 PIPE_PERM: PIPE applies option perm... OK
test 354 PTY_PERM: PTY applies option perm... OK
test 355 CREATE_USER: CREATE applies option user... must be root
test 356 OPEN_USER: OPEN applies option user... must be root
test 357 GOPEN_USER: GOPEN applies option user... must be root
test 358 UNIX_LISTEN_USER: UNIX-LISTEN applies option user... must be root
test 359 UNIX_RECVFROM_USER: UNIX-RECVFROM applies option user... must be root
test 360 UNIX_RECV_USER: UNIX-RECV applies option user... must be root
test 361 PIPE_USER: PIPE applies option user... must be root
test 362 PTY_USER: PTY applies option user... must be root
test 363 UNIX_LISTEN_REMOVE: UNIX-LISTEN removes socket entry when terminated while waiting for connection... OK
test 364 UNIX_RECVFROM_REMOVE: UNIX-RECVFROM removes socket entry when terminated while waiting for connection... OK
test 365 UNIX_RECV_REMOVE: UNIX-RECV removes socket entry when terminated while waiting for connection... OK
test 366 PIPE_REMOVE: PIPE removes socket entry when terminated while waiting for connection... OK
test 367 PTY_REMOVE: PTY removes socket entry when terminated while waiting for connection... OK
test 368 UNIX_LISTEN_REMOVE_FORK: UNIX-LISTEN with fork removes socket entry when terminated during accept... OK
test 369 UNIX_RECVFROM_REMOVE_FORK: UNIX-RECVFROM with fork removes socket entry when terminated during accept... OK
test 370 SYSTEM_SHUTDOWN: SYSTEM address does not shutdown its parents addresses... OK
test 371 TCP4_NOPORT: test if TCP4-LISTEN with empty port arg bails out... OK
test 372 OPENSSL_METHOD_SSL3: test OpenSSL method SSL3... Option openssl-method not available
test 373 OPENSSL_METHOD_SSL23: test OpenSSL method SSL23... Option openssl-method not available
test 374 OPENSSL_METHOD_TLS1: test OpenSSL method TLS1... Option openssl-method not available
test 375 OPENSSL_METHOD_TLS1.1: test OpenSSL method TLS1.1... Option openssl-method not available
test 376 OPENSSL_METHOD_TLS1.2: test OpenSSL method TLS1.2... Option openssl-method not available
test 377 OPENSSL_METHOD_DTLS1: test OpenSSL method DTLS1... Option openssl-method not available
test 378 OPENSSL_METHOD_DTLS1.2: test OpenSSL method DTLS1.2... Option openssl-method not available
test 379 OPENSSL_MIN_VERSION: security of OpenSSL server with openssl-min-proto-version... OK
test 380 FDOUT_ERROR: fdout bails out in write-only context... OK
test 381 SYSTEM_RC: promote failure of SYSTEM... OK
test 382 EXEC_RC: promote failure of EXEC... OK
test 383 SO_REUSEADDR: test the so-reuseaddr option... OK
test 384 SO_REUSEPORT: test the so-reuseport option... OK
test 385 EXEC_NOFORK_UNIDIR: Programs invoked with EXEC, nofork, and -u or -U had stdin and stdout assignment swapped... OK
test 386 OPENSSL_ECDHE: test OpenSSL ECDHE... OK
test 387 USE_IPV6_JOIN_GROUP: is option ipv6-join-group used... OK
test 388 DIAG_FDIN: test use of fdin=3... OK
test 389 SOCAT_OPT_HINT: check if merging single character options is rejected... OK
test 390 TERMIOS_PH_ALL: are termios options applied to the correct address... OK
test 391 IP_SENDTO_6: IP-SENDTO::6 passes getaddrinfo()... OK
test 392 MULTIPLE_EOF: multiple EOF messages... OK
test 393 BLKSIZE_INT_OVERFL: integer overflow with buffer size parameter... OK
test 394 UNBALANCED_QUOTE: Test fix of unbalanced quoting... OK
test 395 SCTP_SERVICENAME: Service name resolution works with SCTP... SCTP4 not available
test 396 O_DIRECT: echo via file with o-direct... OK
test 397 UNIX_SENDTO_UNLINK: Option unlink-close with UNIX sendto socket... OK
test 398 UNIX_CONNECT_UNLINK: Option unlink-close with UNIX connect socket... OK
test 399 OPENSSL_DTLS_CLIENT: OpenSSL DTLS client... FAILED:  ./socat:
 openssl s_server -4 -dtls -accept 26184 -quiet   -cert testsrv.pem &
 ./socat -t 0.1  -T 3 - OPENSSL-DTLS-CLIENT:localhost:26184,pf=ip4,verify=0,
1d0
< test399 Wed Jun 26 05:49:14 CST 2024 16751
test 400 OPENSSL_DTLS_SERVER: OpenSSL DTLS server... FAILED
 ./socat -t 0.1  OPENSSL-DTLS-SERVER:26185,reuseaddr,cert=testsrv.crt,key=testsrv.key,verify=0 PIPE &
openssl s_client -4 -host localhost -port 26185 -dtls
Can't use SSL_get_servername
depth=0 C = XY, CN = localhost, O = dest-unreach, OU = socat, L = Lunar Base
verify error:num=18:self-signed certificate
verify return:1
depth=0 C = XY, CN = localhost, O = dest-unreach, OU = socat, L = Lunar Base
verify return:1
DONE
1d0
< test400 Wed Jun 26 05:49:16 CST 2024 15864
test 401 OPENSSL_SERVERALTAUTH: OpenSSL server authentication with SubjectAltName (hostname)... OK
test 402 OPENSSL_SERVERALTIP4AUTH: OpenSSL server authentication with SubjectAltName (IPv4 address)... OK
test 403 OPENSSL_SERVERALTIP6AUTH: OpenSSL server authentication with SubjectAltName (IPv6 address)... OK
test 404 OPTION_RAW_DUMP: raw dump of transferred data... OK
test 405 OPENSSL_SNI: Test the OpenSSL SNI feature... use test.sh option -foreign
test 406 OPENSSL_NO_SNI: Test the openssl-no-sni option... use test.sh option -foreign
test 407 ACCEPTTIMEOUT: test the accept-timeout option... OK
test 408 UDP_DATAGRAM_PEERPORT: test UDP-DATAGRAM ignoring peerport... OK
test 409 PROXYAUTHFILE: proxy-authorization-file option... OK
test 410 VSOCK_ECHO: test communication via VSOCK loopback socket... OK
test 411 OPENSSL_STREAM_TO_SERVER: OpenSSL stream from client to server... OK
test 412 OPENSSL_STREAM_TO_CLIENT: OpenSSL stream from server to client... OK
test 413 OPENSSL_DTLS_TO_SERVER: OpenSSL DTLS transfer from client to server... OK
test 414 OPENSSL_DTLS_TO_CLIENT: OpenSSL DTLS transfer from server to client... OK
test 415 OPENSSL_PARA_OVERLAP: test diverse of socket,openssl params... OK
test 416 OPENSSL_CLIENT_IP6_CN: Test if OpenSSL server may be crashed by client cert with IPv6 address... OK
test 417 BAD_SERVICE: test if unknown service specs are handled properly... OK
test 418 ABSTRACT_USER: Is the fs related user option on ABSTRACT socket applied to FD... OK
test 419 SNIFF_RIGHT_TO_LEFT: test if option -R does not sniff left-to-right traffic... OK
test 420 CONNECT_TO_MISSING: Failure handling on connect access to missing... OK
test 421 CONNECT_TO_DENIED: Failure handling on connect access to denied... OK
test 422 CONNECT_TO_DIRECTORY: Failure handling on connect access to directory... OK
test 423 CONNECT_TO_ORPHANED: Failure handling on connect access to orphaned... OK
test 424 CONNECT_TO_FILE: Failure handling on connect access to file... OK
test 425 CONNECT_TO_DGRAM: Failure handling on connect access to dgram... OK
test 426 CONNECT_TO_SEQPACKET: Failure handling on connect access to seqpacket... OK
test 427 SEND_TO_MISSING: Failure handling on send access to missing... OK
test 428 SEND_TO_DENIED: Failure handling on send access to denied... OK
test 429 SEND_TO_DIRECTORY: Failure handling on send access to directory... OK
test 430 SEND_TO_ORPHANED: Failure handling on send access to orphaned... OK
test 431 SEND_TO_FILE: Failure handling on send access to file... OK
test 432 SEND_TO_STREAM: Failure handling on send access to stream... OK
test 433 SEND_TO_SEQPACKET: Failure handling on send access to seqpacket... OK
test 434 SENDTO_TO_MISSING: Failure handling on sendto access to missing... OK
test 435 SENDTO_TO_DENIED: Failure handling on sendto access to denied... OK
test 436 SENDTO_TO_DIRECTORY: Failure handling on sendto access to directory... OK
test 437 SENDTO_TO_ORPHANED: Failure handling on sendto access to orphaned... OK
test 438 SENDTO_TO_FILE: Failure handling on sendto access to file... OK
test 439 SENDTO_TO_STREAM: Failure handling on sendto access to stream... OK
test 440 SENDTO_TO_SEQPACKET: Failure handling on sendto access to seqpacket... OK
test 441 SEQPACKET_TO_MISSING: Failure handling on seqpacket access to missing... OK
test 442 SEQPACKET_TO_DENIED: Failure handling on seqpacket access to denied... OK
test 443 SEQPACKET_TO_DIRECTORY: Failure handling on seqpacket access to directory... OK
test 444 SEQPACKET_TO_ORPHANED: Failure handling on seqpacket access to orphaned... OK
test 445 SEQPACKET_TO_FILE: Failure handling on seqpacket access to file... OK
test 446 SEQPACKET_TO_STREAM: Failure handling on seqpacket access to stream... OK
test 447 SEQPACKET_TO_DGRAM: Failure handling on seqpacket access to dgram... OK
test 448 UNIX_TO_MISSING: Failure handling on unix access to missing... OK
test 449 UNIX_TO_DENIED: Failure handling on unix access to denied... OK
test 450 UNIX_TO_DIRECTORY: Failure handling on unix access to directory... OK
test 451 UNIX_TO_FILE: Failure handling on unix access to file... OK
test 452 UNIX_TO_ORPHANED: Failure handling on unix access to orphaned... OK
test 453 GOPEN_TO_DENIED: Failure handling on gopen access to denied... OK
test 454 GOPEN_TO_DIRECTORY: Failure handling on gopen access to directory... OK
test 455 GOPEN_TO_ORPHANED: Failure handling on gopen access to orphaned... OK
test 456 TCP_TIMEOUT_RETRY: TCP with options connect-timeout and retry... OK
test 457 RAWER: Test if the rawer option fails... OK
test 458 UDP_LOWPORT: UDP4-SEND with lowport... OK
test 459 MISSING_INTEGER: Error on option that's missing integer value... OK
test 460 INTEGER_GARBAGE: Error on trailing garbabe... OK
test 461 FILANSYMLINK: capability to display symlink target... OK
Used temp directory /tmp/mockbuild/2065959 - you might want to remove it after analysis
Summary: 462 tests, 459 selected; 362 ok, 6 failed, 91 could not be performed
CANT:  24 25 26 27 79 111 112 116 120 124 128 134 137 155 156 166 169 173 174 179 183 187 191 192 193 194 195 196 197 198 199 210 211 213 215 216 218 219 220 232 246 247 248 249 250 251 252 253 254 255 256 261 262 263 264 278 279 280 281 282 283 284 285 286 287 288 292 293 294 307 307 308 321 322 355 356 357 358 359 360 361 362 372 373 374 375 376 377 378 395 405 406
FAILED:  59 146 309 310 399 400
make: *** [Makefile:187: test] Error 1
+ :
+ RPM_EC=0
++ jobs -p
Processing files: socat-1.7.4.4-2.ocs23.loongarch64
+ exit 0
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5AxCYS
+ umask 022
+ cd /builddir/build/BUILD
+ cd socat-1.7.4.4
+ DOCDIR=/builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/doc/socat
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/doc/socat
+ cp -pr BUGREPORTS /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/doc/socat
+ cp -pr CHANGES /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/doc/socat
+ cp -pr DEVELOPMENT /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/doc/socat
+ cp -pr EXAMPLES /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/doc/socat
+ cp -pr FAQ /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/doc/socat
+ cp -pr PORTING /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/doc/socat
+ cp -pr README /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/doc/socat
+ cp -pr SECURITY /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/doc/socat
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mjHhnY
+ umask 022
+ cd /builddir/build/BUILD
+ cd socat-1.7.4.4
+ LICENSEDIR=/builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/licenses/socat
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/licenses/socat
+ cp -pr COPYING COPYING.OpenSSL /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64/usr/share/licenses/socat
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: socat = 1.7.4.4-2.ocs23 socat(loongarch-64) = 1.7.4.4-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libreadline.so.8()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH)
Processing files: socat-debugsource-1.7.4.4-2.ocs23.loongarch64
Provides: socat-debugsource = 1.7.4.4-2.ocs23 socat-debugsource(loongarch-64) = 1.7.4.4-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: socat-debuginfo-1.7.4.4-2.ocs23.loongarch64
Provides: debuginfo(build-id) = 39aa4c855fc05b86ba7f6e82b9f4fb39fd053526 debuginfo(build-id) = 53baaac4781e1341f271cc15c214727f351112b7 debuginfo(build-id) = d17b543fa2ef475c21bb1a75e52191c5c9c09efb socat-debuginfo = 1.7.4.4-2.ocs23 socat-debuginfo(loongarch-64) = 1.7.4.4-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: socat-debugsource(loongarch-64) = 1.7.4.4-2.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/socat-1.7.4.4-2.ocs23.loongarch64
Wrote: /builddir/build/RPMS/socat-debugsource-1.7.4.4-2.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/socat-1.7.4.4-2.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/socat-debuginfo-1.7.4.4-2.ocs23.loongarch64.rpm
Child return code was: 0