rdlibtool: link: ln -s /dev/null .libs/gkleds.a.disabled rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/gkleds_la-gkleds.o -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 @GK_LDFLAGS@ -lSM -lICE -L/usr/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lXtst -lX11 -shared -fPIC -Wl,-soname -Wl,gkleds.so -o .libs/gkleds.so /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find @GK_LDFLAGS@: No such file or directory collect2: error: ld returned 1 exit status rdlibtool: exec error upon slbt_exec_link_create_library(), line 1572: (see child process error messages). rdlibtool: < returned to > slbt_exec_link(), line 2084. make[2]: *** [Makefile:227: gkleds.la] Error 2 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j3-20210621-104403 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.9.5 Available Rust versions: [1] rust-bin-1.53.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 (none found) HEAD of ::gentoo commit 5fd60142b26a56ff4ef7d352d2bcfea3c2173700 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Jun 28 22:21:28 2021 +0000 2021-06-28 22:21:27 UTC emerge -qpvO x11-plugins/gkrellm-leds [ebuild N ] x11-plugins/gkrellm-leds-0.8.2-r1
Created attachment 720006 [details] emerge-info.txt
Created attachment 720009 [details] emerge-history.txt
Created attachment 720012 [details] environment
Created attachment 720015 [details] etc.portage.tar.bz2
Created attachment 720018 [details] logs.tar.bz2
Created attachment 720021 [details] temp.tar.bz2
Created attachment 720024 [details] x11-plugins:gkrellm-leds-0.8.2-r1:20210628-230237.log
I'm looking at moving the ebuild from EAPI 6 -> 8, and hoping I could fix this in the meantime. Looking at the Makefile.in, there are three variables defined: --- GKM_CFLAGS = @GKM_CFLAGS@ GKM_EXTRA_SRCS = @GKM_EXTRA_SRCS@ GKM_LDFLAGS = @GKM_LDFLAGS@ --- and further down they are used like this: --- gkleds_la_CFLAGS = -Wall -O2 -I../pixmaps @X_CFLAGS@ @GTK_CFLAGS@ @GKM_CFLAGS@ gkleds_la_LIBADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ @GTK_LIBS@ @GKM_EXTRA_SRCS@ gkleds_la_LDFLAGS = -module -avoid-version @GK_LDFLAGS@ --- Do you think it's "just" a typo and @GK_FLAGS@ should've been @GKM_FLAGS@? After the src_configure phase, grepping for GK_FLAGS gives just two hits: $ grep -R GK_LDFLAGS src/Makefile.am:gkleds_la_LDFLAGS = -module -avoid-version @GK_LDFLAGS@ src/Makefile.in:gkleds_la_LDFLAGS = -module -avoid-version @GK_LDFLAGS@
> Do you think it's "just" a typo and @GK_FLAGS@ should've been @GKM_FLAGS@? I mean of course @GK_LDFLAGS@ and @GKM_LDFLAGS@
I think it's got to be - @FOO@ _has_ to be subtituted in or it's just meaningless junk (like we see in this bug).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d557df31533026ecba7c8c4b4a4fd8ee2d136a1 commit 1d557df31533026ecba7c8c4b4a4fd8ee2d136a1 Author: Thomas Bracht Laumann Jespersen <t@laumann.xyz> AuthorDate: 2022-03-23 14:52:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-07 02:20:46 +0000 x11-plugins/gkrellm-leds: update EAPI 6 -> 8 Besides the EAPI bump, there's a bug for the referenced bug. The issue seems to be simply a typo in src/Makefile.am resulting in a variable @GK_LDFLAGS@ not being replaced appropriately. Closes: https://bugs.gentoo.org/799176 Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Closes: https://github.com/gentoo/gentoo/pull/24729 Signed-off-by: Sam James <sam@gentoo.org> .../files/gkrellm-leds-0.8.2-r2-ldflags-typo.patch | 12 ++++++++ .../gkrellm-leds/gkrellm-leds-0.8.2-r2.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 48 insertions(+)