Thank you Adrian for this simplification!

Adrian Bunk a écrit :
> Source: felix-latin
> Version: 2.1-1
> Severity: serious
> Tags: ftbfs patch
> 
> https://buildd.debian.org/status/logs.php?pkg=felix-latin&ver=2.1-1
> 
> ...
>    debian/rules override_dh_auto_build
> make[1]: Entering directory '/build/reproducible-path/felix-latin-2.1'
> make all
> make[2]: Entering directory '/build/reproducible-path/felix-latin-2.1'
> g++ -c -pipe -g -O2 
> -ffile-prefix-map=/home/georgesk/developpement/felix-latin/collab/felix-latin=.
>  -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 
> -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB 
> -DQT_CORE_LIB -I. -I/usr/include/aarch64-linux-gnu/qt5 
> -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets 
> -I/usr/include/aarch64-linux-gnu/qt5/QtGui 
> -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. 
> -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o gafio.o gafio.cpp
> cc1plus: error: ‘-fcf-protection=full’ is not supported for this target
> make[2]: *** [Makefile:390: gafio.o] Error 1
> 
> 
> Hardcoding buildflags from one architecture is not a good idea,
> the patch below lets debhelper take care of it.
> 
> Unrelated to that, please upload source-only because the package
> can otherwise not migrate to testing.
> 
> diff -ur del13/felix-latin-2.1/debian/rules felix-latin-2.1/debian/rules
> --- del13/felix-latin-2.1/debian/rules        2025-10-30 12:49:09.000000000 
> +0000
> +++ felix-latin-2.1/debian/rules      2025-10-30 18:18:08.321762603 +0000
> @@ -12,9 +12,6 @@
>  %:
>       dh $@ 
>  
> -override_dh_auto_configure:
> -     qmake -qt5
> -
>  override_dh_auto_build:
>       make all
>       ./mkhelp
> diff -ur del13/felix-latin-2.1/felix.pro felix-latin-2.1/felix.pro
> --- del13/felix-latin-2.1/felix.pro   2025-10-30 15:11:49.000000000 +0000
> +++ felix-latin-2.1/felix.pro 2025-10-30 18:18:19.089758044 +0000
> @@ -1,11 +1,5 @@
>  TEMPLATE = app
>  
> -QMAKE_CFLAGS   *= -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/home/georgesk/developpement/felix-latin/collab/felix-latin=.
>  -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
> -
> -QMAKE_CXXFLAGS *= -g -O2 
> -ffile-prefix-map=/home/georgesk/developpement/felix-latin/collab/felix-latin=.
>  -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
> -
> -QMAKE_LFLAGS   *= $(shell dpkg-buildflags --get LDFLAGS)
> -
>  TARGET = felix
>  
>  QT = core gui widgets

Attachment: signature.asc
Description: PGP signature



Reply via email to