https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-i18n/xvnkb-0.2.11 fails to compile (MUSL-CLANG-SYSTEM). Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: (MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Created attachment 856834 [details] build.log build log and emerge --info
Error(s) that match a know pattern: * dobin: xvnkb does not exist * QA Notice: file does not exist: !!! dobin: xvnkb does not exist
*** Bug 919407 has been marked as a duplicate of this bug. ***
>>> Configuring source in /var/tmp/portage/app-i18n/xvnkb-0.2.11/work/xvnkb-0.2.11 ... Configuration for xvnkb 0.2.11 on Linux Type "./configure --help" for more information Checking uchar... no Checking ushort... no Checking uint... no Checking ulong... no Checking dynamic linking loader... no >>> Source configured. >>> Compiling source in /var/tmp/portage/app-i18n/xvnkb-0.2.11/work/xvnkb-0.2.11 ... >>> Source compiled. >>> Test phase [not enabled]: app-i18n/xvnkb-0.2.11 >>> Install app-i18n/xvnkb-0.2.11 into /var/tmp/portage/app-i18n/xvnkb-0.2.11/image !!! dobin: xvnkb does not exist * ERROR: app-i18n/xvnkb-0.2.11::gentoo failed (install phase): * dobin failed This bug doesn't seem to make a whole lot of sense. Somehow it is running an empty test phase instead of emake. The configure script output looks horribly suspicious, as though it doesn't generate a Makefile at all, but also doesn't exit with failure if it fails?
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA echo -n "Checking dynamic linking loader... " $xcc config/dl.c >/dev/null 2>&1 if [ $? != 0 ]; then $xcc config/dl.c -ldl >/dev/null 2>&1 if [ $? != 0 ]; then rm -f a.out echo no exit fi lib_dl=-ldl else lib_dl= fi rm -f a.out echo yes The entire script has ZERO concept of error checking.
Fails if I export CC=clang, the issue is that config/dl.c has implicit-int inside of it.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8021b7878ce7a4dbd92639ca20ef93084514dc commit bf8021b7878ce7a4dbd92639ca20ef93084514dc Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-03-03 05:32:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-03 05:51:12 +0000 app-i18n/xvnkb: error out immediately if no Makefile exists This package is absolutely horrible. It has the world's worst homebrew "configure" script, which fails but doesn't *error out* with -Wimplicit-int as a compiler default error, and also has: config.h:1:1: error: expected identifier or ‘(’ before ‘-’ token 1 | -e #ifndef __VK_CONFIG_H which is just... dandy... I too love unix command flags echo'ed into my headers... It's a wreck but we can at least detect when it cannot compile anything and abort with a clearer message. Bug: https://bugs.gentoo.org/900398 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-i18n/xvnkb/xvnkb-0.2.11.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)