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 2 3 4 5 6 7 8 .. 13 Next › Last »

milkii commented on 2023-08-02 05:56 (UTC) (edited on 2023-08-02 05:56 (UTC) by milkii)

A full log would help, sorry!

https://gist.github.com/mxmilkiib/fd70af73a4ca97ca4871ce0895ff1c8a

Martchus commented on 2023-06-25 20:13 (UTC)

@milkii The log you shared only shows that this is a test failure. Without the test logs themselves there's nothing I can do to help. Checkout the pinned comment for how to ignore such errors.

milkii commented on 2023-06-25 05:01 (UTC)

I'm getting this atm;

...
6/6 Test #6: syncthingfileitemaction_appstream_validation ...   Passed    0.54 sec

67% tests passed, 2 tests failed out of 6

Total Test time (real) =  12.70 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/milk/.cache/yay/syncthingtray/src/syncthingtray-1.4.3/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
FAILED: syncthingconnector/CMakeFiles/check /home/milk/.cache/yay/syncthingtray/src/syncthingtray-1.4.3/syncthingconnector/CMakeFiles/check 
cd /home/milk/.cache/yay/syncthingtray/src/syncthingtray-1.4.3 && /usr/bin/ctest -V
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: syncthingtray-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
syncthingtray - exit status 4

Martchus commented on 2023-02-13 14:54 (UTC)

I filed a ticket about it: https://github.com/syncthing/syncthing/issues/8785

Martchus commented on 2023-02-13 14:38 (UTC)

That tests are failing when HOME is not defined is simply because Syncthing itself requires that variable to be defined (and otherwise panics). The integration tests are spawning Syncthing with a separate config/home anyways specified via --home (so your normal Syncthing setup is not affected) so I suppose I could just set home to something to avoid Syncthing from panicing.

Maybe Syncthing itself could also handle the situation better. The current behaviour makes it look more like an internal and unexpected error within Syncthing itself (rather than something the user has forgotten to setup):

$ HOME= syncthing --help
$HOME is not defined
panic: Failed to get user home dir

goroutine 1 [running]:
github.com/syncthing/syncthing/lib/locations.userHomeDir()
        github.com/syncthing/syncthing/lib/locations/locations.go:228 +0x7d
github.com/syncthing/syncthing/lib/locations.init.0()
        github.com/syncthing/syncthing/lib/locations/locations.go:56 +0x1d

OdinVex commented on 2023-02-13 14:14 (UTC) (edited on 2023-02-13 14:14 (UTC) by OdinVex)

For others using any AUR helper (Manjaro, out-of-box for example) with TESTS failing due to $HOME not being defined, try to git-clone the repo, then makepkg -si (after installing c++utilities, qtforkawesome, and qtutilities).

xeruf commented on 2023-01-31 18:11 (UTC)

I wrote a script to circumvent all the curiosities for installation :) https://code.ftt.gmbh/janek/dotfiles/src/branch/main/.local/bin/scripts/synctray

<deleted-account> commented on 2023-01-25 21:02 (UTC)

Yes I did that. You have to select to CleanBuild it after yay -S syncthingtray.

sez11a commented on 2023-01-25 20:53 (UTC)

I cannot update my system the normal way (with yay) because something breaks with syncthingtray.

The quick way (via yay) to do it is to update your system with the -d or --nodeps flag, which ignores the version and lets your system upgrade. Then you're left with a broken syncthingtray. To fix it, reinstall it with yay -S syncthingtray.