Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919239 - x11-libs/libXaw3dXft-1.6.2h - XawIm.c: error: passing argument 3 of Xutf8LookupString from incompatible pointer type [-Wincompatible-pointer-types]
Summary: x11-libs/libXaw3dXft-1.6.2h - XawIm.c: error: passing argument 3 of Xutf8Look...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard: fixed in 1.6.2h-r1
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 21:25 UTC by Toralf Förster
Modified: 2024-10-31 19:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,21.52 KB, text/plain)
2023-12-04 21:25 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,86.61 KB, application/x-xz)
2023-12-04 21:25 UTC, Toralf Förster
Details
environment (environment,99.18 KB, text/plain)
2023-12-04 21:25 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-04 21:25 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.55 KB, application/x-xz)
2023-12-04 21:25 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,21.38 KB, application/x-xz)
2023-12-04 21:25 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,96.00 KB, application/x-xz)
2023-12-04 21:25 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,47.21 KB, application/x-xz)
2023-12-04 21:26 UTC, Toralf Förster
Details
x11-libs:libXaw3dXft-1.6.2h:20231204-211353.log.xz (x11-libs:libXaw3dXft-1.6.2h:20231204-211353.log.xz,23.20 KB, application/x-xz)
2023-12-04 21:26 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 21:25:51 UTC
too long lines were shrinked:

      |                                         ^~~~~~~~~~~
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -DXAW_INTERNATIONALIZATION -DXAW_GRAY_BLKWHT_STIPPLES -DXAW_ARROW_SCROLLBARS  -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
XawIm.c:109:39: warning: initialization discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
  109 |         Offset (font_set), XtRString, XtDefaultFontSet
      |                                       ^~~~~~~~~~~~~~~~
XawIm.c: In function _XawImWcLookupString:
XawIm.c:1525:55: error: passing argument 3 of Xutf8LookupString from incompatible pointer type [-Wincompatible-pointer-types]
 1525 |               ret = Xutf8LookupString (p->xic, event, buffer_return, bytes_buffer, keysym_return, status_return);
      |                                                       ^~~~~~~~~~~~~

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

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

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

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 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   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 0143568cc59c1d6a4ceb9aa22289258085b4ba67
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 20:47:03 2023 +0000

    2023-12-04 20:47:02 UTC

emerge -qpvO x11-libs/libXaw3dXft
[ebuild  N    ] x11-libs/libXaw3dXft-1.6.2h  USE="unicode -xpm"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 21:25:52 UTC
Created attachment 877230 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 21:25:53 UTC
Created attachment 877231 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 21:25:54 UTC
Created attachment 877232 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 21:25:55 UTC
Created attachment 877233 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 21:25:56 UTC
Created attachment 877234 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 21:25:57 UTC
Created attachment 877235 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 21:25:59 UTC
Created attachment 877236 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 21:26:00 UTC
Created attachment 877237 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 21:26:01 UTC
Created attachment 877238 [details]
x11-libs:libXaw3dXft-1.6.2h:20231204-211353.log.xz
Comment 10 Larry the Git Cow gentoo-dev 2023-12-05 17:31:56 UTC
The bug has been closed via the following commit(s):

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

commit 32e2c9bed0d5f4d0182a1acb2ee7198c8998bf60
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2023-12-05 17:29:39 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2023-12-05 17:31:45 +0000

    x11-libs/libXaw3dXft: fix building with gcc 14
    
    Fix building with gcc 14.
    Update EAPI 7 -> 8.
    Remove useless `unicode` flag (make it always on).
    
    Closes: https://bugs.gentoo.org/919239
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../files/libXaw3dXft-1.6.2h-fix-gcc-14.patch      | 17 +++++++++
 x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h-r1.ebuild  | 44 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)