D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/hotkeys-0.5.7.1-30.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.94OqUT + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf hotkeys-0.5.7.1 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/hotkeys_0.5.7.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hotkeys-0.5.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (hotkeys-0.5.7.1_mutefix.patch):' Patch #1 (hotkeys-0.5.7.1_mutefix.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/hotkeys.c + echo 'Patch #2 (hotkeys-0.5.7.1-db4.patch):' Patch #2 (hotkeys-0.5.7.1-db4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file acinclude.m4 patching file configure.in patching file Makefile.in patching file src/conf.c patching file src/Makefile.in + echo 'Patch #3 (hotkeys-0.5.7.1-gcc43.diff):' Patch #3 (hotkeys-0.5.7.1-gcc43.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/hotkeys.c + echo 'Patch #4 (hotkeys-0.5.7.1-includedir.patch):' Patch #4 (hotkeys-0.5.7.1-includedir.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/Makefile.am patching file src/kbddef.c + echo 'Patch #5 (hotkeys-0.5.7.1-automake-1.13.patch):' Patch #5 (hotkeys-0.5.7.1-automake-1.13.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.hqroyU + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd hotkeys-0.5.7.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2435: AC_DIAGNOSE is expanded from... /usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from... configure.in:5: the top level configure.in:16: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:16: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:16: the top level configure.in:21: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:21: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:21: the top level configure.in:26: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:26: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:26: the top level configure.in:31: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:31: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:31: the top level configure.in:36: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:36: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:36: the top level configure.in:41: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:41: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:41: the top level configure.in:46: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:46: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:46: the top level configure.in:73: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:73: You should run autoupdate. ./lib/autoconf/general.m4:2998: AC_TRY_RUN is expanded from... /usr/share/aclocal/libxml.m4:12: AM_PATH_XML2 is expanded from... configure.in:73: the top level configure.in:73: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:73: You should run autoupdate. ./lib/autoconf/general.m4:2921: AC_TRY_LINK is expanded from... /usr/share/aclocal/libxml.m4:12: AM_PATH_XML2 is expanded from... configure.in:73: the top level configure.in:102: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:102: You should run autoupdate. ./lib/autoconf/general.m4:2998: AC_TRY_RUN is expanded from... acinclude.m4:342: AM_CHECK_DB4 is expanded from... configure.in:102: the top level configure.in:112: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:112: You should run autoupdate. ./lib/autoconf/general.m4:2998: AC_TRY_RUN is expanded from... /usr/share/aclocal/gtk-2.0.m4:8: AM_PATH_GTK_2_0 is expanded from... configure.in:112: the top level configure.in:112: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:112: You should run autoupdate. ./lib/autoconf/general.m4:2921: AC_TRY_LINK is expanded from... /usr/share/aclocal/gtk-2.0.m4:8: AM_PATH_GTK_2_0 is expanded from... configure.in:112: the top level configure.in:120: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... /usr/share/aclocal/libxosd.m4:9: AM_PATH_LIBXOSD is expanded from... configure.in:120: the top level configure.in:125: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:125: You should run autoupdate. ./lib/autoconf/headers.m4:657: AC_HEADER_STDC is expanded from... configure.in:125: the top level configure.in:134: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:134: You should run autoupdate. ./lib/autoconf/headers.m4:696: AC_HEADER_TIME is expanded from... configure.in:134: the top level configure.in:142: warning: AC_OUTPUT should be used without arguments. configure.in:142: You should run autoupdate. configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2435: AC_DIAGNOSE is expanded from... aclocal.m4:1179: AM_INIT_AUTOMAKE is expanded from... configure.in:5: the top level configure.in:16: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:16: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:16: the top level configure.in:21: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:21: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:21: the top level configure.in:26: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:26: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:26: the top level configure.in:31: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:31: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:31: the top level configure.in:36: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:36: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:36: the top level configure.in:41: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:41: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:41: the top level configure.in:46: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:46: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:46: the top level configure.in:73: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:73: You should run autoupdate. ./lib/autoconf/general.m4:2998: AC_TRY_RUN is expanded from... aclocal.m4:220: AM_PATH_XML2 is expanded from... configure.in:73: the top level configure.in:73: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:73: You should run autoupdate. ./lib/autoconf/general.m4:2921: AC_TRY_LINK is expanded from... aclocal.m4:220: AM_PATH_XML2 is expanded from... configure.in:73: the top level configure.in:102: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:102: You should run autoupdate. ./lib/autoconf/general.m4:2998: AC_TRY_RUN is expanded from... acinclude.m4:342: AM_CHECK_DB4 is expanded from... configure.in:102: the top level configure.in:112: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:112: You should run autoupdate. ./lib/autoconf/general.m4:2998: AC_TRY_RUN is expanded from... aclocal.m4:30: AM_PATH_GTK_2_0 is expanded from... configure.in:112: the top level configure.in:112: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:112: You should run autoupdate. ./lib/autoconf/general.m4:2921: AC_TRY_LINK is expanded from... aclocal.m4:30: AM_PATH_GTK_2_0 is expanded from... configure.in:112: the top level configure.in:120: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... aclocal.m4:406: AM_PATH_LIBXOSD is expanded from... configure.in:120: the top level configure.in:125: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:125: You should run autoupdate. ./lib/autoconf/headers.m4:657: AC_HEADER_STDC is expanded from... configure.in:125: the top level configure.in:134: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:134: You should run autoupdate. ./lib/autoconf/headers.m4:696: AC_HEADER_TIME is expanded from... configure.in:134: the top level configure.in:142: warning: AC_OUTPUT should be used without arguments. configure.in:142: You should run autoupdate. autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2435: AC_DIAGNOSE is expanded from... aclocal.m4:1179: AM_INIT_AUTOMAKE is expanded from... configure.in:5: the top level configure.in:16: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:16: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:16: the top level configure.in:21: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:21: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:21: the top level configure.in:26: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:26: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:26: the top level configure.in:31: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:31: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:31: the top level configure.in:36: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:36: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:36: the top level configure.in:41: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:41: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:41: the top level configure.in:46: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:46: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... configure.in:46: the top level configure.in:73: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:73: You should run autoupdate. ./lib/autoconf/general.m4:2998: AC_TRY_RUN is expanded from... aclocal.m4:220: AM_PATH_XML2 is expanded from... configure.in:73: the top level configure.in:73: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:73: You should run autoupdate. ./lib/autoconf/general.m4:2921: AC_TRY_LINK is expanded from... aclocal.m4:220: AM_PATH_XML2 is expanded from... configure.in:73: the top level configure.in:102: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:102: You should run autoupdate. ./lib/autoconf/general.m4:2998: AC_TRY_RUN is expanded from... acinclude.m4:342: AM_CHECK_DB4 is expanded from... configure.in:102: the top level configure.in:112: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:112: You should run autoupdate. ./lib/autoconf/general.m4:2998: AC_TRY_RUN is expanded from... aclocal.m4:30: AM_PATH_GTK_2_0 is expanded from... configure.in:112: the top level configure.in:112: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:112: You should run autoupdate. ./lib/autoconf/general.m4:2921: AC_TRY_LINK is expanded from... aclocal.m4:30: AM_PATH_GTK_2_0 is expanded from... configure.in:112: the top level configure.in:120: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from... aclocal.m4:406: AM_PATH_LIBXOSD is expanded from... configure.in:120: the top level configure.in:125: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:125: You should run autoupdate. ./lib/autoconf/headers.m4:657: AC_HEADER_STDC is expanded from... configure.in:125: the top level configure.in:134: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:134: You should run autoupdate. ./lib/autoconf/headers.m4:696: AC_HEADER_TIME is expanded from... configure.in:134: the top level configure.in:142: warning: AC_OUTPUT should be used without arguments. configure.in:142: You should run autoupdate. configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:5: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:9: installing 'config/compile' src/Makefile.am: installing 'config/depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:9: warning: 'CFLAGS' is a user variable, you should not override it; src/Makefile.am:9: use 'AM_CFLAGS' instead + 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 + /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 + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./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 --with-xosd checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no 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 the compiler supports GNU C... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-mageia-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-mageia-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-mageia-linux-gnu-gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for xml2-config... /usr/bin/xml2-config checking for libxml - version >= 2.2.8... yes (version 2.9.10) checking for pthread_create in -lpthread... yes checking for db_create in -ldb4... no checking for db_create in -ldb... yes checking for version of db4... >= 4.2.0, ok checking for xosd-config... /usr/bin/xosd-config checking for libxosd... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for string.h... yes checking for strings.h... (cached) yes checking for syslog.h... yes checking for sys/file.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether x86_64-mageia-linux-gnu-gcc needs -traditional... no checking for vprintf... yes checking whether closedir returns void... no checking for select... yes checking for strdup... yes checking for strerror... yes checking for getopt_long... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating def/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/share/hotkeys\" -DCONFDIR=\"/etc\" -DCONFIG_NAME=\"hotkeys.conf\" -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include -I.. -c -o splash.o splash.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/share/hotkeys\" -DCONFDIR=\"/etc\" -DCONFIG_NAME=\"hotkeys.conf\" -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include -I.. -c -o xmalloc.o xmalloc.c xmalloc.c: In function 'fixup_null_alloc': xmalloc.c:82:5: warning: implicit declaration of function 'uError'; did you mean 'error'? [-Wimplicit-function-declaration] 82 | uError ("Memory exhausted"); | ^~~~~~ | error xmalloc.c:83:5: warning: implicit declaration of function 'bailout' [-Wimplicit-function-declaration] 83 | bailout(); | ^~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/share/hotkeys\" -DCONFDIR=\"/etc\" -DCONFIG_NAME=\"hotkeys.conf\" -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include -I.. -c -o fixVMware.o fixVMware.c fixVMware.c: In function 'startFixVMwareThread': fixVMware.c:47:5: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 47 | bzero(&s, sizeof(s)); | ^~~~~ fixVMware.c:47:5: warning: incompatible implicit declaration of built-in function 'bzero' fixVMware.c: In function 'fixVMware': fixVMware.c:66:38: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 66 | interval = ( time == NULL ? 10 : atoi(time) ); | ^~~~ fixVMware.c:70:5: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] 70 | sigblock(sigmask(SIGALRM)); | ^~~~~~~~ In file included from fixVMware.c:22: /usr/include/signal.h:170:12: note: declared here 170 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~ fixVMware.c:74:33: warning: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] 74 | pthread_create( &tp, &attr, startFixVMwareThread, NULL ); | ^~~~~~~~~~~~~~~~~~~~ | | | void (*)(void) In file included from fixVMware.c:24: /usr/include/pthread.h:200:15: note: expected 'void * (*)(void *)' but argument is of type 'void (*)(void)' 200 | void *(*__start_routine) (void *), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hotkeys.h:25, from fixVMware.c:26: fixVMware.c: At top level: kbddef.h:29:13: warning: 'parseDefFile' declared 'static' but never defined [-Wunused-function] 29 | static Bool parseDefFile(const char* filebuf); | ^~~~~~~~~~~~ kbddef.h:30:13: warning: 'parseError' declared 'static' but never defined [-Wunused-function] 30 | static void parseError(const char* filename); | ^~~~~~~~~~ In file included from fixVMware.c:26: hotkeys.h:37:13: warning: 'setKbdType' declared 'static' but never defined [-Wunused-function] 37 | static Bool setKbdType(const char* prog, const char* type); | ^~~~~~~~~~ hotkeys.h:39:13: warning: 'setLoglevel' declared 'static' but never defined [-Wunused-function] 39 | static void setLoglevel(int level); | ^~~~~~~~~~~ hotkeys.h:40:13: warning: 'parseArgs' declared 'static' but never defined [-Wunused-function] 40 | static Bool parseArgs(int argc, char* argv[]); | ^~~~~~~~~ hotkeys.h:41:17: warning: 'GetDisplay' declared 'static' but never defined [-Wunused-function] 41 | static Display* GetDisplay(char* program, char* dpyName, int* opcodeRtrn, int* evBaseRtrn); | ^~~~~~~~~~ hotkeys.h:43:12: warning: 'adjust_vol' declared 'static' but never defined [-Wunused-function] 43 | static int adjust_vol(int adj); | ^~~~~~~~~~ hotkeys.h:44:12: warning: 'doMute' declared 'static' but never defined [-Wunused-function] 44 | static int doMute(void); | ^~~~~~ hotkeys.h:45:12: warning: 'ejectDisc' declared 'static' but never defined [-Wunused-function] 45 | static int ejectDisc(void); | ^~~~~~~~~ hotkeys.h:46:12: warning: 'closeTray' declared 'static' but never defined [-Wunused-function] 46 | static int closeTray(void); | ^~~~~~~~~ hotkeys.h:47:12: warning: 'launchApp' declared 'static' but never defined [-Wunused-function] 47 | static int launchApp(int keycode); | ^~~~~~~~~ hotkeys.h:48:13: warning: 'printXkbActionMessage' declared 'static' but never defined [-Wunused-function] 48 | static void printXkbActionMessage(FILE* file,XkbEvent* xkbev); | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/share/hotkeys\" -DCONFDIR=\"/etc\" -DCONFIG_NAME=\"hotkeys.conf\" -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include -I.. -c -o kbddef.o kbddef.c kbddef.c: In function 'parseUserDef': kbddef.c:104:34: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 104 | t_keycode = xmlGetProp( cur, "keycode" ); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from kbddef.c:40: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ kbddef.c:104:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 104 | t_keycode = xmlGetProp( cur, "keycode" ); | ^ kbddef.c:110:34: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 110 | t_command = xmlGetProp( cur, "command" ); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from kbddef.c:40: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ kbddef.c:110:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 110 | t_command = xmlGetProp( cur, "command" ); | ^ kbddef.c:129:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 129 | tc = xmlNodeListGetString( doc, cur->xmlChildrenNode, 1 ); | ^ kbddef.c: In function 'getVolAdj': kbddef.c:152:27: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 152 | tc = xmlGetProp( cur, "adj" ); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from kbddef.c:40: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ kbddef.c:152:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 152 | tc = xmlGetProp( cur, "adj" ); | ^ kbddef.c: In function 'parseStd': kbddef.c:46:39: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 46 | #define MatchName(n,s) ((strncasecmp(n->name,s,strlen(s))==0)) | ^ | | | const xmlChar * {aka const unsigned char *} kbddef.c:176:14: note: in expansion of macro 'MatchName' 176 | if ( MatchName( cur, defStr[i].name ) ) | ^~~~~~~~~ In file included from /usr/include/string.h:432, from common.h:174, from kbddef.c:25: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ kbddef.c:178:35: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 178 | tc = xmlGetProp( cur, "keycode" ); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from kbddef.c:40: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ kbddef.c:178:16: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 178 | tc = xmlGetProp( cur, "keycode" ); | ^ kbddef.c: In function 'readDefFile': kbddef.c:46:39: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 46 | #define MatchName(n,s) ((strncasecmp(n->name,s,strlen(s))==0)) | ^ | | | const xmlChar * {aka const unsigned char *} kbddef.c:238:15: note: in expansion of macro 'MatchName' 238 | while ( ! MatchName( cur, "config" ) ) | ^~~~~~~~~ In file included from /usr/include/string.h:432, from common.h:174, from kbddef.c:25: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ kbddef.c:46:39: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 46 | #define MatchName(n,s) ((strncasecmp(n->name,s,strlen(s))==0)) | ^ | | | const xmlChar * {aka const unsigned char *} kbddef.c:245:10: note: in expansion of macro 'MatchName' 245 | if ( MatchName( cur, "config" ) ) | ^~~~~~~~~ In file included from /usr/include/string.h:432, from common.h:174, from kbddef.c:25: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ kbddef.c:248:31: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 248 | tc = xmlGetProp( cur, "model" ); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from kbddef.c:40: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ kbddef.c:248:12: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 248 | tc = xmlGetProp( cur, "model" ); | ^ kbddef.c:46:39: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 46 | #define MatchName(n,s) ((strncasecmp(n->name,s,strlen(s))==0)) | ^ | | | const xmlChar * {aka const unsigned char *} kbddef.c:263:18: note: in expansion of macro 'MatchName' 263 | if ( MatchName( cur, "comment" ) ) | ^~~~~~~~~ In file included from /usr/include/string.h:432, from common.h:174, from kbddef.c:25: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ kbddef.c:46:39: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 46 | #define MatchName(n,s) ((strncasecmp(n->name,s,strlen(s))==0)) | ^ | | | const xmlChar * {aka const unsigned char *} kbddef.c:268:23: note: in expansion of macro 'MatchName' 268 | else if ( MatchName( cur, "userdef" ) ) | ^~~~~~~~~ In file included from /usr/include/string.h:432, from common.h:174, from kbddef.c:25: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ kbddef.c:46:39: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 46 | #define MatchName(n,s) ((strncasecmp(n->name,s,strlen(s))==0)) | ^ | | | const xmlChar * {aka const unsigned char *} kbddef.c:273:25: note: in expansion of macro 'MatchName' 273 | else if ( ! MatchName( cur, "text" ) ) | ^~~~~~~~~ In file included from /usr/include/string.h:432, from common.h:174, from kbddef.c:25: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ kbddef.c:212:17: warning: unused variable 'ns' [-Wunused-variable] 212 | xmlNsPtr ns; | ^~ In file included from hotkeys.h:25, from kbddef.c:43: kbddef.c: At top level: kbddef.h:29:13: warning: 'parseDefFile' declared 'static' but never defined [-Wunused-function] 29 | static Bool parseDefFile(const char* filebuf); | ^~~~~~~~~~~~ In file included from kbddef.c:43: hotkeys.h:37:13: warning: 'setKbdType' declared 'static' but never defined [-Wunused-function] 37 | static Bool setKbdType(const char* prog, const char* type); | ^~~~~~~~~~ hotkeys.h:39:13: warning: 'setLoglevel' declared 'static' but never defined [-Wunused-function] 39 | static void setLoglevel(int level); | ^~~~~~~~~~~ hotkeys.h:40:13: warning: 'parseArgs' declared 'static' but never defined [-Wunused-function] 40 | static Bool parseArgs(int argc, char* argv[]); | ^~~~~~~~~ hotkeys.h:41:17: warning: 'GetDisplay' declared 'static' but never defined [-Wunused-function] 41 | static Display* GetDisplay(char* program, char* dpyName, int* opcodeRtrn, int* evBaseRtrn); | ^~~~~~~~~~ hotkeys.h:43:12: warning: 'adjust_vol' declared 'static' but never defined [-Wunused-function] 43 | static int adjust_vol(int adj); | ^~~~~~~~~~ hotkeys.h:44:12: warning: 'doMute' declared 'static' but never defined [-Wunused-function] 44 | static int doMute(void); | ^~~~~~ hotkeys.h:45:12: warning: 'ejectDisc' declared 'static' but never defined [-Wunused-function] 45 | static int ejectDisc(void); | ^~~~~~~~~ hotkeys.h:46:12: warning: 'closeTray' declared 'static' but never defined [-Wunused-function] 46 | static int closeTray(void); | ^~~~~~~~~ hotkeys.h:47:12: warning: 'launchApp' declared 'static' but never defined [-Wunused-function] 47 | static int launchApp(int keycode); | ^~~~~~~~~ hotkeys.h:48:13: warning: 'printXkbActionMessage' declared 'static' but never defined [-Wunused-function] 48 | static void printXkbActionMessage(FILE* file,XkbEvent* xkbev); | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/share/hotkeys\" -DCONFDIR=\"/etc\" -DCONFIG_NAME=\"hotkeys.conf\" -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include -I.. -c -o conf.o conf.c conf.c: In function 'fillDefaults': conf.c:138:13: warning: implicit declaration of function 'uError'; did you mean 'perror'? [-Wimplicit-function-declaration] 138 | uError("db: put: %s", strerror(errno)); | ^~~~~~ | perror conf.c:139:13: warning: implicit declaration of function 'bailout' [-Wimplicit-function-declaration] 139 | bailout(); | ^~~~~~~ conf.c: In function 'readConfigFile': conf.c:264:10: warning: implicit declaration of function 'testReadable' [-Wimplicit-function-declaration] 264 | if ( testReadable(filename) ) | ^~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/share/hotkeys\" -DCONFDIR=\"/etc\" -DCONFIG_NAME=\"hotkeys.conf\" -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include -I.. -c -o apmlib.o apmlib.c apmlib.c: In function 'apm_read': apmlib.c:62:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apmlib.c:98:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apmlib.c:102:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apmlib.c:103:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apmlib.c:113:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apmlib.c:123:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apmlib.c:128:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apmlib.c:131:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/share/hotkeys\" -DCONFDIR=\"/etc\" -DCONFIG_NAME=\"hotkeys.conf\" -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include -I.. -c -o hotkeys.o hotkeys.c hotkeys.c: In function 'usage': hotkeys.c:123:10: warning: variable 'first' set but not used [-Wunused-but-set-variable] 123 | int first = 1; | ^~~~~ hotkeys.c: In function 'showKbdList': hotkeys.c:208:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 208 | while ( ent = readdir(dir) ) | ^~~ hotkeys.c:234:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 234 | while ( ent = readdir(dir) ) | ^~~ hotkeys.c: In function 'parseArgs': hotkeys.c:488:15: warning: implicit declaration of function 'fixVMware' [-Wimplicit-function-declaration] 488 | fixVMware(optarg); | ^~~~~~~~~ hotkeys.c:409:9: warning: unused variable 'this_option_optind' [-Wunused-variable] 409 | int this_option_optind = optind ? optind : 1; | ^~~~~~~~~~~~~~~~~~ hotkeys.c:398:13: warning: unused variable 'digit_optind' [-Wunused-variable] 398 | int digit_optind = 0; | ^~~~~~~~~~~~ hotkeys.c:397:16: warning: unused variable 'i' [-Wunused-variable] 397 | int c, i; | ^ hotkeys.c: In function 'adjustVol': hotkeys.c:599:9: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 599 | return; | ^~~~~~ hotkeys.c:585:1: note: declared here 585 | adjustVol(int adj) | ^~~~~~~~~ hotkeys.c:588:29: warning: unused variable 'cd_vol' [-Wunused-variable] 588 | int master_vol, cd_vol; | ^~~~~~ hotkeys.c: In function 'doMute': hotkeys.c:780:25: warning: unused variable 'right' [-Wunused-variable] 780 | right = (last_mixer_vol >> 8) & 0xFF; | ^~~~~ hotkeys.c:779:25: warning: unused variable 'left' [-Wunused-variable] 779 | int left = last_mixer_vol & 0xFF, | ^~~~ hotkeys.c:743:34: warning: unused variable 'cd_vol' [-Wunused-variable] 743 | int vol, cd_vol; | ^~~~~~ hotkeys.c:740:45: warning: unused variable 'last_cd_vol' [-Wunused-variable] 740 | static int last_mixer_vol, last_cd_vol; | ^~~~~~~~~~~ hotkeys.c: In function 'launchApp': hotkeys.c:965:15: warning: implicit declaration of function 'fork2'; did you mean 'fork'? [-Wimplicit-function-declaration] 965 | if ( (pid=fork2()) == -1 ) | ^~~~~ | fork hotkeys.c: In function 'sleepState': hotkeys.c:1033:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] 1033 | int error; | ^~~~~ hotkeys.c: In function 'dummy': hotkeys.c:1198:1: warning: no return statement in function returning non-void [-Wreturn-type] 1198 | static int dummy() { /* grin */ } | ^~~~~~ hotkeys.c: In function 'dummyHandler': hotkeys.c:1218:9: warning: implicit declaration of function 'XmuSnprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 1218 | XmuSnprintf(major_op, sizeof(major_op), "%s", ext->name); | ^~~~~~~~~~~ | vsnprintf hotkeys.c: In function 'initializeX': hotkeys.c:1295:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1295 | strcpy(xma.message," "); | ~~~^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/sys/stat.h:25, from common.h:28, from hotkeys.c:28: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ hotkeys.c:1418:26: warning: statement with no effect [-Wunused-value] 1418 | dummyErrFlag == False; | ^ hotkeys.c: In function 'fork2': hotkeys.c:1466:9: warning: unused variable 'rc' [-Wunused-variable] 1466 | int rc; | ^~ hotkeys.c: In function 'main': hotkeys.c:1502:5: warning: implicit declaration of function 'readConfigFile'; did you mean 'readDefFile'? [-Wimplicit-function-declaration] 1502 | readConfigFile(); | ^~~~~~~~~~~~~~ | readDefFile hotkeys.c:1583:45: warning: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] 1583 | pthread_create (&tp, &attr, ejectDisc, NULL); | ^~~~~~~~~ | | | int (*)(void) In file included from /usr/include/db.h:30, from hotkeys.c:40: /usr/include/pthread.h:200:15: note: expected 'void * (*)(void *)' but argument is of type 'int (*)(void)' 200 | void *(*__start_routine) (void *), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hotkeys.c:1611:9: warning: 'xosd_uninit' is deprecated [-Wdeprecated-declarations] 1611 | xosd_uninit(osd); | ^~~~~~~~~~~ In file included from common.h:407, from hotkeys.c:28: /usr/include/xosd.h:103:20: note: declared here 103 | int __deprecated xosd_uninit(xosd * osd); | ^~~~~~~~~~~ hotkeys.c:1497:20: warning: unused variable 'k' [-Wunused-variable] 1497 | int i, k; | ^ hotkeys.c:1497:17: warning: unused variable 'i' [-Wunused-variable] 1497 | int i, k; | ^ In file included from hotkeys.h:25, from hotkeys.c:77: hotkeys.c: At top level: kbddef.h:29:13: warning: 'parseDefFile' declared 'static' but never defined [-Wunused-function] 29 | static Bool parseDefFile(const char* filebuf); | ^~~~~~~~~~~~ kbddef.h:30:13: warning: 'parseError' declared 'static' but never defined [-Wunused-function] 30 | static void parseError(const char* filename); | ^~~~~~~~~~ In file included from hotkeys.c:77: hotkeys.h:43:12: warning: 'adjust_vol' declared 'static' but never defined [-Wunused-function] 43 | static int adjust_vol(int adj); | ^~~~~~~~~~ hotkeys.h:46:12: warning: 'closeTray' declared 'static' but never defined [-Wunused-function] 46 | static int closeTray(void); | ^~~~~~~~~ hotkeys.h:48:13: warning: 'printXkbActionMessage' declared 'static' but never defined [-Wunused-function] 48 | static void printXkbActionMessage(FILE* file,XkbEvent* xkbev); | ^~~~~~~~~~~~~~~~~~~~~ hotkeys.c: In function 'sleepState': hotkeys.c:1054:1: warning: control reaches end of non-void function [-Wreturn-type] 1054 | } | ^ hotkeys.c: In function 'main': hotkeys.c:1539:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1539 | chdir("/"); | ^~~~~~~~~~ At top level: hotkeys.c:740:45: warning: 'last_cd_vol' defined but not used [-Wunused-variable] 740 | static int last_mixer_vol, last_cd_vol; | ^~~~~~~~~~~ In file included from common.h:401, from hotkeys.c:28: hotkeys.c: In function 'setKbdType': xmalloc.h:22:20: warning: 'defname' may be used uninitialized in this function [-Wmaybe-uninitialized] 22 | if (stale) { free (stale); stale = 0; } \ | ^~~~ hotkeys.c:263:17: note: 'defname' was declared here 263 | char* defname; | ^~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include -I.. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hotkeys hotkeys.o kbddef.o conf.o fixVMware.o apmlib.o xmalloc.o splash.o -ldb -lpthread -lX11 -lXmu -lxml2 -lz -llzma -lm -ldl -L/usr/lib64 -lxosd -lpthread -lXext -lX11 -lXinerama /usr/bin/ld: apmlib.o: in function `apm_open': /home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src/apmlib.c:220: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' Making all in def make[2]: Nothing to be done for 'all'. + cat + echo WebBrowser=www-browser + echo Shell=xvt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Gdr9BQ + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64 + cd hotkeys-0.5.7.1 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/bin' /usr/bin/install -p hotkeys '/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/bin' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/etc' /usr/bin/install -p -m 644 hotkeys.conf '/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/etc' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 hotkeys.1 '/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/man/man1' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/hotkeys' /usr/bin/install -p -m 644 splash.png '/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/hotkeys' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/src' Making install in def make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/def' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/def' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/hotkeys' /usr/bin/install -p -m 644 acerwl.def btc9000.def hp5181.def ibook.def itouch.def kb9930.def kb9963.def kbp8993.def logitech-cfo.def mck800.def msnatpro.def msnet.def msnetpro.def mx1998.def mx2500.def mx3000.def orktekusb.def pb5140w.def polypix.def sk2500.def sk2501a.def sk2505.def sk2800c.def sk7100.def sk9925.def '/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/hotkeys' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/def' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1/def' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1' + install -d /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/etc/sysconfig + install -m 644 src/hotkeys.conf /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64//etc + install -m 644 /home/iurt/rpmbuild/SOURCES/hotkeys.sysconfig /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/etc/sysconfig/hotkeys + install -d /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/etc/X11/xinit.d/ + install -m 755 /home/iurt/rpmbuild/SOURCES/hotkeys.xinit /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/etc/X11/xinit.d/hotkeys + bzcat /home/iurt/rpmbuild/SOURCES/vaio.def.bz2 + bzcat /home/iurt/rpmbuild/SOURCES/FCSAmilo.def.bz2 + bzcat /home/iurt/rpmbuild/SOURCES/samsungx30.def.bz2 + bzcat /home/iurt/rpmbuild/SOURCES/precision.def.bz2 + bzcat /home/iurt/rpmbuild/SOURCES/dellinspiron.def.bz2 + bzcat /home/iurt/rpmbuild/SOURCES/samsungx10.def.bz2 + chmod 644 AUTHORS BUGS COPYING INSTALL TODO def/sample.xml + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 0.5.7.1-30.mga8 --unique-debug-suffix -0.5.7.1-30.mga8.x86_64 --unique-debug-src-base hotkeys-0.5.7.1-30.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/hotkeys-0.5.7.1 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/bin/hotkeys extracting debug info from /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/bin/hotkeys original debug info size: 216kB, size after compression: 204kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 178 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 mangling shebang in /etc/X11/xinit.d/hotkeys from /bin/sh to #!/usr/bin/sh Processing files: hotkeys-0.5.7.1-30.mga8.x86_64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.UHDhbU + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd hotkeys-0.5.7.1 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/doc/hotkeys + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/doc/hotkeys + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/doc/hotkeys + cp -pr BUGS /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/doc/hotkeys + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/doc/hotkeys + cp -pr INSTALL /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/doc/hotkeys + cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/doc/hotkeys + cp -pr def/sample.xml /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/doc/hotkeys + cp -pr README.mga /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64/usr/share/doc/hotkeys + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(hotkeys) = 0.5.7.1-30.mga8 hotkeys = 0.5.7.1-30.mga8 hotkeys(x86-64) = 0.5.7.1-30.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libXmu.so.6()(64bit) libc.so.6()(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) libdb-5.3.so()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxosd.so.2()(64bit) Processing files: hotkeys-debugsource-0.5.7.1-30.mga8.x86_64 Provides: hotkeys-debugsource = 0.5.7.1-30.mga8 hotkeys-debugsource(x86-64) = 0.5.7.1-30.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hotkeys-debuginfo-0.5.7.1-30.mga8.x86_64 Provides: debuginfo(build-id) = 332f1950b8fcd221bd9d5de2c062b15fcf333846 hotkeys-debuginfo = 0.5.7.1-30.mga8 hotkeys-debuginfo(x86-64) = 0.5.7.1-30.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hotkeys-debugsource(x86-64) = 0.5.7.1-30.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/hotkeys-debugsource-0.5.7.1-30.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/hotkeys-0.5.7.1-30.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/hotkeys-debuginfo-0.5.7.1-30.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.SCcErS + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd hotkeys-0.5.7.1 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/hotkeys-0.5.7.1-30.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Tat4yQ + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf hotkeys-0.5.7.1 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!