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

Git Clone URL: https://aur.archlinux.org/chez-scheme-git.git (read-only)
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: 13
Popularity: 1.001789
First Submitted: 2016-04-26 16:18
Last Updated: 2019-03-25 07:31

Latest Comments

1 2 Next › Last »

dalmahal90 commented on 2019-03-25 00:03

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

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

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

I just built it, seems to build fine.

haawda commented on 2019-01-17 18:13

Upstreams last commit 68e20f7 seems to be a bad one. Can someone confirm?

make all
echo '(reset-handler abort)'\
             '(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'\
             '(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'\
             '(optimize-level 3)'\
             '(debug-level 0)'\
             '(commonization-level (commonization-level))'\
             '(generate-inspector-information #f)'\
             '(subset-mode (quote system))'\
             '(compile-file "cmacros.ss" "cmacros.so")'\
             | ../bin/ta6le/scheme -q
Error in foreign-procedure: no entry for ~s
("(cs)find_pcode")
make[4]: *** [Mf-base:340: cmacros.so] error 1
make[3]: *** [Mf-base:164: allx] error 2
make[2]: *** [Mf-base:181: bootstrap] error 2
make[1]: *** [Makefile:21: build] error 2

Up to yesterday I had no problem building this.

jonathon commented on 2017-10-15 20:08

Ah, this is building nicely for me now. :)

The initial full clone is expected, don't worry about --depth=1. I suspect anyone using a -git package should be accepting of the 900MB on-disk overhead compared to downloading ~25MB each build (or they'd just use the non-git package). Also, https://bugs.archlinux.org/task/34677 .

haawda commented on 2017-10-15 14:18

In a clean chroot it worked for me without -fPIC. Strange, a simple makepkg in a empty builddir needs -fPIC.

But namcap in the clean chroot is not satisfied.

chez-scheme-git E: APL is not a common license (it's not in /usr/share/licenses/common/)
chez-scheme-git E: Symlink (usr/lib/csv9.5.1/ta6le/scheme-script.boot) points to non-existing /build/chez-scheme-git/pkg/chez-scheme-git/usr/lib/csv9.5.1/ta6le/scheme.boot
chez-scheme-git E: Dependency ncurses detected and not included (libraries ['usr/lib/libncursesw.so.6'] needed in files ['usr/bin/petite'])

ecraven commented on 2017-10-14 05:38

jonathon, thanks for the PKGBUILD, updated based on it. I've removed the xlocale.h thing, as https://github.com/cisco/ChezScheme/commit/b04e9123a427034a39fc9084ba2a8b04608bbb3b should have fixed this.

The PKGBUILD still clones the entire repo once, should I modify it to only clone --depth=1?

haawda, I just built it, but didn't need -fPIC, did you do a clean rebuild with up-to-date arch?

haawda commented on 2017-10-14 04:53

I had also to add CFLAGS+=" -fPIC" to make.

haawda commented on 2017-10-14 04:05

Jonathon, it is not only you.