[Pkg-kde-extras] Bug#1116277: gammaray FTBFS on arm64 due to -Wl, --fatal-warnings

Adrian Bunk bunk at debian.org
Wed Sep 24 23:35:41 BST 2025


Source: gammaray
Version: 3.2.2-1
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/fetch.php?pkg=gammaray&arch=arm64&ver=3.2.2-1%2Bb1&stamp=1758751375&raw=0

...
/usr/lib/aarch64-linux-gnu/libGLX.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking.
/usr/lib/aarch64-linux-gnu/libOpenGL.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking.
/usr/lib/gcc/aarch64-linux-gnu/15/libstdc++.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking.
/lib/aarch64-linux-gnu/libm.so.6: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking.
/lib/aarch64-linux-gnu/libmvec.so.1: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking.
/lib/aarch64-linux-gnu/libc.so.6: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking.
/lib/ld-linux-aarch64.so.1: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking.
/lib/aarch64-linux-gnu/libc.so.6: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking.
/lib/ld-linux-aarch64.so.1: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking.
collect2: error: ld returned 1 exit status
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/gammaray-3.2.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wunused-but-set-variable -Wlogical-op -Wsizeof-pointer-memaccess -Wreorder -Wformat-security -Wsuggest-override -Wall -Wextra -pedantic -Woverloaded-virtual -Winit-self -Wmissing-include-dirs -Wunused -Wundef -Wpointer-arith -Wmissing-noreturn -Werror=return-type -Wswitch -std=gnu++0x -fno-operator-names -Wzero-as-null-pointer-constant -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-z,origin -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libgammaray_kuserfeedback.so.3.2.2 -o ../../lib/aarch64-linux-gnu/libgammaray_kuserfeedback.so.3.2.2 CMakeFiles/gammaray_kuserfeedback.dir/gammaray_kuserfeedback_autogen/mocs_compilation.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/common/surveytargetexpression.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/common/surveytargetexpressionevaluator.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/common/surveytargetexpressionlexer.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/common/surveytargetexpressionparser.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/common/surveytargetexpressionparser_p.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/abstractdatasource.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/applicationversionsource.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/compilerinfosource.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/feedbackconfiguicontroller.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/openglinfosource.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/platforminfosource.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/provider.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/qtversionsource.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/selectionratiosource.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/startcountsource.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/surveyinfo.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/usagetimesource.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/widgets/feedbackconfigdialog.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/widgets/feedbackconfigwidget.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/widgets/notificationpopup.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/core/auditloguicontroller.cpp.o CMakeFiles/gammaray_kuserfeedback.dir/widgets/auditlogbrowserdialog.cpp.o  -Wl,-rpath,"\$ORIGIN/" /usr/lib/aarch64-linux-gnu/libQt6Widgets.so.6.9.2 /usr/lib/aarch64-linux-gnu/libQt6Gui.so.6.9.2 /usr/lib/aarch64-linux-gnu/libQt6Network.so.6.9.2 /usr/lib/aarch64-linux-gnu/libGLX.so /usr/lib/aarch64-linux-gnu/libOpenGL.so /usr/lib/aarch64-linux-gnu/libQt6Core.so.6.9.2
make[3]: *** [3rdparty/kuserfeedback/CMakeFiles/gammaray_kuserfeedback.dir/build.make:464: lib/aarch64-linux-gnu/libgammaray_kuserfeedback.so.3.2.2] Error 1


A fix is attached.

See https://wiki.debian.org/ToolChain/GCS and #1115108
for background information.

(My testbuild ended with the translatortest failure like on x86.)
-------------- next part --------------
Description: Don't make linker warnings fatal
Author: Adrian Bunk <bunk at debian.org>

--- gammaray-3.2.2.orig/CMakeLists.txt
+++ gammaray-3.2.2/CMakeLists.txt
@@ -419,7 +419,7 @@ if((CMAKE_SYSTEM_NAME MATCHES Linux OR C
 )
     set(_linker_flags "-Wl,-z,origin")
     if(NOT ECM_ENABLE_SANITIZERS)
-        set(_linker_flags "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${_linker_flags}")
+        set(_linker_flags "-Wl,--no-undefined -lc ${_linker_flags}")
     endif()
     set(CMAKE_SHARED_LINKER_FLAGS "${_linker_flags} ${CMAKE_SHARED_LINKER_FLAGS}")
     set(CMAKE_MODULE_LINKER_FLAGS "${_linker_flags} ${CMAKE_MODULE_LINKER_FLAGS}")


More information about the pkg-kde-extras mailing list