Package Details: syncthingtray 1.5.2-1

Git Clone URL: https://aur.archlinux.org/syncthingtray.git (read-only, click to copy)
Package Base: syncthingtray
Description: Tray application for Syncthing
Upstream URL: https://github.com/Martchus/syncthingtray
Licenses: GPL
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 87
Popularity: 2.23
First Submitted: 2016-09-14 20:13 (UTC)
Last Updated: 2024-04-09 14:19 (UTC)

Required by (0)

Sources (1)

Pinned Comments

Martchus commented on 2016-10-31 11:39 (UTC) (edited on 2024-03-06 16:44 (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
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.

Important remarks:

  • 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 usually also 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 broken until it has been rebuilt) or to uninstall syncthingtray temporarily before the update. After the update syncthingtray 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, qtforkawesome and syncthingtray in that order.
  • The KDE integrations have been ported to KDE 6 but building them for KDE 5 should still work. This package does not build any KDE integrations by default because KDE 6 is now in the main repositories. To build KDE integrations for KDE 6 you need to install syncthingtray-qt6 instead of this package.
  • 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 .. 5 6 7 8 9 10 11 12 13 Next › Last »

Martchus commented on 2021-07-10 10:35 (UTC)

Looks like the locale isn't setup correctly in your build environment. Does it help to put export LC_ALL=C; unset LANGUAGE into the check() function within the PKGBUILD (before the test suite is invoked)? If that's the case than the problem is likely due to an incorrect locale setup.

By the way, this is how one usually sets up the locale: https://wiki.archlinux.org/title/Locale#Generating_locales

tdallagn commented on 2021-07-10 10:25 (UTC) (edited on 2021-07-10 10:26 (UTC) by tdallagn)

Upgrading from 1.1.7-1 to 1.1.8-1 fails because the tests fail.
Full logs: https://0bin.net/paste/W-nQ1Ar0#OaFh1cPlBcy65ZQy7luStEtnNS3jY7EL9zCi+N6h-5A

2: !!!FAILURES!!!
2: Test Results:
2: Run:  1   Failures: 0   Errors: 1
2:
2:
2: 1) test: ApplicationTests::test (E)
2: setUp() failed
2: - uncaught exception of type std::exception (or derived).
2: - locale::facet::_S_create_c_locale name not valid
2:
2:
2: Tests failed
2/2 Test #2: syncthingctl_run_tests ...........***Failed    0.01 sec
0% tests passed, 2 tests failed out of 2
Total Test time (real) =   0.02 sec
The following tests FAILED:
1 - syncthingconnector_run_tests (Failed)
2 - syncthingctl_run_tests (Failed)
Errors while running CTest
Output from these tests are in: /tmp/bauh/arch/build_1625912474/syncthingtray/src/syncthingtray-1.1.8/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
FAILED: connector/CMakeFiles/check
cd /tmp/bauh/arch/build_1625912474/syncthingtray/src/syncthingtray-1.1.8 && /usr/bin/ctest -V
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in check().
Aborting...
rm -rf /tmp/bauh/arch/build_1625912474

Package "syncthingtray" upgrade failed

bigolewannabe commented on 2021-04-07 18:47 (UTC)

If it helps, I noticed the same error trying to build this package. During the test run is the same error I got when I tried running plasmashell in a console. parsting and something about a - in a date throwing a c++utilities exception.

Martchus commented on 2021-04-07 14:48 (UTC)

Thanks for the stack trace, its very useful and I guess I've already found the issue. It is not within c++utilities, though. The problem is that a parsing error isn't handled correctly.

sez11a commented on 2021-04-07 14:45 (UTC)

Here's the stacktrace generated by my just-updated version of Arch. Looks like the problem is in C++ utilities:

Application: Plasma (plasmashell), signal: Aborted

[KCrash Handler]

4 0x00007f40a4415ef5 in raise () at /usr/lib/libc.so.6
5 0x00007f40a43ff862 in abort () at /usr/lib/libc.so.6
6 0x00007f40a463c86a in __gnu_cxx::__verbose_terminate_handler() () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
7 0x00007f40a4648d3a in __cxxabiv1::__terminate(void (*)()) (handler=<optimized out>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
8 0x00007f40a4648da7 in std::terminate() () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
9 0x00007f40a464904e in __cxxabiv1::__cxa_throw(void, std::type_info, void ()(void)) (obj=<optimized out>, tinfo=0x7f40880d72b8 <typeinfo for CppUtilities::ConversionException>, dest=0x7f40880bf120 <CppUtilities::ConversionException::~ConversionException()>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:95
10 0x00007f40880ae3f5 in () at /usr/lib/libc++utilities.so.5
11 0x00007f4088101fbc in Data::SyncthingConnection::readStatus() () at /usr/lib/libsyncthingconnector.so.1.1.3
12 0x00007f40a4a71d86 in () at /usr/lib/libQt5Core.so.5
13 0x00007f40a41f5965 in () at /usr/lib/libQt5Network.so.5
14 0x00007f40a4a67532 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
15 0x00007f40a56d9752 in QApplicationPrivate::notify_helper(QObject, QEvent) () at /usr/lib/libQt5Widgets.so.5
16 0x00007f40a4a3aa2a in QCoreApplication::notifyInternal2(QObject, QEvent) () at /usr/lib/libQt5Core.so.5
17 0x00007f40a4a3d523 in QCoreApplicationPrivate::sendPostedEvents(QObject, int, QThreadData) () at /usr/lib/libQt5Core.so.5
18 0x00007f40a4a94054 in () at /usr/lib/libQt5Core.so.5
19 0x00007f40a2e1af9c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
20 0x00007f40a2e6ea49 in () at /usr/lib/libglib-2.0.so.0
21 0x00007f40a2e186f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
22 0x00007f40a4a93691 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
23 0x00007f40a4a393ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
24 0x00007f40a4a41844 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
25 0x000055ab7b60720b in ()
26 0x00007f40a4400b25 in __libc_start_main () at /usr/lib/libc.so.6
27 0x000055ab7b60733e in ()

[Inferior 1 (process 1772) detached]

On my system, I was able to update everything but Syncthingtray itself; that fails to install due to an error with the tests:

2: !!!FAILURES!!! 2: Test Results: 2: Run: 1 Failures: 1 Errors: 0 2: 2: 2: 1) test: ApplicationTests::test (F) line: 130 cli/tests/application.cpp 2: forced failure 2: - app failed with return code 134 2: stdout: 2: stderr: Info: Connecting to http://localhost:59718 ...terminate called after throwing an instance of 'CppUtilities::ConversionException' 2: what(): unexpected "-" after day 2: 2: 2: 2: Tests failed 2/2 Test #2: syncthingctl_run_tests ...........***Failed 2.55 sec

0% tests passed, 2 tests failed out of 2

Total Test time (real) = 5.08 sec

The following tests FAILED: 1 - syncthingconnector_run_tests (Failed) 2 - syncthingctl_run_tests (Failed) Errors while running CTest Output from these tests are in: /home/sezovr/.cache/yay/syncthingtray/src/syncthingtray-1.1.4/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. FAILED: connector/CMakeFiles/check cd /home/sezovr/.cache/yay/syncthingtray/src/syncthingtray-1.1.4 && /usr/bin/ctest -V ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in check(). Aborting... error making: syncthingtray

Martchus commented on 2021-04-07 11:07 (UTC) (edited on 2021-04-07 11:09 (UTC) by Martchus)

So I assume you're using the Plasmoid and plasmashell crashes. Without logs and stack trace it is hard to tell what's wrong.

That a single Plasmoid can crash the whole shell is likely nothing I can improve because that's a result of how Plasma's architecture is designed.

Note that if you're using Manjaro the package in my binary repository might be to new and hence break with the possibly older version of plasmashell in Manjaro.


About the test suite: https://forum.syncthing.net/t/yet-another-syncthing-tray/8502/121

shaybox commented on 2021-04-07 11:02 (UTC)

My god so this is the package that's broken my system all day, I thought it was latte-dock until I realized the systray widget was the culprit, but it's this.

jkhsjdhjs commented on 2020-10-24 01:32 (UTC)

@Martchus Ah ok, sorry. Didn't notice that qtutilities was an aur package. It works now, thanks!

Martchus commented on 2020-10-23 22:50 (UTC)

@jkhsjdhjs The AUR and my binary repository have the latest version of qtutilities. You need to build packages in the right order. (Generally, you need to build all dependencies of a package before building the package itself.)

jkhsjdhjs commented on 2020-10-23 21:38 (UTC)

I'm currently unable to build the latest version of syncthingtray, because it requires qtutilities 6.3.0, which is not in the repos yet. Let's hope the repo package gets updated soon.

CMake Error at connector/CMakeLists.txt:48 (find_package):
  Could not find a configuration file for package "qtutilities" that is
  compatible with requested version "6.3.0".

  The following configuration files were considered but not accepted:

    /usr/share/qtutilities/cmake/qtutilitiesConfig.cmake, version: 6.2.1



-- Configuring incomplete, errors occurred!
See also "/home/jkhsjdhjs/.cache/pikaur/build/syncthingtray/src/syncthingtray-1.0.0/CMakeFiles/CMakeOutput.log".