Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919207 - x11-apps/xdm-1.1.14 - chooser.c: error: passing argument 2 of XawListChange from incompatible pointer type [-Wincompatible-pointer-types]
Summary: x11-apps/xdm-1.1.14 - chooser.c: error: passing argument 2 of XawListChange f...
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 20:09 UTC by Toralf Förster
Modified: 2023-12-09 18:10 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.67 KB, text/plain)
2023-12-04 20:09 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,73.18 KB, application/x-xz)
2023-12-04 20:09 UTC, Toralf Förster
Details
environment (environment,108.84 KB, text/plain)
2023-12-04 20:09 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-04 20:09 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.79 KB, application/x-xz)
2023-12-04 20:09 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.86 KB, application/x-xz)
2023-12-04 20:09 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,76.90 KB, application/x-xz)
2023-12-04 20:09 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,30.63 KB, application/x-xz)
2023-12-04 20:09 UTC, Toralf Förster
Details
x11-apps:xdm-1.1.14:20231204-135607.log (x11-apps:xdm-1.1.14:20231204-135607.log,21.64 KB, text/plain)
2023-12-04 20:09 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:09:34 UTC
  160 |     { "-connectionType","*connectionType",  XrmoptionSepArg,    NULL },
      |       ^~~~~~~~~~~~~~~~~
chooser.c:160:25: warning: initialization discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
  160 |     { "-connectionType","*connectionType",  XrmoptionSepArg,    NULL },
      |                         ^~~~~~~~~~~~~~~~~
chooser.c: In function RebuildTable:
chooser.c:280:26: error: passing argument 2 of XawListChange from incompatible pointer type [-Wincompatible-pointer-types]
  280 |     XawListChange (list, newTable, size, 0, TRUE);
      |                          ^~~~~~~~

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

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

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

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 Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit d3e348a745c1cac00398ffb5fae63236b02d8996
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 13:46:59 2023 +0000

    2023-12-04 13:46:59 UTC

emerge -qpvO x11-apps/xdm
[ebuild  N    ] x11-apps/xdm-1.1.14  USE="pam xinerama -systemd -truetype -xpm"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:09:35 UTC
Created attachment 876975 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:09:37 UTC
Created attachment 876976 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:09:38 UTC
Created attachment 876977 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:09:39 UTC
Created attachment 876978 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:09:40 UTC
Created attachment 876979 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:09:41 UTC
Created attachment 876980 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:09:42 UTC
Created attachment 876981 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:09:43 UTC
Created attachment 876982 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 20:09:44 UTC
Created attachment 876983 [details]
x11-apps:xdm-1.1.14:20231204-135607.log
Comment 10 Larry the Git Cow gentoo-dev 2023-12-09 18:10:59 UTC
The bug has been closed via the following commit(s):

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

commit 6c4df370a29c7e5ceb675dc33abb4fbce398cab8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-09 16:37:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-09 18:06:00 +0000

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

 x11-apps/xdm/files/xdm-1.1.14-c99.patch | 38 +++++++++++++++
 x11-apps/xdm/xdm-1.1.14-r1.ebuild       | 83 +++++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)