Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927683 - media-gfx/okularpart-23.08.5-r1 fails to compile: synctex_parser.c:8059:13: error: implicit declaration of function vasprintf [-Werror=implicit-function-declaration]
Summary: media-gfx/okularpart-23.08.5-r1 fails to compile: synctex_parser.c:8059:13: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://github.com/jlaurens/synctex/p...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-03-24 10:18 UTC by Agostino Sarubbo
Modified: 2024-04-22 16:32 UTC (History)
0 users

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


Attachments
build.log (build.log,289.73 KB, text/plain)
2024-03-24 10:18 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-03-24 10:18:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/okularpart-23.08.5-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-24 10:18:11 UTC
Created attachment 888385 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-24 10:18:12 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/media-gfx/okularpart-23.08.5-r1/work/okular-23.08.5/core/synctex/synctex_parser.c:8059:13: error: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Werror=implicit-function-declaration]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-22 16:32:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0055a28dc89a2df277e186e2346497556795ac66

commit 0055a28dc89a2df277e186e2346497556795ac66
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-04-21 13:30:54 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-04-22 16:22:32 +0000

    media-gfx/okularpart: 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/927683
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../okularpart-23.08.5-implicit-vasprintf.patch    | 29 ++++++++++++++++++++++
 media-gfx/okularpart/okularpart-23.08.5-r1.ebuild  |  1 +
 2 files changed, 30 insertions(+)