A full log would help, sorry!
https://gist.github.com/mxmilkiib/fd70af73a4ca97ca4871ce0895ff1c8a
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) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 13 Next › Last »
A full log would help, sorry!
https://gist.github.com/mxmilkiib/fd70af73a4ca97ca4871ce0895ff1c8a
@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.
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
I filed a ticket about it: https://github.com/syncthing/syncthing/issues/8785
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
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).
I wrote a script to circumvent all the curiosities for installation :) https://code.ftt.gmbh/janek/dotfiles/src/branch/main/.local/bin/scripts/synctray
Yes I did that. You have to select to CleanBuild it after yay -S syncthingtray.
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
.
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:
pkgrel
of the AUR package when a rebuild is required (only in accordance with Arch Linux of course, not in accordance with Manjaro).syncthingtray
broken until it has been rebuilt) or to uninstallsyncthingtray
temporarily before the update. After the updatesyncthingtray
can be rebuilt and reinstalled again.makechrootpkg
which is also how official developers build their packages (and how packages in my binary repository are built).c++utilities
,qtutilities
,qtforkawesome
andsyncthingtray
in that order.syncthingtray-qt6
instead of this package.makepkg --nocheck
ormakechrootpkg -- --nocheck
. It makes still sense to report failures. But please include the actual error message and not just the last few lines.