Package Details: crafty 25.2-4

Git Clone URL: https://aur.archlinux.org/crafty.git (read-only, click to copy)
Package Base: crafty
Description: A free, open-source computer chess program developed by Dr. Robert M. (Bob) Hyatt
Upstream URL: http://www.craftychess.com/
Keywords: chess
Licenses: custom
Submitter: Allan
Maintainer: InstallerLegacy
Last Packager: InstallerLegacy
Votes: 90
Popularity: 0.005641
First Submitted: 2010-11-29 14:25 (UTC)
Last Updated: 2022-05-08 13:37 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

cheyn commented on 2021-12-15 01:49 (UTC)

To clarify the fix, I was able to download the files with wget to /tmp but had to use https and ignore the certificates.

cd /tmp
wget --no-check-certificate https://www.craftychess.com/downloads/source/crafty-25.2.zip
wget --no-check-certificate https://www.craftychess.com/downloads/book/start.pgn.gz
wget --no-check-certificate https://www.craftychess.com/downloads/book/startc.pgn.gz
wget --no-check-certificate https://www.craftychess.com/downloads/book/book.bin

Then when installing I edited the PKGBUILD file. Using yay, you can run yay -S crafty --editmenu (When prompted "PKGBUILDs to edit?" select crafty or 1 to edit it.). Other AUR helpers might have different flags, or if no helper just edit the PKGBUILD file manually.

From:

source=("http://www.craftychess.com/downloads/source/$pkgname-$pkgver.zip"
    "http://www.craftychess.com/downloads/book/start.pgn.gz"
    "http://www.craftychess.com/downloads/book/startc.pgn.gz"
    "http://www.craftychess.com/downloads/book/book.`[[ "$_build_book" = '0' ]] && echo bin || echo pgn.gz`"

To:

source=("file:///tmp/crafty-25.2.zip"
    "file:///tmp/start.pgn.gz"
    "file:///tmp/startc.pgn.gz"
    "file:///tmp/book.bin"

Seems like a wacky redirect setting on the craftychess web server.

latgarf commented on 2021-11-11 06:49 (UTC)

I had exactly the same problem as cheyn. Tried to follow his instructions, which would probably work, but I didn't have access to valid files start.pgn.gz, startc.pgn.gz, so got stuck there.

Would be nice if the maintainer addresses this issue.

cheyn commented on 2021-10-14 19:24 (UTC) (edited on 2021-12-15 16:33 (UTC) by cheyn)

For some reason the http://www.craftychess.com/downloads/source/crafty-25.2.zip link was resolving to http://www.craftychess.comdownloads/source/crafty-25.2.zip and failing to download on my system.

:: (1/1) Parsing SRCINFO: crafty
==> Making package: crafty 25.2-3 (Thu 14 Oct 2021 11:14:42 AM PDT)
==> Retrieving sources...
  -> Downloading crafty-25.2.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   332  100   332    0     0   2138      0 --:--:-- --:--:-- --:--:--  2141
curl: (6) Could not resolve host: craftychess.comdownloads
Warning: Problem : timeout. Will retry in 3 seconds. 3 retries left.
100   332  100   332    0     0   4244      0 --:--:-- --:--:-- --:--:--  4256
curl: (6) Could not resolve host: craftychess.comdownloads
Warning: Problem : timeout. Will retry in 3 seconds. 2 retries left.
100   332  100   332    0     0   4267      0 --:--:-- --:--:-- --:--:--  4311
curl: (6) Could not resolve host: craftychess.comdownloads
Warning: Problem : timeout. Will retry in 3 seconds. 1 retries left.
100   332  100   332    0     0   4018      0 --:--:-- --:--:-- --:--:--  4048
curl: (6) Could not resolve host: craftychess.comdownloads
==> ERROR: Failure while downloading http://www.craftychess.com/downloads/source/crafty-25.2.zip
    Aborting...
error downloading sources: crafty

Entering the link manually into a web browser would prompt for download before redirecting to the mangled craftychess.comdownloads URL.

I manually downloaded the required files (crafty-25.2.zip, start.pgn.gz, startc.pgn.gz, book.bin) to /tmp/ and updated PKGBUILD source to reference the local tmp files using yay -S crafty --editmenu.

It installed successfully after those manual steps.

ozgursarier commented on 2019-11-03 10:58 (UTC) (edited on 2019-11-03 10:58 (UTC) by ozgursarier)

@anthraxx: I get it, but that tharball include generally text files.. So it very time consuming for extracting and reincluding those file in to PKGBUILD. If you make and send ( :D ), I'd apriciate ...

anthraxx commented on 2018-03-05 12:26 (UTC)

  • don't use binary blobs uploaded to the AUR like a .tar.bz2 tarball this is not a CDN

ozgursarier commented on 2017-03-25 19:30 (UTC)

@pezcurrel: Build issue for non-popcnt CPUs fixed now. I also add rc file and some docs for crafty.

pezcurrel commented on 2017-03-18 13:54 (UTC)

==> Creating books.bin... /var/tmp/volatile/yaourt-tmp-gnucco/aur-crafty/./PKGBUILD: line 34: 5253 Illegal instruction (core dumped) ./crafty "book create start.pgn 60" quit ==> ERROR: A failure occurred in build(). Aborting...

aksr commented on 2017-03-15 05:39 (UTC)

Doesn't build.