Hi,
there is no package for "qtforkawesome" at the moment. @Martchus
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-2-or-later |
Submitter: | Martchus |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 92 |
Popularity: | 1.31 |
First Submitted: | 2016-09-14 20:13 (UTC) |
Last Updated: | 2024-10-21 14:22 (UTC) |
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 Next › Last »
Hi,
there is no package for "qtforkawesome" at the moment. @Martchus
$ syncthingctl status
syncthingctl: error while loading shared libraries: libboost_filesystem.so.1.75.0: cannot open shared object file: No such file or directory
$ pacman -Q boost-libs
boost-libs 1.76.0-1
$ pacman -Q syncthingtray
syncthingtray 1.1.8-1
I assume you've just ran the local -a
command in some shell in some terminal. You could add the command within the PKGBUILD's check()
function and also echo the environment variables. This way you would see whether it is setup as expected also in the build environment. (An AUR helper or makepkg
might mess-up something here, e.g. makepkg
generally sets environment variables from /etc/makepkg.conf
.)
at the beginning
I've noticed that setting variables at the beginning of the file might not be reliable, at least that's my experience when using makechrootpkg
(see https://github.com/hipersayanX/ArchPackages/commit/1e61856d067b5aeae6828e39e01d617661b1069e). Hence I recommend to set environment variables within the relevant functions.
I'm not sure what's wrong with my locales, it seems alright:
$ locale -a
C
en_GB.utf8
en_US.utf8
POSIX
But adding export LC_ALL=C; unset LANGUAGE
at the beginning of the PKGBUILD
worked, thanks!
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
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
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.
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.
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]
[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
Pinned Comments
Martchus commented on 2016-10-31 11:39 (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:
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.