+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/libdivecomputer-subsurface.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.J4Sus2
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libdivecomputer-subsurface-branch-4.6.2
+ /usr/bin/gzip -dc /builddir/build/SOURCES/libdivecomputer-subsurface-branch-4.6.2.tgz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libdivecomputer-subsurface-branch-4.6.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ovGUtB
+ umask 022
+ cd /builddir/build/BUILD
+ cd libdivecomputer-subsurface-branch-4.6.2
+ autoreconf --verbose --install
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
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
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:24: installing './ar-lib'
configure.ac:24: installing './compile'
configure.ac:28: installing './config.guess'
configure.ac:28: installing './config.sub'
configure.ac:21: installing './install-sh'
configure.ac:21: 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-doc --disable-silent-rules --disable-shared --enable-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 style of include used by make... GNU
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 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 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... no
checking whether to build static libraries... yes
checking for riscv64-redhat-linux-gnu-windres... no
checking for windres... 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 whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking for gcc option to accept ISO C99... none needed
checking for doxygen... no
checking whether make supports nested variables... (cached) yes
checking for native Win32... no
checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... yes
checking for HIDAPI... no
checking for winsock2.h... no
checking for af_irda.h... no
checking for sys/socket.h... yes
checking for linux/types.h... yes
checking for linux/irda.h... yes
checking linux/serial.h usability... yes
checking linux/serial.h presence... yes
checking for linux/serial.h... yes
checking IOKit/serial/ioss.h usability... no
checking IOKit/serial/ioss.h presence... no
checking for IOKit/serial/ioss.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking whether optreset is declared... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking for getopt_long... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libdivecomputer.pc
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/libdivecomputer/Makefile
config.status: creating include/libdivecomputer/version.h
config.status: creating src/Makefile
config.status: creating src/libdivecomputer.rc
config.status: creating doc/Makefile
config.status: creating doc/doxygen.cfg
config.status: creating doc/man/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ /usr/bin/make -O -j4
/usr/bin/make -s all-recursive
Making all in include
Making all in libdivecomputer
Making all in src
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 version.c -o version.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 common.c -o common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 iterator.c -o iterator.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 descriptor.c -o descriptor.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 datetime.c -o datetime.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 context.c -o context.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 parser.c -o parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 device.c -o device.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_common.c -o suunto_common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_solution.c -o suunto_solution.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_solution_parser.c -o suunto_solution_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_common2.c -o suunto_common2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_eon.c -o suunto_eon.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_eon_parser.c -o suunto_eon_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_vyper_parser.c -o suunto_vyper_parser.o
suunto_vyper_parser.c: In function 'suunto_vyper_parser_get_field':
suunto_vyper_parser.c:238:15: warning: unused variable 'size' [-Wunused-variable]
  unsigned int size = abstract->size;
               ^~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_vyper.c -o suunto_vyper.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_vyper2.c -o suunto_vyper2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_d9.c -o suunto_d9.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_eonsteel.c -o suunto_eonsteel.o
In file included from suunto_eonsteel.c:28:0:
suunto_eonsteel.c: In function 'receive_packet':
suunto_eonsteel.c:143:28: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t {aka long unsigned int}' [-Wformat=]
   ERROR(eon->base.context, "incomplete read interrupt transfer (got %d, expected %d)", transferred, PACKET_SIZE);
                            ^
context-private.h:53:103: note: in definition of macro 'ERROR'
 #define ERROR(context, ...) dc_context_log (context, DC_LOGLEVEL_ERROR, __FILE__, __LINE__, FUNCTION, __VA_ARGS__)
                                                                                                       ^~~~~~~~~~~
suunto_eonsteel.c: In function 'send_receive':
suunto_eonsteel.c:291:16: warning: unused variable 'buf' [-Wunused-variable]
  unsigned char buf[2048];
                ^~~
suunto_eonsteel.c:290:19: warning: unused variable 'max' [-Wunused-variable]
  int len, actual, max;
                   ^~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 reefnet_sensus.c -o reefnet_sensus.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_d9_parser.c -o suunto_d9_parser.o
suunto_d9_parser.c: In function 'suunto_d9_parser_get_field':
suunto_d9_parser.c:337:15: warning: unused variable 'size' [-Wunused-variable]
  unsigned int size = abstract->size;
               ^~~~
suunto_d9_parser.c: In function 'suunto_d9_parser_samples_foreach':
suunto_d9_parser.c:552:33: warning: variable 'unknown' set but not used [-Wunused-but-set-variable]
     unsigned int seconds, type, unknown, heading;
                                 ^~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 reefnet_sensus_parser.c -o reefnet_sensus_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 reefnet_sensuspro_parser.c -o reefnet_sensuspro_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 suunto_eonsteel_parser.c -o suunto_eonsteel_parser.o
In file included from suunto_eonsteel_parser.c:37:0:
suunto_eonsteel_parser.c: In function 'fill_in_group_details':
suunto_eonsteel_parser.c:237:29: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
    ERROR(eon->base.context, "Group type descriptor '%s' has undescribed index %d", desc->desc, index);
                             ^
context-private.h:53:103: note: in definition of macro 'ERROR'
 #define ERROR(context, ...) dc_context_log (context, DC_LOGLEVEL_ERROR, __FILE__, __LINE__, FUNCTION, __VA_ARGS__)
                                                                                                       ^~~~~~~~~~~
suunto_eonsteel_parser.c:265:29: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
    ERROR(eon->base.context, "Group type descriptor '%s' has unparseable index %d", desc->desc, index);
                             ^
context-private.h:53:103: note: in definition of macro 'ERROR'
 #define ERROR(context, ...) dc_context_log (context, DC_LOGLEVEL_ERROR, __FILE__, __LINE__, FUNCTION, __VA_ARGS__)
                                                                                                       ^~~~~~~~~~~
suunto_eonsteel_parser.c: In function 'sample_gastime':
suunto_eonsteel_parser.c:555:20: warning: unused variable 'sample' [-Wunused-variable]
  dc_sample_value_t sample = {0};
                    ^~~~~~
suunto_eonsteel_parser.c: In function 'traverse_device_fields':
suunto_eonsteel_parser.c:1237:36: warning: pointer targets in passing argument 3 of 'add_string' differ in signedness [-Wpointer-sign]
   return add_string(eon, "Serial", data);
                                    ^~~~
suunto_eonsteel_parser.c:1177:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
 static int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)
            ^~~~~~~~~~
suunto_eonsteel_parser.c:1239:40: warning: pointer targets in passing argument 3 of 'add_string' differ in signedness [-Wpointer-sign]
   return add_string(eon, "HW Version", data);
                                        ^~~~
suunto_eonsteel_parser.c:1177:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
 static int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)
            ^~~~~~~~~~
suunto_eonsteel_parser.c:1241:40: warning: pointer targets in passing argument 3 of 'add_string' differ in signedness [-Wpointer-sign]
   return add_string(eon, "FW Version", data);
                                        ^~~~
suunto_eonsteel_parser.c:1177:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
 static int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)
            ^~~~~~~~~~
suunto_eonsteel_parser.c:1243:46: warning: pointer targets in passing argument 3 of 'add_string' differ in signedness [-Wpointer-sign]
   return add_string(eon, "Battery at start", data);
                                              ^~~~
suunto_eonsteel_parser.c:1177:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
 static int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)
            ^~~~~~~~~~
suunto_eonsteel_parser.c:1245:44: warning: pointer targets in passing argument 3 of 'add_string' differ in signedness [-Wpointer-sign]
   return add_string(eon, "Battery at end", data);
                                            ^~~~
suunto_eonsteel_parser.c:1177:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
 static int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)
            ^~~~~~~~~~
suunto_eonsteel_parser.c: In function 'traverse_gas_fields':
suunto_eonsteel_parser.c:1277:44: warning: pointer targets in passing argument 3 of 'add_string' differ in signedness [-Wpointer-sign]
   return add_string(eon, "Transmitter ID", data);
                                            ^~~~
suunto_eonsteel_parser.c:1177:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
 static int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)
            ^~~~~~~~~~
suunto_eonsteel_parser.c: In function 'traverse_diving_fields':
suunto_eonsteel_parser.c:1357:44: warning: pointer targets in passing argument 3 of 'add_string' differ in signedness [-Wpointer-sign]
   return add_string(eon, "Deco algorithm", data);
                                            ^~~~
suunto_eonsteel_parser.c:1177:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
 static int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)
            ^~~~~~~~~~
suunto_eonsteel_parser.c:1364:39: warning: pointer targets in passing argument 3 of 'add_string' differ in signedness [-Wpointer-sign]
   return add_string(eon, "Dive Mode", data);
                                       ^~~~
suunto_eonsteel_parser.c:1177:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
 static int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)
            ^~~~~~~~~~
suunto_eonsteel_parser.c: In function 'traverse_header_fields':
suunto_eonsteel_parser.c:1425:37: warning: pointer targets in passing argument 3 of 'add_string' differ in signedness [-Wpointer-sign]
   return add_string(eon, "Dive ID", data);
                                     ^~~~
suunto_eonsteel_parser.c:1177:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
 static int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)
            ^~~~~~~~~~
suunto_eonsteel_parser.c: In function 'traverse_sample_fields':
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_none' not handled in switch [-Wswitch]
   switch (type) {
   ^~~~~~
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_temp' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_ndl' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_ceiling' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_tts' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_heading' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_abspressure' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_gastime' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_ventilation' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_gasnr' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_pressure' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_state' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_state_active' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_notify' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_notify_active' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_warning' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_warning_active' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_alarm' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_alarm_active' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_gasswitch' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_setpoint_type' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_setpoint_po2' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_setpoint_automatic' not handled in switch [-Wswitch]
suunto_eonsteel_parser.c:1460:3: warning: enumeration value 'ES_bookmark' not handled in switch [-Wswitch]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 reefnet_sensuspro.c -o reefnet_sensuspro.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 reefnet_sensusultra_parser.c -o reefnet_sensusultra_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 uwatec_aladin.c -o uwatec_aladin.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 reefnet_sensusultra.c -o reefnet_sensusultra.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 uwatec_memomouse.c -o uwatec_memomouse.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 uwatec_memomouse_parser.c -o uwatec_memomouse_parser.o
uwatec_memomouse_parser.c: In function 'uwatec_memomouse_parser_get_field':
uwatec_memomouse_parser.c:119:36: warning: variable 'is_air' set but not used [-Wunused-but-set-variable]
  int is_nitrox = 0, is_oxygen = 0, is_air = 0;
                                    ^~~~~~
uwatec_memomouse_parser.c: In function 'uwatec_memomouse_parser_samples_foreach':
uwatec_memomouse_parser.c:203:36: warning: variable 'is_air' set but not used [-Wunused-but-set-variable]
  int is_nitrox = 0, is_oxygen = 0, is_air = 0;
                                    ^~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 uwatec_smart.c -o uwatec_smart.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 uwatec_meridian.c -o uwatec_meridian.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 uwatec_smart_parser.c -o uwatec_smart_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 oceanic_common.c -o oceanic_common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 oceanic_atom2.c -o oceanic_atom2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 oceanic_veo250_parser.c -o oceanic_veo250_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 oceanic_veo250.c -o oceanic_veo250.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 oceanic_vtpro.c -o oceanic_vtpro.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 oceanic_atom2_parser.c -o oceanic_atom2_parser.o
oceanic_atom2_parser.c: In function 'oceanic_atom2_parser_get_field':
oceanic_atom2_parser.c:480:15: warning: unused variable 'size' [-Wunused-variable]
  unsigned int size = abstract->size;
               ^~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 oceanic_vtpro_parser.c -o oceanic_vtpro_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 mares_common.c -o mares_common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 mares_nemo.c -o mares_nemo.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 mares_nemo_parser.c -o mares_nemo_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 mares_puck.c -o mares_puck.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 mares_darwin.c -o mares_darwin.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 mares_darwin_parser.c -o mares_darwin_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 ihex.c -o ihex.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 mares_iconhd.c -o mares_iconhd.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 mares_iconhd_parser.c -o mares_iconhd_parser.o
mares_iconhd_parser.c: In function 'mares_iconhd_parser_samples_foreach':
mares_iconhd_parser.c:516:17: warning: unused variable 'maxdepth' [-Wunused-variable]
    unsigned int maxdepth = array_uint16_le (data + offset + 0);
                 ^~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 hw_ostc.c -o hw_ostc.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 hw_frog.c -o hw_frog.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 aes.c -o aes.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 hw_ostc_parser.c -o hw_ostc_parser.o
hw_ostc_parser.c: In function 'hw_ostc_parser_get_datetime':
hw_ostc_parser.c:386:15: warning: unused variable 'size' [-Wunused-variable]
  unsigned int size = abstract->size;
               ^~~~
hw_ostc_parser.c: In function 'hw_ostc_parser_get_field':
hw_ostc_parser.c:446:15: warning: unused variable 'size' [-Wunused-variable]
  unsigned int size = abstract->size;
               ^~~~
hw_ostc_parser.c:612:46: warning: ', Desaturation ' directive output truncated writing 15 bytes into a region of size between 0 and 4 [-Wformat-truncation=]
      snprintf(buf, BUFLEN, "Saturation %u, Desaturation %u", layout->deco_info1, layout->deco_info2);
                                          ~~~~^~~~~~~~~~~
In file included from /usr/include/stdio.h:861:0,
                 from hw_ostc_parser.c:23:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 29 and 47 bytes into a destination of size 16
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 cressi_edy.c -o cressi_edy.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 cressi_edy_parser.c -o cressi_edy_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 cressi_leonardo.c -o cressi_leonardo.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 hw_ostc3.c -o hw_ostc3.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 cressi_leonardo_parser.c -o cressi_leonardo_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 zeagle_n2ition3.c -o zeagle_n2ition3.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 atomics_cobalt.c -o atomics_cobalt.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 atomics_cobalt_parser.c -o atomics_cobalt_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 shearwater_common.c -o shearwater_common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 shearwater_predator.c -o shearwater_predator.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 shearwater_petrel.c -o shearwater_petrel.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 shearwater_predator_parser.c -o shearwater_predator_parser.o
shearwater_predator_parser.c: In function 'shearwater_common_parser_create':
shearwater_predator_parser.c:119:15: warning: variable 'samplesize' set but not used [-Wunused-but-set-variable]
  unsigned int samplesize = 0;
               ^~~~~~~~~~
shearwater_predator_parser.c: In function 'shearwater_predator_parser_get_field':
shearwater_predator_parser.c:412:43: warning: '%u' directive output may be truncated writing between 1 and 3 bytes into a region of size between 1 and 3 [-Wformat-truncation=]
      snprintf(buf, BUFLEN, "VPM-B/GFS +%u %u%%", data[68], data[85]);
                                           ^~
shearwater_predator_parser.c:412:28: note: directive argument in the range [0, 255]
      snprintf(buf, BUFLEN, "VPM-B/GFS +%u %u%%", data[68], data[85]);
                            ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:861:0,
                 from shearwater_predator_parser.c:23:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 20 bytes into a destination of size 16
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 diverite_nitekq.c -o diverite_nitekq.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 diverite_nitekq_parser.c -o diverite_nitekq_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 citizen_aqualand.c -o citizen_aqualand.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 citizen_aqualand_parser.c -o citizen_aqualand_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 ringbuffer.c -o ringbuffer.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 divesystem_idive.c -o divesystem_idive.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 divesystem_idive_parser.c -o divesystem_idive_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 checksum.c -o checksum.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 array.c -o array.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 -o buffer.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 cochran_commander.c -o cochran_commander.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 cochran_commander_parser.c -o cochran_commander_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 irda.c -o irda.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 usbhid.c -o usbhid.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include/libusb-1.0 -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 serial_posix.c -o serial_posix.o
libtool: link: ar cru .libs/libdivecomputer.a  version.o descriptor.o iterator.o common.o context.o device.o parser.o datetime.o suunto_common.o suunto_common2.o suunto_solution.o suunto_solution_parser.o suunto_eon.o suunto_eon_parser.o suunto_vyper.o suunto_vyper_parser.o suunto_vyper2.o suunto_d9.o suunto_d9_parser.o suunto_eonsteel.o suunto_eonsteel_parser.o reefnet_sensus.o reefnet_sensus_parser.o reefnet_sensuspro.o reefnet_sensuspro_parser.o reefnet_sensusultra.o reefnet_sensusultra_parser.o uwatec_aladin.o uwatec_memomouse.o uwatec_memomouse_parser.o uwatec_smart.o uwatec_smart_parser.o uwatec_meridian.o oceanic_common.o oceanic_atom2.o oceanic_atom2_parser.o oceanic_veo250.o oceanic_veo250_parser.o oceanic_vtpro.o oceanic_vtpro_parser.o mares_common.o mares_nemo.o mares_nemo_parser.o mares_puck.o mares_darwin.o mares_darwin_parser.o mares_iconhd.o mares_iconhd_parser.o ihex.o hw_ostc.o hw_ostc_parser.o hw_frog.o aes.o hw_ostc3.o cressi_edy.o cressi_edy_parser.o cressi_leonardo.o cressi_leonardo_parser.o zeagle_n2ition3.o atomics_cobalt.o atomics_cobalt_parser.o shearwater_common.o shearwater_predator.o shearwater_predator_parser.o shearwater_petrel.o diverite_nitekq.o diverite_nitekq_parser.o citizen_aqualand.o citizen_aqualand_parser.o divesystem_idive.o divesystem_idive_parser.o ringbuffer.o checksum.o array.o buffer.o cochran_commander.o cochran_commander_parser.o serial_posix.o irda.o usbhid.o
libtool: link: ranlib .libs/libdivecomputer.a
libtool: link: ( cd ".libs" && rm -f "libdivecomputer.la" && ln -s "../libdivecomputer.la" "libdivecomputer.la" )
Making all in examples
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 dctool common.o dctool.o dctool_help.o dctool_version.o dctool_list.o dctool_download.o dctool_dump.o dctool_parse.o dctool_read.o dctool_write.o dctool_fwupdate.o output.o output_xml.o output_raw.o utils.o  ../src/.libs/libdivecomputer.a -lusb-1.0 -lm
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VEEBct
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64
+ cd libdivecomputer-subsurface-branch-4.6.2
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64 'INSTALL=/usr/bin/install -p'
Making install in include
Making install in libdivecomputer
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/include/libdivecomputer'
 /usr/bin/install -p -m 644 version.h common.h context.h custom_serial.h buffer.h descriptor.h iterator.h device.h parser.h datetime.h units.h suunto.h suunto_solution.h suunto_eon.h suunto_eonsteel.h suunto_vyper.h suunto_vyper2.h suunto_d9.h reefnet.h reefnet_sensus.h reefnet_sensuspro.h reefnet_sensusultra.h uwatec.h uwatec_aladin.h uwatec_memomouse.h uwatec_smart.h uwatec_meridian.h oceanic.h oceanic_atom2.h oceanic_veo250.h oceanic_vtpro.h mares.h mares_nemo.h mares_puck.h mares_darwin.h mares_iconhd.h hw.h hw_ostc.h hw_frog.h hw_ostc3.h '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/include/libdivecomputer'
 /usr/bin/install -p -m 644 cressi.h cressi_edy.h cressi_leonardo.h zeagle.h zeagle_n2ition3.h atomics.h atomics_cobalt.h shearwater.h shearwater_petrel.h shearwater_predator.h diverite.h diverite_nitekq.h citizen.h citizen_aqualand.h divesystem.h divesystem_idive.h cochran.h cochran_commander.h '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/include/libdivecomputer'
Making install in src
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libdivecomputer.la '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libdivecomputer.lai /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/lib64/libdivecomputer.la
libtool: install: /usr/bin/install -p .libs/libdivecomputer.a /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/lib64/libdivecomputer.a
libtool: install: chmod 644 /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/lib64/libdivecomputer.a
libtool: install: ranlib /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/lib64/libdivecomputer.a
libtool: warning: remember to run 'libtool --finish /usr/lib64'
Making install in examples
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -p dctool '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/bin'
libtool: install: /usr/bin/install -p dctool /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/bin/dctool
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/lib64/pkgconfig'
 /usr/bin/install -p -m 644 libdivecomputer.pc '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/lib64/pkgconfig'
+ rm -fv /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/bin/dctool
removed '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/bin/dctool'
+ rm -fv /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/lib64/libdivecomputer.la
removed '/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/lib64/libdivecomputer.la'
+ /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: libdivecomputer-subsurface-devel-4.6.2-3.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2r9Rbc
+ umask 022
+ cd /builddir/build/BUILD
+ cd libdivecomputer-subsurface-branch-4.6.2
+ DOCDIR=/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/share/doc/libdivecomputer-subsurface-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/share/doc/libdivecomputer-subsurface-devel
+ cp -pr NEWS /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/share/doc/libdivecomputer-subsurface-devel
+ cp -pr README /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/share/doc/libdivecomputer-subsurface-devel
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.StxIsc
+ umask 022
+ cd /builddir/build/BUILD
+ cd libdivecomputer-subsurface-branch-4.6.2
+ LICENSEDIR=/builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/share/licenses/libdivecomputer-subsurface-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/share/licenses/libdivecomputer-subsurface-devel
+ cp -pr COPYING /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64/usr/share/licenses/libdivecomputer-subsurface-devel
+ exit 0
error: Invalid version (double separator '-'): 0.6.0-devel-Subsurface-branch: pkgconfig(libdivecomputer) = 0.6.0-devel-Subsurface-branch
Provides: libdc-devel = 4.6.2-3.fc28 libdc-devel(riscv-64) = 4.6.2-3.fc28 libdc-static = 4.6.2-3.fc28 libdc-static(riscv-64) = 4.6.2-3.fc28 libdivecomputer-subsurface-devel = 4.6.2-3.fc28 libdivecomputer-subsurface-devel(riscv-64) = 4.6.2-3.fc28 libdivecomputer-subsurface-static = 4.6.2-3.fc28 libdivecomputer-subsurface-static(riscv-64) = 4.6.2-3.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config pkgconfig(libusb-1.0)
Conflicts: libdivecomputer-devel
Obsoletes: libdc-devel < 4.6.0 libdc-static < 4.6.0
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.fc28.riscv64
Wrote: /builddir/build/SRPMS/libdivecomputer-subsurface-4.6.2-3.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/libdivecomputer-subsurface-devel-4.6.2-3.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EBvnwk
+ umask 022
+ cd /builddir/build/BUILD
+ cd libdivecomputer-subsurface-branch-4.6.2
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/libdivecomputer-subsurface-4.6.2-3.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