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 .. 7 8 9 10 11 12 13 Next › Last »

vanjiii commented on 2020-02-05 11:07 (UTC)

Hey, validity check fails during update:

==> Validating source files with sha256sums...
    syncthingtray-0.10.6.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error downloading sources: syncthingtray

Martchus commented on 2019-10-06 12:45 (UTC)

I can not reproduce it myself so I guess I'll better just make the package skip the tests by default.

tydynrain commented on 2019-10-06 06:26 (UTC) (edited on 2019-10-06 06:38 (UTC) by tydynrain)

I get the same error and failure during build for version 0.10.1 (the --nocheck flag worked):

2: !!!FAILURES!!!

2: Test Results:

2: Run: 1 Failures: 1 Errors: 0

2:

2:

2: 1) test: ApplicationTests::test (F) line: 146 /home/tydynrain/.cache/yay/syncthingtray/src/syncthingtray-0.10.1/cli/tests/application.cpp

2: forced failure

2: - Line - .* could not be found in output.

2:

2:

2: Tests failed

2/2 Test #2: syncthingctl_run_tests ...........***Failed 6.84 sec

50% tests passed, 1 tests failed out of 2

Total Test time (real) = 21.18 sec

The following tests FAILED:

  2 - syncthingctl_run_tests (Failed)

Errors while running CTest

make[3]: *** [connector/CMakeFiles/check.dir/build.make:57: connector/CMakeFiles/check] Error 8

make[2]: *** [CMakeFiles/Makefile2:416: connector/CMakeFiles/check.dir/all] Error 2

make[1]: *** [CMakeFiles/Makefile2:423: connector/CMakeFiles/check.dir/rule] Error 2

make: *** [Makefile:305: check] Error 2

==> ERROR: A failure occurred in check().

Aborting...

Error making: syncthingtray

victorbrca commented on 2018-06-11 16:49 (UTC) (edited on 2018-06-11 16:49 (UTC) by victorbrca)

@Martchus the --nocheck did it for me. And sorry for not posting the full error. This is what I was getting... but I still don't see anything specific other than the second check failing due to a timeout.

test 2
    Start 2: syncthingctl_run_tests

2: Test command: /tmp/syncthingtray/src/syncthingtray-0.8.1/cli/syncthingctl_tests "-p" "/tmp/syncthingtray/src/syncthingtray-0.8.1/cli/testfiles" "-w" "/tmp/syncthingtray/src/syncthingtray-0.8.1/cli/testworkingdir" "-a" "/tmp/syncthingtray/src/syncthingtray-0.8.1/cli/syncthingctl"
2: Test timeout computed to be: 10000000
2: Directories used to search for testfiles:
2: /tmp/syncthingtray/src/syncthingtray-0.8.1/cli/testfiles/
2: ./testfiles/
2: 
2: Directory used to store working copies:
2: /tmp/syncthingtray/src/syncthingtray-0.8.1/cli/testworkingdir/
2: 
2: Executing test cases ...
2: .
2:  - Setup configuration for Syncthing tests ...
2: 
2:  - Launching Syncthing ...
2: 
2: Waiting till Syncthing GUI becomes available ...- syncthingctl status --api-key syncthingtestinstance --url http://localhost:59251
2: Directories
2:  - test2
2:    Label                         Test dir 2
2:    Path                          /tmp/some/path/2/
2:    Status                        paused
2:       Global                        0 file(s), 0 dir(s), 0 bytes
2:       Local                         0 file(s), 0 dir(s), 0 bytes
2:    Shared with                   Test dev 2
2:    Type                          Send & Receive
2:    Ignore permissions            no
2:    Auto-normalize                yes
2:    Rescan interval               365 d
2: 
2:  - test1
2:    Path                          /tmp/some/path/1/
2:    Status                        idle
2:       Global                        0 file(s), 0 dir(s), 0 bytes
2:       Local                         0 file(s), 0 dir(s), 0 bytes
2:    Last scan time                2018-06-11 09:16:42
2:    Shared with                   Test dev 2
2:                                  Test dev 1
2:    Type                          Send & Receive
2:    Ignore permissions            no
2:    Auto-normalize                yes
2:    Rescan interval               2 h
2: 
2: Devices
2:  - Desktop-Arch
2:    ID                            [removed]
2:    Status                        own device
2:    Addresses                     dynamic
2:    Compression                   metadata
2: 
2:  - Test dev 1
2:    ID                            [removed]
2:    Status                        disconnected
2:    Addresses                     dynamic
2:    Compression                   metadata
2: 
2:  - Test dev 2
2:    ID                            [removed]
2:    Status                        paused
2:    Addresses                     tcp://192.168.2.2:22000
2:    Compression                   metadata
2: 
2: expected status: Directories
2:  - test2
2:    Label                         Test dir 2
2:    Path                          /tmp/some/path/2/
2:    Status                        paused
2:       Global                        0 file\(s\), 0 dir\(s\), 0 bytes
2:       Local                         0 file\(s\), 0 dir\(s\), 0 bytes
2:    Shared with                   Test dev 2
2:    Type                          Send & Receive
2:    Ignore permissions            no
2:    Auto-normalize                yes
2:    Rescan interval               365 d
2: 
2:  - test1
2:    Path                          /tmp/some/path/1/
2:    Status                        (idle|scanning)
2:       Global                        0 file\(s\), 0 dir\(s\), 0 bytes
2:       Local                         0 file\(s\), 0 dir\(s\), 0 bytes
2:    Last scan time                \d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d.*
2:    Shared with                   Test dev 2
2:                                  Test dev 1
2:    Type                          Send & Receive
2:    Ignore permissions            no
2:    Auto-normalize                yes
2:    Rescan interval               2 h
2: 
2: Devices
2:  - Test dev 1
2:    ID                            [removed]
2:    Status                        disconnected
2:    Addresses                     dynamic
2:    Compression                   metadata
2: 
2:  - Test dev 2
2:    ID                            [removed]
2:    Status                        paused
2:    Addresses                     tcp://.*22000
2:    Compression                   metadata
2: 
2:  - .*
2:    ID                            \w\w\w\w\w\w\w-\w\w\w\w\w\w\w-\w\w\w\w\w\w\w-\w\w\w\w\w\w\w-\w\w\w\w\w\w\w-\w\w\w\w\w\w\w-\w\w\w\w\w\w\w-\w\w\w\w\w\w\w
2:    Status                        own device
2:    Addresses                     dynamic
2:    Compression                   metadata
2: 
2: F
2:  - Waiting for Syncthing to terminate ...
2: 
2:  - Syncthing terminated with exit code 0.
2: 
2:  - Syncthing stdout during the testrun:
2: [monitor] 09:16:42 INFO: Signal 15 received; exiting
2: 
2: 
2: 
2: !!!FAILURES!!!
2: Test Results:
2: Run:  1   Failures: 1   Errors: 0
2: 
2: 
2: 1) test: ApplicationTests::test (F) line: 120 /tmp/syncthingtray/src/syncthingtray-0.8.1/cli/tests/application.cpp
2: forced failure
2: - Actual status does not match expected status.
2: 
2: 
2/2 Test #2: syncthingctl_run_tests ...........***Failed    2.26 sec

Martchus commented on 2018-06-06 18:26 (UTC)

@victorbrca I can look into it tomorrow. As a workaround, you can of course build it without running the tests (makepkg --nocheck).

The text you've pasted only says that the test for the command line interface didn't pass. What is the actual error message?

Did you change any of the variables at the beginning of the PKGBUILD?

victorbrca commented on 2018-06-06 18:16 (UTC) (edited on 2018-06-06 18:17 (UTC) by victorbrca)

I'm not sure if anyone else is having issues, but I'm not able to build it for quite a few days.

The following tests FAILED:
      2 - syncthingctl_run_tests (Failed)
Errors while running CTest
make[3]: *** [connector/CMakeFiles/check.dir/build.make:57: connector/CMakeFiles/check] Error 8
make[2]: *** [CMakeFiles/Makefile2:281: connector/CMakeFiles/check.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:288: connector/CMakeFiles/check.dir/rule] Error 2
make: *** [Makefile:240: check] Error 2
==> ERROR: A failure occurred in check().
    Aborting...
:: failed to build syncthingtray package(s)

Martchus commented on 2017-11-14 19:05 (UTC)

Seems like the web UI crashes in the default configuration when the jdk package (also in AUR) is installed. To prevent this you can: * uninstall the jdk package * remove /usr/lib/jvm/java-9-jdk/lib/libdeploy.so * configure the syncthingtray package to use Qt WebEngine (using variable/switch in the PKGBUILD)

Martchus commented on 2017-06-23 09:58 (UTC) (edited on 2017-06-23 09:59 (UTC) by Martchus)

@FlorianJacob I know that I've released v0.6.1 but it contains only one new commit for building under Tumbleweed. It is not worth the rebuild.

Martchus commented on 2017-02-26 20:19 (UTC)

Should be fixed