Source: stockfish
Version: 15.1-4
Tags: patch
User: [email protected]
Usertags: ftcbfs

stockfish fails to cross build from source, because it strips with the
build architecture strip. Beyond breaking cross compilation, this also
breaks DEB_BUILD_OPTIONS=nostrip as well as generation of -dbgsym
packages. It is recommended to defer stripping to debhelper. I'm passing
a patch for your convenience.

Helmut
diff --minimal -Nru stockfish-15.1/debian/changelog 
stockfish-15.1/debian/changelog
--- stockfish-15.1/debian/changelog     2023-02-15 22:21:58.000000000 +0100
+++ stockfish-15.1/debian/changelog     2023-09-08 10:46:36.000000000 +0200
@@ -1,3 +1,10 @@
+stockfish (15.1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Defer stripping to dh_strip; closes: #-1.
+
+ -- Helmut Grohne <[email protected]>  Fri, 08 Sep 2023 10:46:36 +0200
+
 stockfish (15.1-4) unstable; urgency=medium
 
   * Yet another attempt of -latomic fix; thanks to Adrian Bunk for
diff --minimal -Nru stockfish-15.1/debian/rules stockfish-15.1/debian/rules
--- stockfish-15.1/debian/rules 2021-12-31 20:11:30.000000000 +0100
+++ stockfish-15.1/debian/rules 2023-09-08 10:46:33.000000000 +0200
@@ -101,7 +101,7 @@
        $(TESTCMD)
 
 override_dh_auto_install:
-       dh_auto_install -O--sourcedirectory=src -- PREFIX=debian/stockfish/usr
+       dh_auto_install -O--sourcedirectory=src -- PREFIX=debian/stockfish/usr 
STRIP=true
 
 override_dh_installman:
        dh_installman debian/stockfish.6

Reply via email to