Package Details: chez-scheme-git 9.5.r65.gd8c2704-4

Git Clone URL: https://aur.archlinux.org/chez-scheme-git.git (read-only, click to copy)
Package Base: chez-scheme-git
Description: Chez Scheme is an implementation of the Revised6 Report on Scheme (R6RS) with numerous language and programming environment extensions. (threaded build)
Upstream URL: https://github.com/cisco/ChezScheme
Licenses: Apache
Conflicts: petite-chez-scheme
Provides: chez-scheme
Replaces: petite-chez-scheme
Submitter: ecraven
Maintainer: ecraven
Last Packager: ecraven
Votes: 15
Popularity: 0.000000
First Submitted: 2016-04-26 16:18 (UTC)
Last Updated: 2020-02-19 17:19 (UTC)

Dependencies (4)

Required by (7)

Sources (4)

Latest Comments

1 2 3 Next › Last »

jonathon commented on 2022-01-31 15:05 (UTC)

With the new makepkg defaults including LTO this will fail to compile. The PKGBUILD needs e.g. either:

@@ -14,6 +14,7 @@ makedepends=('git' 'libx11' 'xorgproto')
 provides=(chez-scheme)
 conflicts=(petite-chez-scheme)
 replaces=(petite-chez-scheme)
+options=(!lto)
 source=('git+https://github.com/cisco/ChezScheme.git'
         'git+https://github.com/nanopass/nanopass-framework-scheme.git'
         'git+https://github.com/dybvig/stex.git'

to disable LTO, or:

@@ -39,7 +40,7 @@ prepare() {
 build() {
   cd "$_pkgname"
   ./configure --installprefix=/usr --temproot="$pkgdir" --threads
-  make
+  make CFLAGS+=" -ffat-lto-objects"
 }

 package() {

to make sure compilation succeeds with LTO intact.

gekoke commented on 2022-01-26 19:29 (UTC) (edited on 2022-01-26 19:33 (UTC) by gekoke)

This symlink would need to be added in order to work with the idris2 package:

--- PKGBUILD
+++ PKGBUILD_PATCHED
@@ -47,6 +47,7 @@
   # Replace duplicated files with symlinks
   cd "$pkgdir"/usr/lib/csv*/ta6le
   rm chez-scheme.boot scheme-script.boot
+  ln -s scheme.boot chez.boot
   ln -s scheme.boot chez-scheme.boot
   ln -s scheme.boot scheme-script.boot
 }

haawda commented on 2021-06-26 19:05 (UTC)

You need to add 'git+https://github.com/lz4/lz4.git' to the ource array and handle it analogously to stex and zlib subrepos

haawda commented on 2020-07-01 21:16 (UTC)

I needed to run makepkg this way to build chez-scheme-git:

LANG=C makepkg

ecraven commented on 2020-02-19 17:20 (UTC)

Thanks jonathon, just pushed a new pkgrel.

jonathon commented on 2020-02-14 17:15 (UTC)

xproto isn't in the repos any more but xorgproto should work fine:

diff --git a/.SRCINFO b/.SRCINFO
index 98f5c2d..00fe5ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
 pkgbase = chez-scheme-git
        pkgdesc = Chez Scheme is an implementation of the Revised6 Report on Scheme (R6RS) with numerous language and programming environment extensions. (threaded build)
        pkgver = 9.5.r65.gd8c2704
-       pkgrel = 3
+       pkgrel = 4
        url = https://github.com/cisco/ChezScheme
        arch = i686
        arch = x86_64
        license = Apache
        makedepends = git
        makedepends = libx11
-       makedepends = xproto
+       makedepends = xorgproto
        depends = ncurses
        provides = chez-scheme
        conflicts = petite-chez-scheme
diff --git a/PKGBUILD b/PKGBUILD
index 919f0fb..86c0939 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
 # Maintainer: Peter <craven@gmx.net>
-# Contributor: Jonathon Fernyhough <>
+# Contributor: Jonathon Fernyhough <jonathon"manjaro+org>

 pkgname=chez-scheme-git
 _pkgname=ChezScheme
 pkgver=9.5.r65.gd8c2704
-pkgrel=3
+pkgrel=4
 pkgdesc="Chez Scheme is an implementation of the Revised6 Report on Scheme (R6RS) with numerous language and programming environment extensions. (threaded build)"
 arch=(i686 x86_64)
 url="https://github.com/cisco/ChezScheme"
 license=('Apache')
 depends=('ncurses')
-makedepends=('git' 'libx11' 'xproto')
+makedepends=('git' 'libx11' 'xorgproto')
 provides=(chez-scheme)
 conflicts=(petite-chez-scheme)
 replaces=(petite-chez-scheme)

dalmahal90 commented on 2019-03-25 00:03 (UTC)

I get the following build error when I try to build this package with yay:

install: cannot create regular file '/home/docker/.cache/yay/chez-scheme-git/pkg/chez-scheme-git/usr/lib/csv9.5.1/ta6le/kernel.o': No such file or directory.

jonathon commented on 2019-03-21 23:21 (UTC)

Upstream have tagged 9.5.2 and opened 9.5.3 for development. It also looks like the make install step puts kernel.o and scheme.h in place now, so here's a diff:

diff --git a/PKGBUILD b/PKGBUILD
index eb78e6b..f49883a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -44,11 +44,12 @@ build() {

 package() {
   make -C "$_pkgname" DESTDIR="$pkgdir"/ install InstallSchemeName=chez-scheme
-  install "$_pkgname/ta6le/boot/ta6le/kernel.o" "$pkgdir/usr/lib/csv9.5.1/ta6le/kernel.o"
-  install "$_pkgname/ta6le/boot/ta6le/scheme.h" "$pkgdir/usr/lib/csv9.5.1/ta6le/scheme.h"
-  # symlink includes pkgdir, redo
-  rm "$pkgdir/usr/lib/csv9.5.1/ta6le/scheme-script.boot"
-  ln -s "/usr/lib/csv9.5.1/ta6le/scheme.boot" "$pkgdir/usr/lib/csv9.5.1/ta6le/scheme-script.boot"
+
+  # Replace duplicated files with symlinks
+  cd "$pkgdir"/usr/lib/csv*/ta6le
+  rm chez-scheme.boot scheme-script.boot
+  ln -s scheme.boot chez-scheme.boot
+  ln -s scheme.boot scheme-script.boot
 }

 # vim:set ts=2 sw=2 et:

haawda commented on 2019-01-19 09:37 (UTC)

Newer builds work for me, too, so the issue was upstream or on my side. Anyway, thanks for testing.

ecraven commented on 2019-01-18 10:06 (UTC)

I just built it, seems to build fine.