Source: stockfish
Version: 12-1
Severity: serious
Tags: patch

Your package FTBFS on {,hurd-,kfreebsd-}i386:

,----
| Testing config sanity. If this fails, try 'make help' ...
|
| make[2]: *** [Makefile:824: config-sanity] Error 1
`----

This was not too helpful at first glance, but a closer inspection showed
that the support for the x86-32-old architecture has been removed[1] and
general-32 should be used instead.  Doing so worked for me in an i386
build chroot, see the attached patch. :)

Note that x86-32 cannot be used here as it includes sse which is not
part of the i386 baseline.

Thank you for maintaining stockfish!


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386


1. 
https://github.com/official-stockfish/Stockfish/commit/42e8789f0b3935b7ea389b3aa929e05e0a016872

diff -Nru stockfish-12/debian/rules stockfish-12/debian/rules
--- stockfish-12/debian/rules	2021-01-06 20:35:55.000000000 +0100
+++ stockfish-12/debian/rules	2021-01-07 11:08:23.000000000 +0100
@@ -13,10 +13,6 @@

 TARGET := profile-build ARCH=general-$(DEB_HOST_ARCH_BITS)

-ifeq (i386,$(DEB_HOST_ARCH_CPU))
-TARGET := profile-build ARCH=x86-32-old
-endif
-
 ifneq (,$(findstring amd64,$(DEB_HOST_ARCH)))
 TARGET := profile-build ARCH=x86-64
 endif

Reply via email to