too long lines were shrinked: make[4]: Entering directory '/var/tmp/portage/sci-chemistry/molmol-2k_p2-r9/work/src/pudev' x86_64-pc-linux-gnu-gcc -I../../tools/include -I../../sg/include -I../../include -DPU_DEV_MOTIF -DPU_DEV_TTY -O2 -pipe -march=native -fno-diagnostics-color -I../../tools/include -I../../sg/include -I../../include -DPU_DEV_MOTIF -DPU_DEV_TTY -c -o PuExtIn.o PuExtIn.c make[4]: Leaving directory '/var/tmp/portage/sci-chemistry/molmol-2k_p2-r9/work/src/pudev' make[4]: Entering directory '/var/tmp/portage/sci-chemistry/molmol-2k_p2-r9/work/src/pudev' x86_64-pc-linux-gnu-gcc -I../../tools/include -I../../sg/include -I../../include -DPU_DEV_MOTIF -DPU_DEV_TTY -O2 -pipe -march=native -fno-diagnostics-color -I../../tools/include -I../../sg/include -I../../include -DPU_DEV_MOTIF -DPU_DEV_TTY -c -o PuCB.o PuCB.c PuCB.c: In function PuAddExposeCB: PuCB.c:132:30: error: passing argument 2 of insertCallback from incompatible pointer type [-Wincompatible-pointer-types] 132 | insertCallback(ExposeList, exposeCB, clientData, freeCB); | ^~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_plasma-20241113-211502 UNMASKED: <sys-devel/gcc-15.0.9999:15 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang version 19.1.4 llvm-config: 19.1.4 Python 3.12.7 go version go1.23.3 linux/amd64 Available Ruby profiles: [1] ruby32 (with Rubygems) * Available Rust versions: [1] rust-bin-1.81.0 [2] rust-bin-1.82.0 [3] rust-1.82.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm HEAD of ::gentoo commit f6d75bd6df21da95b6a72bd3974fe29a7e29305a Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Nov 20 17:19:17 2024 +0000 2024-11-20 17:19:17 UTC emerge -qpvO =sci-chemistry/molmol-2k_p2-r9 [ebuild N ] sci-chemistry/molmol-2k_p2-r9
Created attachment 910847 [details] emerge-info.txt
Created attachment 910848 [details] emerge-history.txt.xz
Created attachment 910849 [details] environment
Created attachment 910850 [details] etc.clang.tar.xz
Created attachment 910851 [details] etc.portage.tar.xz
Created attachment 910852 [details] logs.tar.xz
Created attachment 910853 [details] qlist-info.txt.xz
Created attachment 910854 [details] sci-chemistry:molmol-2k_p2-r9:20241120-181831.log
Uses C polymorphism, can't be patched trivially.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48960a50011d74f396e30fa4e11b0774fc6c33cb commit 48960a50011d74f396e30fa4e11b0774fc6c33cb Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-02-17 18:41:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-19 18:04:09 +0000 sci-chemistry/molmol: Consolidate patches, remove seds, pin C to gnu17 This uses C polymorphism with function pointers without signature. Fixing that without major re-engineering would be problematic. Five sed expressions are consolidated into patch, re-engineeded when needed, eg. for CC and MCFLAGS. Where possible, patches are moved from eapply inside src_prepare to PATCHES variable, order of preparations is changed for better understanding. Closes: https://bugs.gentoo.org/944200 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40620 Signed-off-by: Sam James <sam@gentoo.org> .../files/molmol-2k_p2-transform-makefiles.patch | 40 ++++++++ sci-chemistry/molmol/molmol-2k_p2-r10.ebuild | 103 +++++++++++++++++++++ 2 files changed, 143 insertions(+)