Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896220 - media-gfx/kphotoalbum-5.9.1-r1 fails to compile (MUSL-CLANG-SYSTEM): x86_64-gentoo-linux-musl-ld.bfd: libraw.so.23: undefined reference to __kmpc_dispatch_next_4
Summary: media-gfx/kphotoalbum-5.9.1-r1 fails to compile (MUSL-CLANG-SYSTEM): x86_64-g...
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: PullRequest
Depends on: 915833
Blocks:
  Show dependency tree
 
Reported: 2023-02-24 09:27 UTC by Agostino Sarubbo
Modified: 2025-02-07 17:50 UTC (History)
0 users

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


Attachments
build.log (build.log,874.31 KB, text/plain)
2023-02-24 09:27 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 2023-02-24 09:27:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/kphotoalbum-5.9.1-r1 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-24 09:27:55 UTC
Created attachment 854302 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-24 09:27:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


            int answer = KMessageBox::questionYesNo(this, i18n("<p>Given index file does not exist, do you want to create following?"
            int answer = KMessageBox::questionYesNo(this, i18n("Folder %1 does not exist. Should it be created?", dir));
            int create = KMessageBox::questionYesNo(this, i18n("Folder does not exist, create it?"));
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_barrier'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_critical'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_dispatch_init_4'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_dispatch_init_4u'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_dispatch_init_8'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_dispatch_next_4'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_dispatch_next_4u'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_dispatch_next_8'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_end_critical'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_for_static_fini'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_for_static_init_4'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_fork_call'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `__kmpc_global_thread_num'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `omp_get_max_threads'
/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: /usr/lib/libraw.so.23: undefined reference to `omp_get_thread_num'
FAILED: kphotoalbum 
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 3 Larry the Git Cow gentoo-dev 2025-02-07 17:50:27 UTC
The bug has been closed via the following commit(s):

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

commit be1d7efe4b2d013134f2df4e7bb9922a4d85735e
Author:     Z. Liu <zhixu.liu@gmail.com>
AuthorDate: 2025-02-05 10:09:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-07 17:49:21 +0000

    media-libs/libraw: fix undefined symbol: __kmpc_xxx
    
    quick workaround, for same reason in media-libs/libsountch
    
    upstream fix should be handled in autotools, still working
    
    Closes: https://bugs.gentoo.org/881311
    Closes: https://bugs.gentoo.org/896220
    Closes: https://bugs.gentoo.org/915833
    Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40444
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libraw/libraw-0.21.1-r1.ebuild | 15 +++++++++++----
 media-libs/libraw/libraw-0.21.2.ebuild    | 15 +++++++++++----
 2 files changed, 22 insertions(+), 8 deletions(-)