Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930097 - app-office/scribus-1.6.1-r1 fails to start, probably incomplete qt dependency
Summary: app-office/scribus-1.6.1-r1 fails to start, probably incomplete qt dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-16 07:44 UTC by xHire
Modified: 2024-05-22 07:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xHire 2024-04-16 07:44:46 UTC
Starting scribus fails:

---
$ scribus-1.6 
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, wayland-egl, wayland.

Neúspěšně ukončen (SIGABRT)
---

After some searching and debugging, I came to a conclusion that scribus depends on xcb through qt (other qt5 programs run fine without it).

Since I compiled dev-qt/qtgui without X flag, I don’t have the file /usr/lib64/qt5/plugins/platforms/libqxcb.so. Recompiling qtgui with X use flag fixes the problem, so I assume that scribus should have this gtqui use flag as its dependency.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-05-22 07:43:19 UTC
The bug has been closed via the following commit(s):

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

commit e798d39f6d06852477282296dca23fb9e205b1cb
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-05-22 07:43:01 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-05-22 07:43:01 +0000

    app-office/scribus: fixed missing xcb dependency via qt
    
    Closes: https://bugs.gentoo.org/930097
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 app-office/scribus/scribus-1.6.1-r1.ebuild | 2 +-
 app-office/scribus/scribus-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 2 Miroslav Šulc gentoo-dev 2024-05-22 07:44:09 UTC
thank you for the report and also for the solution. i applied similar fix to the live ebuild (it uses qt6).