Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/comedilib.spec'], chrootPath='/var/lib/mock/f29-build-11975-5517/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/comedilib.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/comedilib-0.8.1-23.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/comedilib.spec'], chrootPath='/var/lib/mock/f29-build-11975-5517/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/comedilib.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jhUiid + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf comedilib-0.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/comedilib-0.8.1.tar.gz + /usr/bin/tar -xof - + 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.LEBUwp + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ 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-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-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-koji-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-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-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-koji-linux-gnu-g77... no checking for riscv64-koji-linux-gnu-xlf... no checking for riscv64-koji-linux-gnu-f77... no checking for riscv64-koji-linux-gnu-frt... no checking for riscv64-koji-linux-gnu-pgf77... no checking for riscv64-koji-linux-gnu-cf77... no checking for riscv64-koji-linux-gnu-fort77... no checking for riscv64-koji-linux-gnu-fl32... no checking for riscv64-koji-linux-gnu-af77... no checking for riscv64-koji-linux-gnu-xlf90... no checking for riscv64-koji-linux-gnu-f90... no checking for riscv64-koji-linux-gnu-pgf90... no checking for riscv64-koji-linux-gnu-pghpf... no checking for riscv64-koji-linux-gnu-epcf90... no checking for riscv64-koji-linux-gnu-gfortran... no checking for riscv64-koji-linux-gnu-g95... no checking for riscv64-koji-linux-gnu-xlf95... no checking for riscv64-koji-linux-gnu-f95... no checking for riscv64-koji-linux-gnu-fort... no checking for riscv64-koji-linux-gnu-ifort... no checking for riscv64-koji-linux-gnu-ifc... no checking for riscv64-koji-linux-gnu-efc... no checking for riscv64-koji-linux-gnu-pgf95... no checking for riscv64-koji-linux-gnu-lf95... no checking for riscv64-koji-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-koji-linux-gnu-ar... no checking for ar... ar checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-koji-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 BUILDSTDERR: checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory 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 BUILDSTDERR: checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory 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-koji-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 BUILDSTDERR: checking for python version... DEPRECATION WARNING: python2 invoked with /usr/bin/python. BUILDSTDERR: Use /usr/bin/python3 or /usr/bin/python2 BUILDSTDERR: /usr/bin/python will be removed or switched to Python 3 in the future. BUILDSTDERR: 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 BUILDSTDERR: checking for python platform... DEPRECATION WARNING: python2 invoked with /usr/bin/python. BUILDSTDERR: Use /usr/bin/python3 or /usr/bin/python2 BUILDSTDERR: /usr/bin/python will be removed or switched to Python 3 in the future. BUILDSTDERR: 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 BUILDSTDERR: checking for headers required to compile python extensions... DEPRECATION WARNING: python2 invoked with /usr/bin/python. BUILDSTDERR: Use /usr/bin/python3 or /usr/bin/python2 BUILDSTDERR: /usr/bin/python will be removed or switched to Python 3 in the future. BUILDSTDERR: 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 BUILDSTDERR: DEPRECATION WARNING: python2 invoked with /usr/bin/python. BUILDSTDERR: Use /usr/bin/python3 or /usr/bin/python2 BUILDSTDERR: /usr/bin/python will be removed or switched to Python 3 in the future. BUILDSTDERR: 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 BUILDSTDERR: configure: WARNING: docbook2pdf not found, will not be able to rebuild pdf documentation checking for docbook2html... /usr/bin/docbook2html BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libcomedi_la-comedi.lo `test -f 'comedi.c' || echo './'`comedi.c mkdir .libs mkdir .libs BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c calib.c -fPIC -DPIC -o .libs/libcomedi_la-calib.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c comedi.c -fPIC -DPIC -o .libs/libcomedi_la-comedi.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c buffer.c -fPIC -DPIC -o .libs/libcomedi_la-buffer.o BUILDSTDERR: calib.c: In function '_comedi_get_default_calibration_path': BUILDSTDERR: calib.c:188:6: warning: implicit declaration of function 'fstat' [-Wimplicit-function-declaration] BUILDSTDERR: if( fstat( comedi_fileno( dev ), &file_stats ) < 0 ) BUILDSTDERR: ^~~~~ BUILDSTDERR: calib.c:208:46: warning: implicit declaration of function 'minor' [-Wimplicit-function-declaration] BUILDSTDERR: driver_name, board_name, ( unsigned long ) minor( file_stats.st_rdev ) ); BUILDSTDERR: ^~~~~ BUILDSTDERR: calib.c:207:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf( &file_path, LOCALSTATEDIR "/lib/comedi/calibrations/%s_%s_comedi%li", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: driver_name, board_name, ( unsigned long ) minor( file_stats.st_rdev ) ); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libcomedi_la-data.lo `test -f 'data.c' || echo './'`data.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c dio.c -fPIC -DPIC -o .libs/libcomedi_la-dio.o BUILDSTDERR: data.c: In function '_comedi_data_write': BUILDSTDERR: data.c:42:13: warning: variable 's' set but not used [-Wunused-but-set-variable] BUILDSTDERR: subdevice *s; BUILDSTDERR: ^ BUILDSTDERR: data.c: In function '_comedi_data_read_delayed': BUILDSTDERR: data.c:195:13: warning: variable 's' set but not used [-Wunused-but-set-variable] BUILDSTDERR: subdevice *s; BUILDSTDERR: ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c error.c -fPIC -DPIC -o .libs/libcomedi_la-error.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libcomedi_la-ioctl.lo `test -f 'ioctl.c' || echo './'`ioctl.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libcomedi_la-range.lo `test -f 'range.c' || echo './'`range.c BUILDSTDERR: filler.c: In function 'do_test_for_insn': BUILDSTDERR: filler.c:215:18: warning: variable 'il' set but not used [-Wunused-but-set-variable] BUILDSTDERR: comedi_insnlist il; BUILDSTDERR: ^~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c get.c -fPIC -DPIC -o .libs/libcomedi_la-get.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libcomedi_la-sv.lo `test -f 'sv.c' || echo './'`sv.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libcomedi_la-timed.lo `test -f 'timed.c' || echo './'`timed.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c sv.c -fPIC -DPIC -o .libs/libcomedi_la-sv.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c calib_yacc.c -fPIC -DPIC -o .libs/libcomedi_la-calib_yacc.o BUILDSTDERR: ./calib_lex.c:1365:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: static int input (yyscan_t yyscanner) BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from calib_yacc.y:32: BUILDSTDERR: ./calib_lex.h:233:12: warning: 'yy_init_globals' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static int yy_init_globals (yyscan_t yyscanner ); BUILDSTDERR: ^~~~~~~~~~~~~~~ /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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -soname libcomedi -version-info 8:1:8 -Wl,--version-script=./version_script -Wl,-z,relro -Wl,-z,now -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--version-script=./version_script -Wl,-z -Wl,relro -Wl,-z -Wl,now -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o comedi_test-mode0_read.o `test -f 'mode0_read.c' || echo './'`mode0_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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o comedi_test-select.o `test -f 'select.c' || echo './'`select.c BUILDSTDERR: main.c: In function 'get_capabilities': BUILDSTDERR: main.c:188:6: warning: variable 'flags' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int flags; BUILDSTDERR: ^~~~~ BUILDSTDERR: main.c:187:6: warning: variable 'type' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int type; BUILDSTDERR: ^~~~ BUILDSTDERR: mmap.c: In function 'test_segfault': BUILDSTDERR: mmap.c:38:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: volatile char tmp; BUILDSTDERR: ^~~ /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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -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 BUILDSTDERR: ../lib/.libs/libcomedi.so: undefined reference to `minor' BUILDSTDERR: collect2: error: ld returned 1 exit status make[2]: Leaving directory '/builddir/build/BUILD/comedilib-0.8.1/testing' BUILDSTDERR: make[2]: *** [Makefile:304: comedi_test] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/comedilib-0.8.1' BUILDSTDERR: make[1]: *** [Makefile:336: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:245: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.LEBUwp (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.LEBUwp (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/comedilib.spec