D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/gphoto2-2.5.28-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5SIT90 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gphoto2-2.5.28 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gphoto2-2.5.28.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd gphoto2-2.5.28 + rm -rf /home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EoRFtf + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gphoto2-2.5.28 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./auto-aux/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./auto-aux/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./auto-aux/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./auto-aux/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./auto-aux/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./auto-aux/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying auto-aux/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 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 POSIX sh $() command substitution... yes checking for x86_64-mageia-linux-gnu-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E 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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for po/Makevars requiring hack... no checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBGPHOTO2... yes checking for strptime... yes checking for signal... yes checking for pause... yes checking for sleep... yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking process.h usability... no checking process.h presence... no checking for process.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking for spawnve... no checking for floor in -lm... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_exit in -lpthread... yes checking cdk/cdk.h usability... no checking cdk/cdk.h presence... no checking for cdk/cdk.h... no checking cdk.h usability... yes checking cdk.h presence... yes checking for cdk.h... yes checking for cdk5-config... /usr/bin/cdk5-config checking for newCDKFScale in -lcdk... no checking whether SIGHUP is declared... yes checking whether SIGINT is declared... yes checking whether SIGUSR1 is declared... yes checking whether SIGUSR2 is declared... yes checking whether SIGTERM is declared... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_read_scanlines in -ljpeg... yes checking for LIBEXIF... yes checking aalib.h usability... yes checking aalib.h presence... yes checking for aalib.h... yes checking for aalib-config... /usr/bin/aalib-config checking for POPT... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for rl_completion_append_character in -lreadline... yes checking for rl_completion_matches in -lreadline... yes checking for rl_copy_text in -lreadline... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating Makefile config.status: creating gphoto2/Makefile config.status: creating gphoto-m4/Makefile config.status: creating doc/Makefile config.status: creating contrib/Makefile config.status: creating packaging/Makefile config.status: creating packaging/rpm/Makefile config.status: creating packaging/rpm/package.spec config.status: creating tests/data/Makefile config.status: creating tests/staging/subdir1/Makefile config.status: creating tests/staging/subdir2/Makefile config.status: creating tests/staging/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile Configuration (gphoto2 2.5.28): Build Source code location: . Compiler: gcc Features Use translations: yes pthread support: yes (-lpthread) Interactive config support: yes (but without fscale) JPEG support: yes Text preview support: yes Readline support: yes (doesn't require explicit -lncurses) You may run "make" and "make install" now. + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in gphoto-m4 make[2]: Nothing to be done for 'all'. Making all in contrib make[2]: Nothing to be done for 'all'. Making all in doc make[2]: Nothing to be done for 'all'. Making all in gphoto2 make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -c -o gphoto2-spawnve.o `test -f 'spawnve.c' || echo './'`spawnve.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -c -o gphoto2-version.o `test -f 'version.c' || echo './'`version.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -c -o gphoto2-gphoto2-cmd-capture.o `test -f 'gphoto2-cmd-capture.c' || echo './'`gphoto2-cmd-capture.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -c -o gphoto2-foreach.o `test -f 'foreach.c' || echo './'`foreach.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -c -o gphoto2-gp-params.o `test -f 'gp-params.c' || echo './'`gp-params.c gp-params.c: In function 'ctx_progress_update_func': gp-params.c:170:17: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 9 bytes from a string of length 9 [-Wstringop-truncation] 170 | strncat (remaining, buf, sizeof (remaining) - strlen (remaining) - 1); | ^ gp-params.c:175:17: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 9 bytes from a string of length 9 [-Wstringop-truncation] 175 | strncat (remaining, buf, sizeof (remaining) - strlen (remaining) - 1); | ^ gp-params.c:179:17: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 9 bytes from a string of length 9 [-Wstringop-truncation] 179 | strncat (remaining, buf, sizeof (remaining) - strlen (remaining) - 1); | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -c -o gphoto2-range.o `test -f 'range.c' || echo './'`range.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -c -o gphoto2-gphoto2-cmd-config.o `test -f 'gphoto2-cmd-config.c' || echo './'`gphoto2-cmd-config.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -c -o gphoto2-shell.o `test -f 'shell.c' || echo './'`shell.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -c -o gphoto2-actions.o `test -f 'actions.c' || echo './'`actions.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -c -o gphoto2-main.o `test -f 'main.c' || echo './'`main.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' /bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -o gphoto2 gphoto2-gphoto2-cmd-capture.o gphoto2-gphoto2-cmd-config.o gphoto2-actions.o gphoto2-foreach.o gphoto2-gp-params.o gphoto2-spawnve.o gphoto2-main.o gphoto2-version.o gphoto2-range.o gphoto2-shell.o -lgphoto2 -lgphoto2_port -lm -L/usr/lib64 -lcdk -lncurses -ltinfo -L/usr/lib64 -laa -lm -lX11 -lgpm -lslang -ljpeg -lpthread -lexif -lreadline -lpopt -lm libtool: link: gcc -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include -I/usr/include/libexif -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wmissing-declarations -Wmissing-prototypes -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -o gphoto2 gphoto2-gphoto2-cmd-capture.o gphoto2-gphoto2-cmd-config.o gphoto2-actions.o gphoto2-foreach.o gphoto2-gp-params.o gphoto2-spawnve.o gphoto2-main.o gphoto2-version.o gphoto2-range.o gphoto2-shell.o -lgphoto2 -lgphoto2_port -L/usr/lib64 -lcdk -lncurses -ltinfo -laa -lX11 -lgpm -lslang -ljpeg -lpthread -lexif -lreadline -lpopt -lm /usr/bin/ld: cannot find -lcdk: No such file or directory collect2: error: ld returned 1 exit status make[2]: *** [Makefile:724: gphoto2] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gphoto2-2.5.28/gphoto2' make[1]: *** [Makefile:461: all-recursive] Error 1 make: *** [Makefile:393: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.EoRFtf (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.EoRFtf (%build) I: [iurt_root_command] ERROR: chroot