https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-misc/ola-0.10.8 fails to compile (MUSL). Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 824439 [details] build.log build log and emerge --info
tinderbox_musl has reproduced this issue with version 0.10.9 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c21efb2f184c2d4189a623d9dd2df088295eecfb commit c21efb2f184c2d4189a623d9dd2df088295eecfb Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2023-08-21 17:49:40 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2023-08-21 18:08:48 +0000 app-misc/ola: do not use reinterpret_cast on NULL In C++, nullptr_t values generally cannot be converted to a pointer using reinterpret_cast. I say "generally" because glibc apparently lets it slide; musl on the other hand does not. Do it the proper way and use static_cast instead. Closes: https://bugs.gentoo.org/877319 Signed-off-by: Marek Szuba <marecki@gentoo.org> app-misc/ola/files/ola-0.10.9-nullptr.patch | 214 ++++++++++++++++++++++++++++ app-misc/ola/ola-0.10.9.ebuild | 7 +- 2 files changed, 220 insertions(+), 1 deletion(-)