Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925876 - x11-base/xorg-server-21.1.11 fails to compile: ephyr_glamor_xv.c:154:31: error: assignment to SetPortAttributeFuncPtr {aka int ()(struct _KdScreenInfo , long unsigned int, int, void )} from incompatible pointer type int ()(KdScreenInfo , Atom, INT32, voi
Summary: x11-base/xorg-server-21.1.11 fails to compile: ephyr_glamor_xv.c:154:31: erro...
Status: CONFIRMED
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: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-02-29 21:09 UTC by Agostino Sarubbo
Modified: 2024-05-13 21:04 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,894.39 KB, text/plain)
2024-02-29 21:09 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-29 21:09:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-base/xorg-server-21.1.11 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-29 21:09:15 UTC
Created attachment 886397 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-29 21:09:16 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: hw/kdrive/ephyr/Xephyr.p/ephyr_glamor_xv.c.o 
Program fop found: NO
Program rendercheck found: NO
Run-time dependency libsystemd found: NO (tried pkgconfig and cmake)
Run-time dependency libsystemd-daemon found: NO (tried pkgconfig and cmake)
Run-time dependency xorg-sgml-doctools found: NO (tried pkgconfig and cmake)
../xorg-server-21.1.11/hw/kdrive/ephyr/ephyr_glamor_xv.c:154:31: error: assignment to ‘SetPortAttributeFuncPtr’ {aka ‘int (*)(struct _KdScreenInfo *, long unsigned int,  int,  void *)’} from incompatible pointer type ‘int (*)(KdScreenInfo *, Atom,  INT32,  void *)’ {aka ‘int (*)(struct _KdScreenInfo *, long unsigned int,  long int,  void *)’} [-Wincompatible-pointer-types]
Comment 3 Gabi Falk 2024-05-11 11:56:19 UTC
This one is fixed upstream (see https://gitlab.freedesktop.org/xorg/xserver/-/commit/e89edec497bac581ca9b614fb00c25365580f045).
Comment 4 Gabi Falk 2024-05-12 11:51:17 UTC
(In reply to Gabi Falk from comment #3)
> This one is fixed upstream (see
> https://gitlab.freedesktop.org/xorg/xserver/-/commit/
> e89edec497bac581ca9b614fb00c25365580f045).

I also made a merge request upstream to backport the fix to the 21.1 branch:
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1532
Comment 5 Gabi Falk 2024-05-13 21:04:35 UTC
(In reply to Gabi Falk from comment #4)
> (In reply to Gabi Falk from comment #3)
> > This one is fixed upstream (see
> > https://gitlab.freedesktop.org/xorg/xserver/-/commit/
> > e89edec497bac581ca9b614fb00c25365580f045).
> 
> I also made a merge request upstream to backport the fix to the 21.1 branch:
> https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1532
It's merged now.