Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919195 - x11-libs/xbae-4.60.4 - Methods.c: error: passing argument 1 of xbaeEventToRowColumn from incompatible pointer type [-Wincompatible-pointer-types]
Summary: x11-libs/xbae-4.60.4 - Methods.c: error: passing argument 1 of xbaeEventToRow...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 19:24 UTC by Toralf Förster
Modified: 2024-09-07 17:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.73 KB, text/plain)
2023-12-04 19:24 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,72.79 KB, application/x-xz)
2023-12-04 19:24 UTC, Toralf Förster
Details
environment (environment,25.96 KB, text/plain)
2023-12-04 19:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-12-04 19:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,41.13 KB, application/x-xz)
2023-12-04 19:24 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.93 KB, application/x-xz)
2023-12-04 19:24 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,75.41 KB, application/x-xz)
2023-12-04 19:24 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,10.76 KB, application/x-xz)
2023-12-04 19:24 UTC, Toralf Förster
Details
x11-libs:xbae-4.60.4:20231204-163344.log (x11-libs:xbae-4.60.4:20231204-163344.log,19.04 KB, text/plain)
2023-12-04 19:24 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:24:34 UTC
Matrix.c:1487:13: warning: 'InsertChild' defined but not used [-Wunused-function]
 1487 | static void InsertChild(Widget w)
      |             ^~~~~~~~~~~
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I./../include -I../include   -DXBAE_PER_CELL    -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o Methods.lo Methods.c
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I./../include -I../include -DXBAE_PER_CELL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c Methods.c  -fPIC -DPIC -o .libs/Methods.o
Methods.c: In function 'DoEditCell':
Methods.c:1691:62: error: passing argument 1 of 'xbaeEventToRowColumn' from incompatible pointer type [-Wincompatible-pointer-types]
 1691 |                                        xbaeEventToRowColumn(mw, event, &r, &c, &x, &y);
      |                                                             ^~

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

  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 0d0dcc0a0d37d7eedbf1964d19d1cccd05cab4db
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 16:04:04 2023 +0000

    2023-12-04 16:04:03 UTC

emerge -qpvO x11-libs/xbae
[ebuild  N    ] x11-libs/xbae-4.60.4  USE="examples -doc"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 19:24:35 UTC
Created attachment 876887 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 19:24:36 UTC
Created attachment 876888 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 19:24:37 UTC
Created attachment 876889 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 19:24:38 UTC
Created attachment 876890 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 19:24:39 UTC
Created attachment 876891 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 19:24:40 UTC
Created attachment 876892 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 19:24:42 UTC
Created attachment 876893 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 19:24:43 UTC
Created attachment 876894 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 19:24:44 UTC
Created attachment 876895 [details]
x11-libs:xbae-4.60.4:20231204-163344.log
Comment 10 Larry the Git Cow gentoo-dev 2024-09-03 01:09:17 UTC
The bug has been referenced in the following commit(s):

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

commit c8a42f563932679b1bf3f97b7462a32784dc3c80
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-09-03 00:47:33 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-09-03 00:53:33 +0000

    x11-libs/xbae: partial Modern C work
    
    Fix implicit configure script stuff via fedora patch. Fix one c99 error
    in the codebase (there are two others).
    
    It turns out that it is actually possible to regenerate the configure
    script using modern autotools, relatively simply even. You just need to
    tell it that the m4 macro directory is... the root of the source code.
    Quite enlightening... they installed custom macros there and then
    m4_included that into aclocal.m4 but of course that gets overwritten by
    aclocal.
    
    Closes: https://bugs.gentoo.org/898846
    Bug: https://bugs.gentoo.org/919195
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 x11-libs/xbae/files/xbae-4.60.4-c99.patch          | 24 +++++++
 .../xbae/files/xbae-4.60.4-configure-c99.patch     | 57 ++++++++++++++++
 .../xbae/files/xbae-4.60.4-modern-autotools.patch  | 28 ++++++++
 x11-libs/xbae/xbae-4.60.4-r1.ebuild                | 75 ++++++++++++++++++++++
 4 files changed, 184 insertions(+)