Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919190 - x11-apps/xkbutils-1.0.5 - xkbwatch.c: error: passing argument 7 of XtOpenApplication from incompatible pointer type [-Wincompatible-pointer-types]
Summary: x11-apps/xkbutils-1.0.5 - xkbwatch.c: error: passing argument 7 of XtOpenAppl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 19:02 UTC by Toralf Förster
Modified: 2023-12-09 18:11 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.74 KB, text/plain)
2023-12-04 19:02 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,73.20 KB, application/x-xz)
2023-12-04 19:02 UTC, Toralf Förster
Details
environment (environment,96.53 KB, text/plain)
2023-12-04 19:02 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-12-04 19:02 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,41.16 KB, application/x-xz)
2023-12-04 19:02 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.17 KB, application/x-xz)
2023-12-04 19:02 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,75.72 KB, application/x-xz)
2023-12-04 19:02 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.85 KB, application/x-xz)
2023-12-04 19:02 UTC, Toralf Förster
Details
x11-apps:xkbutils-1.0.5:20231204-183234.log (x11-apps:xkbutils-1.0.5:20231204-183234.log,15.90 KB, text/plain)
2023-12-04 19:02 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 19:02:12 UTC
xkbwatch.c:77:9: warning: initialization discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
   77 |         "*Box*borderWidth: 0",
      |         ^~~~~~~~~~~~~~~~~~~~~
xkbwatch.c:78:9: warning: initialization discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
   78 |         "*Box*vSpace: 1",
      |         ^~~~~~~~~~~~~~~~
xkbwatch.c:92:34: error: passing argument 7 of XtOpenApplication from incompatible pointer type [-Wincompatible-pointer-types]
   92 |                                  fallback_resources,
      |                                  ^~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20231127-152538

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
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 Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.8.1_p1 [openjdk-17]
2)	OpenJDK 21.0.1_p12 [openjdk-21]
3)	OpenJDK 8.382_p05 [openjdk-8]
4)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-21 
  [4]   openjdk-bin-17 
  [5]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit b2381aadcc40dfc178220622139d5660232069a8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 17:01:54 2023 +0000

    2023-12-04 17:01:54 UTC

emerge -qpvO x11-apps/xkbutils
[ebuild  N    ] x11-apps/xkbutils-1.0.5
Comment 1 Toralf Förster gentoo-dev 2023-12-04 19:02:13 UTC
Created attachment 876842 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 19:02:15 UTC
Created attachment 876843 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 19:02:16 UTC
Created attachment 876844 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 19:02:17 UTC
Created attachment 876845 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 19:02:18 UTC
Created attachment 876846 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 19:02:19 UTC
Created attachment 876847 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 19:02:20 UTC
Created attachment 876848 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 19:02:21 UTC
Created attachment 876849 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 19:02:22 UTC
Created attachment 876850 [details]
x11-apps:xkbutils-1.0.5:20231204-183234.log
Comment 10 Larry the Git Cow gentoo-dev 2023-12-09 18:11:03 UTC
The bug has been closed via the following commit(s):

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

commit f2a3ca63e369a64bc0e3ec97c1958eb86b5c71de
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-09 16:41:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-09 18:06:01 +0000

    x11-apps/xkbutils: fix modern C issue
    
    Closes: https://bugs.gentoo.org/919190
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-apps/xkbutils/files/xkbutils-1.0.5-c99.patch | 43 ++++++++++++++++++++++++
 x11-apps/xkbutils/xkbutils-1.0.5-r1.ebuild       | 22 ++++++++++++
 2 files changed, 65 insertions(+)