Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] nheko seems to be broken
@ 2024-03-25  2:46 kartikynwa
  2024-03-25  6:26 ` chrysos349
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: kartikynwa @ 2024-03-25  2:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 16832 bytes --]

New issue by kartikynwa on void-packages repository

https://github.com/void-linux/void-packages/issues/49518

Description:
### Is this a new report?

Yes

### System Info

Void 6.6.22_1 x86_64 GenuineIntel uptodate hold rrmFFFFFFFFFFFFF

### Package(s) Affected

nheko-0.11.3_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

nheko should run.

### Actual behaviour

The program crashes upon start.

<details>

<summary>Terminal output</summary>

```
 ❯ nheko
[2024-03-25 08:10:09.093] [qml] [warning] QGLXContext: Failed to create dummy context (:0, )
[2024-03-25 08:10:09.095] [ui] [info] Restoring window size 1920x1039
[2024-03-25 08:10:09.104] [ui] [info] WebRTC: initialised GStreamer 1.24.0
[2024-03-25 08:10:09.337] [ui] [info] jdenticon plugin not found.
[2024-03-25 08:10:09.559] [ui] [info] starting nheko 0.11.3
[2024-03-25 08:10:09.560] [ui] [info] User already signed in, showing chat page
[2024-03-25 08:10:09.561] [ui] [info] Switching to chat page
[2024-03-25 08:10:09.640] [qml] [warning] qrc:/qml/TopBar.qml:234:13: QML AbstractButton: Binding loop detected for property "implicitWidth" (qrc:/qml/TopBar.qml:234, )
[2024-03-25 08:10:09.640] [qml] [warning] qrc:/qml/TopBar.qml:241:30: QML EncryptionIndicator: Binding loop detected for property "sourceSize.height" (qrc:/qml/TopBar.qml:241, )
[2024-03-25 08:10:09.671] [ui] [info] Unity service available: false
[2024-03-25 08:10:09.684] [qml] [critical] Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)  (:0, )
Error: signal 6:
nheko(_Z17stacktraceHandleri+0x37)[0x56535beda247]
/usr/lib/libc.so.6(+0x3f8c0)[0x7f68b88448c0]
/usr/lib/libc.so.6(+0x8e62c)[0x7f68b889362c]
/usr/lib/libc.so.6(gsignal+0x12)[0x7f68b8844822]
/usr/lib/libc.so.6(abort+0xd3)[0x7f68b882d4af]
/usr/lib/libQt5Core.so.5(+0x92113)[0x7f68b91e5113]
/usr/lib/libQt5Quick.so.5(_ZN13QSGRenderLoop28handleContextCreationFailureEP12QQuickWindow+0x1e5)[0x7f68bad65de5]
/usr/lib/libQt5Quick.so.5(+0x1e613a)[0x7f68bad6713a]
/usr/lib/libQt5Quick.so.5(+0x1e799e)[0x7f68bad6899e]
/usr/lib/libQt5Gui.so.5(_ZN7QWindow5eventEP6QEvent+0x125)[0x7f68b9a00fa5]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x7e)[0x7f68ba10ed5e]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x118)[0x7f68b94180f8]
/usr/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate18processExposeEventEPN29QWindowSystemInterfacePrivate11ExposeEventE+0x8d)[0x7f68b99f61bd]
/usr/lib/libQt5Gui.so.5(_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xac)[0x7f68b99c7dcc]
/usr/lib/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5(+0x697da)[0x7f68b42817da]
/usr/lib/libglib-2.0.so.0(+0x56fa7)[0x7f68b8e81fa7]
/usr/lib/libglib-2.0.so.0(+0x59e77)[0x7f68b8e84e77]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f68b8e8544c]
/usr/lib/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x66)[0x7f68b94719e6]
/usr/lib/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x12b)[0x7f68b9416b8b]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x90)[0x7f68b941f020]
nheko(main+0x1006)[0x56535bb07226]
/usr/lib/libc.so.6(+0x29c4c)[0x7f68b882ec4c]
/usr/lib/libc.so.6(__libc_start_main+0x85)[0x7f68b882ed05]
nheko(_start+0x21)[0x56535bb07d61]
zsh: IOT instruction  nheko
```

</details>

I tried rebuilding it thinking that it could be related to some dependency being updated but the xbps-src cannot build the package either.

```
in void-packages on  master [!⇡]
 ❯ git rev-parse FETCH_HEAD
5caa580cad88c8d7a95f584999d06fabba4a5b95

in void-packages on  master [!⇡]
 ❯ git diff
diff --git a/srcpkgs/nheko/template b/srcpkgs/nheko/template
index 8bce950cf3c..75f9b8f2cb4 100644
--- a/srcpkgs/nheko/template
+++ b/srcpkgs/nheko/template
@@ -1,7 +1,7 @@
 # Template file for 'nheko'
 pkgname=nheko
 version=0.11.3
-revision=1
+revision=2
 build_style=cmake
 hostmakedepends="qt5-host-tools qt5-qmake pkg-config qt5-declarative asciidoc"
 makedepends="qt5-multimedia-devel qt5-svg-devel qt5-tools-devel fmt-devel
```

<details>

<summary>Part of the terminal output</summary>

```
/usr/bin/ld: CMakeFiles/nheko.dir/src/EventAccessors.cpp.o: in function `_ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFNS0_21__deduce_visit_resultIN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS5_14adl_serializerES8_IhSaIhEEvEEEEOZN3mtx9accessors15serialize_eventB5cxx11ERKSt7variantIJNSK_6events10StateEventINSN_5state7AliasesEEENSO_INSP_6AvatarEEENSO_INSP_14CanonicalAliasEEENSO_INSP_6CreateEEENSO_INSP_10EncryptionEEENSO_INSP_11GuestAccessEEENSO_INSP_17HistoryVisibilityEEENSO_INSP_9JoinRulesEEENSO_INSP_6MemberEEENSO_INSP_4NameEEENSO_INSP_12PinnedEventsEEENSO_INSP_11PowerLevelsEEENSO_INSP_11policy_rule8UserRuleEEENSO_INS1E_8RoomRuleEEENSO_INS1E_10ServerRuleEEENSO_INSP_5space5ChildEEENSO_INS1L_6ParentEEENSO_INSP_9TombstoneEEENSO_INSP_5TopicEEENSO_INSP_6WidgetEEENSO_INSN_7msc25459ImagePackEEENSO_INSN_3msg8RedactedEEENSN_14EncryptedEventINS1Z_9EncryptedEEENSN_14RedactionEventINS1Z_9RedactionEEENSN_7StickerENSN_9RoomEventINS1Z_8ReactionEEENS29_IS20_EENS29_INS1Z_5AudioEEENS29_INS1Z_8ConfettiEEENS29_INS1Z_5EmoteEEENS29_INS1Z_4FileEEENS29_INS1Z_5ImageEEENS29_INS1Z_6NoticeEEENS29_INS1Z_4TextEEENS29_INS1Z_5VideoEEENS29_INS1Z_22KeyVerificationRequestEEENS29_INS1Z_20KeyVerificationStartEEENS29_INS1Z_20KeyVerificationReadyEEENS29_INS1Z_19KeyVerificationDoneEEENS29_INS1Z_21KeyVerificationAcceptEEENS29_INS1Z_21KeyVerificationCancelEEENS29_INS1Z_18KeyVerificationKeyEEENS29_INS1Z_18KeyVerificationMacEEENS29_INSN_4voip14CallCandidatesEEENS29_INS39_10CallInviteEEENS29_INS39_10CallAnswerEEENS29_INS39_10CallHangUpEEENS29_INS39_16CallSelectAnswerEEENS29_INS39_10CallRejectEEENS29_INS39_13CallNegotiateEEENS29_INSN_7UnknownEEEEEEUlRKT_E_S3S_EJEEESt16integer_sequenceImJLm2EEEE14__visit_invokeES3X_S3S_':
EventAccessors.cpp:(.text+0x8d38): undefined reference to `void mtx::events::to_json<mtx::events::state::CanonicalAlias>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void>&, mtx::events::StateEvent<mtx::events::state::CanonicalAlias> const&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/EventAccessors.cpp.o: in function `_ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFNS0_21__deduce_visit_resultIN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS5_14adl_serializerES8_IhSaIhEEvEEEEOZN3mtx9accessors15serialize_eventB5cxx11ERKSt7variantIJNSK_6events10StateEventINSN_5state7AliasesEEENSO_INSP_6AvatarEEENSO_INSP_14CanonicalAliasEEENSO_INSP_6CreateEEENSO_INSP_10EncryptionEEENSO_INSP_11GuestAccessEEENSO_INSP_17HistoryVisibilityEEENSO_INSP_9JoinRulesEEENSO_INSP_6MemberEEENSO_INSP_4NameEEENSO_INSP_12PinnedEventsEEENSO_INSP_11PowerLevelsEEENSO_INSP_11policy_rule8UserRuleEEENSO_INS1E_8RoomRuleEEENSO_INS1E_10ServerRuleEEENSO_INSP_5space5ChildEEENSO_INS1L_6ParentEEENSO_INSP_9TombstoneEEENSO_INSP_5TopicEEENSO_INSP_6WidgetEEENSO_INSN_7msc25459ImagePackEEENSO_INSN_3msg8RedactedEEENSN_14EncryptedEventINS1Z_9EncryptedEEENSN_14RedactionEventINS1Z_9RedactionEEENSN_7StickerENSN_9RoomEventINS1Z_8ReactionEEENS29_IS20_EENS29_INS1Z_5AudioEEENS29_INS1Z_8ConfettiEEENS29_INS1Z_5EmoteEEENS29_INS1Z_4FileEEENS29_INS1Z_5ImageEEENS29_INS1Z_6NoticeEEENS29_INS1Z_4TextEEENS29_INS1Z_5VideoEEENS29_INS1Z_22KeyVerificationRequestEEENS29_INS1Z_20KeyVerificationStartEEENS29_INS1Z_20KeyVerificationReadyEEENS29_INS1Z_19KeyVerificationDoneEEENS29_INS1Z_21KeyVerificationAcceptEEENS29_INS1Z_21KeyVerificationCancelEEENS29_INS1Z_18KeyVerificationKeyEEENS29_INS1Z_18KeyVerificationMacEEENS29_INSN_4voip14CallCandidatesEEENS29_INS39_10CallInviteEEENS29_INS39_10CallAnswerEEENS29_INS39_10CallHangUpEEENS29_INS39_16CallSelectAnswerEEENS29_INS39_10CallRejectEEENS29_INS39_13CallNegotiateEEENS29_INSN_7UnknownEEEEEEUlRKT_E_S3S_EJEEESt16integer_sequenceImJLm1EEEE14__visit_invokeES3X_S3S_':
EventAccessors.cpp:(.text+0x8d68): undefined reference to `void mtx::events::to_json<mtx::events::state::Avatar>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void>&, mtx::events::StateEvent<mtx::events::state::Avatar> const&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/EventAccessors.cpp.o: in function `_ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFNS0_21__deduce_visit_resultIN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS5_14adl_serializerES8_IhSaIhEEvEEEEOZN3mtx9accessors15serialize_eventB5cxx11ERKSt7variantIJNSK_6events10StateEventINSN_5state7AliasesEEENSO_INSP_6AvatarEEENSO_INSP_14CanonicalAliasEEENSO_INSP_6CreateEEENSO_INSP_10EncryptionEEENSO_INSP_11GuestAccessEEENSO_INSP_17HistoryVisibilityEEENSO_INSP_9JoinRulesEEENSO_INSP_6MemberEEENSO_INSP_4NameEEENSO_INSP_12PinnedEventsEEENSO_INSP_11PowerLevelsEEENSO_INSP_11policy_rule8UserRuleEEENSO_INS1E_8RoomRuleEEENSO_INS1E_10ServerRuleEEENSO_INSP_5space5ChildEEENSO_INS1L_6ParentEEENSO_INSP_9TombstoneEEENSO_INSP_5TopicEEENSO_INSP_6WidgetEEENSO_INSN_7msc25459ImagePackEEENSO_INSN_3msg8RedactedEEENSN_14EncryptedEventINS1Z_9EncryptedEEENSN_14RedactionEventINS1Z_9RedactionEEENSN_7StickerENSN_9RoomEventINS1Z_8ReactionEEENS29_IS20_EENS29_INS1Z_5AudioEEENS29_INS1Z_8ConfettiEEENS29_INS1Z_5EmoteEEENS29_INS1Z_4FileEEENS29_INS1Z_5ImageEEENS29_INS1Z_6NoticeEEENS29_INS1Z_4TextEEENS29_INS1Z_5VideoEEENS29_INS1Z_22KeyVerificationRequestEEENS29_INS1Z_20KeyVerificationStartEEENS29_INS1Z_20KeyVerificationReadyEEENS29_INS1Z_19KeyVerificationDoneEEENS29_INS1Z_21KeyVerificationAcceptEEENS29_INS1Z_21KeyVerificationCancelEEENS29_INS1Z_18KeyVerificationKeyEEENS29_INS1Z_18KeyVerificationMacEEENS29_INSN_4voip14CallCandidatesEEENS29_INS39_10CallInviteEEENS29_INS39_10CallAnswerEEENS29_INS39_10CallHangUpEEENS29_INS39_16CallSelectAnswerEEENS29_INS39_10CallRejectEEENS29_INS39_13CallNegotiateEEENS29_INSN_7UnknownEEEEEEUlRKT_E_S3S_EJEEESt16integer_sequenceImJLm0EEEE14__visit_invokeES3X_S3S_':
EventAccessors.cpp:(.text+0x8d98): undefined reference to `void mtx::events::to_json<mtx::events::state::Aliases>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void>&, mtx::events::StateEvent<mtx::events::state::Aliases> const&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/MemberList.cpp.o: in function `MemberListBackend::MemberListBackend(QString const&, QObject*)':
MemberList.cpp:(.text+0x7587): undefined reference to `void mtx::events::from_json<mtx::events::state::PowerLevels>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::PowerLevels>&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/PowerlevelsEditModels.cpp.o: in function `PowerlevelsSpacesListModel::PowerlevelsSpacesListModel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mtx::events::state::PowerLevels const&, QObject*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
PowerlevelsEditModels.cpp:(.text+0xdac6): undefined reference to `void mtx::events::from_json<mtx::events::state::space::Parent>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::space::Parent>&)'
/usr/bin/ld: PowerlevelsEditModels.cpp:(.text+0xedd5): undefined reference to `void mtx::events::from_json<mtx::events::state::PowerLevels>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::PowerLevels>&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/PowerlevelsEditModels.cpp.o: in function `PowerlevelEditingModels::PowerlevelEditingModels(QString, QObject*)':
PowerlevelsEditModels.cpp:(.text+0x1066d): undefined reference to `void mtx::events::from_json<mtx::events::state::PowerLevels>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::PowerLevels>&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/SingleImagePackModel.cpp.o: in function `SingleImagePackModel::save()':
SingleImagePackModel.cpp:(.text+0x654c): undefined reference to `mtx::http::Client::send_state_event(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, std::function<void (mtx::responses::EventId const&, std::optional<mtx::http::ClientError> const&)>)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/Utils.cpp.o: in function `utils::roomVias(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
Utils.cpp:(.text+0x12a96): undefined reference to `void mtx::events::from_json<mtx::events::state::space::Child>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::space::Child>&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/dbus/NhekoDBusBackend.cpp.o: in function `NhekoDBusBackend::rooms() const':
NhekoDBusBackend.cpp:(.text+0x5b36): undefined reference to `void mtx::events::from_json<mtx::events::state::CanonicalAlias>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::CanonicalAlias>&)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
=> ERROR: nheko-0.11.3_2: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 1
=> ERROR:   in do_build() at common/build-style/cmake.sh:95
```

</details>

### Steps to reproduce

1. Install nheko on an up-to-date system.
2. Start nheko.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nheko seems to be broken
  2024-03-25  2:46 [ISSUE] nheko seems to be broken kartikynwa
@ 2024-03-25  6:26 ` chrysos349
  2024-03-26 15:28 ` [ISSUE] [CLOSED] " kartikynwa
  2024-03-26 15:28 ` kartikynwa
  2 siblings, 0 replies; 4+ messages in thread
From: chrysos349 @ 2024-03-25  6:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

New comment by chrysos349 on void-packages repository

https://github.com/void-linux/void-packages/issues/49518#issuecomment-2017312710

Comment:
the app runs fine, but fails to build due to the linking error.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] nheko seems to be broken
  2024-03-25  2:46 [ISSUE] nheko seems to be broken kartikynwa
  2024-03-25  6:26 ` chrysos349
@ 2024-03-26 15:28 ` kartikynwa
  2024-03-26 15:28 ` kartikynwa
  2 siblings, 0 replies; 4+ messages in thread
From: kartikynwa @ 2024-03-26 15:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 16981 bytes --]

Closed issue by kartikynwa on void-packages repository

https://github.com/void-linux/void-packages/issues/49518

Description:
### Is this a new report?

Yes

### System Info

Void 6.6.22_1 x86_64 GenuineIntel uptodate hold rrmFFFFFFFFFFFFF

<details>

<summary>`xbps-query -H` output</summary>

```
 ❯ xbps-query -H
yambar-1.8.0_1
```

</details>

### Package(s) Affected

nheko-0.11.3_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

nheko should run.

### Actual behaviour

The program crashes upon start.

<details>

<summary>Terminal output</summary>

```
 ❯ nheko
[2024-03-25 08:10:09.093] [qml] [warning] QGLXContext: Failed to create dummy context (:0, )
[2024-03-25 08:10:09.095] [ui] [info] Restoring window size 1920x1039
[2024-03-25 08:10:09.104] [ui] [info] WebRTC: initialised GStreamer 1.24.0
[2024-03-25 08:10:09.337] [ui] [info] jdenticon plugin not found.
[2024-03-25 08:10:09.559] [ui] [info] starting nheko 0.11.3
[2024-03-25 08:10:09.560] [ui] [info] User already signed in, showing chat page
[2024-03-25 08:10:09.561] [ui] [info] Switching to chat page
[2024-03-25 08:10:09.640] [qml] [warning] qrc:/qml/TopBar.qml:234:13: QML AbstractButton: Binding loop detected for property "implicitWidth" (qrc:/qml/TopBar.qml:234, )
[2024-03-25 08:10:09.640] [qml] [warning] qrc:/qml/TopBar.qml:241:30: QML EncryptionIndicator: Binding loop detected for property "sourceSize.height" (qrc:/qml/TopBar.qml:241, )
[2024-03-25 08:10:09.671] [ui] [info] Unity service available: false
[2024-03-25 08:10:09.684] [qml] [critical] Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)  (:0, )
Error: signal 6:
nheko(_Z17stacktraceHandleri+0x37)[0x56535beda247]
/usr/lib/libc.so.6(+0x3f8c0)[0x7f68b88448c0]
/usr/lib/libc.so.6(+0x8e62c)[0x7f68b889362c]
/usr/lib/libc.so.6(gsignal+0x12)[0x7f68b8844822]
/usr/lib/libc.so.6(abort+0xd3)[0x7f68b882d4af]
/usr/lib/libQt5Core.so.5(+0x92113)[0x7f68b91e5113]
/usr/lib/libQt5Quick.so.5(_ZN13QSGRenderLoop28handleContextCreationFailureEP12QQuickWindow+0x1e5)[0x7f68bad65de5]
/usr/lib/libQt5Quick.so.5(+0x1e613a)[0x7f68bad6713a]
/usr/lib/libQt5Quick.so.5(+0x1e799e)[0x7f68bad6899e]
/usr/lib/libQt5Gui.so.5(_ZN7QWindow5eventEP6QEvent+0x125)[0x7f68b9a00fa5]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x7e)[0x7f68ba10ed5e]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x118)[0x7f68b94180f8]
/usr/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate18processExposeEventEPN29QWindowSystemInterfacePrivate11ExposeEventE+0x8d)[0x7f68b99f61bd]
/usr/lib/libQt5Gui.so.5(_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xac)[0x7f68b99c7dcc]
/usr/lib/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5(+0x697da)[0x7f68b42817da]
/usr/lib/libglib-2.0.so.0(+0x56fa7)[0x7f68b8e81fa7]
/usr/lib/libglib-2.0.so.0(+0x59e77)[0x7f68b8e84e77]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f68b8e8544c]
/usr/lib/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x66)[0x7f68b94719e6]
/usr/lib/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x12b)[0x7f68b9416b8b]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x90)[0x7f68b941f020]
nheko(main+0x1006)[0x56535bb07226]
/usr/lib/libc.so.6(+0x29c4c)[0x7f68b882ec4c]
/usr/lib/libc.so.6(__libc_start_main+0x85)[0x7f68b882ed05]
nheko(_start+0x21)[0x56535bb07d61]
zsh: IOT instruction  nheko
```

</details>

I tried rebuilding it thinking that it could be related to some dependency being updated but the xbps-src cannot build the package either.

```
in void-packages on  master [!⇡]
 ❯ git rev-parse FETCH_HEAD
5caa580cad88c8d7a95f584999d06fabba4a5b95

in void-packages on  master [!⇡]
 ❯ git diff
diff --git a/srcpkgs/nheko/template b/srcpkgs/nheko/template
index 8bce950cf3c..75f9b8f2cb4 100644
--- a/srcpkgs/nheko/template
+++ b/srcpkgs/nheko/template
@@ -1,7 +1,7 @@
 # Template file for 'nheko'
 pkgname=nheko
 version=0.11.3
-revision=1
+revision=2
 build_style=cmake
 hostmakedepends="qt5-host-tools qt5-qmake pkg-config qt5-declarative asciidoc"
 makedepends="qt5-multimedia-devel qt5-svg-devel qt5-tools-devel fmt-devel
```

<details>

<summary>Part of the terminal output</summary>

```
/usr/bin/ld: CMakeFiles/nheko.dir/src/EventAccessors.cpp.o: in function `_ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFNS0_21__deduce_visit_resultIN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS5_14adl_serializerES8_IhSaIhEEvEEEEOZN3mtx9accessors15serialize_eventB5cxx11ERKSt7variantIJNSK_6events10StateEventINSN_5state7AliasesEEENSO_INSP_6AvatarEEENSO_INSP_14CanonicalAliasEEENSO_INSP_6CreateEEENSO_INSP_10EncryptionEEENSO_INSP_11GuestAccessEEENSO_INSP_17HistoryVisibilityEEENSO_INSP_9JoinRulesEEENSO_INSP_6MemberEEENSO_INSP_4NameEEENSO_INSP_12PinnedEventsEEENSO_INSP_11PowerLevelsEEENSO_INSP_11policy_rule8UserRuleEEENSO_INS1E_8RoomRuleEEENSO_INS1E_10ServerRuleEEENSO_INSP_5space5ChildEEENSO_INS1L_6ParentEEENSO_INSP_9TombstoneEEENSO_INSP_5TopicEEENSO_INSP_6WidgetEEENSO_INSN_7msc25459ImagePackEEENSO_INSN_3msg8RedactedEEENSN_14EncryptedEventINS1Z_9EncryptedEEENSN_14RedactionEventINS1Z_9RedactionEEENSN_7StickerENSN_9RoomEventINS1Z_8ReactionEEENS29_IS20_EENS29_INS1Z_5AudioEEENS29_INS1Z_8ConfettiEEENS29_INS1Z_5EmoteEEENS29_INS1Z_4FileEEENS29_INS1Z_5ImageEEENS29_INS1Z_6NoticeEEENS29_INS1Z_4TextEEENS29_INS1Z_5VideoEEENS29_INS1Z_22KeyVerificationRequestEEENS29_INS1Z_20KeyVerificationStartEEENS29_INS1Z_20KeyVerificationReadyEEENS29_INS1Z_19KeyVerificationDoneEEENS29_INS1Z_21KeyVerificationAcceptEEENS29_INS1Z_21KeyVerificationCancelEEENS29_INS1Z_18KeyVerificationKeyEEENS29_INS1Z_18KeyVerificationMacEEENS29_INSN_4voip14CallCandidatesEEENS29_INS39_10CallInviteEEENS29_INS39_10CallAnswerEEENS29_INS39_10CallHangUpEEENS29_INS39_16CallSelectAnswerEEENS29_INS39_10CallRejectEEENS29_INS39_13CallNegotiateEEENS29_INSN_7UnknownEEEEEEUlRKT_E_S3S_EJEEESt16integer_sequenceImJLm2EEEE14__visit_invokeES3X_S3S_':
EventAccessors.cpp:(.text+0x8d38): undefined reference to `void mtx::events::to_json<mtx::events::state::CanonicalAlias>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void>&, mtx::events::StateEvent<mtx::events::state::CanonicalAlias> const&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/EventAccessors.cpp.o: in function `_ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFNS0_21__deduce_visit_resultIN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS5_14adl_serializerES8_IhSaIhEEvEEEEOZN3mtx9accessors15serialize_eventB5cxx11ERKSt7variantIJNSK_6events10StateEventINSN_5state7AliasesEEENSO_INSP_6AvatarEEENSO_INSP_14CanonicalAliasEEENSO_INSP_6CreateEEENSO_INSP_10EncryptionEEENSO_INSP_11GuestAccessEEENSO_INSP_17HistoryVisibilityEEENSO_INSP_9JoinRulesEEENSO_INSP_6MemberEEENSO_INSP_4NameEEENSO_INSP_12PinnedEventsEEENSO_INSP_11PowerLevelsEEENSO_INSP_11policy_rule8UserRuleEEENSO_INS1E_8RoomRuleEEENSO_INS1E_10ServerRuleEEENSO_INSP_5space5ChildEEENSO_INS1L_6ParentEEENSO_INSP_9TombstoneEEENSO_INSP_5TopicEEENSO_INSP_6WidgetEEENSO_INSN_7msc25459ImagePackEEENSO_INSN_3msg8RedactedEEENSN_14EncryptedEventINS1Z_9EncryptedEEENSN_14RedactionEventINS1Z_9RedactionEEENSN_7StickerENSN_9RoomEventINS1Z_8ReactionEEENS29_IS20_EENS29_INS1Z_5AudioEEENS29_INS1Z_8ConfettiEEENS29_INS1Z_5EmoteEEENS29_INS1Z_4FileEEENS29_INS1Z_5ImageEEENS29_INS1Z_6NoticeEEENS29_INS1Z_4TextEEENS29_INS1Z_5VideoEEENS29_INS1Z_22KeyVerificationRequestEEENS29_INS1Z_20KeyVerificationStartEEENS29_INS1Z_20KeyVerificationReadyEEENS29_INS1Z_19KeyVerificationDoneEEENS29_INS1Z_21KeyVerificationAcceptEEENS29_INS1Z_21KeyVerificationCancelEEENS29_INS1Z_18KeyVerificationKeyEEENS29_INS1Z_18KeyVerificationMacEEENS29_INSN_4voip14CallCandidatesEEENS29_INS39_10CallInviteEEENS29_INS39_10CallAnswerEEENS29_INS39_10CallHangUpEEENS29_INS39_16CallSelectAnswerEEENS29_INS39_10CallRejectEEENS29_INS39_13CallNegotiateEEENS29_INSN_7UnknownEEEEEEUlRKT_E_S3S_EJEEESt16integer_sequenceImJLm1EEEE14__visit_invokeES3X_S3S_':
EventAccessors.cpp:(.text+0x8d68): undefined reference to `void mtx::events::to_json<mtx::events::state::Avatar>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void>&, mtx::events::StateEvent<mtx::events::state::Avatar> const&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/EventAccessors.cpp.o: in function `_ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFNS0_21__deduce_visit_resultIN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS5_14adl_serializerES8_IhSaIhEEvEEEEOZN3mtx9accessors15serialize_eventB5cxx11ERKSt7variantIJNSK_6events10StateEventINSN_5state7AliasesEEENSO_INSP_6AvatarEEENSO_INSP_14CanonicalAliasEEENSO_INSP_6CreateEEENSO_INSP_10EncryptionEEENSO_INSP_11GuestAccessEEENSO_INSP_17HistoryVisibilityEEENSO_INSP_9JoinRulesEEENSO_INSP_6MemberEEENSO_INSP_4NameEEENSO_INSP_12PinnedEventsEEENSO_INSP_11PowerLevelsEEENSO_INSP_11policy_rule8UserRuleEEENSO_INS1E_8RoomRuleEEENSO_INS1E_10ServerRuleEEENSO_INSP_5space5ChildEEENSO_INS1L_6ParentEEENSO_INSP_9TombstoneEEENSO_INSP_5TopicEEENSO_INSP_6WidgetEEENSO_INSN_7msc25459ImagePackEEENSO_INSN_3msg8RedactedEEENSN_14EncryptedEventINS1Z_9EncryptedEEENSN_14RedactionEventINS1Z_9RedactionEEENSN_7StickerENSN_9RoomEventINS1Z_8ReactionEEENS29_IS20_EENS29_INS1Z_5AudioEEENS29_INS1Z_8ConfettiEEENS29_INS1Z_5EmoteEEENS29_INS1Z_4FileEEENS29_INS1Z_5ImageEEENS29_INS1Z_6NoticeEEENS29_INS1Z_4TextEEENS29_INS1Z_5VideoEEENS29_INS1Z_22KeyVerificationRequestEEENS29_INS1Z_20KeyVerificationStartEEENS29_INS1Z_20KeyVerificationReadyEEENS29_INS1Z_19KeyVerificationDoneEEENS29_INS1Z_21KeyVerificationAcceptEEENS29_INS1Z_21KeyVerificationCancelEEENS29_INS1Z_18KeyVerificationKeyEEENS29_INS1Z_18KeyVerificationMacEEENS29_INSN_4voip14CallCandidatesEEENS29_INS39_10CallInviteEEENS29_INS39_10CallAnswerEEENS29_INS39_10CallHangUpEEENS29_INS39_16CallSelectAnswerEEENS29_INS39_10CallRejectEEENS29_INS39_13CallNegotiateEEENS29_INSN_7UnknownEEEEEEUlRKT_E_S3S_EJEEESt16integer_sequenceImJLm0EEEE14__visit_invokeES3X_S3S_':
EventAccessors.cpp:(.text+0x8d98): undefined reference to `void mtx::events::to_json<mtx::events::state::Aliases>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void>&, mtx::events::StateEvent<mtx::events::state::Aliases> const&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/MemberList.cpp.o: in function `MemberListBackend::MemberListBackend(QString const&, QObject*)':
MemberList.cpp:(.text+0x7587): undefined reference to `void mtx::events::from_json<mtx::events::state::PowerLevels>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::PowerLevels>&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/PowerlevelsEditModels.cpp.o: in function `PowerlevelsSpacesListModel::PowerlevelsSpacesListModel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mtx::events::state::PowerLevels const&, QObject*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
PowerlevelsEditModels.cpp:(.text+0xdac6): undefined reference to `void mtx::events::from_json<mtx::events::state::space::Parent>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::space::Parent>&)'
/usr/bin/ld: PowerlevelsEditModels.cpp:(.text+0xedd5): undefined reference to `void mtx::events::from_json<mtx::events::state::PowerLevels>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::PowerLevels>&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/PowerlevelsEditModels.cpp.o: in function `PowerlevelEditingModels::PowerlevelEditingModels(QString, QObject*)':
PowerlevelsEditModels.cpp:(.text+0x1066d): undefined reference to `void mtx::events::from_json<mtx::events::state::PowerLevels>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::PowerLevels>&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/SingleImagePackModel.cpp.o: in function `SingleImagePackModel::save()':
SingleImagePackModel.cpp:(.text+0x654c): undefined reference to `mtx::http::Client::send_state_event(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, std::function<void (mtx::responses::EventId const&, std::optional<mtx::http::ClientError> const&)>)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/Utils.cpp.o: in function `utils::roomVias(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
Utils.cpp:(.text+0x12a96): undefined reference to `void mtx::events::from_json<mtx::events::state::space::Child>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::space::Child>&)'
/usr/bin/ld: CMakeFiles/nheko.dir/src/dbus/NhekoDBusBackend.cpp.o: in function `NhekoDBusBackend::rooms() const':
NhekoDBusBackend.cpp:(.text+0x5b36): undefined reference to `void mtx::events::from_json<mtx::events::state::CanonicalAlias>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void> const&, mtx::events::StateEvent<mtx::events::state::CanonicalAlias>&)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
=> ERROR: nheko-0.11.3_2: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 1
=> ERROR:   in do_build() at common/build-style/cmake.sh:95
```

</details>

### Steps to reproduce

1. Install nheko on an up-to-date system.
2. Start nheko.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nheko seems to be broken
  2024-03-25  2:46 [ISSUE] nheko seems to be broken kartikynwa
  2024-03-25  6:26 ` chrysos349
  2024-03-26 15:28 ` [ISSUE] [CLOSED] " kartikynwa
@ 2024-03-26 15:28 ` kartikynwa
  2 siblings, 0 replies; 4+ messages in thread
From: kartikynwa @ 2024-03-26 15:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

New comment by kartikynwa on void-packages repository

https://github.com/void-linux/void-packages/issues/49518#issuecomment-2020746350

Comment:
Don't know what happened but it's working for me again. Sorry for the clutter.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-26 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-25  2:46 [ISSUE] nheko seems to be broken kartikynwa
2024-03-25  6:26 ` chrysos349
2024-03-26 15:28 ` [ISSUE] [CLOSED] " kartikynwa
2024-03-26 15:28 ` kartikynwa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).