Package Details: stockfish-git r6822.g75edbee01-1

Git Clone URL: https://aur.archlinux.org/stockfish-git.git (read-only, click to copy)
Package Base: stockfish-git
Description: A free UCI chess engine derived from Glaurung 2.1 (git version)
Upstream URL: http://stockfishchess.org/
Licenses: GPL3
Conflicts: stockfish
Provides: stockfish
Submitter: ghotrix
Maintainer: ghotrix
Last Packager: ghotrix
Votes: 4
Popularity: 0.000000
First Submitted: 2020-01-13 17:16 (UTC)
Last Updated: 2025-10-19 17:46 (UTC)

Dependencies (2)

Required by (7)

Sources (1)

Latest Comments

1 2 Next › Last »

Tyrin.price commented on 2025-10-20 09:43 (UTC)

Success! Thank you so much!

ghotrix commented on 2025-10-20 09:11 (UTC)

I've updated PKGBUILD, btw. Try to build again.

Tyrin.price commented on 2025-10-20 08:58 (UTC)

https://pastebin.com/QVBuELqF

niklasf commented on 2025-10-19 09:02 (UTC) (edited on 2025-10-19 09:03 (UTC) by niklasf)

After https://github.com/official-stockfish/Stockfish/commit/ee243f0fdccd943fbba5a0eb5afa3531c23feffa, Stockfish no longer has ARCH=x86-64-vnni256, which was selected for your machine.

To patch it, the PKGBUILD could completely omit ARCH=..., because the Stockfish Makefile now brings similar CPU feature detection out of the box.

ghotrix commented on 2025-10-19 09:01 (UTC)

Most likely autodetection of your CPU capabilities failed. Can you provide output of cat /proc/cpuinfo from the PC you can't compile it on?

Tyrin.price commented on 2025-10-19 08:53 (UTC)

Maybe this has to do with my computer being Ryzen. It does not compile on both of my Ryzen Mini-PCs, but it does compile on my nvidia laptop.

Tyrin.price commented on 2025-10-10 03:31 (UTC)

Aur (1) stockfish-git-r5850.g3f7fb5ac1-1

:: Proceed with installation? [Y/n]:

:: Downloading PKGBUILDs... PKGBUILDs up to date fetching devel info... ==> Making package: stockfish-git r5850.g3f7fb5ac1-1 (Fri 10 Oct 2025 11:30:01 AM PST) ==> Retrieving sources... -> Updating stockfish-git git repo... From https://github.com/official-stockfish/Stockfish - [deleted] (none) -> refs/pull/6354/merge ==> Validating source files with md5sums... stockfish-git ... Skipped ==> Making package: stockfish-git r5850.g3f7fb5ac1-1 (Fri 10 Oct 2025 11:30:04 AM PST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating stockfish-git git repo... ==> Validating source files with md5sums... stockfish-git ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of stockfish-git git repo... Cloning into 'stockfish-git'... done. ==> Starting pkgver()... ==> Updated version: stockfish-git r6816.ge18ed795f-1 ==> Sources are ready. stockfish-git-r5850.g3f7fb5ac1-1: parsing pkg list... ==> Making package: stockfish-git r6816.ge18ed795f-1 (Fri 10 Oct 2025 11:30:06 AM PST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... Downloading from https://tests.stockfishchess.org/api/nn/nn-1c0000000000.nnue ... Successfully validated nn-1c0000000000.nnue Downloading from https://tests.stockfishchess.org/api/nn/nn-37f18f62d772.nnue ... Successfully validated nn-37f18f62d772.nnue

Config: debug: 'no' sanitize: 'none' optimize: 'yes' arch: 'x86_64' bits: '64' kernel: 'Linux' os: 'GNU/Linux' prefetch: 'yes' popcnt: 'no' pext: 'no' sse: 'yes' mmx: 'no' sse2: 'yes' ssse3: 'no' sse41: 'no' avx2: 'no' avxvnni: 'no' avx512: 'no' vnni512: 'no' avx512icl: 'no' altivec: 'no' vsx: 'no' neon: 'no' dotprod: 'no' arm_version: '0' lsx: 'no' lasx: 'no' target_windows: ''

Flags: CXX: g++ CXXFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/tyrin/.cache/paru/clone/stockfish-git/src=/usr/src/debug/stockfish-git -flto=auto -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -Wmissing-declarations -m64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -DIS_64BIT -msse -DUSE_SSE2 -msse2 -DGIT_SHA=e18ed795 -DGIT_DATE=20251007 -DARCH=x86-64-vnni256 -flto -flto-partition=one LDFLAGS: -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -m64 -Wl,--no-as-needed -lpthread -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/tyrin/.cache/paru/clone/stockfish-git/src=/usr/src/debug/stockfish-git -flto=auto -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -Wmissing-declarations -m64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -DIS_64BIT -msse -DUSE_SSE2 -msse2 -DGIT_SHA=e18ed795 -DGIT_DATE=20251007 -DARCH=x86-64-vnni256 -flto -flto-partition=one -flto=jobserver

Testing config sanity. If this fails, try 'make help' ...

make: *** [Makefile:1013: config-sanity] Error 1 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'stockfish-git-r5850.g3f7fb5ac1-1': error: packages failed to build: stockfish-git-r5850.g3f7fb5ac1-1

ghotrix commented on 2025-10-09 07:57 (UTC)

Interesting, can you provide a full build log? I am unable to reproduce it on my PC.

Tyrin.price commented on 2025-10-09 02:59 (UTC)

How to get by this "config sanity" failure issue?

Tyrin.price commented on 2025-10-07 04:43 (UTC)

Testing config sanity. If this fails, try 'make help' ...

make: *** [Makefile:1013: config-sanity] Error 1 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'stockfish-git-r5850.g3f7fb5ac1-1': error: packages failed to build: stockfish-git-r5850.g3f7fb5ac1-1 Script finished.