Installing media-radio/libax25 does sometimes fail to install some relevant header files on MUSL based systems: netax25/ax25.h netrose/rose.h and netrom/netrom.h Further inspection shows that the files are only missing if libax25 is already installed and the files got installed the first time. Repeating the installation every second install the files are missing.
Digging deeper: Some libc variants (glibc as one of them) are providing the missing files by themself. If not available libax25 provides replacements. These gets installed only if the files are missing before hand. That should do fine. As Gentoo allows to reinstall an already installed package it unluckily leads in every second install to the following: - The check shows the file is already installed (from the first install) - It decides that an install of the substitions files is not needed and leaves them out. - During qmerge phase the old version is uninstalled together with the files in question and the new installed version does not have the files. Next time it is the other way round - the files gets installed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7fbac540cd29d4a88d0067750dd60c606d614b commit 1a7fbac540cd29d4a88d0067750dd60c606d614b Author: Thomas Beierlein <tomjbe@gentoo.org> AuthorDate: 2023-05-31 13:29:20 +0000 Commit: Thomas Beierlein <tomjbe@gentoo.org> CommitDate: 2023-05-31 13:31:16 +0000 dev-libs/libax25: Install missing headers unconditionally for MUSL based systems Closes: https://bugs.gentoo.org/907465 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> .../libax25/files/libax25-0.0.12_rc5-musl.patch | 23 ++++++++++++++++++++++ dev-libs/libax25/libax25-0.0.12_rc5.ebuild | 10 +++++++++- 2 files changed, 32 insertions(+), 1 deletion(-)