Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939431 - kde-apps/okular-24.05.2 on musl - synctex_parser.c:8059:13: error: implicit declaration of function 'vasprintf'
Summary: kde-apps/okular-24.05.2 on musl - synctex_parser.c:8059:13: error: implicit d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-10 15:35 UTC by Leung Ki Chi
Modified: 2024-09-10 18:34 UTC (History)
0 users

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


Attachments
build.log (build.log,198.09 KB, text/x-log)
2024-09-10 15:35 UTC, Leung Ki Chi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leung Ki Chi 2024-09-10 15:35:08 UTC
Created attachment 902556 [details]
build.log

# emerge --info '=kde-apps/okular-24.05.2::gentoo'
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/musl, gcc-13, musl-1.2.4-r2, 6.8.5-301.fc40.x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.8.5-301.fc40.x86_64-x86_64-12th_Gen_Intel-R-_Core-TM-_i5-1240P-with-libc
KiB Mem:    32426148 total,  16664044 free
KiB Swap:   16777208 total,  16447480 free
Timestamp of repository gentoo: Mon, 09 Sep 2024 01:30:00 +0000
Head commit of repository gentoo: e64c3ed2c597e478bf6b2902a44dae1cc1e92c04
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.3-r1::gentoo
dev-lang/rust:             1.79.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/musl:             1.2.4-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: no

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64_musl

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-musl"
CFLAGS="-march=alderlake -O2 -pipe"
CHOST="x86_64-pc-linux-musl"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d"
CXXFLAGS="-march=alderlake -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=alderlake -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=alderlake -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="charset.alias /usr/share/locale/locale.alias"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X accessbility alsa amd64 appindicator bluetooth bzip2 colord crypt cups cxx dbus dist-kernel duktape egl elogind flatpak flite geolocation glib gnutls gui ibus icu initramfs introspection ipv6 kde kmod lzma modemmanager networkmanager ogg opengl pam png policykit pulseaudio qml qt6 screencast seccomp secureboot ssl test-rust truetype udev unicode v4l vala wayland widgets wifi xattr zstd" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" CURL_SSL="gnutls" ELIBC="musl" INPUT_DEVICES="libinput" KERNEL="linux" LLVM_SLOT="18" LUA_SINGLE_TARGET="lua5-4" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" VIDEO_CARDS="intel"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

# emerge -pqv '=kde-apps/okular-24.05.2::gentoo'
[ebuild  N    ] kde-apps/okular-24.05.2  USE="crypt qml -debug -djvu -epub -handbook -markdown -mobi -pdf -phonon -postscript -share -speech -test -tiff"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-10 15:36:44 UTC
What happened here I wonder...
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-10 15:39:19 UTC
Ah, did we never add it to ::kde?
Comment 3 Andreas Sturmlechner gentoo-dev 2024-09-10 15:48:41 UTC
I might have hoped they'd have merged it by now
Comment 4 Larry the Git Cow gentoo-dev 2024-09-10 18:34:47 UTC
The bug has been closed via 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(+)