Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 831027 Details for
Bug 880935
media-video/mkclean-0.8.10 - ebmlmaster.c: error: incompatible function pointer types passing int
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-video:mkclean-0.8.10:20221111-110812.log
media-video:mkclean-0.8.10:20221111-110812.log (text/plain), 16.46 KB, created by
Toralf Förster
on 2022-11-11 12:07:06 UTC
(
hide
)
Description:
media-video:mkclean-0.8.10:20221111-110812.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-11 12:07:06 UTC
Size:
16.46 KB
patch
obsolete
> * Package: media-video/mkclean-0.8.10: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 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. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>>> Configuring source in /var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10 ... >make -j4 -C corec/tools/coremake >make: Entering directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/corec/tools/coremake' >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 coremake.c -o coremake >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 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. >'/var/tmp/portage/media-video/mkclean-0.8.10/temp/clang16-errors.log' -> '/var/tmp/clang/media-video/mkclean-0.8.10/clang16-errors.log' >'/var/tmp/portage/media-video/mkclean-0.8.10/temp/clang16-safe.log' -> '/var/tmp/clang/media-video/mkclean-0.8.10/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10 ... >make -j4 -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 >helpers/md5/md5.c:178:27: warning: 'memset' call operates on objects of type > 'md5_ctx' (aka 'struct md5_ctx') while the size is based on a different > type 'md5_ctx *' (aka 'struct md5_ctx *') [-Wsizeof-pointer-memaccess] > memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ > ~~~ ^~~ >helpers/md5/md5.c:178:27: note: did you mean to dereference the argument to > 'sizeof' (and multiply it by the number of elements)? > memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ > ^~~ >1 warning generated. >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:398:47: warning: unsequenced modification and access to > 'j' [-Wunsequenced] > tBuffer[j] = (tchar_t)p->Buffer.Read[j++]; > ~ ^ >helpers/parser/parser2.c:2026:28: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > return ExprIsTokenEx(p,Name); > ^~~~ >helpers/parser/parser2.c:2026:28: note: treat the string as an argument to avoid > this > return ExprIsTokenEx(p,Name); > ^ > "%s", >helpers/parser/parser2.c:2411:42: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > if (ExprIsTokenEx(p,T("{ %d , %d }"),&x,&y)) > ~~ ^~ >helpers/parser/parser2.c:2411:45: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > if (ExprIsTokenEx(p,T("{ %d , %d }"),&x,&y)) > ~~ ^~ >4 warnings generated. >compiling helpers/parser/strtab.c >compiling helpers/parser/strtypes.c >helpers/parser/strtypes.c:504:36: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > if (!ExprIsTokenEx(&s,T("%d "),&ResultPacked.Day)) > ~~ ^~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:520:44: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > if (!ExprIsTokenEx(&s,T("%d %d:%d:%d"),&ResultPacked.Year,&ResultPac... > ~~ ^~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:520:63: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...%d:%d:%d"),&ResultPacked.Year,&ResultPacked.Hour,&ResultPacked.Minute,&R... > ~~ ^~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:520:82: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...%d:%d:%d"),&ResultPacked.Year,&ResultPacked.Hour,&ResultPacked.Minute,&R... > ~~ ^~~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:520:103: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...%d"),&ResultPacked.Year,&ResultPacked.Hour,&ResultPacked.Minute,&ResultPacked.Second) > ~~ ^~~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:521:44: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > && !ExprIsTokenEx(&s,T("%d %d:%d"),&ResultPacked.Year,&ResultPac... > ~~ ^~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:521:63: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...!ExprIsTokenEx(&s,T("%d %d:%d"),&ResultPacked.Year,&ResultPacked.Hour,&R... > ~~ ^~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:521:82: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...%d:%d"),&ResultPacked.Year,&ResultPacked.Hour,&ResultPacked.Minute)) > ~~ ^~~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:527:35: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > if (ExprIsTokenEx(&s,T("+%d"),&Offset)) > ~~ ^~~~~~~ >helpers/parser/strtypes.c:529:40: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > else if (ExprIsTokenEx(&s,T("-%d"),&Offset)) > ~~ ^~~~~~~ >helpers/parser/strtypes.c:597:41: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > if (!ExprIsTokenEx(&s,T("%d-%d-%d"),&ResultPacked.Year,&ResultPacked... > ~~ ^~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:597:60: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > if (!ExprIsTokenEx(&s,T("%d-%d-%d"),&ResultPacked.Year,&ResultPacked.Month,... > ~~ ^~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:597:80: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...%d"),&ResultPacked.Year,&ResultPacked.Month,&ResultPacked.Day) && > ~~ ^~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:598:41: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > !ExprIsTokenEx(&s,T("%d:%d:%d"),&ResultPacked.Year,&ResultPacked... > ~~ ^~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:598:60: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > !ExprIsTokenEx(&s,T("%d:%d:%d"),&ResultPacked.Year,&ResultPacked.Month,&... > ~~ ^~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:598:80: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...%d"),&ResultPacked.Year,&ResultPacked.Month,&ResultPacked.Day) && > ~~ ^~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:599:42: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > !ExprIsTokenEx(&s,T("%4d%2d%2d"),&ResultPacked.Year,&ResultPacke... > ~~~ ^~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:599:61: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > !ExprIsTokenEx(&s,T("%4d%2d%2d"),&ResultPacked.Year,&ResultPacked.Month,... > ~~~ ^~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:599:81: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...%2d"),&ResultPacked.Year,&ResultPacked.Month,&ResultPacked.Day) && > ~~~ ^~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:600:42: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > !ExprIsTokenEx(&s,T("%2d%2d%2d"),&ResultPacked.Year,&ResultPacke... > ~~~ ^~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:600:61: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > !ExprIsTokenEx(&s,T("%2d%2d%2d"),&ResultPacked.Year,&ResultPacked.Month,... > ~~~ ^~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:600:81: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...%2d"),&ResultPacked.Year,&ResultPacked.Month,&ResultPacked.Day)) > ~~~ ^~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:611:44: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > if (ExprIsTokenEx(&s,T("%d:%d:%d"),&ResultPacked.Hour,&ResultPac... > ~~ ^~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:611:63: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...(ExprIsTokenEx(&s,T("%d:%d:%d"),&ResultPacked.Hour,&ResultPacked.Minute,... > ~~ ^~~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:611:84: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...%d"),&ResultPacked.Hour,&ResultPacked.Minute,&ResultPacked.Second) || > ~~ ^~~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:612:45: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ExprIsTokenEx(&s,T("%2d%2d%2d"),&ResultPacked.Hour,&ResultPa... > ~~~ ^~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:612:64: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...ExprIsTokenEx(&s,T("%2d%2d%2d"),&ResultPacked.Hour,&ResultPacked.Minute,... > ~~~ ^~~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:612:85: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ...%2d"),&ResultPacked.Hour,&ResultPacked.Minute,&ResultPacked.Second)) > ~~~ ^~~~~~~~~~~~~~~~~~~~ >helpers/parser/strtypes.c:615:39: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ExprIsTokenEx(&s,T(".%d"),&MilliSeconds); > ~~ ^~~~~~~~~~~~~ >helpers/parser/strtypes.c:620:49: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > if (ExprIsTokenEx(&o,T("%d:%d"),&OffsetH,&OffsetM) || > ~~ ^~~~~~~~ >helpers/parser/strtypes.c:620:58: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > if (ExprIsTokenEx(&o,T("%d:%d"),&OffsetH,&OffsetM) || > ~~ ^~~~~~~~ >helpers/parser/strtypes.c:621:50: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ExprIsTokenEx(&o,T("%2d%2d"),&OffsetH,&OffsetM) || > ~~~ ^~~~~~~~ >helpers/parser/strtypes.c:621:59: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ExprIsTokenEx(&o,T("%2d%2d"),&OffsetH,&OffsetM) || > ~~~ ^~~~~~~~ >helpers/parser/strtypes.c:622:47: warning: format specifies type 'int' but the > argument has type 'intptr_t *' (aka 'long *') [-Wformat] > ExprIsTokenEx(&o,T("%2d"),&OffsetH)) > ~~~ ^~~~~~~~ >34 warnings generated. >compiling helpers/parser/urlpart.c >compiling node/node.c >compiling node/nodetree.c >compiling str/str.c >compiling str/str_linux.c >linking ../../release/gcc_linux_x64/libcoreclib.a >make[4]: Leaving directory '/var/tmp/portage/media-video/mkclean-0.8.10/work/mkclean-0.8.10/corec/corec' >compiling ebmlbinary.c >compiling ebmlcrc.c >compiling ebmldate.c >compiling ebmlelement.c >compiling ebmlmain.c >compiling ebmlmaster.c >ebmlmaster.c:149:39: error: incompatible function pointer types passing 'int > (const ebml_element *, const ebml_element **, const ebml_element **)' (aka > 'int (const struct ebml_element *, const struct ebml_element **, const > struct ebml_element **)') to parameter of type 'arraycmp' (aka 'int > (*)(const void *, const void *, const void *)') > [-Werror,-Wincompatible-function-pointer-types] > ArraySort(&Elts,ebml_element*,EbmlCmp,Element,0); > ^~~~~~~ >../corec/corec/array/array.h:91:98: note: expanded from macro 'ArraySort' > ...ArraySortEx(p,ARRAYCOUNT(*p,type),sizeof(type),Cmp,CmpParam,Unique) > ^~~ >../corec/corec/array/array.h:83:75: note: passing argument to parameter 'Cmp' > here > ...ArraySortEx(array* p, size_t Count, size_t Width, arraycmp Cmp, const vo... > ^ >1 error generated. >make[3]: *** [ebml2.mak:91: ../build/gcc_linux_x64/ebmlmaster.ebml2.o] Error 1 >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:20221111-110812.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' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 880935
:
831017
|
831019
|
831021
|
831023
|
831025
| 831027 |
831029
|
831031