[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986690: triplane FTCBFS -- executes dksbuild during build



Package: triplane
Version: 1.0.8-3
Severity: normal
Tags: patch
X-Debbugs-Cc: nilesh@debian.org, debian-cross@lists.debian.org

Dear Maintainer,

Since bioawk seems to execute dksbuild in order to generate data in fokker.dks which is not allowed during cross build
it could be simply built with build compiler

Since fokker.dks binary is not being installed, such a compilation would
not give any exec format problems. And building it via build compiler
does not seem a problem

I'm attaching my patch along, and will commit to salsa if it looks good.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
 DESTDIR ?=
 
 CXX	     ?= g++
+CXX_FOR_BUILD ?= g++
 OPTIFLAG     = -O2 -g
 SDL_CONFIG  ?= sdl-config
 VERSION      = 1.0.8
@@ -73,7 +74,7 @@
 	$(CXX) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LIBS)
 
 tools/dksbuild: src/tools/dksbuild/dksbuild.cc
-	$(CXX) -o tools/dksbuild -g src/tools/dksbuild/dksbuild.cc
+	$(CXX_FOR_BUILD) -o tools/dksbuild -g src/tools/dksbuild/dksbuild.cc
 
 install:
 	mkdir -p $(DESTDIR)$(PREFIX)/games

Attachment: signature.asc
Description: PGP signature


Reply to: