Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716356 - net-im/spectrum2-2.0.12-r1: libcommuni backend not installed
Summary: net-im/spectrum2-2.0.12-r1: libcommuni backend not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-05 17:26 UTC by tastytea
Modified: 2020-04-06 18:32 UTC (History)
2 users (show)

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


Attachments
emerge --info net-im/spectrum2 (emerge-info.txt,7.17 KB, text/plain)
2020-04-05 17:27 UTC, tastytea
Details
equery f net-im/spectrum2 (spectrum2_files.txt,3.76 KB, text/plain)
2020-04-05 17:29 UTC, tastytea
Details
net-im/spectrum2 build log. (net-im:spectrum2-2.0.12-r1:20200406-171926.log,156.78 KB, text/plain)
2020-04-06 17:28 UTC, tastytea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tastytea 2020-04-05 17:26:21 UTC
/usr/bin/spectrum2_libcommuni_backend is neccessary for IRC transport, but it is not installed with USE="irc". `equery f net-im/spectrum2 | grep -i communi` returns nothing.

See also: <https://spectrum.im/documentation/backends/libcommuni.html>

Reproducible: Always




/var/log/spectrum2/freenode.tzend.de/spectrum2.log:

2020-04-05 19:11:13,010 INFO  NetworkPluginServer: Starting new backend /usr/bin/spectrum2_libcommuni_backend --host 127.0.0.1 --port 34736 --service.backend_id=1 "-j" "REDACTED" "/etc/spectrum2/transports/freenode.cfg" 
[…]
2020-04-05 19:11:14,011 ERROR NetworkPluginServer: Backend can not be started, exit_code=2, possible error: Datei oder Verzeichnis nicht gefunden
2020-04-05 19:11:14,012 ERROR NetworkPluginServer: This usually means the path to backend executable defined in config file as '[service] backend="..."' is wrong or the executable does not exists.
Comment 1 tastytea 2020-04-05 17:27:30 UTC
Created attachment 630530 [details]
emerge --info net-im/spectrum2
Comment 2 tastytea 2020-04-05 17:29:25 UTC
Created attachment 630532 [details]
equery f net-im/spectrum2
Comment 3 Conrad Kostecki gentoo-dev 2020-04-06 17:08:51 UTC
Could you attach your complete build.log please?
Is net-im/libcommuni from ::gentoo repo installed? (Could be, as none of your other repos provide it)
Comment 4 tastytea 2020-04-06 17:27:19 UTC
net-im/libcommuni-3.5.0_p20190110-r1 is installed from ::gentoo (USE="uchardet -examples -qml -test").

I made these modifications to the useflags of libcommuni's dependencies:

dev-qt/qtdeclarative -*
dev-qt/qtgui -* X
  media-libs/mesa -* X
  x11-libs/libxcb -* xkb
  x11-libs/libxkbcommon -* X
Comment 5 tastytea 2020-04-06 17:28:19 UTC
Created attachment 630866 [details]
net-im/spectrum2 build log.
Comment 6 Conrad Kostecki gentoo-dev 2020-04-06 17:38:32 UTC
Thanks!

> -- Found unsuitable Qt version "5.14.1" from /usr/bin/qmake
> Qt QTGUI library not found.
> Qt QTCORE library not found.
> -- Could NOT find libCommuni - IrcCore library
> -- Found unsuitable Qt version "5.14.1" from /usr/bin/qmake
> -- Found unsuitable Qt version "5.14.1" from /usr/bin/qmake

Hm, I can confirm. Despite of installed libcommuni, I am hitting the same issue. Will investigate.
Comment 7 Conrad Kostecki gentoo-dev 2020-04-06 18:00:20 UTC
Allright, found the cause. Will commit shortly.
Comment 8 tastytea 2020-04-06 18:23:56 UTC
Awesome, thanks!
Comment 9 Larry the Git Cow gentoo-dev 2020-04-06 18:32:46 UTC
The bug has been closed via the following commit(s):

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

commit 49f5b3ed05504011be3ea25f33bf7d797884ddf2
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-04-06 18:14:33 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-04-06 18:31:15 +0000

    net-im/spectrum2: fix irc compilation
    
    Force Qt5 variant of libcommuni as otherwise it's not being found.
    
    Closes: https://bugs.gentoo.org/716356
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 net-im/spectrum2/spectrum2-2.0.12-r2.ebuild | 118 ++++++++++++++++++++++++++++
 1 file changed, 118 insertions(+)