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/cdparanoia.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-187370-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=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/cdparanoia.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/cdparanoia-10.2-4.ocs23.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cdparanoia.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-187370-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=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/cdparanoia.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6GGLUc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cdparanoia-III-10.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cdparanoia-III-10.2.src.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd cdparanoia-III-10.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3000 (cdparanoia-10.2-#463009.patch):' Patch #3000 (cdparanoia-10.2-#463009.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p3 --fuzz=0 (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/test_interface.c (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/cdda_interface.h (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/interface.c (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/scsi_interface.c Hunk #39 succeeded at 1626 (offset 4 lines). Hunk #40 succeeded at 1674 (offset 4 lines). Hunk #41 succeeded at 1743 (offset 17 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/cooked_interface.c (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/scan_devices.c + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cdparanoia-10.2-endian.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cdparanoia-10.2-install.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cdparanoia-10.2-format-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cdparanoia-use-proper-gnu-config-files.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cdparanoia-10.2-ldflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cdparanoia-10.2-add-pkgconfig.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /usr/lib/rpm/OpenCloudOS/config.guess /usr/lib/rpm/OpenCloudOS/config.sub . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nok8ql + 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 cdparanoia-III-10.2 + autoreconf -ifv autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.in:29: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:29: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:29: the top level configure.in:70: warning: AC_OUTPUT should be used without arguments. configure.in:70: You should run autoupdate. autoreconf: configure.in: not using Autoheader autoreconf: configure.in: not using Automake autoreconf: Leaving directory '.' + '[' '-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 + mv ./configure.backup ./configure + /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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './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 --includedir=/usr/include/cdda configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for ar... ar checking for install... install checking for stdio.h... no checking for stdlib.h... no checking for string.h... no checking for inttypes.h... no checking for stdint.h... no checking for strings.h... no checking for sys/stat.h... no checking for sys/types.h... no checking for unistd.h... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking for int16_t... no checking for int32_t... no checking for linux/sbpcd.h... no checking for linux/ucdrom.h... no checking whether make sets $(MAKE)... yes checking for an ANSI C-conforming const... no configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating interface/Makefile config.status: creating paranoia/Makefile config.status: creating cdparanoia-3.pc configure: WARNING: unrecognized options: --disable-dependency-tracking + make 'OPT=-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 -Wno-pointer-sign -Wno-unused' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' cd interface && make all make[1]: Entering directory '/builddir/build/BUILD/cdparanoia-III-10.2/interface' make libcdda_interface.a 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 -Wno-pointer-sign -Wno-unused" make[2]: Entering directory '/builddir/build/BUILD/cdparanoia-III-10.2/interface' 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 -Wno-pointer-sign -Wno-unused -c scan_devices.c In file included from scan_devices.c:23: utils.h: In function 'idmessage': utils.h:200:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 200 | write(STDERR_FILENO,buffer,strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:201:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 201 | if(!malloced)write(STDERR_FILENO,"\n",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h: In function 'idperror': utils.h:155:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 155 | write(STDERR_FILENO,buffer,strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:157:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | write(STDERR_FILENO,": ",2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:158:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | write(STDERR_FILENO,strerror(errno),strlen(strerror(errno))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:159:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | write(STDERR_FILENO,"\n",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ scan_devices.c: In function 'cdda_identify_scsi': scan_devices.c:671:16: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] 671 | d->drive_type=type; | ~~~~~~~~~~~~~^~~~~ scan_devices.c:507:7: note: 'type' was declared here 507 | int type; | ^~~~ 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 -Wno-pointer-sign -Wno-unused -c common_interface.c common_interface.c: In function 'atapi_drive_info': common_interface.c:42:17: warning: the comparison will always evaluate as 'false' for the address of 'model' will never be NULL [-Waddress] 42 | if(id->model==0 || id->model[0]==0) | ^~ In file included from common_interface.c:16: /usr/include/linux/hdreg.h:404:25: note: 'model' declared here 404 | unsigned char model[40]; /* 0 = not_specified */ | ^~~~~ In file included from common_interface.c:13: utils.h: In function 'cdmessage': utils.h:124:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -c cooked_interface.c In file included from cooked_interface.c:11: utils.h: In function 'cderror': utils.h:108:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h: In function 'cdmessage': utils.h:124:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -c interface.c In file included from interface.c:14: utils.h: In function 'cderror': utils.h:108:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -c scsi_interface.c scsi_interface.c: In function 'sg2_handle_scsi_cmd': scsi_interface.c:196:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 196 | memset(sg_hd,0,sizeof(sg_hd)); | ^ scsi_interface.c: In function 'sgio_handle_scsi_cmd': scsi_interface.c:349:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 349 | memset(sense,0,sizeof(sense)); | ^ scsi_interface.c:378:7: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] 378 | if (!in_size | out_size) { | ^~~~~~~~ scsi_interface.c: In function 'clear_garbage': scsi_interface.c:114:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | read(d->cdda_fd, sg_hd, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scsi_interface.c:13: utils.h: In function 'cdmessage': utils.h:124:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h: In function 'cderror': utils.h:108:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -c smallft.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 -Wno-pointer-sign -Wno-unused -c toc.c In file included from toc.c:11: utils.h: In function 'cderror': utils.h:108:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -c test_interface.c ar -r libcdda_interface.a scan_devices.o common_interface.o cooked_interface.o interface.o scsi_interface.o smallft.o toc.o test_interface.o ar: creating libcdda_interface.a ranlib libcdda_interface.a make[2]: Leaving directory '/builddir/build/BUILD/cdparanoia-III-10.2/interface' make lessmessy make[2]: Entering directory '/builddir/build/BUILD/cdparanoia-III-10.2/interface' rm -f *.o core *~ *.out make[2]: Leaving directory '/builddir/build/BUILD/cdparanoia-III-10.2/interface' make libcdda_interface.so 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 -Wno-pointer-sign -Wno-unused -fpic" make[2]: Entering directory '/builddir/build/BUILD/cdparanoia-III-10.2/interface' 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 -Wno-pointer-sign -Wno-unused -fpic -c scan_devices.c In file included from scan_devices.c:23: utils.h: In function 'idmessage': utils.h:200:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 200 | write(STDERR_FILENO,buffer,strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:201:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 201 | if(!malloced)write(STDERR_FILENO,"\n",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h: In function 'idperror': utils.h:155:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 155 | write(STDERR_FILENO,buffer,strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:157:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | write(STDERR_FILENO,": ",2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:158:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | write(STDERR_FILENO,strerror(errno),strlen(strerror(errno))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:159:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | write(STDERR_FILENO,"\n",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ scan_devices.c: In function 'cdda_identify_scsi': scan_devices.c:671:16: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] 671 | d->drive_type=type; | ~~~~~~~~~~~~~^~~~~ scan_devices.c:507:7: note: 'type' was declared here 507 | int type; | ^~~~ 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 -Wno-pointer-sign -Wno-unused -fpic -c common_interface.c common_interface.c: In function 'atapi_drive_info': common_interface.c:42:17: warning: the comparison will always evaluate as 'false' for the address of 'model' will never be NULL [-Waddress] 42 | if(id->model==0 || id->model[0]==0) | ^~ In file included from common_interface.c:16: /usr/include/linux/hdreg.h:404:25: note: 'model' declared here 404 | unsigned char model[40]; /* 0 = not_specified */ | ^~~~~ In file included from common_interface.c:13: utils.h: In function 'cdmessage': utils.h:124:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -fpic -c cooked_interface.c In file included from cooked_interface.c:11: utils.h: In function 'cderror': utils.h:108:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h: In function 'cdmessage': utils.h:124:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -fpic -c interface.c In file included from interface.c:14: utils.h: In function 'cderror': utils.h:108:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -fpic -c scsi_interface.c scsi_interface.c: In function 'sg2_handle_scsi_cmd': scsi_interface.c:196:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 196 | memset(sg_hd,0,sizeof(sg_hd)); | ^ scsi_interface.c: In function 'sgio_handle_scsi_cmd': scsi_interface.c:349:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 349 | memset(sense,0,sizeof(sense)); | ^ scsi_interface.c:378:7: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] 378 | if (!in_size | out_size) { | ^~~~~~~~ scsi_interface.c: In function 'clear_garbage': scsi_interface.c:114:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | read(d->cdda_fd, sg_hd, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scsi_interface.c:13: utils.h: In function 'cdmessage': utils.h:124:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h: In function 'cderror': utils.h:108:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -fpic -c smallft.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 -Wno-pointer-sign -Wno-unused -fpic -c toc.c In file included from toc.c:11: utils.h: In function 'cderror': utils.h:108:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | write(STDERR_FILENO,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -fpic -c test_interface.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -fpic -shared -o libcdda_interface.so.0.10.2 -Wl,-soname -Wl,libcdda_interface.so.0 scan_devices.o common_interface.o cooked_interface.o interface.o scsi_interface.o smallft.o toc.o test_interface.o -lm -lrt [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so.0.10.2 libcdda_interface.so.0 [ -e libcdda_interface.so ] || ln -s libcdda_interface.so.0.10.2 libcdda_interface.so make[2]: Leaving directory '/builddir/build/BUILD/cdparanoia-III-10.2/interface' [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so libcdda_interface.so.0 make[1]: Leaving directory '/builddir/build/BUILD/cdparanoia-III-10.2/interface' cd paranoia && make all make[1]: Entering directory '/builddir/build/BUILD/cdparanoia-III-10.2/paranoia' make libcdda_paranoia.a 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 -Wno-pointer-sign -Wno-unused" make[2]: Entering directory '/builddir/build/BUILD/cdparanoia-III-10.2/paranoia' 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 -Wno-pointer-sign -Wno-unused -c paranoia.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 -Wno-pointer-sign -Wno-unused -c p_block.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 -Wno-pointer-sign -Wno-unused -c overlap.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 -Wno-pointer-sign -Wno-unused -c gap.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 -Wno-pointer-sign -Wno-unused -c isort.c ar -r libcdda_paranoia.a paranoia.o p_block.o overlap.o gap.o isort.o ar: creating libcdda_paranoia.a ranlib libcdda_paranoia.a make[2]: Leaving directory '/builddir/build/BUILD/cdparanoia-III-10.2/paranoia' make lessmessy make[2]: Entering directory '/builddir/build/BUILD/cdparanoia-III-10.2/paranoia' rm -f *.o *.t core *~ make[2]: Leaving directory '/builddir/build/BUILD/cdparanoia-III-10.2/paranoia' make libcdda_paranoia.so 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 -Wno-pointer-sign -Wno-unused -fpic" make[2]: Entering directory '/builddir/build/BUILD/cdparanoia-III-10.2/paranoia' 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 -Wno-pointer-sign -Wno-unused -fpic -c paranoia.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 -Wno-pointer-sign -Wno-unused -fpic -c p_block.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 -Wno-pointer-sign -Wno-unused -fpic -c overlap.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 -Wno-pointer-sign -Wno-unused -fpic -c gap.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 -Wno-pointer-sign -Wno-unused -fpic -c isort.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -fpic -shared -o libcdda_paranoia.so.0.10.2 -Wl,-soname -Wl,libcdda_paranoia.so.0 paranoia.o p_block.o overlap.o gap.o isort.o -L ../interface -lcdda_interface [ -e libcdda_paranoia.so.0 ] || ln -s libcdda_paranoia.so.0.10.2 libcdda_paranoia.so.0 [ -e libcdda_paranoia.so ] || ln -s libcdda_paranoia.so.0.10.2 libcdda_paranoia.so make[2]: Leaving directory '/builddir/build/BUILD/cdparanoia-III-10.2/paranoia' make[1]: Leaving directory '/builddir/build/BUILD/cdparanoia-III-10.2/paranoia' make cdparanoia 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 -Wno-pointer-sign -Wno-unused" make[1]: Entering directory '/builddir/build/BUILD/cdparanoia-III-10.2' 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 -Wno-pointer-sign -Wno-unused -c main.c main.c: In function 'main': main.c:1413:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1413 | if(err)free(err);if(mes)free(mes); | ^~ main.c:1413:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1413 | if(err)free(err);if(mes)free(mes); | ^~ main.c:1197:7: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1197 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ main.c:1198:7: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 1198 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -c report.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 -Wno-pointer-sign -Wno-unused -c header.c header.c: In function 'WriteWav': header.c:39:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | write(f,"RIFF",4); /* 0-3 */ | ^~~~~~~~~~~~~~~~~ header.c:41:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | write(f,"WAVEfmt ",8); /* 8-15 */ | ^~~~~~~~~~~~~~~~~~~~~ header.c:49:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | write(f,"data",4); /* 36-39 */ | ^~~~~~~~~~~~~~~~~ header.c: In function 'WriteAiff': header.c:59:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | write(f,"FORM",4); /* 4 */ | ^~~~~~~~~~~~~~~~~ header.c:61:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(f,"AIFF",4); /* 12 */ | ^~~~~~~~~~~~~~~~~ header.c:63:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | write(f,"COMM",4); /* 16 */ | ^~~~~~~~~~~~~~~~~ header.c:68:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | write(f,"@\016\254D\0\0\0\0\0\0",10); /* 38 (44.100 as a float) */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ header.c:70:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | write(f,"SSND",4); /* 42 */ | ^~~~~~~~~~~~~~~~~ header.c: In function 'WriteAifc': header.c:83:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | write(f,"FORM",4); /* 4 */ | ^~~~~~~~~~~~~~~~~ header.c:85:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | write(f,"AIFC",4); /* 12 */ | ^~~~~~~~~~~~~~~~~ header.c:86:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | write(f,"FVER",4); /* 16 */ | ^~~~~~~~~~~~~~~~~ header.c:90:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | write(f,"COMM",4); /* 28 */ | ^~~~~~~~~~~~~~~~~ header.c:95:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | write(f,"@\016\254D\0\0\0\0\0\0",10); /* 50 (44.100 as a float) */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ header.c:97:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | write(f,"NONE",4); /* 54 */ | ^~~~~~~~~~~~~~~~~ header.c:99:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | write(f,"not compressed",14); /* 69 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ header.c:102:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | write(f,"SSND",4); /* 74 */ | ^~~~~~~~~~~~~~~~~ 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 -Wno-pointer-sign -Wno-unused -c buffering_write.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 -Wno-pointer-sign -Wno-unused -c cachetest.c cachetest.c: In function 'analyze_cache': cachetest.c:601:9: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 601 | if(ret<=0){ | ^ cachetest.c:563:19: note: 'ret' was declared here 563 | int sofar=0,ret=0,retry=0; | ^~~ 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 -Wno-pointer-sign -Wno-unused -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 main.o report.o header.o buffering_write.o cachetest.o \ -L/builddir/build/BUILD/cdparanoia-III-10.2/paranoia -L/builddir/build/BUILD/cdparanoia-III-10.2/interface \ -o cdparanoia -lcdda_interface -lcdda_paranoia -lm -lrt make[1]: Leaving directory '/builddir/build/BUILD/cdparanoia-III-10.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZF3mar + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64 + cd cdparanoia-III-10.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/bin /usr/bin/install -p -m 755 ./cdparanoia /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/bin /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/share/man /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/share/man/man1 /usr/bin/install -p -m 0644 ./cdparanoia.1 /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/share/man/man1 /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/include/cdda /usr/bin/install -p -m 0644 ./paranoia/cdda_paranoia.h /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/include/cdda /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64 /usr/bin/install -p -m 0755 ./paranoia/libcdda_paranoia.so.0.10.2 /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64 /usr/bin/install -p -m 0644 ./paranoia/libcdda_paranoia.a /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64 /usr/bin/install -p -m 0644 ./interface/cdda_interface.h /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/include/cdda /usr/bin/install -p -m 0755 ./interface/libcdda_interface.so.0.10.2 /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64 /usr/bin/install -p -m 0644 ./interface/libcdda_interface.a /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64 /usr/bin/install -p -m 0644 ./utils.h /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/include/cdda ln -fs libcdda_interface.so.0.10.2 \ /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64/libcdda_interface.so.0 ln -fs libcdda_interface.so.0.10.2 \ /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64/libcdda_interface.so ln -fs libcdda_paranoia.so.0.10.2 \ /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64/libcdda_paranoia.so.0 ln -fs libcdda_paranoia.so.0.10.2 \ /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64/libcdda_paranoia.so /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64/pkgconfig /usr/bin/install -p -m 0644 ./cdparanoia-3.pc /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64/pkgconfig + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 10.2-4.ocs23 --unique-debug-suffix -10.2-4.ocs23.loongarch64 --unique-debug-src-base cdparanoia-10.2-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/cdparanoia-III-10.2 extracting debug info from /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/bin/cdparanoia extracting debug info from /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64/libcdda_paranoia.so.0.10.2 extracting debug info from /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/lib64/libcdda_interface.so.0.10.2 677 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 Processing files: cdparanoia-10.2-4.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zpHc6J + umask 022 + cd /builddir/build/BUILD + cd cdparanoia-III-10.2 + DOCDIR=/builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/share/doc/cdparanoia + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/share/doc/cdparanoia + cp -pr README /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/share/doc/cdparanoia + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.v1Nocl + umask 022 + cd /builddir/build/BUILD + cd cdparanoia-III-10.2 + LICENSEDIR=/builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/share/licenses/cdparanoia + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/share/licenses/cdparanoia + cp -pr COPYING-GPL COPYING-LGPL /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64/usr/share/licenses/cdparanoia + RPM_EC=0 ++ jobs -p + exit 0 Provides: cdparanoia = 10.2-4.ocs23 cdparanoia(loongarch-64) = 10.2-4.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) libcdda_interface.so.0()(64bit) libcdda_paranoia.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: cdparanoia-static-10.2-4.ocs23.loongarch64 Provides: cdparanoia-static = 10.2-4.ocs23 cdparanoia-static(loongarch-64) = 10.2-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cdparanoia-libs-10.2-4.ocs23.loongarch64 Provides: cdparanoia-libs = 10.2-4.ocs23 cdparanoia-libs(loongarch-64) = 10.2-4.ocs23 libcdda_interface.so.0()(64bit) libcdda_paranoia.so.0()(64bit) 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) libcdda_interface.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: cdparanoia-devel-10.2-4.ocs23.loongarch64 Provides: cdparanoia-devel = 10.2-4.ocs23 cdparanoia-devel(loongarch-64) = 10.2-4.ocs23 pkgconfig(cdparanoia-3) = 10.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libcdda_interface.so.0()(64bit) libcdda_paranoia.so.0()(64bit) Processing files: cdparanoia-debugsource-10.2-4.ocs23.loongarch64 Provides: cdparanoia-debugsource = 10.2-4.ocs23 cdparanoia-debugsource(loongarch-64) = 10.2-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cdparanoia-debuginfo-10.2-4.ocs23.loongarch64 Provides: cdparanoia-debuginfo = 10.2-4.ocs23 cdparanoia-debuginfo(loongarch-64) = 10.2-4.ocs23 debuginfo(build-id) = 0abf8ff3b6ed0bd1fa8df647840304f93743b5a7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cdparanoia-debugsource(loongarch-64) = 10.2-4.ocs23 Processing files: cdparanoia-libs-debuginfo-10.2-4.ocs23.loongarch64 Provides: cdparanoia-libs-debuginfo = 10.2-4.ocs23 cdparanoia-libs-debuginfo(loongarch-64) = 10.2-4.ocs23 debuginfo(build-id) = 3436e55fa9354dac8426958c8aafbca649661d68 debuginfo(build-id) = c81260450f0cb419752d43fc6c4fd2ee336efad4 libcdda_interface.so.0.10.2-10.2-4.ocs23.loongarch64.debug()(64bit) libcdda_paranoia.so.0.10.2-10.2-4.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cdparanoia-debugsource(loongarch-64) = 10.2-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cdparanoia-10.2-4.ocs23.loongarch64 Wrote: /builddir/build/RPMS/cdparanoia-devel-10.2-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/cdparanoia-10.2-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/cdparanoia-libs-10.2-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/cdparanoia-debuginfo-10.2-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/cdparanoia-debugsource-10.2-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/cdparanoia-libs-debuginfo-10.2-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/cdparanoia-static-10.2-4.ocs23.loongarch64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0