Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883391 - dev-perl/Tk-804.36.0-r1 - ./Xlib.t: error: incompatible function pointer types initializing KeySym
Summary: dev-perl/Tk-804.36.0-r1 - ./Xlib.t: error: incompatible function pointer type...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-28 08:28 UTC by Toralf Förster
Modified: 2023-09-23 22:40 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.21 KB, text/plain)
2022-11-28 08:28 UTC, Toralf Förster
Details
dev-perl:Tk-804.36.0:20221127-233509.log (dev-perl:Tk-804.36.0:20221127-233509.log,147.24 KB, text/plain)
2022-11-28 08:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,102.43 KB, text/plain)
2022-11-28 08:28 UTC, Toralf Förster
Details
environment (environment,53.04 KB, text/plain)
2022-11-28 08:28 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,695 bytes, application/x-bzip)
2022-11-28 08:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.59 KB, application/x-bzip)
2022-11-28 08:28 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,39.73 KB, application/x-bzip)
2022-11-28 08:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,39.29 KB, application/x-bzip)
2022-11-28 08:28 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,5.57 KB, application/x-bzip)
2022-11-28 08:28 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-11-28 08:28:08 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -c -I/usr/include/freetype2  -I..  -I/usr/include/freetype2 -I. -Ibitmaps  -I/usr/include/freetype2 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -fno-stric
33 warnings generated.
x86_64-pc-linux-gnu-gcc -c -I/usr/include/freetype2  -I..  -I/usr/include/freetype2 -I. -Ibitmaps  -I/usr/include/freetype2 -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -fno-stric
In file included from Xlib_f.c:17:
./Xlib.t:334:14: error: incompatible function pointer types initializing 'KeySym
      (*)(Display *, unsigned int, int)' (aka 'unsigned long (*)(struct
      _XDisplay *, unsigned int, int)') with an expression of type 'KeySym

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221127-030005

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 1027085481e4a53e4f54b1aa07499d9ce8b2c6d3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 27 22:02:01 2022 +0000

    2022-11-27 22:02:01 UTC

emerge -qpvO dev-perl/Tk
[ebuild  N    ] dev-perl/Tk-804.36.0  USE="-examples -test"
Comment 1 Toralf Förster gentoo-dev 2022-11-28 08:28:09 UTC
Created attachment 837863 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-28 08:28:10 UTC
Created attachment 837865 [details]
dev-perl:Tk-804.36.0:20221127-233509.log
Comment 3 Toralf Förster gentoo-dev 2022-11-28 08:28:12 UTC
Created attachment 837867 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-28 08:28:13 UTC
Created attachment 837869 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-28 08:28:14 UTC
Created attachment 837871 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-28 08:28:15 UTC
Created attachment 837873 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-28 08:28:16 UTC
Created attachment 837875 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-28 08:28:17 UTC
Created attachment 837877 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-28 08:28:18 UTC
Created attachment 837879 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2023-02-11 04:26:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164c0cdd484ca9fcdfcc8b6a2cba98ffd77e689b

commit 164c0cdd484ca9fcdfcc8b6a2cba98ffd77e689b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-11 04:24:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-11 04:24:06 +0000

    dev-perl/Tk: fix configure w/ clang 16, backport other crash fixes
    
    But still doesn't build w/ clang 16.
    
    Bug: https://bugs.gentoo.org/883391
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-perl/Tk/Tk-804.36.0-r1.ebuild                  |  69 +++++++++
 .../Tk/files/Tk-804.036-configure-clang16.patch    |  40 +++++
 dev-perl/Tk/files/Tk-804.036-crash.patch           | 167 +++++++++++++++++++++
 3 files changed, 276 insertions(+)
Comment 11 Agostino Sarubbo gentoo-dev 2023-02-15 09:39:58 UTC
tinderbox_musl has reproduced this issue with version 804.36.0-r1 - Updating summary.
Comment 12 Larry the Git Cow gentoo-dev 2023-09-23 22:40:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a874138a15a8317a223e8d9f7676b9e7b51e58

commit e0a874138a15a8317a223e8d9f7676b9e7b51e58
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-09-23 22:39:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-23 22:40:13 +0000

    dev-perl/Tk: fix incompatible function pointer types
    
    Closes: https://bugs.gentoo.org/883391
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-perl/Tk/Tk-804.36.0-r2.ebuild                  | 69 ++++++++++++++++++++++
 ...4.036-incompatible-function-pointer-types.patch | 14 +++++
 2 files changed, 83 insertions(+)