Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893902 - media-libs/tiff: possible configure breakage with clang 16
Summary: media-libs/tiff: possible configure breakage with clang 16
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Codec Project
URL:
Whiteboard: false positive
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2023-02-11 05:12 UTC by Sam James
Modified: 2024-11-02 22:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-11 05:12:55 UTC
```
--- /tmp/clang/home/tinderbox/img/17.1_desktop_plasma-j4-20221215-050004/var/tmp/clang/media-libs/tiff-4.5.0/clang16-safe.log   2023-02-11 03:38:47.530285421 +0000
+++ /tmp/clang/home/tinderbox/img/17.1_desktop_plasma-j4-20221215-050004/var/tmp/clang/media-libs/tiff-4.5.0/clang16-errors.log 2023-02-11 03:38:47.530285421 +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)
                                            ^~~~
 /usr/include/GL/glu.h:336:87: note: passing argument to parameter 'CallBackFunc' here
 GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
                                                                                       ^
+2 errors generated.
```
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-18 01:29:14 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)