+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libusbg.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.jIvkaa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libusbg-0.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libusbg-0.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N6HJj7 + umask 022 + cd /builddir/build/BUILD + cd libusbg-0.1.0 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:4: installing './ar-lib' configure.ac:3: installing './compile' configure.ac:6: installing './config.guess' configure.ac:6: installing './config.sub' configure.ac:2: installing './install-sh' configure.ac:2: installing './missing' examples/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + 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-static 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 whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf 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 fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) 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 if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for riscv64-redhat-linux-gnu-doxygen... no checking for doxygen... /usr/bin/doxygen checking for riscv64-redhat-linux-gnu-perl... no checking for perl... /usr/bin/perl checking for riscv64-redhat-linux-gnu-dot... no checking for dot... no configure: WARNING: dot not found - will not generate graphics for doxygen documentation checking for riscv64-redhat-linux-gnu-latex... no checking for latex... no configure: WARNING: latex not found - will not generate doxygen PostScript documentation checking for riscv64-redhat-linux-gnu-makeindex... no checking for makeindex... no checking for riscv64-redhat-linux-gnu-dvips... no checking for dvips... no checking for riscv64-redhat-linux-gnu-egrep... no checking for egrep... /usr/bin/egrep checking for riscv64-redhat-linux-gnu-pdflatex... no checking for pdflatex... no configure: WARNING: pdflatex not found - will not generate doxygen PDF documentation checking for riscv64-redhat-linux-gnu-makeindex... no checking for makeindex... no checking for riscv64-redhat-linux-gnu-egrep... /usr/bin/egrep DX_FLAG_doc=1 DX_FLAG_dot=0 DX_FLAG_man=0 DX_FLAG_html=1 DX_FLAG_chm=0 DX_FLAG_chi=0 DX_FLAG_rtf=0 DX_FLAG_xml=0 DX_FLAG_pdf=0 DX_FLAG_ps=0 DX_ENV= SRCDIR='.' PROJECT='libusbg' DOCDIR='doxygen-doc' VERSION='0.1.0' PERL_PATH='/usr/bin/perl' HAVE_DOT='NO' GENERATE_MAN='NO' GENERATE_RTF='NO' GENERATE_XML='NO' GENERATE_HTMLHELP='NO' GENERATE_CHI='NO' GENERATE_HTML='YES' GENERATE_LATEX='NO' checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating examples/Makefile config.status: creating libusbg.pc config.status: executing depfiles commands config.status: executing libtool commands + make -j4 V=1 Making all in src make[1]: Entering directory '/builddir/build/BUILD/libusbg-0.1.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libusbg\" -DPACKAGE_TARNAME=\"libusbg\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"libusbg\ 0.1.0\" -DPACKAGE_BUGREPORT=\"mporter@linaro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libusbg\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../include/ -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 usbg.lo usbg.c libtool: compile: gcc -DPACKAGE_NAME=\"libusbg\" -DPACKAGE_TARNAME=\"libusbg\" -DPACKAGE_VERSION=\"0.1.0\" "-DPACKAGE_STRING=\"libusbg 0.1.0\"" -DPACKAGE_BUGREPORT=\"mporter@linaro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libusbg\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../include/ -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 usbg.c -fPIC -DPIC -o .libs/usbg.o usbg.c: In function 'usbg_write_buf': usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:135:3: note: in expansion of macro 'ERRORNO' ERRORNO("%s\n", p); ^~~~~~~ usbg.c: In function 'usbg_parse_function_attrs': usbg.c:36:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:190:3: note: in expansion of macro 'ERROR' ERROR("Unsupported function type\n"); ^~~~~ usbg.c: In function 'usbg_parse_functions': usbg.c:217:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ usbg.c: In function 'usbg_parse_config_bindings': usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:250:5: note: in expansion of macro 'ERRORNO' ERRORNO("bytes %d contents %s\n", n, contents); ^~~~~~~ usbg.c: In function 'usbg_parse_configs': usbg.c:289:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ usbg.c: In function 'usbg_init_state': usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:342:3: note: in expansion of macro 'ERRORNO' ERRORNO("unable to parse %s\n", path); ^~~~~~~ usbg.c: In function 'usbg_init': usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:363:3: note: in expansion of macro 'ERRORNO' ERRORNO("%s", path); ^~~~~~~ usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:368:3: note: in expansion of macro 'ERRORNO' ERRORNO("%s", path); ^~~~~~~ usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:376:3: note: in expansion of macro 'ERRORNO' ERRORNO("couldn't init gadget state\n"); ^~~~~~~ usbg.c: In function 'usbg_create_gadget': usbg.c:36:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:480:3: note: in expansion of macro 'ERROR' ERROR("duplicate gadget name\n"); ^~~~~ usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:488:3: note: in expansion of macro 'ERRORNO' ERRORNO("%s\n", gpath); ^~~~~~~ usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:494:3: note: in expansion of macro 'ERRORNO' ERRORNO("allocating gadget\n"); ^~~~~~~ usbg.c: In function 'usbg_create_function': usbg.c:36:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:616:3: note: in expansion of macro 'ERROR' ERROR("duplicate function name\n"); ^~~~~ usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:624:3: note: in expansion of macro 'ERRORNO' ERRORNO("%s\n", fpath); ^~~~~~~ usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:630:3: note: in expansion of macro 'ERRORNO' ERRORNO("allocating function\n"); ^~~~~~~ usbg.c: In function 'usbg_create_config': usbg.c:36:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:670:3: note: in expansion of macro 'ERROR' ERROR("duplicate configuration name\n"); ^~~~~ usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:678:3: note: in expansion of macro 'ERRORNO' ERRORNO("%s\n", cpath); ^~~~~~~ usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:684:3: note: in expansion of macro 'ERRORNO' ERRORNO("allocating configuration\n"); ^~~~~~~ usbg.c: In function 'usbg_add_config_function': usbg.c:36:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:746:3: note: in expansion of macro 'ERROR' ERROR("duplicate binding name\n"); ^~~~~ usbg.c:36:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:752:3: note: in expansion of macro 'ERROR' ERROR("duplicate binding link\n"); ^~~~~ usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:761:3: note: in expansion of macro 'ERRORNO' ERRORNO("%s -> %s\n", bpath, fpath); ^~~~~~~ usbg.c:42:31: warning: unused variable 'str' [-Wunused-variable] char *str;\ ^ usbg.c:767:3: note: in expansion of macro 'ERRORNO' ERRORNO("allocating binding\n"); ^~~~~~~ usbg.c: In function 'usbg_init': usbg.c:235:21: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(bpath, "%s/%s", c->path, c->name); ^~ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 296 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c:247:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(cpath, "%s/%s", bpath, dent[i]->d_name); ^ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c: In function 'usbg_create_gadget': usbg.c:484:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(gpath, "%s/%s", s->path, name); ^ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c: In function 'usbg_set_gadget_serial_number': usbg.c:565:20: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(path, "%s/%s/%s/0x%x", g->path, g->name, "strings", lang); ^~ usbg.c:565:16: note: using the range [0, 4294967295] for directive argument sprintf(path, "%s/%s/%s/0x%x", g->path, g->name, "strings", lang); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 315 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c: In function 'usbg_set_gadget_manufacturer': usbg.c:578:20: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(path, "%s/%s/%s/0x%x", g->path, g->name, "strings", lang); ^~ usbg.c:578:16: note: using the range [0, 4294967295] for directive argument sprintf(path, "%s/%s/%s/0x%x", g->path, g->name, "strings", lang); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 315 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c: In function 'usbg_set_gadget_product': usbg.c:591:20: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(path, "%s/%s/%s/0x%x", g->path, g->name, "strings", lang); ^~ usbg.c:591:16: note: using the range [0, 4294967295] for directive argument sprintf(path, "%s/%s/%s/0x%x", g->path, g->name, "strings", lang); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 315 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c: In function 'usbg_create_function': usbg.c:620:21: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(fpath, "%s/%s/functions/%s", g->path, g->name, name); ^~ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 13 or more bytes (assuming 307) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c:635:23: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(f->path, "%s/%s/%s", g->path, g->name, "functions"); ^~ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 306 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c: In function 'usbg_create_config': usbg.c:674:21: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(cpath, "%s/%s/configs/%s", g->path, g->name, name); ^~ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 305) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c:690:23: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(c->path, "%s/%s/%s/%s", g->path, g->name, "configs", name); ^~ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 305) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c: In function 'usbg_set_config_string': usbg.c:724:20: warning: '%s' directive writing 7 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(path, "%s/%s/0x%x", c->path, "strings", lang); ^~ ~~~~~~~~~ usbg.c:724:16: note: using the range [0, 4294967295] for directive argument sprintf(path, "%s/%s/0x%x", c->path, "strings", lang); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 275 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c: In function 'usbg_add_config_function': usbg.c:756:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(bpath, "%s/%s", c->path, name); ^ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usbg.c:757:21: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(fpath, "%s/%s", f->path, f->name); ^~ In file included from /usr/include/stdio.h:861:0, from usbg.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 296 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -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 -version-info 0:1:0 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libusbg.la -rpath /usr/lib64 usbg.lo libtool: link: gcc -shared -fPIC -DPIC .libs/usbg.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-soname -Wl,libusbg.so.0 -o .libs/libusbg.so.0.0.1 libtool: link: (cd ".libs" && rm -f "libusbg.so.0" && ln -s "libusbg.so.0.0.1" "libusbg.so.0") libtool: link: (cd ".libs" && rm -f "libusbg.so" && ln -s "libusbg.so.0.0.1" "libusbg.so") libtool: link: ( cd ".libs" && rm -f "libusbg.la" && ln -s "../libusbg.la" "libusbg.la" ) make[1]: Leaving directory '/builddir/build/BUILD/libusbg-0.1.0/src' Making all in examples make[1]: Entering directory '/builddir/build/BUILD/libusbg-0.1.0/examples' gcc -DPACKAGE_NAME=\"libusbg\" -DPACKAGE_TARNAME=\"libusbg\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"libusbg\ 0.1.0\" -DPACKAGE_BUGREPORT=\"mporter@linaro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libusbg\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../include/ -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 show-gadgets.o show-gadgets.c gcc -DPACKAGE_NAME=\"libusbg\" -DPACKAGE_TARNAME=\"libusbg\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"libusbg\ 0.1.0\" -DPACKAGE_BUGREPORT=\"mporter@linaro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libusbg\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../include/ -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 gadget-acm-ecm.o gadget-acm-ecm.c gadget-acm-ecm.c: In function 'main': gadget-acm-ecm.c:37:6: warning: unused variable 'ret' [-Wunused-variable] int ret = -EINVAL; ^~~ gadget-acm-ecm.c:34:19: warning: unused variable 'f' [-Wunused-variable] struct function *f; ^ show-gadgets.c: In function 'main': show-gadgets.c:97:37: warning: unused variable 'f_ecm' [-Wunused-variable] struct function *f_acm0, *f_acm1, *f_ecm; ^~~~~ show-gadgets.c:97:28: warning: unused variable 'f_acm1' [-Wunused-variable] struct function *f_acm0, *f_acm1, *f_ecm; ^~~~~~ show-gadgets.c:97:19: warning: unused variable 'f_acm0' [-Wunused-variable] struct function *f_acm0, *f_acm1, *f_ecm; ^~~~~~ show-gadgets.c:96:18: warning: unused variable 'b' [-Wunused-variable] struct binding *b; ^ /bin/sh ../libtool --tag=CC --mode=link gcc -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 -L../src/ -lusbg -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gadget-acm-ecm gadget-acm-ecm.o /bin/sh ../libtool --tag=CC --mode=link gcc -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 -L../src/ -lusbg -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o show-gadgets show-gadgets.o libtool: link: gcc -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/gadget-acm-ecm gadget-acm-ecm.o -L../src/ /builddir/build/BUILD/libusbg-0.1.0/src/.libs/libusbg.so libtool: link: gcc -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/show-gadgets show-gadgets.o -L../src/ /builddir/build/BUILD/libusbg-0.1.0/src/.libs/libusbg.so make[1]: Leaving directory '/builddir/build/BUILD/libusbg-0.1.0/examples' make[1]: Entering directory '/builddir/build/BUILD/libusbg-0.1.0' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/libusbg-0.1.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Je3q2c + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64 + cd libusbg-0.1.0 + make install DESTDIR=/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libusbg-0.1.0/src' make[2]: Entering directory '/builddir/build/BUILD/libusbg-0.1.0/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/lib64' /bin/sh ../libtool --mode=install install -p libusbg.la '/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/lib64' libtool: install: install -p .libs/libusbg.so.0.0.1 /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/lib64/libusbg.so.0.0.1 libtool: install: (cd /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/lib64 && { ln -s -f libusbg.so.0.0.1 libusbg.so.0 || { rm -f libusbg.so.0 && ln -s libusbg.so.0.0.1 libusbg.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/lib64 && { ln -s -f libusbg.so.0.0.1 libusbg.so || { rm -f libusbg.so && ln -s libusbg.so.0.0.1 libusbg.so; }; }) libtool: install: install -p .libs/libusbg.lai /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/lib64/libusbg.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libusbg-0.1.0/src' make[1]: Leaving directory '/builddir/build/BUILD/libusbg-0.1.0/src' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/libusbg-0.1.0/examples' make[2]: Entering directory '/builddir/build/BUILD/libusbg-0.1.0/examples' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/bin' /bin/sh ../libtool --mode=install install -p show-gadgets gadget-acm-ecm '/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/bin' libtool: warning: '/builddir/build/BUILD/libusbg-0.1.0/src/libusbg.la' has not been installed in '/usr/lib64' libtool: install: install -p .libs/show-gadgets /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/bin/show-gadgets libtool: warning: '/builddir/build/BUILD/libusbg-0.1.0/src/libusbg.la' has not been installed in '/usr/lib64' libtool: install: install -p .libs/gadget-acm-ecm /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/bin/gadget-acm-ecm make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libusbg-0.1.0/examples' make[1]: Leaving directory '/builddir/build/BUILD/libusbg-0.1.0/examples' make[1]: Entering directory '/builddir/build/BUILD/libusbg-0.1.0' make[2]: Entering directory '/builddir/build/BUILD/libusbg-0.1.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/include/usbg' install -p -m 644 include/usbg/usbg.h '/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/include/usbg' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/lib64/pkgconfig' install -p -m 644 libusbg.pc '/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libusbg-0.1.0' make[1]: Leaving directory '/builddir/build/BUILD/libusbg-0.1.0' + find /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64 -type f -name '*.la' -delete + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libusbg-0.1.0-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RS7c0P + umask 022 + cd /builddir/build/BUILD + cd libusbg-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/doc/libusbg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/doc/libusbg + cp -pr README /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/doc/libusbg + cp -pr AUTHORS /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/doc/libusbg + cp -pr ChangeLog /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/doc/libusbg + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8CXG4Q + umask 022 + cd /builddir/build/BUILD + cd libusbg-0.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/licenses/libusbg + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/licenses/libusbg + cp -pr COPYING.LGPL /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/licenses/libusbg + exit 0 Provides: libusbg = 0.1.0-10.fc28 libusbg(riscv-64) = 0.1.0-10.fc28 libusbg.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libusbg-utils-0.1.0-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XJHYoY + umask 022 + cd /builddir/build/BUILD + cd libusbg-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/doc/libusbg-utils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/doc/libusbg-utils + cp -pr COPYING /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64/usr/share/doc/libusbg-utils + exit 0 Provides: libusbg-utils = 0.1.0-10.fc28 libusbg-utils(riscv-64) = 0.1.0-10.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libusbg.so.0()(64bit) rtld(GNU_HASH) Processing files: libusbg-devel-0.1.0-10.fc28.riscv64 Provides: libusbg-devel = 0.1.0-10.fc28 libusbg-devel(riscv-64) = 0.1.0-10.fc28 pkgconfig(libusbg) = 0.1.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libusbg.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64 Wrote: /builddir/build/SRPMS/libusbg-0.1.0-10.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libusbg-0.1.0-10.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libusbg-utils-0.1.0-10.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libusbg-devel-0.1.0-10.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1DvOCN + umask 022 + cd /builddir/build/BUILD + cd libusbg-0.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libusbg-0.1.0-10.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff