https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: kde-apps/okular-23.08.4 fails to compile (MUSL-SYSTEM). Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: (MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Created attachment 882514 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: CMakeFiles/okularcore.dir/core/synctex/synctex_parser.c.o /var/tmp/portage/kde-apps/okular-23.08.4/work/okular-23.08.4/core/synctex/synctex_parser.c:8059:13: error: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Werror=implicit-function-declaration]
tinderbox_musl has reproduced this issue with version 23.08.5 - Updating summary.
There's an old upstream issue about it here: https://bugs.kde.org/show_bug.cgi?id=398338 I added some new info to it. Since the ultimate upstream for this code is SyncTeX, I filed an issue there as well: https://github.com/jlaurens/synctex/issues/80
See https://invent.kde.org/graphics/okular/-/merge_requests/723 and https://invent.kde.org/graphics/okular/-/merge_requests/723 pending upstream
(In reply to hugegameartgd from comment #5) I meant https://invent.kde.org/graphics/okular/-/merge_requests/722, sorry
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c1a0cd60ab8af045d8662c965635a863644cf2 commit 83c1a0cd60ab8af045d8662c965635a863644cf2 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-04-21 13:24:56 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-04-22 16:22:28 +0000 kde-apps/okular: Fix musl build (implicit vasprintf decl) KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=398338 Upstream MR: https://invent.kde.org/graphics/okular/-/merge_requests/722 Cherry-picked from upstream's upstream: https://github.com/jlaurens/synctex/commit/4b0590e7d1817b004c71635f9e721edf1e368228 Closes: https://bugs.gentoo.org/922345 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/okular-23.08.5-implicit-vasprintf.patch | 29 ++++++++++++++++++++++ kde-apps/okular/okular-23.08.5.ebuild | 1 + kde-apps/okular/okular-24.02.2.ebuild | 1 + 3 files changed, 31 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=4890f9995b0499afb1844e2373310989d70dc7ff commit 4890f9995b0499afb1844e2373310989d70dc7ff Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-04-21 13:24:56 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-09-10 16:59:25 +0000 kde-apps/okular: Fix musl build (implicit vasprintf decl) KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=398338 Upstream MR: https://invent.kde.org/graphics/okular/-/merge_requests/722 Cherry-picked from upstream's upstream: https://github.com/jlaurens/synctex/commit/4b0590e7d1817b004c71635f9e721edf1e368228 Bug: https://bugs.gentoo.org/922345 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/okular-23.08.5-implicit-vasprintf.patch | 29 ++++++++++++++++++++++ kde-apps/okular/okular-24.08.49.9999.ebuild | 1 + kde-apps/okular/okular-9999.ebuild | 1 + 3 files changed, 31 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e99629355758b234e36463b2394e36b9bd765c70 commit e99629355758b234e36463b2394e36b9bd765c70 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-04-21 13:24:56 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-09-10 18:34:33 +0000 kde-apps/okular: Fix musl build (implicit vasprintf decl) KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=398338 Upstream MR: https://invent.kde.org/graphics/okular/-/merge_requests/722 Cherry-picked from upstream's upstream: https://github.com/jlaurens/synctex/commit/4b0590e7d1817b004c71635f9e721edf1e368228 Bug: https://bugs.gentoo.org/922345 Closes: https://bugs.gentoo.org/939431 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/okular-23.08.5-implicit-vasprintf.patch | 29 ++++++++++++++++++++++ kde-apps/okular/okular-24.05.2.ebuild | 1 + kde-apps/okular/okular-24.08.0.ebuild | 1 + 3 files changed, 31 insertions(+)