D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/libdivecomputer-0.6.0-3.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.osf7WE + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf libdivecomputer-0.6.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/libdivecomputer-0.6.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libdivecomputer-0.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.u0zOlG + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd libdivecomputer-0.6.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 style of include used by make... GNU checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-mageia-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-mageia-linux-gnu-gcc... none checking for x86_64-mageia-linux-gnu-ar... x86_64-mageia-linux-gnu-ar checking the archiver (x86_64-mageia-linux-gnu-ar) interface... ar checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-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 x86_64-mageia-linux-gnu-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/x86_64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/x86_64-mageia-linux-gnu-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... (cached) x86_64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... x86_64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-mageia-linux-gnu-nm -p output from x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-mageia-linux-gnu-gcc static flag -static works... no checking if x86_64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-mageia-linux-gnu-gcc linker (/usr/bin/ld -m elf_x86_64) 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 x86_64-mageia-linux-gnu-windres... no checking for windres... no checking for x86_64-mageia-linux-gnu-gcc... (cached) x86_64-mageia-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-mageia-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-mageia-linux-gnu-gcc... (cached) none checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C99... none needed checking for doxygen... no checking for mandoc... no checking whether make supports nested variables... (cached) yes checking for native Win32... no checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... no checking for HIDAPI... no checking for BLUEZ... no checking for winsock2.h... no checking for ws2bth.h... no checking for winsock2.h... (cached) no checking for af_irda.h... no checking for sys/socket.h... yes checking for linux/types.h... yes checking for linux/irda.h... no 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 pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking whether optreset is declared... no checking for struct tm.tm_gmtoff... yes 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 timegm... yes checking for _mkgmtime... no checking for getopt_long... yes checking whether C compiler accepts -pedantic... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wshadow... yes checking whether C compiler accepts -Wrestrict... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wwrite-strings... yes checking whether C compiler accepts -Wcast-qual... yes checking whether C compiler accepts -Wpointer-arith... yes checking whether C compiler accepts -Wstrict-prototypes... yes checking whether C compiler accepts -Wmissing-prototypes... yes checking whether C compiler accepts -Wmissing-declarations... yes checking whether C compiler accepts -Wno-unused-parameter... 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 -j8 /usr/bin/make -s all-recursive Making all in include Making all in libdivecomputer Making all in src GEN revision.h CC version.lo In file included from version.c:26: version.c: In function 'dc_version_check': ../include/libdivecomputer/version.h:35:20: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 35 | (DC_VERSION_MAJOR > (major) || \ | ^ version.c:51:9: note: in expansion of macro 'DC_VERSION_CHECK' 51 | return DC_VERSION_CHECK (major,minor,micro); | ^~~~~~~~~~~~~~~~ CC common.lo CC datetime.lo datetime.c: In function 'dc_datetime_mktime': datetime.c:188:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 188 | if (dt->timezone != DC_TIMEZONE_NONE) { | ^~ CC descriptor.lo descriptor.c: In function 'dc_descriptor_iterator_next': descriptor.c:389:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 389 | *item = (dc_descriptor_t *) &g_descriptors[iterator->current++]; | ^ CC iterator.lo CC context.lo context.c: In function 'l_vsnprintf': context.c:80:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 80 | if (n >= size) | ^~ context.c: In function 'l_hexdump': context.c:129:26: warning: operand of '?:' changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 129 | return (n > maxlength ? -1 : length * 2); | ^~ context.c: In function 'dc_context_set_logfunc': context.c:225:61: warning: declaration of 'logfunc' shadows a global declaration [-Wshadow] 225 | dc_context_set_logfunc (dc_context_t *context, dc_logfunc_t logfunc, void *userdata) | ~~~~~~~~~~~~~^~~~~~~ context.c:133:1: note: shadowed declaration is here 133 | logfunc (dc_context_t *context, dc_loglevel_t loglevel, const char *file, unsigned int line, const char *function, const char *msg, void *userdata) | ^~~~~~~ CC parser.lo CC device.lo CC suunto_common.lo CC suunto_solution_parser.lo suunto_solution_parser.c: In function 'suunto_solution_parser_get_field': suunto_solution_parser.c:113:18: warning: declaration of 'value' shadows a parameter [-Wshadow] 113 | unsigned char value = data[offset++]; | ^~~~~ suunto_solution_parser.c:98:106: note: shadowed declaration is here 98 | suunto_solution_parser_get_field (dc_parser_t *abstract, dc_field_type_t type, unsigned int flags, void *value) | ~~~~~~^~~~~ CC suunto_solution.lo CC suunto_eon.lo CC suunto_common2.lo CC suunto_vyper2.lo suunto_vyper2.c: In function 'suunto_vyper2_device_packet': suunto_vyper2.c:216:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 216 | if (array_uint16_be (answer + 1) + 4 != asize) { | ^~ CC suunto_vyper.lo CC suunto_eon_parser.lo CC suunto_vyper_parser.lo suunto_vyper_parser.c: In function 'suunto_vyper_parser_get_field': suunto_vyper_parser.c:239:15: warning: unused variable 'size' [-Wunused-variable] 239 | unsigned int size = abstract->size; | ^~~~ CC suunto_d9.lo suunto_d9.c: In function 'suunto_d9_device_packet': suunto_d9.c:284:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 284 | if (array_uint16_be (answer + 1) + 4 != asize) { | ^~ CC suunto_d9_parser.lo suunto_d9_parser.c: In function 'suunto_d9_parser_get_field': suunto_d9_parser.c:336:15: warning: unused variable 'size' [-Wunused-variable] 336 | unsigned int size = abstract->size; | ^~~~ suunto_d9_parser.c: In function 'suunto_d9_parser_samples_foreach': suunto_d9_parser.c:539:33: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] 539 | unsigned int seconds, type, unknown, heading; | ^~~~~~~ CC reefnet_sensus_parser.lo CC reefnet_sensus.lo CC reefnet_sensuspro_parser.lo reefnet_sensuspro_parser.c: In function 'reefnet_sensuspro_parser_get_field': reefnet_sensuspro_parser.c:166:17: warning: declaration of 'value' shadows a parameter [-Wshadow] 166 | unsigned int value = array_uint16_le (data + offset); | ^~~~~ reefnet_sensuspro_parser.c:145:108: note: shadowed declaration is here 145 | reefnet_sensuspro_parser_get_field (dc_parser_t *abstract, dc_field_type_t type, unsigned int flags, void *value) | ~~~~~~^~~~~ CC reefnet_sensusultra_parser.lo CC reefnet_sensuspro.lo CC suunto_eonsteel.lo suunto_eonsteel.c: In function 'send_receive': suunto_eonsteel.c:327:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 327 | if (actual > len_in) { | ^ suunto_eonsteel.c:298:16: warning: unused variable 'buf' [-Wunused-variable] 298 | unsigned char buf[2048]; | ^~~ suunto_eonsteel.c:297:19: warning: unused variable 'max' [-Wunused-variable] 297 | int len, actual, max; | ^~~ suunto_eonsteel.c: In function 'read_file': suunto_eonsteel.c:353:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 353 | if (len + 4 > sizeof(cmdbuf)) { | ^ suunto_eonsteel.c:410:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 410 | if (rc < 8 + got) { | ^ suunto_eonsteel.c: In function 'parse_dirent': suunto_eonsteel.c:447:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 447 | if (namelen + 8 + 1 > len || name[namelen] != 0) { | ^ suunto_eonsteel.c: In function 'suunto_eonsteel_device_foreach': suunto_eonsteel.c:702:12: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 702 | if (len >= sizeof(pathname)) | ^~ CC reefnet_sensusultra.lo CC uwatec_aladin.lo CC uwatec_memomouse_parser.lo 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] 119 | 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] 203 | int is_nitrox = 0, is_oxygen = 0, is_air = 0; | ^~~~~~ CC uwatec_memomouse.lo CC uwatec_smart.lo CC uwatec_meridian.lo CC suunto_eonsteel_parser.lo suunto_eonsteel_parser.c: In function 'lookup_descriptor_type': suunto_eonsteel_parser.c:163:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 163 | for (i = 0; i < C_ARRAY_SIZE(type_translation); i++) { | ^ suunto_eonsteel_parser.c: In function 'desc_type_name': suunto_eonsteel_parser.c:183:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 183 | for (i = 0; i < C_ARRAY_SIZE(type_translation); i++) { | ^ suunto_eonsteel_parser.c: In function 'desc_free': suunto_eonsteel_parser.c:293:8: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 293 | free((void *)desc[i].desc); | ^ suunto_eonsteel_parser.c:294:8: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 294 | free((void *)desc[i].format); | ^ suunto_eonsteel_parser.c:295:8: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 295 | free((void *)desc[i].mod); | ^ suunto_eonsteel_parser.c: In function 'traverse_entry': suunto_eonsteel_parser.c:405:16: warning: declaration of 'type' shadows a previous local [-Wshadow] 405 | unsigned int type = *end++; | ^~~~ suunto_eonsteel_parser.c:372:15: note: shadowed declaration is here 372 | int textlen, type; | ^~~~ suunto_eonsteel_parser.c:406:16: warning: declaration of 'len' shadows a parameter [-Wshadow] 406 | unsigned int len; | ^~~ suunto_eonsteel_parser.c:369:86: note: shadowed declaration is here 369 | static int traverse_entry(suunto_eonsteel_parser_t *eon, const unsigned char *p, int len, eon_data_cb_t callback, void *user) | ~~~~^~~ suunto_eonsteel_parser.c: In function 'sample_gastime': suunto_eonsteel_parser.c:549:20: warning: unused variable 'sample' [-Wunused-variable] 549 | dc_sample_value_t sample = {0}; | ^~~~~~ suunto_eonsteel_parser.c: In function 'traverse_samples': suunto_eonsteel_parser.c:970:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 970 | if (desc->size > len) | ^ suunto_eonsteel_parser.c:978:19: warning: declaration of 'type' shadows a parameter [-Wshadow] 978 | enum eon_sample type = desc->type[i]; | ^~~~ suunto_eonsteel_parser.c:964:44: note: shadowed declaration is here 964 | static int traverse_samples(unsigned short type, const struct type_desc *desc, const unsigned char *data, int len, void *user) | ~~~~~~~~~~~~~~~^~~~ suunto_eonsteel_parser.c: In function 'suunto_eonsteel_parser_samples_foreach': suunto_eonsteel_parser.c:1011:9: warning: missing initializer for field 'state_type' of 'struct sample_data' [-Wmissing-field-initializers] 1011 | struct sample_data data = { eon, callback, userdata, 0 }; | ^~~~~~~~~~~ suunto_eonsteel_parser.c:466:14: note: 'state_type' declared here 466 | const char *state_type, *notify_type; | ^~~~~~~~~~ suunto_eonsteel_parser.c: In function 'traverse_device_fields': suunto_eonsteel_parser.c:1235:14: warning: unused variable 'name' [-Wunused-variable] 1235 | const char *name = desc->desc + strlen("sml.DeviceLog.Device."); | ^~~~ suunto_eonsteel_parser.c: In function 'traverse_sample_fields': suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_none' not handled in switch [-Wswitch] 1409 | switch (type) { | ^~~~~~ suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_temp' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_ndl' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_ceiling' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_tts' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_heading' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_abspressure' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_gastime' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_ventilation' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_gasnr' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_pressure' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_state' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_state_active' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_notify' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_notify_active' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_warning' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_warning_active' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_alarm' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_alarm_active' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_gasswitch' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_setpoint_type' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_setpoint_po2' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_setpoint_automatic' not handled in switch [-Wswitch] suunto_eonsteel_parser.c:1409:3: warning: enumeration value 'ES_bookmark' not handled in switch [-Wswitch] CC uwatec_g2.lo CC oceanic_veo250.lo CC oceanic_atom2.lo CC oceanic_common.lo CC oceanic_veo250_parser.lo CC uwatec_smart_parser.lo CC oceanic_vtpro_parser.lo CC oceanic_vtpro.lo oceanic_vtpro.c: In function 'oceanic_vtpro_device_version': oceanic_vtpro.c:593:18: warning: declaration of 'crc' shadows a previous local [-Wshadow] 593 | unsigned char crc = answer[PAGESIZE / 2]; | ^~~ oceanic_vtpro.c:575:16: note: shadowed declaration is here 575 | unsigned char crc = ans[PAGESIZE / 2]; | ^~~ oceanic_vtpro.c:594:18: warning: declaration of 'ccrc' shadows a previous local [-Wshadow] 594 | unsigned char ccrc = checksum_add_uint4 (answer, PAGESIZE / 2, 0x00); | ^~~~ oceanic_vtpro.c:576:16: note: shadowed declaration is here 576 | unsigned char ccrc = checksum_add_uint4 (ans, PAGESIZE / 2, 0x00); | ^~~~ CC mares_nemo.lo CC mares_common.lo CC mares_puck.lo CC oceanic_atom2_parser.lo oceanic_atom2_parser.c: In function 'oceanic_atom2_parser_get_field': oceanic_atom2_parser.c:483:15: warning: unused variable 'size' [-Wunused-variable] 483 | unsigned int size = abstract->size; | ^~~~ CC mares_nemo_parser.lo CC mares_darwin.lo CC mares_darwin_parser.lo CC ihex.lo ihex.c: In function 'dc_ihex_file_read': ihex.c:145:11: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 145 | if (type < 0 || type > 5) { | ^ CC mares_iconhd.lo CC mares_iconhd_parser.lo mares_iconhd_parser.c: In function 'mares_iconhd_parser_samples_foreach': mares_iconhd_parser.c:517:17: warning: unused variable 'maxdepth' [-Wunused-variable] 517 | unsigned int maxdepth = array_uint16_le (data + offset + 0); | ^~~~~~~~ CC hw_frog.lo hw_frog.c: In function 'hw_frog_device_foreach': hw_frog.c:403:13: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 403 | if (begin < RB_PROFILE_BEGIN || | ^ hw_frog.c:405:8: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 405 | end < RB_PROFILE_BEGIN || | ^ CC aes.lo aes.c: In function 'AES128_CBC_encrypt_buffer': aes.c:521:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 521 | state.Iv = (uint8_t*)iv; | ^ aes.c: In function 'AES128_CBC_decrypt_buffer': aes.c:563:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 563 | state.Iv = (uint8_t*)iv; | ^ CC cressi_edy.lo CC hw_ostc_parser.lo hw_ostc_parser.c: In function 'hw_ostc_parser_get_datetime': hw_ostc_parser.c:374:15: warning: unused variable 'size' [-Wunused-variable] 374 | unsigned int size = abstract->size; | ^~~~ hw_ostc_parser.c: In function 'hw_ostc_parser_get_field': hw_ostc_parser.c:435:15: warning: unused variable 'size' [-Wunused-variable] 435 | unsigned int size = abstract->size; | ^~~~ CC hw_ostc.lo CC hw_ostc3.lo hw_ostc3.c: In function 'hw_ostc3_firmware_readline': hw_ostc3.c:1004:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1004 | if (n != 6 + size * 2) { | ^~ CC cressi_leonardo_parser.lo CC cressi_leonardo.lo CC cressi_edy_parser.lo CC atomics_cobalt.lo atomics_cobalt.c: In function 'atomics_cobalt_device_close': atomics_cobalt.c:155:27: warning: unused variable 'device' [-Wunused-variable] 155 | atomics_cobalt_device_t *device = (atomics_cobalt_device_t *) abstract; | ^~~~~~ atomics_cobalt.c: In function 'atomics_cobalt_device_version': atomics_cobalt.c:201:27: warning: unused variable 'device' [-Wunused-variable] 201 | atomics_cobalt_device_t *device = (atomics_cobalt_device_t *) abstract; | ^~~~~~ CC shearwater_predator.lo CC zeagle_n2ition3.lo zeagle_n2ition3.c: In function 'zeagle_n2ition3_device_foreach': zeagle_n2ition3.c:300:12: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 300 | if (first < RB_LOGBOOK_BEGIN || first >= RB_LOGBOOK_END || | ^ zeagle_n2ition3.c:301:8: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 301 | last < RB_LOGBOOK_BEGIN || last >= RB_LOGBOOK_END) { | ^ CC atomics_cobalt_parser.lo CC shearwater_common.lo CC diverite_nitekq.lo CC shearwater_petrel.lo CC shearwater_predator_parser.lo CC diverite_nitekq_parser.lo CC citizen_aqualand.lo CC citizen_aqualand_parser.lo CC ringbuffer.lo CC rbstream.lo rbstream.c:42:1: warning: 'ifloor' defined but not used [-Wunused-function] 42 | ifloor (unsigned int x, unsigned int n) | ^~~~~~ CC divesystem_idive.lo CC checksum.lo CC divesystem_idive_parser.lo CC buffer.lo GEN libdivecomputer.exp CC array.lo CC irda.lo CC usbhid.lo CC bluetooth.lo CC cochran_commander_parser.lo CC cochran_commander.lo cochran_commander.c: In function 'cochran_commander_find_fingerprint': cochran_commander.c:681:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 681 | for (unsigned int i = 0; i <= dive_count; ++i) { | ^~ cochran_commander.c: In function 'cochran_commander_device_foreach': cochran_commander.c:1037:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1037 | if (idx == data.invalid_profile_dive_num) | ^~ CC serial_posix.lo serial_posix.c: In function 'dc_serial_enumerate': serial_posix.c:126:11: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 126 | if (n >= sizeof (filename)) { | ^~ CCLD libdivecomputer.la Making all in examples CC dctool_help.o CC dctool_list.o CC dctool_version.o CC dctool_read.o CC dctool_download.o CC common.o CC dctool_parse.o dctool_parse.c: In function 'dctool_parse_run': dctool_parse.c:155:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 155 | for (unsigned int i = 0; i < argc; ++i) { | ^ CC dctool_timesync.o CC dctool.o dctool.c: In function 'main': dctool.c:242:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 242 | char *argv_help[] = {(char *) "help", NULL, NULL}; | ^ CC dctool_dump.o CC dctool_write.o CC utils.o CC output.o CC dctool_fwupdate.o CC output_raw.o output_raw.c: In function 'mktemplate_datetime': output_raw.c:83:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 83 | if (n < 0 || n >= size) | ^~ output_raw.c: In function 'mktemplate_number': output_raw.c:95:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 95 | if (n < 0 || n >= size) | ^~ CC output_xml.o output_xml.c: In function 'dctool_xml_output_write': output_xml.c:233:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | if (dt.timezone == DC_TIMEZONE_NONE) { | ^~ CCLD dctool Making all in doc Making all in man + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.l9BOAH + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64 + cd libdivecomputer-0.6.0 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64 'INSTALL=/usr/bin/install -p' Making install in include Making install in libdivecomputer /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/include/libdivecomputer' /usr/bin/install -p -m 644 version.h common.h context.h buffer.h descriptor.h iterator.h device.h parser.h datetime.h units.h suunto_eon.h suunto_vyper2.h suunto_d9.h reefnet_sensus.h reefnet_sensuspro.h reefnet_sensusultra.h oceanic_atom2.h oceanic_veo250.h oceanic_vtpro.h hw_ostc.h hw_frog.h hw_ostc3.h atomics_cobalt.h '/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/include/libdivecomputer' Making install in src /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libdivecomputer.la '/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libdivecomputer.so.0.0.0 /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/lib64/libdivecomputer.so.0.0.0 libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/lib64 && { ln -s -f libdivecomputer.so.0.0.0 libdivecomputer.so.0 || { rm -f libdivecomputer.so.0 && ln -s libdivecomputer.so.0.0.0 libdivecomputer.so.0; }; }) libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/lib64 && { ln -s -f libdivecomputer.so.0.0.0 libdivecomputer.so || { rm -f libdivecomputer.so && ln -s libdivecomputer.so.0.0.0 libdivecomputer.so; }; }) libtool: install: /usr/bin/install -p .libs/libdivecomputer.lai /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/lib64/libdivecomputer.la libtool: warning: remember to run 'libtool --finish /usr/lib64' Making install in examples /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p dctool '/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/bin' libtool: warning: '../src/libdivecomputer.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/dctool /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/bin/dctool Making install in doc Making install in man /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/share/man/man3' /usr/bin/install -p -m 644 dc_buffer_append.3 dc_buffer_free.3 dc_buffer_get_data.3 dc_buffer_get_size.3 dc_buffer_new.3 dc_buffer_prepend.3 dc_context_free.3 dc_context_new.3 dc_context_set_logfunc.3 dc_context_set_loglevel.3 dc_datetime_gmtime.3 dc_datetime_localtime.3 dc_datetime_mktime.3 dc_datetime_now.3 dc_descriptor_free.3 dc_descriptor_get_product.3 dc_descriptor_get_vendor.3 dc_descriptor_iterator.3 dc_device_close.3 dc_device_foreach.3 dc_device_open.3 dc_device_set_cancel.3 dc_device_set_events.3 dc_device_set_fingerprint.3 dc_iterator_free.3 dc_iterator_next.3 dc_parser_destroy.3 dc_parser_get_datetime.3 dc_parser_get_field.3 dc_parser_new.3 dc_parser_samples_foreach.3 dc_parser_set_data.3 libdivecomputer.3 '/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/share/man/man3' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libdivecomputer.pc '/home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/lib64/pkgconfig' + find /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64 -name '*.la' -delete + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 0.6.0-3.mga8 --unique-debug-suffix -0.6.0-3.mga8.x86_64 --unique-debug-src-base libdivecomputer-0.6.0-3.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/libdivecomputer-0.6.0 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/bin/dctool explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/lib64/libdivecomputer.so.0.0.0 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/bin/dctool extracting debug info from /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64/usr/lib64/libdivecomputer.so.0.0.0 original debug info size: 1680kB, size after compression: 1460kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2654 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libdivecomputer-0.6.0-3.mga8.x86_64 Provides: libdivecomputer = 0.6.0-3.mga8 libdivecomputer(x86-64) = 0.6.0-3.mga8 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.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdivecomputer.so.0()(64bit) Processing files: lib64divecomputer0-0.6.0-3.mga8.x86_64 Provides: lib64divecomputer0 = 0.6.0-3.mga8 lib64divecomputer0(x86-64) = 0.6.0-3.mga8 libdivecomputer.so.0()(64bit) 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.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) Processing files: lib64divecomputer-devel-0.6.0-3.mga8.x86_64 Provides: devel(libdivecomputer(64bit)) divecomputer-devel = 0.6.0-3.mga8 lib64divecomputer-devel = 0.6.0-3.mga8 lib64divecomputer-devel(x86-64) = 0.6.0-3.mga8 pkgconfig(libdivecomputer) = 0.6.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libm(64bit)) pkgconfig Processing files: libdivecomputer-debugsource-0.6.0-3.mga8.x86_64 Provides: libdivecomputer-debugsource = 0.6.0-3.mga8 libdivecomputer-debugsource(x86-64) = 0.6.0-3.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libdivecomputer-debuginfo-0.6.0-3.mga8.x86_64 Provides: debuginfo(build-id) = 7d3f80cfb69d5a01cbd32e82cd5454b661cd782d libdivecomputer-debuginfo = 0.6.0-3.mga8 libdivecomputer-debuginfo(x86-64) = 0.6.0-3.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libdivecomputer-debugsource(x86-64) = 0.6.0-3.mga8 Processing files: lib64divecomputer0-debuginfo-0.6.0-3.mga8.x86_64 Provides: debuginfo(build-id) = a7524be8741a774b0e4b8a0e7c3df78fd8372cf3 lib64divecomputer0-debuginfo = 0.6.0-3.mga8 lib64divecomputer0-debuginfo(x86-64) = 0.6.0-3.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libdivecomputer-debugsource(x86-64) = 0.6.0-3.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/libdivecomputer-0.6.0-3.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64divecomputer-devel-0.6.0-3.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/libdivecomputer-debuginfo-0.6.0-3.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64divecomputer0-0.6.0-3.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64divecomputer0-debuginfo-0.6.0-3.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/libdivecomputer-debugsource-0.6.0-3.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.c3aFxF + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd libdivecomputer-0.6.0 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/libdivecomputer-0.6.0-3.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.S8D3LG + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf libdivecomputer-0.6.0 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!