Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919373 - x11-libs/libXaw3d-1.6.5 - MultiSink.c: error: passing argument 1 of SetTabs from incompatible pointer type [-Wincompatible-pointer-types]
Summary: x11-libs/libXaw3d-1.6.5 - MultiSink.c: error: passing argument 1 of SetTabs 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-06 18:10 UTC by Toralf Förster
Modified: 2023-12-09 18:45 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,22.36 KB, text/plain)
2023-12-06 18:10 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,104.63 KB, application/x-xz)
2023-12-06 18:10 UTC, Toralf Förster
Details
environment (environment,100.16 KB, text/plain)
2023-12-06 18:10 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-06 18:10 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.05 KB, application/x-xz)
2023-12-06 18:10 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.81 KB, application/x-xz)
2023-12-06 18:10 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,108.50 KB, application/x-xz)
2023-12-06 18:10 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,47.02 KB, application/x-xz)
2023-12-06 18:10 UTC, Toralf Förster
Details
x11-libs:libXaw3d-1.6.5:20231206-050157.log.xz (x11-libs:libXaw3d-1.6.5:20231206-050157.log.xz,22.68 KB, application/x-xz)
2023-12-06 18:10 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-06 18:10:29 UTC
  118 |     {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean),
      |                             ^~~~~~~~~
MultiSink.c:127:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  127 |     /* class_name               */      "MultiSink",
      |                                         ^~~~~~~~~~~
MultiSink.c: In function 'SetValues':
MultiSink.c:582:18: error: passing argument 1 of 'SetTabs' from incompatible pointer type [-Wincompatible-pointer-types]
  582 |         SetTabs( w, w->text_sink.tab_count, w->text_sink.char_tabs );
      |                  ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-162118

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

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.7
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 10a4a397e4cdfa1cc67958a67bb5de83fb54f72f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 6 02:16:59 2023 +0000

    2023-12-06 02:16:58 UTC

emerge -qpvO x11-libs/libXaw3d
[ebuild  N    ] x11-libs/libXaw3d-1.6.5  USE="-xpm"
Comment 1 Toralf Förster gentoo-dev 2023-12-06 18:10:30 UTC
Created attachment 877932 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-06 18:10:32 UTC
Created attachment 877933 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-06 18:10:33 UTC
Created attachment 877934 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-06 18:10:34 UTC
Created attachment 877935 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-06 18:10:35 UTC
Created attachment 877936 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-06 18:10:36 UTC
Created attachment 877937 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-06 18:10:38 UTC
Created attachment 877938 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-06 18:10:39 UTC
Created attachment 877939 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-06 18:10:40 UTC
Created attachment 877940 [details]
x11-libs:libXaw3d-1.6.5:20231206-050157.log.xz
Comment 10 Larry the Git Cow gentoo-dev 2023-12-09 18:45:29 UTC
The bug has been closed via the following commit(s):

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

commit e70b6ce82d8416747da4441a282df3ddc0c1acbe
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-09 18:44:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-09 18:44:48 +0000

    x11-libs/libXaw3d: fix modern C issue
    
    Closes: https://bugs.gentoo.org/919373
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-libs/libXaw3d/files/libXaw3d-1.6.5-c99.patch | 39 ++++++++++++++++++++++++
 x11-libs/libXaw3d/libXaw3d-1.6.5-r1.ebuild       | 37 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)