Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919249 - x11-wm/notion-4.0.2_p20220613 - frame.c: error: passing argument 1 of ioncore_grab_establish from incompatible pointer type [-Wincompatible-pointer-ty
Summary: x11-wm/notion-4.0.2_p20220613 - frame.c: error: passing argument 1 of ioncore...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: David Seifert
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-05 08:08 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,18.68 KB, text/plain)
2023-12-05 08:08 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,63.70 KB, application/x-xz)
2023-12-05 08:08 UTC, Toralf Förster
Details
environment (environment,78.11 KB, text/plain)
2023-12-05 08:08 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,972 bytes, application/x-xz)
2023-12-05 08:08 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.75 KB, application/x-xz)
2023-12-05 08:08 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,69.03 KB, application/x-xz)
2023-12-05 08:08 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,41.89 KB, application/x-xz)
2023-12-05 08:08 UTC, Toralf Förster
Details
x11-wm:notion-4.0.2_p20220613:20231205-010157.log (x11-wm:notion-4.0.2_p20220613:20231205-010157.log,184.82 KB, text/plain)
2023-12-05 08:08 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-05 08:08:41 UTC
      |            ^~~~~~~
frame.c: In function numbers_grab_handler:
frame.c:781:55: warning: unused parameter xev [-Wunused-parameter]
  781 | static int numbers_grab_handler(WRegion *reg, XEvent *xev)
      |                                               ~~~~~~~~^~~
frame.c: In function frame_set_numbers_extl:
frame.c:799:32: error: passing argument 1 of ioncore_grab_establish from incompatible pointer type [-Wincompatible-pointer-types]
  799 |         ioncore_grab_establish(frame, numbers_grab_handler, NULL,
      |                                ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20231128-165524

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

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 5b02a855dbc36be0c5b64fda493fa0853b0ca988
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 23:17:02 2023 +0000

    2023-12-04 23:17:02 UTC

emerge -qpvO x11-wm/notion
[ebuild  N    ] x11-wm/notion-4.0.2_p20220613  USE="nls xinerama xrandr" LUA_SINGLE_TARGET="lua5-4"
Comment 1 Toralf Förster gentoo-dev 2023-12-05 08:08:42 UTC
Created attachment 877259 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-05 08:08:44 UTC
Created attachment 877260 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-05 08:08:45 UTC
Created attachment 877261 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-05 08:08:45 UTC
Created attachment 877262 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-05 08:08:47 UTC
Created attachment 877263 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-05 08:08:48 UTC
Created attachment 877264 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-05 08:08:49 UTC
Created attachment 877265 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-05 08:08:50 UTC
Created attachment 877266 [details]
x11-wm:notion-4.0.2_p20220613:20231205-010157.log
Comment 9 Larry the Git Cow gentoo-dev 2024-05-02 03:55:33 UTC
The bug has been closed via the following commit(s):

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

commit 5b37553a9c5af8e400cd23a2dd79ecdf4b32812e
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-05-01 08:48:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-02 03:54:25 +0000

    x11-wm/notion: Fix passing of incompatible pointer type
    
    TODO:
    According to developer/s, frame->mplex->win would be a more type-safe way to
    achieve the same, but then it becomes less clear whether this is an 'is' or a
    'has' relationship.
    
    Closes: https://bugs.gentoo.org/919249
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36498
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/notion-4.0.2-gcc14-build-fix.patch       | 49 +++++++++++
 x11-wm/notion/notion-4.0.2_p20220613-r1.ebuild     | 97 ++++++++++++++++++++++
 x11-wm/notion/notion-9999.ebuild                   |  6 +-
 3 files changed, 151 insertions(+), 1 deletion(-)