D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/digitemp-3.7.2-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Arbdwi sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fnt3QI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build + rm -rf digitemp-3.7.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/digitemp-3.7.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd digitemp-3.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/pterjan/rpmbuild/SOURCES/dthowto.txt /home/pterjan/rpmbuild/SOURCES/DS9097_Schematic.gif . + iconv -f iso-8859-1 -t utf-8 -o ChangeLog.utf8 ChangeLog + touch -c -r ChangeLog ChangeLog.utf8 + mv -f ChangeLog.utf8 ChangeLog + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WzG4jX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd digitemp-3.7.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j48 V=1 VERBOSE=1 ds9097 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o src/device_name.o src/device_name.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o src/ds9097.o src/ds9097.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o userial/owerr.o userial/owerr.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o userial/crcutil.o userial/crcutil.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o src/ds2438.o src/ds2438.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o userial/cnt1d.o userial/cnt1d.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o userial/ds9097/owtran.o userial/ds9097/owtran.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o src/digitemp.o src/digitemp.c src/digitemp.c:171:6: error: conflicting types for 'free_coupler'; have 'void(int)' 171 | void free_coupler( int free_only ) | ^~~~~~~~~~~~ In file included from src/digitemp.c:78: src/digitemp.h:90:6: note: previous declaration of 'free_coupler' with type 'void(void)' 90 | void free_coupler(); | ^~~~~~~~~~~~ make: *** [: src/digitemp.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o userial/ds9097/linuxses.o userial/ds9097/linuxses.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o userial/swt1f.o userial/swt1f.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o userial/ad26.o userial/ad26.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o userial/ds9097/ownet.o userial/ds9097/ownet.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o userial/ioutil.o userial/ioutil.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/src -I/home/pterjan/rpmbuild/BUILD/digitemp-3.7.2-build/digitemp-3.7.2/userial -c -o userial/ds9097/linuxlnk.o userial/ds9097/linuxlnk.c userial/ds9097/linuxlnk.c: In function 'owTouchReset': userial/ds9097/linuxlnk.c:143:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | write(fd[portnum], &wbuff, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userial/ds9097/linuxlnk.c:161:14: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 161 | read(fd[portnum], &result, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userial/ds9097/linuxlnk.c: In function 'owTouchBlock': userial/ds9097/linuxlnk.c:244:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 244 | write(fd[portnum], buf, nbits2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userial/ds9097/linuxlnk.c: In function 'owTouchBit': userial/ds9097/linuxlnk.c:339:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 339 | write( fd[portnum], &sendbit, 1 ); /* Send the bit */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userial/ds9097/linuxlnk.c:356:15: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 356 | read(fd[portnum], &inbit, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WzG4jX (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WzG4jX (%build) I: [iurt_root_command] ERROR: chroot