Package Details: chez-scheme 9.5-2

Git Clone URL: https://aur.archlinux.org/chez-scheme.git (read-only)
Package Base: chez-scheme
Description: Chez Scheme is a compiler and run-time system for the language of the Revised^6 Report on Scheme (R6RS), with numerous extensions.
Upstream URL: https://github.com/cisco/ChezScheme
Keywords: Scheme
Licenses: APL
Conflicts: chez-scheme-git, petite-chez-scheme
Replaces: chez-scheme-git, petite-chez-scheme
Submitter: dgeibi
Maintainer: dgeibi (ecraven, jaseemabid)
Last Packager: dgeibi
Votes: 7
Popularity: 0.318823
First Submitted: 2016-05-22 13:58
Last Updated: 2017-11-03 15:44

Latest Comments

bwmcn commented on 2018-06-03 02:03

@jumper149 I wouldn't say this package isn't properly maintained. These issues seem to be prevalent with recent changes to GCC. To my thinking, we're attempting to compile software on a new GCC, software that was written without the new GCC warnings into account. We can't fault the maintainer of the AUR package.

But the software authors are fixing the issues, it seems. The new GCC warnings have been getting plenty of attention, it seems, as I searched for similar errors.

Thanks for pointing out the -git package. It compiles and runs smoothly.

jumper149 commented on 2018-05-29 15:19

Im having the same compilation error as @bwmcn. Is this package maintained properly or is it better to just go with the '-git' version? @bwmcn there is also the 'chez-scheme-git' which is compiling fine (needs to download 1 GB of repositories tho)

bwmcn commented on 2018-05-27 00:49

Getting a compilation failure. Searching for similar errors suggests that this is related to the new `warnings' produced by GCC. Any insights appreciated.

prim5.c: In function ‘s_showalloc’:
prim5.c:329:85: error: ‘td of ’ directive output may be truncated writing 6 bytes into a region of size between 0 and 18 [-Werror=format-truncation=]
    snprintf(fmtbuf, FMTBUFSIZE, "%%#0%dtx %%#0%dtx (+ %%#0%dtx bytes @ %%#0%dtx) %%%dtd of %%%dtd\n", 
                                                                                      ^~~~~~  
In file included from /usr/include/stdio.h:862,  
                 from system.h:24,  
                 from prim5.c:17:  
/usr/include/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 54 and 112 bytes into a destination of size 60  
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,  
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
    __bos (__s), __fmt, __va_arg_pack ());  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

jaseemabid commented on 2017-11-03 11:10

Fails with a ld error unless `LDFLAGS="-ltinfo"` is added before configure command.

More info https://github.com/cisco/ChezScheme/issues/231#issuecomment-341675353

jonathon commented on 2017-09-19 22:43

Upstream applied what's essentially the same fix: https://github.com/cisco/ChezScheme/pull/183/files

Might be worth including beneyal's suggestion in the PKGBUILD until there's a new release?

beneyal commented on 2017-06-05 22:27

Due to a new warning introduced in GCC 7, and the -Werror compiler flag, compilation fails with Wimplicit-fallthrough.

An issue has been reported on Chez Scheme's repo, but there's no response by the time of this writing: https://github.com/cisco/ChezScheme/issues/172

Current workaround is to add "CFLAGS=-Wno-implicit-fallthrough" (without quotes) to the "./configure" line in PKGBUILD.

Batou commented on 2017-05-24 22:47

I'm getting a build error. Any ideas?

-----

/usr/bin/ld: ../boot/a6le/kernel.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:37: ../bin/a6le/scheme] Error 1
make[1]: *** [Makefile:20: build] Error 2
make: *** [Makefile:19: build] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build chez-scheme package(s)

codemac commented on 2016-07-12 20:31

Why are the bundled dependencies removed, and replaced with the git versions?

Just curious, as it makes this package something like 'chez-scheme + some-git stuff'.