Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922345 - kde-apps/okular-23.08.5 fails to compile (MUSL-SYSTEM): synctex_parser.c:8059:13: error: implicit declaration of function vasprintf
Summary: kde-apps/okular-23.08.5 fails to compile (MUSL-SYSTEM): synctex_parser.c:8059...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-18 08:26 UTC by Agostino Sarubbo
Modified: 2024-04-02 14:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,299.07 KB, text/plain)
2024-01-18 08:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-18 08:26:19 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-18 08:26:21 UTC
Created attachment 882514 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-18 08:26:22 UTC
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]
Comment 3 Agostino Sarubbo gentoo-dev 2024-02-25 08:29:26 UTC
tinderbox_musl has reproduced this issue with version 23.08.5 - Updating summary.
Comment 4 jonys 2024-03-30 20:45:51 UTC
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
Comment 6 hugegameartgd 2024-04-02 14:52:00 UTC
(In reply to hugegameartgd from comment #5)

I meant https://invent.kde.org/graphics/okular/-/merge_requests/722, sorry