Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948870 - app-crypt/heimdal-7.8.0-r3: libheimsqlite3.so has conflicting symbols with libsqlite3.so, leading to application crashes
Summary: app-crypt/heimdal-7.8.0-r3: libheimsqlite3.so has conflicting symbols with li...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-26 19:43 UTC by Marco Rebhan
Modified: 2025-03-08 23:01 UTC (History)
3 users (show)

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


Attachments
emerge --info sqlite (emerge --info sqlite.txt,9.23 KB, text/plain)
2025-01-26 19:43 UTC, Marco Rebhan
Details
lldb dolphin (lldb dolphin.txt,3.93 KB, text/plain)
2025-01-26 19:44 UTC, Marco Rebhan
Details
lldb quassel (lldb quassel.txt,5.40 KB, text/plain)
2025-01-26 19:44 UTC, Marco Rebhan
Details
emerge --info heimdal (emerge-info,8.83 KB, text/plain)
2025-03-01 22:17 UTC, Marco Rebhan
Details
heimdal config.log (config.log.bz2,37.01 KB, application/x-bzip2)
2025-03-01 22:18 UTC, Marco Rebhan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Rebhan 2025-01-26 19:43:20 UTC
This causes a crash on startup in net-irc/quassel and a crash in kde-apps/dolphin when hovering over the activities context menu on a file. (see attached logs)

Both use qtsql (5 and 6 respectively), so the issue may also be in that package.
Comment 1 Marco Rebhan 2025-01-26 19:43:49 UTC
Created attachment 917569 [details]
emerge --info sqlite
Comment 2 Marco Rebhan 2025-01-26 19:44:07 UTC
Created attachment 917570 [details]
lldb dolphin
Comment 3 Marco Rebhan 2025-01-26 19:44:19 UTC
Created attachment 917571 [details]
lldb quassel
Comment 4 Marco Rebhan 2025-03-01 22:16:52 UTC
I figured out what this is actually caused by. It's caused by app-crypt/heimdal.

heimdal builds libheimsqlite3.so which ends up getting linked into applications along with the real sqlite3 when they link to libkrb5, leading to conflicting symbols.

related: https://github.com/heimdal/heimdal/issues/1142

This is clearly unintended since the Heimdal ebuild already passes --with-sqlite3="${EPREFIX}"/usr to configure, but the configure script detects it as not present.

A workaround is setting EXTRA_ECONF="--with-sqlite3-lib=/usr/lib64/libsqlite3.so --with-sqlite3-headers=/usr/include" when building Heimdal.
Comment 5 Marco Rebhan 2025-03-01 22:17:14 UTC
Created attachment 920110 [details]
emerge --info heimdal
Comment 6 Marco Rebhan 2025-03-01 22:18:02 UTC
Created attachment 920111 [details]
heimdal config.log