Package Details: fishnet 2.9.3-1

Git Clone URL: https://aur.archlinux.org/fishnet.git (read-only, click to copy)
Package Base: fishnet
Description: Distributed Stockfish analysis for lichess.org
Upstream URL: https://github.com/lichess-org/fishnet
Licenses: GPL-3.0-only
Submitter: IslandC0der
Maintainer: IslandC0der
Last Packager: IslandC0der
Votes: 1
Popularity: 0.000000
First Submitted: 2021-07-04 22:21 (UTC)
Last Updated: 2024-08-05 16:24 (UTC)

Latest Comments

lmat commented on 2024-08-31 14:29 (UTC)

An error while building:

warning: unused import: `crate::log::debug`                                                                                                                                                                                                                                       
  --> /home/lawsa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.23.12/src/crypto/ring/ticketer.rs:17:5                                                                                                                                                            
   |                                                                                                                                                                                                                                                                              
17 | use crate::log::debug;                                                                                                                                                                                                                                                       
   |     ^^^^^^^^^^^^^^^^^                                                                                                                                                                                                                                                        
   |                                                                                                                                                                                                                                                                              
   = note: `#[warn(unused_imports)]` on by default                                                                                                                                                                                                                                

error: linking with `cc` failed: exit status: 1 

...


warning: build failed, waiting for other jobs to finish...
warning: `rustls` (lib) generated 1 warning
==> ERROR: A failure occurred in build().
    Aborting...

IslandC0der commented on 2023-06-03 00:22 (UTC)

Thank you! Fixed :)

billy205 commented on 2023-03-20 17:46 (UTC)

still getting same error as rqt256 quick fix: git -c protocol.file.allow=always submodule update

rqt256 commented on 2023-03-07 16:34 (UTC)

Installing fails with:

Cloning into '/tmp/pamac-build-xxxx/fishnet/src/fishnet/Fairy-Stockfish'... fatal: transport 'file' not allowed

IslandC0der commented on 2021-09-06 11:20 (UTC)

Ahh, you're right; I thought I could get away with not including them (it does work, but I forgot about that issue).

Anyway, I'll do as you say; thank you, once again!

PS: Nice username btw :)

ettavolt commented on 2021-09-06 08:17 (UTC)

I see changes only list source for stockfish itself, but not for its submodules.

This way build system won't cache submoulde sources, thus every build will perform a full download of these repositories.

IslandC0der commented on 2021-09-04 00:20 (UTC)

Thank you!

But sadly, that means we can't use the checksums anymore :(

ettavolt commented on 2021-08-30 19:24 (UTC)

Doesn't work due to submodules. Proper way is probably (according to https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules)

makedepends=(git, rust)
source=("git${url#https}.git#tag=v${pkgver}"
        "git://github.com/official-stockfish/Stockfish.git"
        "git://github.com/ianfab/Fairy-Stockfish.git"
)
sha256sums=("SKIP"
            "SKIP"
            "SKIP"
)

build() {
  cd $pkgname
  git submodule init
  git config submodule.Stockfish.url $srcdir/Stockfish
  git config submodule.Fairy-Stockfish.url $srcdir/Fairy-Stockfish
  git submodule update
  cargo build --release -vv --
}

package() {
  install -Dm755 $pkgname/target/release/fishnet -t "$pkgdir/usr/bin/"
}

Alternative is to include all tarballs in source array and update them all every time.