Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919212 - dev-perl/Tk-804.36.0-r2 - [clang] ./Xlib.t: error: incompatible function pointer types initializing KeySym
Summary: dev-perl/Tk-804.36.0-r2 - [clang] ./Xlib.t: error: incompatible function poin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 20:11 UTC by Toralf Förster
Modified: 2024-06-14 06:32 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.36 KB, text/plain)
2023-12-04 20:11 UTC, Toralf Förster
Details
dev-perl:Tk-804.36.0:20231204-113950.log (dev-perl:Tk-804.36.0:20231204-113950.log,130.55 KB, text/plain)
2023-12-04 20:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,55.79 KB, text/plain)
2023-12-04 20:11 UTC, Toralf Förster
Details
environment (environment,89.45 KB, text/plain)
2023-12-04 20:11 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-04 20:11 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.16 KB, application/x-xz)
2023-12-04 20:11 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,42.34 KB, application/x-xz)
2023-12-04 20:11 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,114.49 KB, text/plain)
2023-12-04 20:11 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,40.01 KB, application/x-xz)
2023-12-04 20:11 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,4.26 KB, application/x-xz)
2023-12-04 20:12 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 2023-12-04 20:11:50 UTC
too long lines were shrinked:

   33 | static Window TryChildren();
      |               ^
4 warnings generated.
x86_64-pc-linux-gnu-gcc -c -I/usr/include/freetype2  -I..  -I/usr/include/freetype2 -I. -Ibitmaps  -I/usr/include/freetype2 -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnost
x86_64-pc-linux-gnu-gcc -c -I/usr/include/freetype2  -I..  -I/usr/include/freetype2 -I. -Ibitmaps  -I/usr/include/freetype2 -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnost
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_systemd_merged_usr-20231203-121010

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 1dc17df3c3253ecfe784434d3a20173662de005b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 11:16:56 2023 +0000

    2023-12-04 11:16:56 UTC

emerge -qpvO dev-perl/Tk
[ebuild  N    ] dev-perl/Tk-804.36.0  USE="-examples -test"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:11:51 UTC
Created attachment 877018 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:11:52 UTC
Created attachment 877019 [details]
dev-perl:Tk-804.36.0:20231204-113950.log
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:11:53 UTC
Created attachment 877020 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:11:54 UTC
Created attachment 877021 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:11:55 UTC
Created attachment 877022 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:11:56 UTC
Created attachment 877023 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:11:57 UTC
Created attachment 877024 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:11:58 UTC
Created attachment 877025 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-04 20:11:59 UTC
Created attachment 877026 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-04 20:12:00 UTC
Created attachment 877027 [details]
var.tmp.clang.tar.xz
Comment 11 Larry the Git Cow gentoo-dev 2023-12-05 06:39:46 UTC
The bug has been referenced in the following commit(s):

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

commit 0559a5198d76cefe1bbd789765ae48e7e2a2e1bd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-05 05:20:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-05 06:39:12 +0000

    dev-perl/Tk: drop 804.36.0
    
    Bug: https://bugs.gentoo.org/919212
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-perl/Tk/Tk-804.36.0.ebuild | 66 ------------------------------------------
 1 file changed, 66 deletions(-)
Comment 12 Agostino Sarubbo gentoo-dev 2024-03-07 08:09:55 UTC
tinderbox_arm64 has reproduced this issue with version 804.36.0-r2 - Updating summary.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-14 06:32:53 UTC
This one was surely fixed in

commit e0a874138a15a8317a223e8d9f7676b9e7b51e58
Author: Sam James <sam@gentoo.org>
Date:   Sat Sep 23 23:39:47 2023 +0100

dev-perl/Tk: fix incompatible function pointer types

Closes: https://bugs.gentoo.org/883391
Signed-off-by: Sam James <sam@gentoo.org>