Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Helmut Grohne
Wed, 02 Dec 2026 13:30
Bug#1156152: sgt-puzzles FTCBFS for amd64/arm64: passes host CFLAGS to build compiler
Author: Helmut Grohne
Date: Wed, 02 Dec 2026 13:30
Date: Wed, 02 Dec 2026 13:30
52 lines
3655 bytes
3655 bytes
--6LEnTOiDxZb0KWCy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Source: sgt-puzzles Version: 20250730.a7c7826-1 Tags: patch User: debian-cross@lists.debian.org Usertags: ftcbfs sgt-puzzles fails to cross build from source for amd64 and arm64 architectures. Those have architecture-specific CFLAGS. When sgt-puzzles performs its native build pass, the host's CFLAGS are inherited and things go wrong. The CFLAGS_FOR_BUILD need to be passed to the native cmake invocation. I'm attaching a patch for your convenience. Helmut --6LEnTOiDxZb0KWCy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sgt-puzzles_20250730.a7c7826-1.1.debdiff" diff -Nru sgt-puzzles-20250730.a7c7826/debian/changelog sgt-puzzles-20250730.a7c7826/debian/changelog --- sgt-puzzles-20250730.a7c7826/debian/changelog 2026-03-03 16:19:06.000000000 +0100 +++ sgt-puzzles-20250730.a7c7826/debian/changelog 2026-11-29 21:20:30.000000000 +0100 @@ -1,3 +1,10 @@ +sgt-puzzles (20250730.a7c7826-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCFBS for amd64/arm64: Adapt CFLAGS for native build. (Closes: #-1) + + -- Helmut Grohne <helmut@subdivi.de> Sun, 29 Nov 2026 21:20:30 +0100 + sgt-puzzles (20250730.a7c7826-1) unstable; urgency=medium * New upstream version: diff -Nru sgt-puzzles-20250730.a7c7826/debian/rules sgt-puzzles-20250730.a7c7826/debian/rules --- sgt-puzzles-20250730.a7c7826/debian/rules 2025-08-25 17:58:17.000000000 +0200 +++ sgt-puzzles-20250730.a7c7826/debian/rules 2026-11-29 21:20:29.000000000 +0100 @@ -28,7 +28,7 @@ # icon files. In a fully native build this is done automatically. ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) mkdir -p obj-$(DEB_BUILD_GNU_TYPE) - cd obj-$(DEB_BUILD_GNU_TYPE) && cmake $(CMAKE_OPTS) .. + cd obj-$(DEB_BUILD_GNU_TYPE) && CFLAGS='$(CFLAGS_FOR_BUILD)' cmake $(CMAKE_OPTS) .. $(MAKE) -C obj-$(DEB_BUILD_GNU_TYPE) VERBOSE=$(if $(filter terse,$(DEB_BUILD_OPTIONS)),0,1) cp obj-$(DEB_BUILD_GNU_TYPE)/icons/*-icon.c icons/ endif --6LEnTOiDxZb0KWCy--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads