Package Details: syncthingtray-qt6 1.7.8-1

Git Clone URL: https://aur.archlinux.org/syncthingtray-qt6.git (read-only, click to copy)
Package Base: syncthingtray-qt6
Description: Tray application for Syncthing (using Qt 6)
Upstream URL: https://github.com/Martchus/syncthingtray
Licenses: GPL-2.0-or-later
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 32
Popularity: 1.94
First Submitted: 2020-11-07 16:16 (UTC)
Last Updated: 2025-06-02 21:15 (UTC)

Pinned Comments

Martchus commented on 2023-11-21 23:20 (UTC) (edited on 2024-10-21 15:10 (UTC) by Martchus)

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There also exist a binary repository: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#ownstuff

Important remarks:

  • The packages within the binary repository are built against the latest packages from Arch Linux and hence might not be compatible with Manjaro. This can be the cause when the Plasmoid doesn't work.
  • Like with any other package a rebuild is required when the soname of a dependency like boost changes (see e.g. https://github.com/Martchus/syncthingtray/issues/98). The package in my binary repository should be rebuilt in a timely manner. I'm also sometimes updating pkgrel of the AUR package when a rebuild is required (only in accordance with Arch Linux of course, not in accordance with Manjaro).
    • The "dirty" way is forcing the installation/update (leaving syncthingtray-qt6 broken until it has been rebuilt) or to uninstall syncthingtray-qt6 temporarily before the update. After the update syncthingtray-qt6 can be rebuilt and reinstalled again.
    • The correct solution is to use makechrootpkg which is also how official developers build their packages (and how packages in my binary repository are built).
  • It is required to build dependencies (that are not provided by Arch Linux itself) before building this package. So you need to build c++utilities, qtutilities-qt6, qtforkawesome-qt6 and syncthingtray-qt6 in that order.
  • The KDE integrations have been ported to KDE 6. This package builds KDE integrations for KDE 6 by default as KDE 6 is now in the main repositories.
  • Note that the tests of this package might fail despite there's nothing wrong (e. g. because Syncthing is just too slow and the test runs in a timeout). To ignore those false-positives, build the package with makepkg --nocheck or makechrootpkg -- --nocheck. It makes still sense to report failures. But please include the actual error message and not just the last few lines.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

Martchus commented on 2025-01-09 23:10 (UTC) (edited on 2025-01-09 23:11 (UTC) by Martchus)

Sounds like you have LLVM from the testing repo installed but qt6-tools from the regular repo. You need to install everything from the testing repo consistently. I have the testing repo enabled and lupdate from qt6-tools 6.8.1-2 (mind the -2 at the end) works just fine without clang18.

The original error has probably nothing to do with the testing repo. I'm using it as well for my development builds and didn't run into any errors. (The packages on my binary repo are built against regular repos so everyone can install them. So I haven't tested package builds against testing.)

And again, it would be good to know the command invocation that leads to the build failure you mentioned.

costor commented on 2025-01-09 22:53 (UTC) (edited on 2025-01-09 22:55 (UTC) by costor)

After the c++utilities update to 5.27.2-1, I couldn't build that due to a different error (/usr/lib/qt6/bin/lupdate: error while loading shared libraries: libclang-cpp.so.18.1: cannot open shared object file: No such file or directory). But I resolved that by installing clang18.

Now I'm back to the same build error on this as before.

I don't think I have any non-default (clang) build settings, and I've also tried completely clearing/deleting the cache/build directories of my AUR helper (pikaur).

So maybe it's somehow because I'm on [testing]?

Martchus commented on 2025-01-07 23:38 (UTC)

I didn't run into the build error when rebuilding the patched version. Not sure how to fix this as I cannot reproduce it myself and you provided very little information. It would be good to know at least the concrete command that failed.

The paths in your error message imply that some cache directory is used. You could try to clean that to build from scratch. (Just a shot in the dark; I don't know the AUR helper you're using.)

Are you building on Manjaro? Are you building with clang or any custom flags? I'm just asking because something must be different between our build environments and maybe it is that you're using a whole different distribution or otherwise changed the build environment.

costor commented on 2025-01-07 22:50 (UTC)

I have a completely updated system. To be sure, I manually reinstalled the following dependencies: qtutilities-qt6 qtforkawesome-qt6 c++utilities boost-libs qt6-svg openssl desktop-file-utils qt6-webengine qt6-declarative boost-libs cmake ninja qt6-tools qt6-declarative clang boost kio libplasma extra-cmake-modules cppunit syncthing iproute2.

But the build error failure remains the same.

Martchus commented on 2025-01-07 22:14 (UTC)

@costor I didn't run into this issue. I'm going to rebuild packages anyway to add an additional patch. Maybe I can reproduce the issue then. Note that you must always build against the latest version of c++utilities and other dependencies so update your system and other AUR dependencies first.

costor commented on 2025-01-07 21:51 (UTC)

Fails to build:

FAILED: syncthingconnector/CMakeFiles/syncthingconnector-qt6.dir/syncthingconnector-qt6_autogen/mocs_compilation.cpp.o In file included from /home/user/.cache/pikaur/build/syncthingtray-qt6/src/syncthingtray-1.7.0/syncthingconnector/syncthingconnector-qt6_autogen/mocs_compilation.cpp:4: /home/user/.cache/pikaur/build/syncthingtray-qt6/src/syncthingtray-1.7.0/syncthingconnector/syncthingconnector-qt6_autogen/EWIEGA46WW/moc_syncthingconnectionstatus.cpp:37:65: error: expected initializer before ‘<’ token 37 | template <> constexpr inline auto Data::qt_create_metaobjectdata<qt_meta_tag_ZN4DataE_t>() | ^ /home/user/.cache/pikaur/build/syncthingtray-qt6/src/syncthingtray-1.7.0/syncthingconnector/syncthingconnector-qt6_autogen/EWIEGA46WW/moc_syncthingconnectionstatus.cpp:89:11: error: ‘qt_create_metaobjectdata’ is not a member of ‘Data’ 89 | Data::qt_create_metaobjectdata<qt_meta_tag_ZN4DataE_t>(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/user/.cache/pikaur/build/syncthingtray-qt6/src/syncthingtray-1.7.0/syncthingconnector/syncthingconnector-qt6_autogen/EWIEGA46WW/moc_syncthingconnectionstatus.cpp:89:11: note: suggested alternatives: In file included from /usr/include/qt6/QtCore/qnamespace.h:15, from /usr/include/qt6/QtCore/qobjectdefs.h:12, from /usr/include/qt6/QtCore/QMetaObject:1, from /home/user/.cache/pikaur/build/syncthingtray-qt6/src/syncthingtray-1.7.0/syncthingconnector/syncthingconnector-qt6_autogen/EWIEGA46WW/../../syncthingcompletion.h:8, from /home/user/.cache/pikaur/build/syncthingtray-qt6/src/syncthingtray-1.7.0/syncthingconnector/syncthingconnector-qt6_autogen/EWIEGA46WW/moc_syncthingcompletion.cpp:9, from /home/user/.cache/pikaur/build/syncthingtray-qt6/src/syncthingtray-1.7.0/syncthingconnector/syncthingconnector-qt6_autogen/mocs_compilation.cpp:2: /usr/include/qt6/QtCore/qnamespace.h:26:5: note: ‘Qt::qt_create_metaobjectdata’ 26 | Q_NAMESPACE_EXPORT(Q_CORE_EXPORT) | ^~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtNetwork/qssl.h:20:5: note: ‘QSsl::qt_create_metaobjectdata’ 20 | Q_NAMESPACE_EXPORT(Q_NETWORK_EXPORT) | ^~~~~~~~~~~~~~~~~~ /home/user/.cache/pikaur/build/syncthingtray-qt6/src/syncthingtray-1.7.0/syncthingconnector/syncthingconnector-qt6_autogen/EWIEGA46WW/moc_syncthingconnectionstatus.cpp:89:58: error: expected primary-expression before ‘>’ token 89 | Data::qt_create_metaobjectdata<qt_meta_tag_ZN4DataE_t>(); | ^ /home/user/.cache/pikaur/build/syncthingtray-qt6/src/syncthingtray-1.7.0/syncthingconnector/syncthingconnector-qt6_autogen/EWIEGA46WW/moc_syncthingconnectionstatus.cpp:89:60: error: expected primary-expression before ‘)’ token 89 | Data::qt_create_metaobjectdata<qt_meta_tag_ZN4DataE_t>(); | ^ ninja: build stopped: subcommand failed.

Martchus commented on 2024-12-29 17:30 (UTC)

Please don't flag packages for anything else than an outdated version.

As this was noted via flagging the package: For me the checksum (1d8729557d04595f814dd153fbfa5baf10b8d2c371aab20a595cb060dacd3ff4) matches so I'm not changing the PKGBUILD.

Martchus commented on 2024-12-13 11:10 (UTC)

I responded on the qtutilities-qt6 package. I don't think it makes sense to have the same discussion spread over multiple packages so see my response there.

brli commented on 2024-12-13 02:25 (UTC)

depends=(lib*.so) line in package() is equivalent to the depends=(pkgname) line above.

you should only leave one of them, and since it is not a split package, you should retain the root depends=() line.

to use lib*.so as depends or the pkgname, it is on your own. just...not duplicate it...

Martchus commented on 2024-12-04 10:25 (UTC)

@fettouhi I pushed a commit to update the checksum yesterday (after my update script had initially failed due to a networking error in the middle leaving some packages unchanged). Make sure you use the latest commit.