+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/comedilib.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.S3m7Sc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf comedilib-0.8.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/comedilib-0.8.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd comedilib-0.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zWGiVc + umask 022 + cd /builddir/build/BUILD + cd comedilib-0.8.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --disable-dependency-tracking --disable-static --disable-ruby-binding checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking whether gcc and cc understand -c and -o together... yes checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking for library containing strerror... none required checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for bison... no checking for byacc... no checking for ANSI C header files... (cached) yes checking for swig... /usr/bin/swig checking for python... /usr/bin/python checking for python version... DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out 2.7 checking for python platform... DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for headers required to compile python extensions... DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out found checking to see if compiler understands -fno-strict-aliasing... yes checking to see if compiler understands -Wno-unused-function... yes checking for docbook2man... /usr/bin/docbook2man checking for docbook2pdf... no configure: WARNING: docbook2pdf not found, will not be able to rebuild pdf documentation checking for docbook2html... /usr/bin/docbook2html configure: WARNING: No hotplug mechanism will we installed. Consult ./configure --help if you want hotplug. configure: creating ./config.status config.status: creating Makefile config.status: creating comedi_config/Makefile config.status: creating c++/Makefile config.status: creating c++/include/Makefile config.status: creating etc/Makefile config.status: creating etc/pcmcia/Makefile config.status: creating etc/hotplug/Makefile config.status: creating etc/hotplug/usb/Makefile config.status: creating etc/hotplug/usb/usbdux/Makefile config.status: creating etc/hotplug/usb/usbduxfast/Makefile config.status: creating etc/udev/Makefile config.status: creating doc/Makefile config.status: creating demo/Makefile config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating scxi/Makefile config.status: creating swig/Makefile config.status: creating swig/python/Makefile config.status: creating swig/ruby/Makefile config.status: creating testing/Makefile config.status: creating comedilib.spec config.status: creating comedilib.pc config.status: creating config.h config.status: executing depfiles commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/comedilib-0.8.1' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/comedilib-0.8.1/lib' make all-am make[3]: Entering directory '/builddir/build/BUILD/comedilib-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-buffer.lo `test -f 'buffer.c' || echo './'`buffer.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-calib.lo `test -f 'calib.c' || echo './'`calib.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-cmd.lo `test -f 'cmd.c' || echo './'`cmd.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-comedi.lo `test -f 'comedi.c' || echo './'`comedi.c mkdir .libs mkdir .libs gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c comedi.c -fPIC -DPIC -o .libs/libcomedi_la-comedi.o mkdir: cannot create directory '.libs': File exists gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c cmd.c -fPIC -DPIC -o .libs/libcomedi_la-cmd.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c buffer.c -fPIC -DPIC -o .libs/libcomedi_la-buffer.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c calib.c -fPIC -DPIC -o .libs/libcomedi_la-calib.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-data.lo `test -f 'data.c' || echo './'`data.c calib.c: In function '_comedi_get_default_calibration_path': calib.c:188:6: warning: implicit declaration of function 'fstat' [-Wimplicit-function-declaration] if( fstat( comedi_fileno( dev ), &file_stats ) < 0 ) ^~~~~ calib.c:208:46: warning: implicit declaration of function 'minor' [-Wimplicit-function-declaration] driver_name, board_name, ( unsigned long ) minor( file_stats.st_rdev ) ); ^~~~~ calib.c:207:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf( &file_path, LOCALSTATEDIR "/lib/comedi/calibrations/%s_%s_comedi%li", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ driver_name, board_name, ( unsigned long ) minor( file_stats.st_rdev ) ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-dio.lo `test -f 'dio.c' || echo './'`dio.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-error.lo `test -f 'error.c' || echo './'`error.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-filler.lo `test -f 'filler.c' || echo './'`filler.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c data.c -fPIC -DPIC -o .libs/libcomedi_la-data.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c dio.c -fPIC -DPIC -o .libs/libcomedi_la-dio.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c error.c -fPIC -DPIC -o .libs/libcomedi_la-error.o data.c: In function '_comedi_data_write': data.c:42:13: warning: variable 's' set but not used [-Wunused-but-set-variable] subdevice *s; ^ data.c: In function '_comedi_data_read_delayed': data.c:195:13: warning: variable 's' set but not used [-Wunused-but-set-variable] subdevice *s; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c filler.c -fPIC -DPIC -o .libs/libcomedi_la-filler.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-get.lo `test -f 'get.c' || echo './'`get.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-ioctl.lo `test -f 'ioctl.c' || echo './'`ioctl.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-range.lo `test -f 'range.c' || echo './'`range.c filler.c: In function 'do_test_for_insn': filler.c:215:18: warning: variable 'il' set but not used [-Wunused-but-set-variable] comedi_insnlist il; ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c get.c -fPIC -DPIC -o .libs/libcomedi_la-get.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-sv.lo `test -f 'sv.c' || echo './'`sv.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c ioctl.c -fPIC -DPIC -o .libs/libcomedi_la-ioctl.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c range.c -fPIC -DPIC -o .libs/libcomedi_la-range.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-timed.lo `test -f 'timed.c' || echo './'`timed.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c sv.c -fPIC -DPIC -o .libs/libcomedi_la-sv.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-timer.lo `test -f 'timer.c' || echo './'`timer.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-calib_lex.lo `test -f 'calib_lex.c' || echo './'`calib_lex.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c timed.c -fPIC -DPIC -o .libs/libcomedi_la-timed.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c timer.c -fPIC -DPIC -o .libs/libcomedi_la-timer.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcomedi_la-calib_yacc.lo `test -f 'calib_yacc.c' || echo './'`calib_yacc.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c calib_lex.c -fPIC -DPIC -o .libs/libcomedi_la-calib_lex.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c calib_yacc.c -fPIC -DPIC -o .libs/libcomedi_la-calib_yacc.o ./calib_lex.c:1365:16: warning: 'input' defined but not used [-Wunused-function] static int input (yyscan_t yyscanner) ^~~~~ In file included from calib_yacc.y:32:0: ./calib_lex.h:233:12: warning: 'yy_init_globals' declared 'static' but never defined [-Wunused-function] static int yy_init_globals (yyscan_t yyscanner ); ^~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"\/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -soname libcomedi -version-info 8:1:8 -Wl,--version-script=./version_script -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libcomedi.la -rpath /usr/lib64 libcomedi_la-buffer.lo libcomedi_la-calib.lo libcomedi_la-cmd.lo libcomedi_la-comedi.lo libcomedi_la-data.lo libcomedi_la-dio.lo libcomedi_la-error.lo libcomedi_la-filler.lo libcomedi_la-get.lo libcomedi_la-ioctl.lo libcomedi_la-range.lo libcomedi_la-sv.lo libcomedi_la-timed.lo libcomedi_la-timer.lo libcomedi_la-calib_lex.lo libcomedi_la-calib_yacc.lo gcc -shared .libs/libcomedi_la-buffer.o .libs/libcomedi_la-calib.o .libs/libcomedi_la-cmd.o .libs/libcomedi_la-comedi.o .libs/libcomedi_la-data.o .libs/libcomedi_la-dio.o .libs/libcomedi_la-error.o .libs/libcomedi_la-filler.o .libs/libcomedi_la-get.o .libs/libcomedi_la-ioctl.o .libs/libcomedi_la-range.o .libs/libcomedi_la-sv.o .libs/libcomedi_la-timed.o .libs/libcomedi_la-timer.o .libs/libcomedi_la-calib_lex.o .libs/libcomedi_la-calib_yacc.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--version-script=./version_script -Wl,-z -Wl,relro -Wl,-soname -Wl,libcomedi.so.0 -o .libs/libcomedi.so.0.8.1 (cd .libs && rm -f libcomedi.so.0 && ln -s libcomedi.so.0.8.1 libcomedi.so.0) (cd .libs && rm -f libcomedi.so && ln -s libcomedi.so.0.8.1 libcomedi.so) creating libcomedi.la (cd .libs && rm -f libcomedi.la && ln -s ../libcomedi.la libcomedi.la) make[3]: Leaving directory '/builddir/build/BUILD/comedilib-0.8.1/lib' make[2]: Leaving directory '/builddir/build/BUILD/comedilib-0.8.1/lib' Making all in comedi_config make[2]: Entering directory '/builddir/build/BUILD/comedilib-0.8.1/comedi_config' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_config-comedi_config.o `test -f 'comedi_config.c' || echo './'`comedi_config.c /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o comedi_config comedi_config-comedi_config.o mkdir .libs gcc -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o comedi_config comedi_config-comedi_config.o make[2]: Leaving directory '/builddir/build/BUILD/comedilib-0.8.1/comedi_config' Making all in man make[2]: Entering directory '/builddir/build/BUILD/comedilib-0.8.1/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/comedilib-0.8.1/man' Making all in testing make[2]: Entering directory '/builddir/build/BUILD/comedilib-0.8.1/testing' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-bufconfig.o `test -f 'bufconfig.c' || echo './'`bufconfig.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-cmd_1.o `test -f 'cmd_1.c' || echo './'`cmd_1.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-cmd_2.o `test -f 'cmd_2.c' || echo './'`cmd_2.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-cmd_3.o `test -f 'cmd_3.c' || echo './'`cmd_3.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-info.o `test -f 'info.c' || echo './'`info.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-insn_read.o `test -f 'insn_read.c' || echo './'`insn_read.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-insn_read_time.o `test -f 'insn_read_time.c' || echo './'`insn_read_time.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-inttrig.o `test -f 'inttrig.c' || echo './'`inttrig.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-lib.o `test -f 'lib.c' || echo './'`lib.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-main.o `test -f 'main.c' || echo './'`main.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-mmap.o `test -f 'mmap.c' || echo './'`mmap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-mode0_read.o `test -f 'mode0_read.c' || echo './'`mode0_read.c main.c: In function 'get_capabilities': main.c:188:6: warning: variable 'flags' set but not used [-Wunused-but-set-variable] int flags; ^~~~~ main.c:187:6: warning: variable 'type' set but not used [-Wunused-but-set-variable] int type; ^~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o comedi_test-select.o `test -f 'select.c' || echo './'`select.c mmap.c: In function 'test_segfault': mmap.c:38:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] volatile char tmp; ^~~ /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o comedi_test comedi_test-bufconfig.o comedi_test-cmd_1.o comedi_test-cmd_2.o comedi_test-cmd_3.o comedi_test-info.o comedi_test-insn_read.o comedi_test-insn_read_time.o comedi_test-inttrig.o comedi_test-lib.o comedi_test-main.o comedi_test-mmap.o comedi_test-mode0_read.o comedi_test-select.o ../lib/libcomedi.la -lm mkdir .libs DIE_RPATH_DIE="/usr/lib64:$DIE_RPATH_DIE" gcc -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/comedi_test comedi_test-bufconfig.o comedi_test-cmd_1.o comedi_test-cmd_2.o comedi_test-cmd_3.o comedi_test-info.o comedi_test-insn_read.o comedi_test-insn_read_time.o comedi_test-inttrig.o comedi_test-lib.o comedi_test-main.o comedi_test-mmap.o comedi_test-mode0_read.o comedi_test-select.o ../lib/.libs/libcomedi.so -lm ../lib/.libs/libcomedi.so: undefined reference to `minor' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:304: comedi_test] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/comedilib-0.8.1/testing' make[1]: *** [Makefile:336: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/comedilib-0.8.1' make: *** [Makefile:245: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.zWGiVc (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zWGiVc (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff