Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 893914

Summary: dev-tcltk/tkimg: possible configure breakage with clang 16
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: TCL/TK Project <tcltk>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=893892
https://bugs.gentoo.org/show_bug.cgi?id=893902
https://bugs.gentoo.org/show_bug.cgi?id=893976
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-11 05:19:44 UTC
```
--- /tmp/clang/home/tinderbox/img/17.1_systemd-j4_test-20221211-060004/var/tmp/clang/dev-tcltk/tkimg-1.4.13-r1/clang16-safe.log 2023-02-11 03:38:28.933565893 +0000
+++ /tmp/clang/home/tinderbox/img/17.1_systemd-j4_test-20221211-060004/var/tmp/clang/dev-tcltk/tkimg-1.4.13-r1/clang16-errors.log       2023-02-11 03:38:28.933565893 +0000

-ignoreme: warning: incompatible function pointer types passing 'GLvoid (*)(...)' (aka 'void (*)(...)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types]
+ignoreme: error: incompatible function pointer types passing 'GLvoid (*)(...)' (aka 'void (*)(...)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Werror,-Wincompatible-function-pointer-types]
 GLvoid (*func)(...); gluTessCallback(0, 0, func)
                                            ^~~~
```
Comment 1 Tupone Alfredo gentoo-dev 2023-03-15 21:35:10 UTC
Does it apply to 1.4.14 ?

Any more info ?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-18 01:28:57 UTC
[19:45:59]  <@sam_> $ grep -rsin "error.*incompatible function" /var/tmp/portage/dev-tcltk/tkimg-1.4.14-r2/work/Img-1.4.14-Source/
[19:46:03]  <@sam_> /var/tmp/portage/dev-tcltk/tkimg-1.4.14-r2/work/Img-1.4.14-Source/libtiff/config.log:2243:conftest.c:58:44: error: incompatible function pointer types passing 'GLvoid (*)(...)' (aka 'void (*)(...)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types]
[19:46:06]  <@sam_> (w/ clang 16)
[19:46:19]  <@sam_> the test is 'checking for varargs GLU tesselator callback function type' so it might be ok
[19:47:01]  <@sam_> i think it's ok (a false positive/not a problem)