* Package: media-video/mkclean-0.8.10 * 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 mkclean-0.8.10.tar.bz2 to /var/tmp/portage/media-video/mkclean-0.8.10/work >>> Source unpacked in /var/tmp/portage/media-video/mkclean-0.8.10/work >>> Preparing source in /var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10 ... make -j1 -C corec/tools/coremake make: Entering directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/corec/tools/coremake' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -Wl,-O1 -Wl,--as-needed coremake.c -o coremake coremake.c: In function ‘reader_line’: coremake.c:792:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 792 | fgets(p->line,MAX_LINE,p->r.f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c: In function ‘main’: coremake.c:5638:5: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 5638 | getcwd(proj_root,sizeof(proj_root)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c: In function ‘preprocess_stdafx_includes’: coremake.c:2301:31: warning: ‘_project.h’ directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2301 | sprintf(file,"%s%s_project.h",gen_path,(*child)->value); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from coremake.c:31: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 1034) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c:2317:31: warning: ‘_host.h’ directive writing 7 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2317 | sprintf(file,"%s%s_host.h",gen_path,(*child)->value); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from coremake.c:31: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 8 or more bytes (assuming 1031) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c:2335:22: warning: ‘_stdafx.c’ directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2335 | sprintf(file,"%s%s_stdafx.c",gen_path,(*child)->value); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from coremake.c:31: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 10 or more bytes (assuming 1033) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c:2346:22: warning: ‘_stdafx.h’ directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2346 | sprintf(file,"%s%s_stdafx.h",gen_path,(*child)->value); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from coremake.c:31: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 10 or more bytes (assuming 1033) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c: In function ‘preprocess_stdafx’: coremake.c:2637:26: warning: ‘_project.h’ directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2637 | sprintf(file,"%s%s_project.h",gen_path,(*child)->value); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from coremake.c:31: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 1034) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c:2714:26: warning: ‘_host.h’ directive writing 7 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2714 | sprintf(file,"%s%s_host.h",gen_path,(*child)->value); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from coremake.c:31: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 8 or more bytes (assuming 1031) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c:2751:26: warning: ‘_stdafx.c’ directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2751 | sprintf(file,"%s%s_stdafx.c",gen_path,(*child)->value); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from coremake.c:31: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 10 or more bytes (assuming 1033) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c:2893:26: warning: ‘_stdafx.h’ directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2893 | sprintf(file,"%s%s_stdafx.h",gen_path,(*child)->value); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from coremake.c:31: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 10 or more bytes (assuming 1033) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c: In function ‘main’: coremake.c:5759:18: warning: ‘release/’ directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 5759 | sprintf(path,"%srelease/%s/",proj_root,platform); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from coremake.c:31: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 10 and 2056 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coremake.c:5766:18: warning: ‘build/’ directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 5766 | sprintf(path,"%sbuild/%s/",proj_root,platform); | ^~~~~~ In file included from /usr/include/stdio.h:867, from coremake.c:31: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 2054 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -Wl,-O1 -Wl,--as-needed corerc.c -o corerc make: Leaving directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/corec/tools/coremake' >>> Source configured. >>> Compiling source in /var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10 ... make -j1 -f GNUmakefile -j1 make[1]: Entering directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/mkclean' make[2]: Entering directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/libmatroska2' make[3]: Entering directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/libebml2' make[4]: Entering directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/corec/corec' compiling array/array.c compiling helpers/charconvert/charconvert_linux.c compiling helpers/date/date_libc.c compiling helpers/file/bufstream.c compiling helpers/file/file_libc.c compiling helpers/file/memstream.c compiling helpers/file/stream_stdio.c compiling helpers/file/streams.c compiling helpers/file/tools.c compiling helpers/md5/md5.c compiling helpers/parser/buffer.c compiling helpers/parser/dataheap.c compiling helpers/parser/hotkey.c compiling helpers/parser/nodelookup.c compiling helpers/parser/parser2.c helpers/parser/parser2.c: In function ‘ExprIsToken’: helpers/parser/parser2.c:2026:5: error: format not a string literal and no format arguments [-Werror=format-security] 2026 | return ExprIsTokenEx(p,Name); | ^~~~~~ In file included from ../corec/corec.h:43, from ../corec/node/node.h:33, from ../corec/helpers/file/file.h:33, from helpers/parser/parser.h:33, from helpers/parser/parser2.c:30: helpers/parser/parser2.c: In function ‘ExprIsPoint’: helpers/parser/parser2.c:2411:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’ {aka ‘long int *’} [-Wformat=] 2411 | if (ExprIsTokenEx(p,T("{ %d , %d }"),&x,&y)) | ^~~~~~~~~~~~~ ../corec/portab.h:555:14: note: in definition of macro ‘T’ 555 | #define T(a) a | ^ helpers/parser/parser2.c:2411:31: note: format string is defined here 2411 | if (ExprIsTokenEx(p,T("{ %d , %d }"),&x,&y)) | ~^ | | | int | %ln In file included from ../corec/corec.h:43, from ../corec/node/node.h:33, from ../corec/helpers/file/file.h:33, from helpers/parser/parser.h:33, from helpers/parser/parser2.c:30: helpers/parser/parser2.c:2411:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’ {aka ‘long int *’} [-Wformat=] 2411 | if (ExprIsTokenEx(p,T("{ %d , %d }"),&x,&y)) | ^~~~~~~~~~~~~ ../corec/portab.h:555:14: note: in definition of macro ‘T’ 555 | #define T(a) a | ^ helpers/parser/parser2.c:2411:36: note: format string is defined here 2411 | if (ExprIsTokenEx(p,T("{ %d , %d }"),&x,&y)) | ~^ | | | int | %ln cc1: some warnings being treated as errors make[4]: *** [coreclib.mak:100: ../../build/gcc_linux_x64/helpers/parser/parser2.coreclib.o] Error 1 make[4]: Leaving directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/corec/corec' make[3]: *** [ebml2.mak:81: ../release/gcc_linux_x64/libcoreclib.a] Error 2 make[3]: Leaving directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/libebml2' make[2]: *** [matroska2.mak:89: ../release/gcc_linux_x64/libebml2.a] Error 2 make[2]: Leaving directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/libmatroska2' make[1]: *** [mkclean.mak:81: ../release/gcc_linux_x64/libmatroska2.a] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/mkclean' make: *** [GNUmakefile:6: mkclean] Error 2 * ERROR: media-video/mkclean-0.8.10::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/mkclean-0.8.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/mkclean-0.8.10::gentoo'`. * The complete build log is located at '/var/log/portage/media-video:mkclean-0.8.10:20200325-221127.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/mkclean-0.8.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mkclean-0.8.10/temp/environment'. * Working directory: '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10' * S: '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10'