Summary: | x11-wm/fvwm3-1.0.9-r1 fails to compile (lto): Colorset.h:91:20: error: type of [-Werror=lto-type-mismatch] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Matt Jolly <kangie> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | kangie |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=864957 https://github.com/fvwmorg/fvwm3/issues/1056 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2022-08-12 06:52:33 UTC
Created attachment 799357 [details]
build.log
build log and emerge --info
lto_tinderbox has reproduced this issue with version 1.0.9-r1 - Updating summary. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7ff4695abec63c8ef91b29d533ec89c80636190 commit a7ff4695abec63c8ef91b29d533ec89c80636190 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-08-15 19:04:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-08-15 19:07:03 +0000 x11-wm/fvwm: fix patches * Use rebased ar, translucent-menus patches from bug #898918, thanks to Gianni Ceccarelli <dakkar@thenautilus.net> * Filter LTO for bug #864957 (fvwm 2.x is EOL) so unlikely to be fixed upstream. If 3.x gets fixed (bug #864959), we can always look at backporting it. Bug: https://bugs.gentoo.org/864959 Closes: https://bugs.gentoo.org/864957 Closes: https://bugs.gentoo.org/898918 Signed-off-by: Sam James <sam@gentoo.org> x11-wm/fvwm/files/fvwm-2.7.0-ar.patch | 41 ++ .../fvwm/files/fvwm-2.7.0-translucent-menus.diff | 507 +++++++++++++++++++++ x11-wm/fvwm/fvwm-2.7.0-r5.ebuild | 172 +++++++ 3 files changed, 720 insertions(+) I can't reproduce this with a 1.10-git meson build path. I _think_ it's resolved upstream but have no idea which change fixed it. The log doesn't show it (I've filed GCC bugs before for that to be improved) but the issue is https://github.com/fvwmorg/fvwm3/blob/d26bed64c827d124b053e978f380c6b487f056eb/libs/Colorset.h#L35. i.e. sometimes the define is set, sometimes not. Yeah, just managed to repro with the 1.10 tarball. Whee! Fixed upstream in the Meson PR by coincidence: https://github.com/fvwmorg/fvwm3/pull/996/commits/5215ec25918255e5e708420caacc1b6fa98d74f2 I'll close this off once we get that merged and redo the ebuild. If we're lucky I'll backport to fvwm2 :) |