D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/lirc-0.9.1a-4.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MhNJGZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf lirc-0.9.1a + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/lirc-0.9.1a.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lirc-0.9.1a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/lirc-printf-format.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zobbEH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd lirc-0.9.1a + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:15: installing './compile' configure.ac:9: installing './missing' daemons/Makefile.am: installing './depcomp' tools/Makefile.am:50: warning: source file '../daemons/lirc_log.c' is in a subdirectory, tools/Makefile.am:50: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' ++ pwd + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 --localstatedir=/var --with-x --with-port=0x3f8 --with-irq=4 --with-syslog=LOG_DAEMON --with-driver=userspace --with-transmitter --enable-sandboxed --with-kerneldir=/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a 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 gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking for mknod... /usr/bin/mknod checking for mkfifo... /usr/bin/mkfifo checking for depmod... /sbin/depmod checking for help2man... ok checking whether ln -s works... yes 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 gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking 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 objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -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 python... /usr/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gethostname... yes checking for gettimeofday... yes checking for mkfifo... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtoul... yes checking for snprintf... yes checking for strsep... yes checking for vsyslog... yes checking for forkpty... no checking for forkpty in -lutil... yes checking vga.h usability... no checking vga.h presence... no checking for vga.h... no checking for X... libraries /usr/lib64, headers /usr/include checking whether -R must be followed by a space... neither works checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for getopt_long... yes checking for mktemp... yes checking for Linux kernel sources... /home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/ checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... no checking usb.h usability... yes checking usb.h presence... yes checking for usb.h... yes checking ftdi.h usability... no checking ftdi.h presence... no checking for ftdi.h... no checking iguanaIR.h usability... yes checking iguanaIR.h presence... yes checking for iguanaIR.h... yes checking for ir_strerror in -lirman... yes checking for ir_strerror in -lirman_sw... no checking portaudio.h usability... no checking portaudio.h presence... no checking for portaudio.h... no checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes checking for snd_pcm_open in -lasound... yes checking for ALSA SB RC hwdep support... yes checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking for linux/hiddev.h... yes checking for HIDDEV_FLAG_UREF support... yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking linux/i2c-dev.h usability... yes checking linux/i2c-dev.h presence... yes checking for linux/i2c-dev.h... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SYSTEMD... no checking for /usr/lib/systemd/system... yes checking for daemon... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating drivers/Makefile config.status: creating drivers/lirc_atiusb/Makefile config.status: creating drivers/lirc_bt829/Makefile config.status: creating drivers/lirc_dev/Makefile config.status: creating drivers/lirc_gpio/Makefile config.status: creating drivers/lirc_i2c/Makefile config.status: creating drivers/lirc_igorplugusb/Makefile config.status: creating drivers/lirc_ttusbir/Makefile config.status: creating drivers/lirc_imon/Makefile config.status: creating drivers/lirc_parallel/Makefile config.status: creating drivers/lirc_sasem/Makefile config.status: creating drivers/lirc_serial/Makefile config.status: creating drivers/lirc_sir/Makefile config.status: creating drivers/lirc_wpc8769l/Makefile config.status: creating daemons/Makefile config.status: creating tools/Makefile config.status: creating doc/Makefile config.status: creating systemd/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Your hardware does not require a special LIRC kernel module. Now enter 'make' and 'make install' to compile and install the package. + make make all-recursive make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a' Making all in drivers make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/drivers' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/drivers' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/drivers' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/drivers' Making all in daemons make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/daemons' make all-am make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/daemons' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw-types.o -MD -MP -MF .deps/hw-types.Tpo -c -o hw-types.o hw-types.c mv -f .deps/hw-types.Tpo .deps/hw-types.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT ir_remote.o -MD -MP -MF .deps/ir_remote.Tpo -c -o ir_remote.o ir_remote.c mv -f .deps/ir_remote.Tpo .deps/ir_remote.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT release.o -MD -MP -MF .deps/release.Tpo -c -o release.o release.c In file included from release.c:21:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/release.Tpo .deps/release.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT lirc_log.o -MD -MP -MF .deps/lirc_log.Tpo -c -o lirc_log.o lirc_log.c mv -f .deps/lirc_log.Tpo .deps/lirc_log.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_accent.o -MD -MP -MF .deps/hw_accent.Tpo -c -o hw_accent.o hw_accent.c mv -f .deps/hw_accent.Tpo .deps/hw_accent.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_alsa_usb.o -MD -MP -MF .deps/hw_alsa_usb.Tpo -c -o hw_alsa_usb.o hw_alsa_usb.c mv -f .deps/hw_alsa_usb.Tpo .deps/hw_alsa_usb.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_atilibusb.o -MD -MP -MF .deps/hw_atilibusb.Tpo -c -o hw_atilibusb.o hw_atilibusb.c In file included from hw_atilibusb.c:38:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_atilibusb.Tpo .deps/hw_atilibusb.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_atwf83.o -MD -MP -MF .deps/hw_atwf83.Tpo -c -o hw_atwf83.o hw_atwf83.c hw_atwf83.c: In function 'atwf83_repeat': hw_atwf83.c:204:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ¤t_code, sizeof(current_code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw_atwf83.c:210:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ¤t_code, sizeof(current_code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/hw_atwf83.Tpo .deps/hw_atwf83.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_audio_alsa.o -MD -MP -MF .deps/hw_audio_alsa.Tpo -c -o hw_audio_alsa.o hw_audio_alsa.c In file included from hw_audio_alsa.c:41:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ hw_audio_alsa.c: In function 'alsa_sig_io': hw_audio_alsa.c:479:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(alsa_hw.fd, &x, sizeof(x)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/hw_audio_alsa.Tpo .deps/hw_audio_alsa.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_awlibusb.o -MD -MP -MF .deps/hw_awlibusb.Tpo -c -o hw_awlibusb.o hw_awlibusb.c In file included from hw_awlibusb.c:47:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_awlibusb.Tpo .deps/hw_awlibusb.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_bte.o -MD -MP -MF .deps/hw_bte.Tpo -c -o hw_bte.o hw_bte.c In file included from hw_bte.c:53:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_bte.Tpo .deps/hw_bte.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_commandir.o -MD -MP -MF .deps/hw_commandir.Tpo -c -o hw_commandir.o hw_commandir.c hw_commandir.c: In function 'commandir_receive_decode': hw_commandir.c:87:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i, j; ^ hw_commandir.c: In function 'commandir_init': hw_commandir.c:101:6: warning: variable 'j' set but not used [-Wunused-but-set-variable] int j; ^ hw_commandir.c: In function 'commandir_deinit': hw_commandir.c:158:6: warning: variable 'j' set but not used [-Wunused-but-set-variable] int j; ^ hw_commandir.c: In function 'commandir_send': hw_commandir.c:209:6: warning: variable 'cmdir_cnt' set but not used [-Wunused-but-set-variable] int cmdir_cnt = 0; ^~~~~~~~~ hw_commandir.c:195:14: warning: variable 'j' set but not used [-Wunused-but-set-variable] int length, j; ^ hw_commandir.c: In function 'commandir_ioctl': hw_commandir.c:257:6: warning: variable 'j' set but not used [-Wunused-but-set-variable] int j; ^ hw_commandir.c: In function 'commandir_child_init': hw_commandir.c:322:15: warning: variable 'emitter_set_test' set but not used [-Wunused-but-set-variable] unsigned int emitter_set_test[4]; ^~~~~~~~~~~~~~~~ hw_commandir.c: In function 'commandir_iii_update_status': hw_commandir.c:375:35: warning: overflow in implicit constant conversion [-Woverflow] cd->commandir_tx_available[0] = (sptr->tx_status & 0x80 ? 1024 : 0); ^ hw_commandir.c: In function 'commandir_read_loop': hw_commandir.c:884:6: warning: variable 'send_status' set but not used [-Wunused-but-set-variable] int send_status = 0; ^~~~~~~~~~~ hw_commandir.c: In function 'check_irsend_commandir': hw_commandir.c:1262:9: warning: variable 'send_status' set but not used [-Wunused-but-set-variable] int send_status = 0; ^~~~~~~~~~~ hw_commandir.c: In function 'commandir_read': hw_commandir.c:1383:9: warning: variable 'tmp4' set but not used [-Wunused-but-set-variable] int tmp4 = 0; ^~~~ hw_commandir.c: In function 'commandir_2_transmit_next': hw_commandir.c:1524:6: warning: variable 'total_signals' set but not used [-Wunused-but-set-variable] int total_signals = 0; ^~~~~~~~~~~~~ hw_commandir.c: In function 'commandir3_convert_RX': hw_commandir.c:1823:6: warning: variable 'packet_number' set but not used [-Wunused-but-set-variable] int packet_number; ^~~~~~~~~~~~~ hw_commandir.c:1821:17: warning: variable 'read_num' set but not used [-Wunused-but-set-variable] int i, mySize, read_num; ^~~~~~~~ hw_commandir.c:1819:15: warning: variable 'currentPWM' set but not used [-Wunused-but-set-variable] static float currentPWM = 0; ^~~~~~~~~~ In file included from hw_commandir.c:29:0: hw_commandir.c: At top level: transmit.h:31:13: warning: inline function 'set_bit' declared but never defined inline void set_bit(ir_code * code, int bit, int data); ^~~~~~~ In file included from hw_commandir.c:28:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_commandir.Tpo .deps/hw_commandir.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_creative.o -MD -MP -MF .deps/hw_creative.Tpo -c -o hw_creative.o hw_creative.c mv -f .deps/hw_creative.Tpo .deps/hw_creative.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_creative_infracd.o -MD -MP -MF .deps/hw_creative_infracd.Tpo -c -o hw_creative_infracd.o hw_creative_infracd.c mv -f .deps/hw_creative_infracd.Tpo .deps/hw_creative_infracd.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_default.o -MD -MP -MF .deps/hw_default.Tpo -c -o hw_default.o hw_default.c In file included from hw_default.c:37:0: transmit.h:31:13: warning: inline function 'set_bit' declared but never defined inline void set_bit(ir_code * code, int bit, int data); ^~~~~~~ In file included from hw_default.c:36:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_default.Tpo .deps/hw_default.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_devinput.o -MD -MP -MF .deps/hw_devinput.Tpo -c -o hw_devinput.o hw_devinput.c In file included from hw_devinput.c:38:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_devinput.Tpo .deps/hw_devinput.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_dfclibusb.o -MD -MP -MF .deps/hw_dfclibusb.Tpo -c -o hw_dfclibusb.o hw_dfclibusb.c In file included from hw_dfclibusb.c:40:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_dfclibusb.Tpo .deps/hw_dfclibusb.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_dsp.o -MD -MP -MF .deps/hw_dsp.Tpo -c -o hw_dsp.o hw_dsp.c In file included from hw_dsp.c:43:0: transmit.h:31:13: warning: inline function 'set_bit' declared but never defined inline void set_bit(ir_code * code, int bit, int data); ^~~~~~~ In file included from hw_dsp.c:42:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_dsp.Tpo .deps/hw_dsp.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_ea65.o -MD -MP -MF .deps/hw_ea65.Tpo -c -o hw_ea65.o hw_ea65.c mv -f .deps/hw_ea65.Tpo .deps/hw_ea65.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_hiddev.o -MD -MP -MF .deps/hw_hiddev.Tpo -c -o hw_hiddev.o hw_hiddev.c In file included from hw_hiddev.c:32:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_hiddev.Tpo .deps/hw_hiddev.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_i2cuser.o -MD -MP -MF .deps/hw_i2cuser.Tpo -c -o hw_i2cuser.o hw_i2cuser.c In file included from hw_i2cuser.c:62:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ hw_i2cuser.c: In function 'open_i2c_device': hw_i2cuser.c:144:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(s, 1, sizeof s, f); ^~~~~~~~~~~~~~~~~~~~~~~~ hw_i2cuser.c:130:29: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 233 [-Wformat-truncation=] snprintf(s, sizeof s, "%s/%s/name", adapter_dir, de->d_name); ^~ In file included from /usr/include/stdio.h:936:0, from hw_i2cuser.c:41: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 29 and 284 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw_i2cuser.c:135:30: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 233 [-Wformat-truncation=] snprintf(s, sizeof s, "%s/%s/device/name", adapter_dir, de->d_name); ^~ In file included from /usr/include/stdio.h:936:0, from hw_i2cuser.c:41: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 36 and 291 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/hw_i2cuser.Tpo .deps/hw_i2cuser.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_iguanaIR.o -MD -MP -MF .deps/hw_iguanaIR.Tpo -c -o hw_iguanaIR.o hw_iguanaIR.c In file included from hw_iguanaIR.c:36:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ In file included from hw_iguanaIR.c:35:0: transmit.h:31:13: warning: inline function 'set_bit' declared but never defined inline void set_bit(ir_code * code, int bit, int data); ^~~~~~~ hw_iguanaIR.c: In function 'iguana_init': hw_iguanaIR.c:171:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(notify[0], &dummy, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ hw_iguanaIR.c: In function 'recv_loop': hw_iguanaIR.c:126:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, sizeof(lirc_t) * y); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/hw_iguanaIR.Tpo .deps/hw_iguanaIR.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_irlink.o -MD -MP -MF .deps/hw_irlink.Tpo -c -o hw_irlink.o hw_irlink.c In file included from hw_irlink.c:46:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_irlink.Tpo .deps/hw_irlink.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_irman.o -MD -MP -MF .deps/hw_irman.Tpo -c -o hw_irman.o hw_irman.c hw_irman.c: In function 'irman_rec': hw_irman.c:103:15: warning: variable 'text' set but not used [-Wunused-but-set-variable] static char *text = NULL; ^~~~ mv -f .deps/hw_irman.Tpo .deps/hw_irman.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_livedrive_common.o -MD -MP -MF .deps/hw_livedrive_common.Tpo -c -o hw_livedrive_common.o hw_livedrive_common.c mv -f .deps/hw_livedrive_common.Tpo .deps/hw_livedrive_common.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_livedrive_midi.o -MD -MP -MF .deps/hw_livedrive_midi.Tpo -c -o hw_livedrive_midi.o hw_livedrive_midi.c hw_livedrive_midi.c: In function 'livedrive_rec_midi': hw_livedrive_midi.c:40:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(hw.fd, &buf, sizeof(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw_livedrive_midi.c:45:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(hw.fd, &buf, sizeof(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/hw_livedrive_midi.Tpo .deps/hw_livedrive_midi.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_livedrive_seq.o -MD -MP -MF .deps/hw_livedrive_seq.Tpo -c -o hw_livedrive_seq.o hw_livedrive_seq.c hw_livedrive_seq.c: In function 'livedrive_rec_seq': hw_livedrive_seq.c:40:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(hw.fd, &seq, sizeof(seq)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw_livedrive_seq.c:45:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(hw.fd, &seq, sizeof(seq)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/hw_livedrive_seq.Tpo .deps/hw_livedrive_seq.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_logitech.o -MD -MP -MF .deps/hw_logitech.Tpo -c -o hw_logitech.o hw_logitech.c mv -f .deps/hw_logitech.Tpo .deps/hw_logitech.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_mouseremote.o -MD -MP -MF .deps/hw_mouseremote.Tpo -c -o hw_mouseremote.o hw_mouseremote.c mv -f .deps/hw_mouseremote.Tpo .deps/hw_mouseremote.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_mp3anywhere.o -MD -MP -MF .deps/hw_mp3anywhere.Tpo -c -o hw_mp3anywhere.o hw_mp3anywhere.c mv -f .deps/hw_mp3anywhere.Tpo .deps/hw_mp3anywhere.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_mplay.o -MD -MP -MF .deps/hw_mplay.Tpo -c -o hw_mplay.o hw_mplay.c mv -f .deps/hw_mplay.Tpo .deps/hw_mplay.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_pcmak.o -MD -MP -MF .deps/hw_pcmak.Tpo -c -o hw_pcmak.o hw_pcmak.c mv -f .deps/hw_pcmak.Tpo .deps/hw_pcmak.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_pinsys.o -MD -MP -MF .deps/hw_pinsys.Tpo -c -o hw_pinsys.o hw_pinsys.c mv -f .deps/hw_pinsys.Tpo .deps/hw_pinsys.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_pixelview.o -MD -MP -MF .deps/hw_pixelview.Tpo -c -o hw_pixelview.o hw_pixelview.c mv -f .deps/hw_pixelview.Tpo .deps/hw_pixelview.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_silitek.o -MD -MP -MF .deps/hw_silitek.Tpo -c -o hw_silitek.o hw_silitek.c mv -f .deps/hw_silitek.Tpo .deps/hw_silitek.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_srm7500libusb.o -MD -MP -MF .deps/hw_srm7500libusb.Tpo -c -o hw_srm7500libusb.o hw_srm7500libusb.c In file included from hw_srm7500libusb.c:48:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_srm7500libusb.Tpo .deps/hw_srm7500libusb.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_tira.o -MD -MP -MF .deps/hw_tira.Tpo -c -o hw_tira.o hw_tira.c In file included from hw_tira.c:55:0: transmit.h:31:13: warning: inline function 'set_bit' declared but never defined inline void set_bit(ir_code * code, int bit, int data); ^~~~~~~ In file included from hw_tira.c:54:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ hw_tira.c: In function 'tira_setup': hw_tira.c:369:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(hw.fd, response, 3); ^~~~~~~~~~~~~~~~~~~~~~~~ hw_tira.c:372:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(hw.fd, &ptr, 1); /* read the calibration value */ ^~~~~~~~~~~~~~~~~~~~ hw_tira.c:373:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(hw.fd, &ptr, 1); /* read the version word */ ^~~~~~~~~~~~~~~~~~~~ hw_tira.c:380:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(hw.fd, "IV", 2); ^~~~~~~~~~~~~~~~~~~~~ hw_tira.c:383:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(hw.fd, response, sizeof(response) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/hw_tira.Tpo .deps/hw_tira.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_udp.o -MD -MP -MF .deps/hw_udp.Tpo -c -o hw_udp.o hw_udp.c In file included from hw_udp.c:35:0: transmit.h:31:13: warning: inline function 'set_bit' declared but never defined inline void set_bit(ir_code * code, int bit, int data); ^~~~~~~ In file included from hw_udp.c:34:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_udp.Tpo .deps/hw_udp.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_uirt2.o -MD -MP -MF .deps/hw_uirt2.Tpo -c -o hw_uirt2.o hw_uirt2.c mv -f .deps/hw_uirt2.Tpo .deps/hw_uirt2.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_uirt2_common.o -MD -MP -MF .deps/hw_uirt2_common.Tpo -c -o hw_uirt2_common.o hw_uirt2_common.c mv -f .deps/hw_uirt2_common.Tpo .deps/hw_uirt2_common.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_uirt2_raw.o -MD -MP -MF .deps/hw_uirt2_raw.Tpo -c -o hw_uirt2_raw.o hw_uirt2_raw.c In file included from hw_uirt2_raw.c:48:0: transmit.h:31:13: warning: inline function 'set_bit' declared but never defined inline void set_bit(ir_code * code, int bit, int data); ^~~~~~~ In file included from hw_uirt2_raw.c:47:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_uirt2_raw.Tpo .deps/hw_uirt2_raw.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT hw_usbx.o -MD -MP -MF .deps/hw_usbx.Tpo -c -o hw_usbx.o hw_usbx.c In file included from hw_usbx.c:54:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ mv -f .deps/hw_usbx.Tpo .deps/hw_usbx.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT receive.o -MD -MP -MF .deps/receive.Tpo -c -o receive.o receive.c receive.c:547:75: warning: 'min_gap' is static but used in inline function 'get_repeat' which is not static rec_buffer.sum : 0) : (has_repeat_gap(remote) ? remote->repeat_gap : min_gap(remote)) ^~~~~~~ receive.c:547:29: warning: 'has_repeat_gap' is static but used in inline function 'get_repeat' which is not static rec_buffer.sum : 0) : (has_repeat_gap(remote) ? remote->repeat_gap : min_gap(remote)) ^~~~~~~~~~~~~~ receive.c:546:23: warning: 'min_gap' is static but used in inline function 'get_repeat' which is not static rec_buffer.sum ? min_gap(remote) - ^~~~~~~ receive.c:545:27: warning: 'min_gap' is static but used in inline function 'get_repeat' which is not static is_const(remote) ? (min_gap(remote) > ^~~~~~~ receive.c:545:7: warning: 'is_const' is static but used in inline function 'get_repeat' which is not static is_const(remote) ? (min_gap(remote) > ^~~~~~~~ receive.c:531:6: warning: 'is_biphase' is static but used in inline function 'get_repeat' which is not static if (is_biphase(remote)) { ^~~~~~~~~~ receive.c:520:7: warning: 'expect_at_least' is static but used in inline function 'get_gap' which is not static if (!expect_at_least(remote, data, gap)) { ^~~~~~~~~~~~~~~ receive.c:515:7: warning: 'is_space' is static but used in inline function 'get_gap' which is not static if (!is_space(data)) { ^~~~~~~~ receive.c:463:8: warning: 'expect' is static but used in inline function 'get_header' which is not static if (expect(remote, remote->shead, deltas)) { ^~~~~~ receive.c:438:13: warning: 'is_bo' is static but used in inline function 'get_header' which is not static } else if (is_bo(remote)) { ^~~~~ receive.c:433:7: warning: 'expect' is static but used in inline function 'get_header' which is not static if (expect(remote, sum, remote->phead + remote->shead)) { ^~~~~~ receive.c:419:6: warning: 'is_rcmm' is static but used in inline function 'get_header' which is not static if (is_rcmm(remote)) { ^~~~~~~ receive.c:406:9: warning: 'expect_at_most' is static but used in inline function 'sync_rec_buffer' which is not static if (!expect_at_most(last_remote, deltas, last_remote->max_remaining_gap)) { ^~~~~~~~~~~~~~ receive.c:405:7: warning: 'has_toggle_mask' is static but used in inline function 'sync_rec_buffer' which is not static if (has_toggle_mask(remote)) { ^~~~~~~~~~~~~~~ receive.c:392:11: warning: 'expect_at_least' is static but used in inline function 'sync_rec_buffer' which is not static while (!expect_at_least(last_remote, deltas, last_remote->min_remaining_gap)) { ^~~~~~~~~~~~~~~ receive.c:391:30: warning: 'is_rcmm' is static but used in inline function 'sync_rec_buffer' which is not static if (last_remote != NULL && !is_rcmm(remote)) { ^~~~~~~ receive.c:355:13: warning: 'is_space_first' is static but used in inline function 'expectzero' which is not static } else if (is_space_first(remote)) { ^~~~~~~~~~~~~~ receive.c:338:18: warning: 'bit_count' is static but used in inline function 'expectzero' which is not static int all_bits = bit_count(remote); ^~~~~~~~~ receive.c:337:6: warning: 'is_biphase' is static but used in inline function 'expectzero' which is not static if (is_biphase(remote)) { ^~~~~~~~~~ receive.c:309:13: warning: 'is_space_first' is static but used in inline function 'expectone' which is not static } else if (is_space_first(remote)) { ^~~~~~~~~~~~~~ receive.c:292:18: warning: 'bit_count' is static but used in inline function 'expectone' which is not static int all_bits = bit_count(remote); ^~~~~~~~~ receive.c:291:6: warning: 'is_biphase' is static but used in inline function 'expectone' which is not static if (is_biphase(remote)) { ^~~~~~~~~~ receive.c:232:8: warning: 'expect' is static but used in inline function 'sync_pending_space' which is not static if (!expect(remote, deltas, rec_buffer.pendings)) ^~~~~~ receive.c:217:8: warning: 'expect' is static but used in inline function 'sync_pending_pulse' which is not static if (!expect(remote, deltap, rec_buffer.pendingp)) ^~~~~~ receive.c:202:7: warning: 'is_space' is static but used in inline function 'get_next_space' which is not static if (!is_space(data)) { ^~~~~~~~ receive.c:188:7: warning: 'is_pulse' is static but used in inline function 'get_next_pulse' which is not static if (!is_pulse(data)) { ^~~~~~~~ mv -f .deps/receive.Tpo .deps/receive.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT serial.o -MD -MP -MF .deps/serial.Tpo -c -o serial.o serial.c mv -f .deps/serial.Tpo .deps/serial.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT transmit.o -MD -MP -MF .deps/transmit.Tpo -c -o transmit.o transmit.c transmit.c:299:6: warning: 'has_post' is static but used in inline function 'send_post' which is not static if (has_post(remote)) { ^~~~~~~~ transmit.c:288:6: warning: 'has_pre' is static but used in inline function 'send_pre' which is not static if (has_pre(remote)) { ^~~~~~~ transmit.c:274:15: warning: 'is_space_first' is static but used in inline function 'send_data' which is not static } else if (is_space_first(remote)) { ^~~~~~~~~~~~~~ transmit.c:263:15: warning: 'is_space_first' is static but used in inline function 'send_data' which is not static } else if (is_space_first(remote)) { ^~~~~~~~~~~~~~ transmit.c:254:8: warning: 'is_biphase' is static but used in inline function 'send_data' which is not static if (is_biphase(remote)) { ^~~~~~~~~~ transmit.c:250:7: warning: 'has_toggle_mask' is static but used in inline function 'send_data' which is not static if (has_toggle_mask(remote) && mask & remote->toggle_mask && remote->toggle_mask_state % 2) { ^~~~~~~~~~~~~~~ transmit.c:237:7: warning: 'has_toggle_bit_mask' is static but used in inline function 'send_data' which is not static if (has_toggle_bit_mask(remote) && mask & remote->toggle_bit_mask) { ^~~~~~~~~~~~~~~~~~~ transmit.c:227:13: warning: 'reverse' is static but used in inline function 'send_data' which is not static nibble = reverse(data & 0xf, 4); ^~~~~~~ transmit.c:219:13: warning: 'is_xmp' is static but used in inline function 'send_data' which is not static } else if (is_xmp(remote)) { ^~~~~~ transmit.c:190:6: warning: 'is_rcmm' is static but used in inline function 'send_data' which is not static if (is_rcmm(remote)) { ^~~~~~~ transmit.c:189:9: warning: 'reverse' is static but used in inline function 'send_data' which is not static data = reverse(data, bits); ^~~~~~~ transmit.c:186:29: warning: 'bits_set' is static but used in inline function 'send_data' which is not static int toggle_bit_mask_bits = bits_set(remote->toggle_bit_mask); ^~~~~~~~ transmit.c:185:17: warning: 'bit_count' is static but used in inline function 'send_data' which is not static int all_bits = bit_count(remote); ^~~~~~~~~ transmit.c:162:6: warning: 'has_foot' is static but used in inline function 'send_foot' which is not static if (has_foot(remote)) { ^~~~~~~~ transmit.c:154:6: warning: 'has_header' is static but used in inline function 'send_header' which is not static if (has_header(remote)) { ^~~~~~~~~~ mv -f .deps/transmit.Tpo .deps/transmit.Po rm -f libhw_module.a ar cru libhw_module.a hw-types.o ir_remote.o release.o lirc_log.o hw_accent.o hw_alsa_usb.o hw_atilibusb.o hw_atwf83.o hw_audio_alsa.o hw_awlibusb.o hw_bte.o hw_commandir.o hw_creative.o hw_creative_infracd.o hw_default.o hw_devinput.o hw_dfclibusb.o hw_dsp.o hw_ea65.o hw_hiddev.o hw_i2cuser.o hw_iguanaIR.o hw_irlink.o hw_irman.o hw_livedrive_common.o hw_livedrive_midi.o hw_livedrive_seq.o hw_logitech.o hw_mouseremote.o hw_mp3anywhere.o hw_mplay.o hw_pcmak.o hw_pinsys.o hw_pixelview.o hw_silitek.o hw_srm7500libusb.o hw_tira.o hw_udp.o hw_uirt2.o hw_uirt2_common.o hw_uirt2_raw.o hw_usbx.o receive.o serial.o transmit.o ranlib libhw_module.a gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT irrecord.o -MD -MP -MF .deps/irrecord.Tpo -c -o irrecord.o irrecord.c In file included from irrecord.c:53:0: receive.h:41:15: warning: inline function 'lirc_t_max' declared but never defined inline lirc_t lirc_t_max(lirc_t a, lirc_t b); ^~~~~~~~~~ In file included from irrecord.c:52:0: config_file.h:48:14: warning: inline function 'get_void_array' declared but never defined inline void *get_void_array(struct void_array *ar); ^~~~~~~~~~~~~~ mv -f .deps/irrecord.Tpo .deps/irrecord.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT config_file.o -MD -MP -MF .deps/config_file.Tpo -c -o config_file.o config_file.c In file included from config_file.c:33:0: transmit.h:31:13: warning: inline function 'set_bit' declared but never defined inline void set_bit(ir_code * code, int bit, int data); ^~~~~~~ mv -f .deps/config_file.Tpo .deps/config_file.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT dump_config.o -MD -MP -MF .deps/dump_config.Tpo -c -o dump_config.o dump_config.c In file included from dump_config.c:28:0: config_file.h:48:14: warning: inline function 'get_void_array' declared but never defined inline void *get_void_array(struct void_array *ar); ^~~~~~~~~~~~~~ dump_config.c: In function 'fprint_remote_signal': dump_config.c:226:19: warning: 'llX' directive writing 3 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(format, " %%-24s 0x%%0%dllX", (rem->bits + 3) / 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:936:0, from dump_config.h:15, from dump_config.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 25 and 34 bytes into a destination of size 30 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/dump_config.Tpo .deps/dump_config.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -MT input_map.o -MD -MP -MF .deps/input_map.Tpo -c -o input_map.o input_map.c mv -f .deps/input_map.Tpo .deps/input_map.Po /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o irrecord irrecord.o config_file.o dump_config.o input_map.o transmit.o libhw_module.a -lasound -lusb -lusb -lusb -lusb -liguanaIR -lirman -lusb -lpthread libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o irrecord irrecord.o config_file.o dump_config.o input_map.o transmit.o libhw_module.a -lasound -liguanaIR /usr/lib64/libirman.so -lusb -lpthread libhw_module.a(receive.o): In function `get_header': /home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/daemons/receive.c:422: undefined reference to `get_next_pulse' /home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/daemons/receive.c:427: undefined reference to `get_next_space' /home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/daemons/receive.c:461: undefined reference to `get_next_space' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:669: irrecord] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/daemons' make[2]: *** [Makefile:518: all] Error 2 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a/daemons' make[1]: *** [Makefile:523: all-recursive] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lirc-0.9.1a' make: *** [Makefile:413: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zobbEH (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zobbEH (%build) I: [iurt_root_command] ERROR: chroot