* Package: media-gfx/gphoto2-2.5.28-r1:0 * Repository: gentoo * Maintainer: gnome@gentoo.org * USE: aalib abi_x86_64 amd64 elibc_glibc kernel_linux ncurses nls readline * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gphoto2-2.5.28.tar.xz to /var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work >>> Source unpacked in /var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work >>> Preparing source in /var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28 ... * Applying gphoto2-2.5.28-clang-16.patch ... patching file gphoto2/main.c patching file gphoto2/main.c [ ok ] * Running eautoreconf in '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28' ... * Running 'autopoint --force' ... [ ok ] * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I auto-m4 -I gphoto-m4 --system-acdir=/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: gphoto2-2.5.28/ * Running elibtoolize in: gphoto2-2.5.28/auto-aux/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28 ... * econf: updating gphoto2-2.5.28/auto-aux/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gphoto2-2.5.28/auto-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gphoto2-2.5.28/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gphoto2-2.5.28/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/gphoto2-2.5.28-r1 --htmldir=/usr/share/doc/gphoto2-2.5.28-r1/html --with-sysroot=/ --libdir=/usr/lib64 --with-aalib --with-jpeg --with-cdk --enable-nls --with-readline checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/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 for POSIX sh $() command substitution... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-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-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-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-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-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-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / 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-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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 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... yes, done. checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/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-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libgphoto2 >= 2.5.17... yes checking for strptime... yes checking for signal... yes checking for pause... yes checking for sleep... yes checking for egrep... (cached) /usr/bin/grep -E checking for fcntl.h... yes checking for process.h... no checking for signal.h... yes checking for sys/time.h... yes checking for sys/wait.h... yes checking for spawnve... no checking for floor in -lm... yes checking for pthread.h... yes checking for pthread_exit in -lpthread... yes checking for cdk/cdk.h... no checking for cdk.h... yes checking for cdk5-config... /usr/bin/cdk5-config checking for newCDKFScale in -lcdk... no checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed 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 for jpeglib.h... yes checking for jpeg_read_scanlines in -ljpeg... yes checking for libexif >= 0.6.9... yes checking for aalib.h... yes checking for aalib-config... /usr/bin/aalib-config checking for popt >= 1.6.1... 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: x86_64-pc-linux-gnu-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. >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28' Making all in gphoto-m4 make[2]: Entering directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28/gphoto-m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28/gphoto-m4' Making all in contrib make[2]: Entering directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28/contrib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28/contrib' Making all in doc make[2]: Entering directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28/doc' Making all in gphoto2 make[2]: Entering directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28/gphoto2' x86_64-pc-linux-gnu-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 -pipe -march=native -fno-diagnostics-color -Wall -Wmissing-declarations -Wmissing-prototypes -c -o gphoto2-gphoto2-cmd-capture.o `test -f 'gphoto2-cmd-capture.c' || echo './'`gphoto2-cmd-capture.c x86_64-pc-linux-gnu-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 -pipe -march=native -fno-diagnostics-color -Wall -Wmissing-declarations -Wmissing-prototypes -c -o gphoto2-gphoto2-cmd-config.o `test -f 'gphoto2-cmd-config.c' || echo './'`gphoto2-cmd-config.c x86_64-pc-linux-gnu-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 -pipe -march=native -fno-diagnostics-color -Wall -Wmissing-declarations -Wmissing-prototypes -c -o gphoto2-actions.o `test -f 'actions.c' || echo './'`actions.c x86_64-pc-linux-gnu-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 -pipe -march=native -fno-diagnostics-color -Wall -Wmissing-declarations -Wmissing-prototypes -c -o gphoto2-foreach.o `test -f 'foreach.c' || echo './'`foreach.c gphoto2-cmd-config.c: In function ‘set_config’: gphoto2-cmd-config.c:74:42: error: passing argument 4 of ‘newCDKDialog’ from incompatible pointer type [-Wincompatible-pointer-types] 74 | msg, 4, buttons, 2, | ^~~ | | | const char ** In file included from /usr/include/cdk.h:40, from gphoto2-cmd-config.c:36: /usr/include/cdk/dialog.h:90:17: note: expected ‘char **’ but argument is of type ‘const char **’ 90 | CDK_CSTRING2 /* message */, | ^~~~~~~~~~~~ gphoto2-cmd-config.c:74:50: error: passing argument 6 of ‘newCDKDialog’ from incompatible pointer type [-Wincompatible-pointer-types] 74 | msg, 4, buttons, 2, | ^~~~~~~ | | | const char ** /usr/include/cdk/dialog.h:92:17: note: expected ‘char **’ but argument is of type ‘const char **’ 92 | CDK_CSTRING2 /* buttons */, | ^~~~~~~~~~~~ gphoto2-cmd-config.c: In function ‘show_section’: gphoto2-cmd-config.c:127:32: error: passing argument 8 of ‘newCDKScroll’ from incompatible pointer type [-Wincompatible-pointer-types] 127 | (const char**)items, count, NUMBERS, A_REVERSE, TRUE, FALSE); | ^~~~~~~~~~~~~~~~~~~ | | | const char ** /usr/include/cdk/scroll.h:82:17: note: expected ‘char **’ but argument is of type ‘const char **’ 82 | CDK_CSTRING2 /* itemList */, | ^~~~~~~~~~~~ gphoto2-cmd-config.c: In function ‘show_radio’: gphoto2-cmd-config.c:321:53: error: passing argument 6 of ‘newCDKItemlist’ from incompatible pointer type [-Wincompatible-pointer-types] 321 | title, _("Value: "), (const char**)items, count, | ^~~~~~~~~~~~~~~~~~~ | | | const char ** /usr/include/cdk/itemlist.h:86:17: note: expected ‘char **’ but argument is of type ‘const char **’ 86 | CDK_CSTRING2 /* itemlist */, | ^~~~~~~~~~~~ gphoto2-cmd-config.c: In function ‘show_toggle’: gphoto2-cmd-config.c:378:32: error: passing argument 6 of ‘newCDKItemlist’ from incompatible pointer type [-Wincompatible-pointer-types] 378 | info, 2, 1 - value, TRUE, FALSE); | ^~~~ | | | const char ** /usr/include/cdk/itemlist.h:86:17: note: expected ‘char **’ but argument is of type ‘const char **’ 86 | CDK_CSTRING2 /* itemlist */, | ^~~~~~~~~~~~ make[2]: *** [Makefile:797: gphoto2-gphoto2-cmd-config.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28/gphoto2' make[1]: *** [Makefile:464: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28' make: *** [Makefile:396: all] Error 2 * ERROR: media-gfx/gphoto2-2.5.28-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/gphoto2-2.5.28-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/gphoto2-2.5.28-r1::gentoo'`. * The complete build log is located at '/var/log/portage/media-gfx:gphoto2-2.5.28-r1:20231205-131506.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28' * S: '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28'