Hi, syncthingtray-qt6 build error when yay -Syu:
[132/132] Linking CXX executable tray/syncthingtray-qt6
FAILED: tray/syncthingtray-qt6
: && /usr/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -O3 -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now tray/CMakeFiles/syncthingtray-qt6.dir/syncthingtray-qt6_autogen/mocs_compilation.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/application/main.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/application/singleinstance.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/gui/trayicon.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/gui/traywidget.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/gui/traymenu.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/gui/dirbuttonsitemdelegate.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/gui/devbuttonsitemdelegate.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/gui/downloaditemdelegate.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/gui/dirview.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/gui/devview.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/gui/downloadview.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/gui/helper.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/syncthingtray-qt6_autogen/3YJK5W5UP7/qrc_syncthingtrayicons.cpp.o tray/CMakeFiles/syncthingtray-qt6.dir/syncthingtray-qt6_autogen/EWIEGA46WW/qrc_syncthingtray_translations.cpp.o -o tray/syncthingtray-qt6 -L/home/ashes/.cache/yay/syncthingtray-qt6/src/syncthingtray-1.4.7/syncthingconnector -L/home/ashes/.cache/yay/syncthingtray-qt6/src/syncthingtray-1.4.7/syncthingmodel -L/home/ashes/.cache/yay/syncthingtray-qt6/lib -Wl,-rpath,/home/ashes/.cache/yay/syncthingtray-qt6/src/syncthingtray-1.4.7/syncthingconnector:/home/ashes/.cache/yay/syncthingtray-qt6/src/syncthingtray-1.4.7/syncthingmodel:/home/ashes/.cache/yay/syncthingtray-qt6/lib:/home/ashes/.cache/yay/syncthingtray-qt6/src/syncthingtray-1.4.7/syncthingwidgets: /usr/lib/libqtutilities-qt6.so.6.13.1 syncthingwidgets/libsyncthingwidgets-qt6.so.1.4.7 /usr/lib/libQt6Network.so.6.5.3 /usr/lib/libQt6Widgets.so.6.5.3 /usr/lib/libc++utilities.so.5.24.1 /usr/lib/libQt6Gui.so.6.5.3 /usr/lib/libGLX.so /usr/lib/libOpenGL.so syncthingmodel/libsyncthingmodel-qt6.so.1.4.7 syncthingconnector/libsyncthingconnector-qt6.so.1.4.7 /usr/lib/libc++utilities.so.5.24.1 /usr/lib/libQt6Network.so.6.5.3 /usr/lib/libQt6Core.so.6.5.3 /usr/lib/libqtforkawesome-qt6.so.0.1.0 /usr/lib/libQt6Widgets.so.6.5.3 /usr/lib/libQt6Gui.so.6.5.3 /usr/lib/libQt6Core.so.6.5.3 /usr/lib/libGLX.so /usr/lib/libOpenGL.so /usr/lib/libc++utilities.so.5.24.1 /usr/lib/libQt6Widgets.so.6.5.3 /usr/lib/libQt6Gui.so.6.5.3 /usr/lib/libGLX.so /usr/lib/libOpenGL.so /usr/lib/libQt6Core.so.6.5.3 /usr/lib/libQt6Core.so.6.5.3 && :
/usr/bin/ld: warning: libdav1d.so.6, needed by /usr/lib/libavcodec.so.60, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_get_picture'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_version'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_data_unref'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_open'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_data_wrap_user_data'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_get_frame_delay'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_data_wrap'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_send_data'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_parse_sequence_header'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_flush'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_picture_unref'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_get_event_flags'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_close'
/usr/bin/ld: /usr/lib/libavcodec.so.60: undefined reference to `dav1d_default_settings'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: syncthingtray-qt6-exit status 4
-> Failed to install the following packages. Manual intervention is required:
syncthingtray-qt6 - exit status 4
Pinned Comments
Martchus commented on 2023-11-21 23:20 (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-qt6
broken until it has been rebuilt) or to uninstallsyncthingtray-qt6
temporarily before the update. After the updatesyncthingtray-qt6
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-qt6
,qtforkawesome-qt6
andsyncthingtray-qt6
in that order.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.