* Package: media-video/luvcview-0.2.6-r1:0 * Repository: gentoo * Maintainer: media-video@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking luvcview_0.2.6.orig.tar.gz to /var/tmp/portage/media-video/luvcview-0.2.6-r1/work >>> Unpacking luvcview_0.2.6-4.diff.gz to /var/tmp/portage/media-video/luvcview-0.2.6-r1/work >>> Source unpacked in /var/tmp/portage/media-video/luvcview-0.2.6-r1/work >>> Preparing source in /var/tmp/portage/media-video/luvcview-0.2.6-r1/work/luvcview-0.2.6 ... * Applying luvcview_0.2.6-4.diff ... [ ok ] * Applying 01-uyvy.patch ... [ ok ] * Applying 02-v4l2.patch ... [ ok ] * Applying 03-libv4l.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/luvcview-0.2.6-r1/work/luvcview-0.2.6 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-video/luvcview-0.2.6-r1/work/luvcview-0.2.6 ... make -j4 'CC=clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUSE_SDL -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUSE_SDL -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o luvcview.o luvcview.c clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUSE_SDL -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUSE_SDL -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o color.o color.c clang-15: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument] clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUSE_SDL -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUSE_SDL -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o utils.o utils.c clang-15: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument] clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUSE_SDL -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUSE_SDL -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o v4l2uvc.o v4l2uvc.c clang-15: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument] luvcview.c:432:3: error: call to undeclared function 'check_videoIn'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] check_videoIn(videoIn,(char *) videodevice); ^ luvcview.c:693:10: error: call to undeclared function 'v4l2ResetPan'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (v4l2ResetPan(videoIn) < 0) ^ luvcview.c:693:10: note: did you mean 'v4l2ResetPanTilt'? ./v4l2uvc.h:99:5: note: 'v4l2ResetPanTilt' declared here int v4l2ResetPanTilt(struct vdIn *vd); ^ luvcview.c:697:10: error: call to undeclared function 'v4l2ResetTilt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (v4l2ResetTilt(videoIn) < 0) ^ luvcview.c:697:10: note: did you mean 'v4l2ResetPanTilt'? ./v4l2uvc.h:99:5: note: 'v4l2ResetPanTilt' declared here int v4l2ResetPanTilt(struct vdIn *vd); ^ luvcview.c:909:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 1 warning and 3 errors generated. make: *** [: luvcview.o] Error 1 make: *** Waiting for unfinished jobs.... utils.c:585:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void setinput(in, p) ^ utils.c:585:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:595:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int fillbits(in, le, bi) ^ utils.c:595:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:626:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int dec_readmarker(in) ^ utils.c:626:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:654:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int dec_rec2(in, hu, runp, c, i) ^ utils.c:654:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:708:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void decode_mcus(in, dct, n, sc, maxp) ^ utils.c:708:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:744:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void dec_makehuff(hu, hufflen, huffvals) ^ utils.c:744:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:980:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void idctqtab(qin, qout) ^ utils.c:980:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:1208:58: warning: format string contains '\0' within the string body [-Wformat] snprintf (temp, 26, "P-%02d:%02d:%04d-%02d:%02d:%02d.%s\0", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ v4l2uvc.c:197:30: error: function definition is not allowed here void enumerate_menu (void) { ^ v4l2uvc.c:225:7: error: call to undeclared function 'SDL_Delay'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SDL_Delay(10); ^ v4l2uvc.c:230:9: error: call to undeclared function 'enumerate_menu'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] enumerate_menu (); ^ v4l2uvc.c:248:7: error: call to undeclared function 'SDL_Delay'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SDL_Delay(20); ^ v4l2uvc.c:253:9: error: call to undeclared function 'enumerate_menu'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] enumerate_menu (); ^ v4l2uvc.c:286:9: error: call to undeclared function 'SDL_Delay'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SDL_Delay(10); ^ v4l2uvc.c:305:9: error: call to undeclared function 'SDL_Delay'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SDL_Delay(10); ^ v4l2uvc.c:319:5: error: call to undeclared function 'SDL_Delay'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SDL_Delay(100); ^ v4l2uvc.c:344:9: error: call to undeclared function 'SDL_Delay'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SDL_Delay(20); ^ v4l2uvc.c:666:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] AVI_write_frame(vd->avifile, vd->tmpbuffer, ^~~~~~~~~~~~~ ./avilib.h:263:40: note: passing argument to parameter 'data' here int AVI_write_frame(avi_t *AVI, char *data, long bytes, int keyframe); ^ v4l2uvc.c:981:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] control_s_array.reserved[1] = 0; ^ ~ /usr/include/linux/videodev2.h:1753:2: note: array 'reserved' declared here __u32 reserved[1]; ^ 2 warnings and 9 errors generated. make: *** [: v4l2uvc.o] Error 1 15 warnings generated. * ERROR: media-video/luvcview-0.2.6-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/luvcview-0.2.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/luvcview-0.2.6-r1::gentoo'`. * The complete build log is located at '/var/log/portage/media-video:luvcview-0.2.6-r1:20221006-100229.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/luvcview-0.2.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/luvcview-0.2.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/luvcview-0.2.6-r1/work/luvcview-0.2.6' * S: '/var/tmp/portage/media-video/luvcview-0.2.6-r1/work/luvcview-0.2.6'