Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 927683

Summary: 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]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal Keywords: UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/jlaurens/synctex/pull/39
See Also: https://bugs.gentoo.org/show_bug.cgi?id=922345
https://invent.kde.org/graphics/okular/-/merge_requests/722
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

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(+)