too long lines were shrinked: clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r4/work/motif-2.3.8/clients/mwm -I../../include -I../../lib/Xm -DLARGECURSORS -DR2_COMPAT -DUNMAP_ON_RESTART -DCDE_INSTALLATION_TOP=\"/usr/dt\" -DCDE_CONFIGURATION_TOP=\"/usr/etc/dt\" -DBITMAPDIR=\"/usr/include/X11/bitmaps\" -DMWMRCDI clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r4/work/motif-2.3.8/clients/mwm -I../../include -I../../lib/Xm -DLARGECURSORS -DR2_COMPAT -DUNMAP_ON_RESTART -DCDE_INSTALLATION_TOP=\"/usr/dt\" -DCDE_CONFIGURATION_TOP=\"/usr/etc/dt\" -DBITMAPDIR=\"/usr/include/X11/bitmaps\" -DMWMRCDI clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r4/work/motif-2.3.8/clients/mwm -I../../include -I../../lib/Xm -DLARGECURSORS -DR2_COMPAT -DUNMAP_ON_RESTART -DCDE_INSTALLATION_TOP=\"/usr/dt\" -DCDE_CONFIGURATION_TOP=\"/usr/etc/dt\" -DBITMAPDIR=\"/usr/include/X11/bitmaps\" -DMWMRCDI clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r4/work/motif-2.3.8/clients/mwm -I../../include -I../../lib/Xm -DLARGECURSORS -DR2_COMPAT -DUNMAP_ON_RESTART -DCDE_INSTALLATION_TOP=\"/usr/dt\" -DCDE_CONFIGURATION_TOP=\"/usr/etc/dt\" -DBITMAPDIR=\"/usr/include/X11/bitmaps\" -DMWMRCDI /var/tmp/portage/x11-libs/motif-2.3.8-r4/work/motif-2.3.8/clients/mwm/WmError.c:134:24: error: incompatible function pointer types passing 'void (char *)' to parameter of type 'void (*)(String) __attribute__((noreturn))' (aka 'void (*)(char *) __attribute__((noreturn))') [-Werror,-Wincompatible-func XtSetErrorHandler (WmXtErrorHandler); ^~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20221125-160004 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe" GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" CC=clang CXX=clang++ gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.5 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.5 Python 3.10.8 Available Rust versions: [1] rust-bin-1.65.0 * php cli (if any): HEAD of ::gentoo commit f8540b5a862eb91a5661f50f6855f6900cfea63c Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Nov 25 20:16:51 2022 +0000 2022-11-25 20:16:51 UTC emerge -qpvO x11-libs/motif [ebuild N ] x11-libs/motif-2.3.8-r4 USE="motif22-compatibility png unicode -examples -jpeg -static-libs -xft" ABI_X86="(64) -32 (-x32)"
Created attachment 836807 [details] emerge-info.txt
Created attachment 836809 [details] emerge-history.txt
Created attachment 836811 [details] environment
Created attachment 836813 [details] etc.clang.tar.bz2
Created attachment 836815 [details] etc.portage.tar.bz2
Created attachment 836817 [details] logs.tar.bz2
Created attachment 836819 [details] temp.tar.bz2
Created attachment 836821 [details] var.tmp.clang.tar.bz2
Created attachment 836823 [details] x11-libs:motif-2.3.8-r4:20221125-203335.log.bz2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/dev/ulm.git/commit/?id=4ef04b81b4723e339bd9eeabaa7133c1164b1a5d commit 4ef04b81b4723e339bd9eeabaa7133c1164b1a5d Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-11-26 13:32:48 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-11-26 13:32:48 +0000 motif: More clang stupidity Bug: https://bugs.gentoo.org/883075 Signed-off-by: Ulrich Müller <ulm@gentoo.org> patchsets/motif/2.3.8/12_all_noreturn.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c160efee152c7d7154b5093182d42ce39e4a2a commit d3c160efee152c7d7154b5093182d42ce39e4a2a Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-11-26 13:38:56 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-11-26 13:38:56 +0000 x11-libs/motif: Fix build with clang Closes: https://bugs.gentoo.org/883075 Signed-off-by: Ulrich Müller <ulm@gentoo.org> x11-libs/motif/Manifest | 2 +- x11-libs/motif/motif-2.3.8-r4.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Fedora's fixes are listed at https://gitlab.com/fweimer-rh/fedora-modernc/-/commit/6fbf75ea71315169236d8f99b81c3efaa13dd718. I haven't compared them to ours though.
(In reply to Sam James from comment #12) > Fedora's fixes are listed at > https://gitlab.com/fweimer-rh/fedora-modernc/-/commit/6fbf75ea71315169236d8f99b81c3efaa13dd718. > I haven't compared them to ours though. Well, maybe they should bump their version. :) Looks like they're still at 2.3.4, so they must apply upstream fixes that are 10 years old: https://sourceforge.net/p/motif/code/ci/56dae22f7c2e7446852af1d68116f1809edae633 https://sourceforge.net/p/motif/code/ci/d094e8c4a6a1890520ade3e1900229454dc2eac2 https://sourceforge.net/p/motif/code/ci/7a52b1ea7e1ec88ba854db30a51d9f68f2f0078f AFAICS these are all included in the 2.3.8 release.