Package Details: mit-scheme 12.1-9

Git Clone URL: https://aur.archlinux.org/mit-scheme.git (read-only, click to copy)
Package Base: mit-scheme
Description: MIT/GNU Scheme
Upstream URL: https://www.gnu.org/software/mit-scheme/
Licenses: GPL-2.0-or-later
Submitter: arojas
Maintainer: carsme
Last Packager: carsme
Votes: 14
Popularity: 0.001805
First Submitted: 2021-05-08 09:17 (UTC)
Last Updated: 2024-01-28 22:42 (UTC)

Latest Comments

« First ‹ Previous 1 2

ylyl commented on 2023-08-04 06:13 (UTC)

Because the texlive package updated, we need to install texlive-latex

abougouffa commented on 2022-05-30 13:02 (UTC)

Hello,

I'm getting a compilation error on regex.c, it seems to be related to the -Werror=use-after-free compiler flag.

NOTE: I'm running gcc (GCC) 12.1.0

gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/lib/mit-scheme-x86-64-11.2\" -I. -I. -O3 -Wno-array-parameter -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o regex.o -c regex.c
regex.c: In function ‘re_match’:
regex.c:154:45: error: pointer ‘stack_start’ may be used after ‘realloc’ [-Werror=use-after-free]
  154 |         (& (stack_temporary [(stack_pointer - stack_start)]));          \
      |                                             ^
regex.c:873:9: note: in expansion of macro ‘PUSH_FAILURE_POINT’
  873 |         PUSH_FAILURE_POINT ((pattern_pc + offset), match_pc);
      |         ^~~~~~~~~~~~~~~~~~
regex.c:148:11: note: call to ‘realloc’ here
  148 |          (realloc                                                       \
      |          ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  149 |           (stack_start, (stack_length * (sizeof (unsigned char *)))))); \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex.c:873:9: note: in expansion of macro ‘PUSH_FAILURE_POINT’
  873 |         PUSH_FAILURE_POINT ((pattern_pc + offset), match_pc);
      |         ^~~~~~~~~~~~~~~~~~
regex.c:154:45: error: pointer ‘stack_start’ may be used after ‘realloc’ [-Werror=use-after-free]
  154 |         (& (stack_temporary [(stack_pointer - stack_start)]));          \
      |                                             ^
regex.c:981:9: note: in expansion of macro ‘PUSH_FAILURE_POINT’
  981 |         PUSH_FAILURE_POINT (NULL, NULL);
      |         ^~~~~~~~~~~~~~~~~~
regex.c:148:11: note: call to ‘realloc’ here
  148 |          (realloc                                                       \
      |          ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  149 |           (stack_start, (stack_length * (sizeof (unsigned char *)))))); \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex.c:981:9: note: in expansion of macro ‘PUSH_FAILURE_POINT’
  981 |         PUSH_FAILURE_POINT (NULL, NULL);
      |         ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:182: regex.o] Error 1
make[1]: Leaving directory '/home/X/.cache/yay/mit-scheme/src/mit-scheme-11.2/src/microcode'
make: *** [Makefile:796: microcode/scheme] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: mit-scheme

ipochto commented on 2021-09-06 11:05 (UTC) (edited on 2021-09-06 11:06 (UTC) by ipochto)

It requires TeX binary for installation. In my case, I had to install texlive-bin and texlive-core.

tylercrompton commented on 2021-07-17 15:54 (UTC) (edited on 2021-07-17 15:54 (UTC) by tylercrompton)

I was running into the following error while attempting to update the package:

gpg: keyserver receive failed: No name
problem importing keys

I resolved this by using the following command:

$ gpg --keyserver hkps://keys.openpgp.org/ --recv-keys 8F664EF430167B808170D35AC9E40BAAFD0CB132

nicorueda commented on 2021-07-12 02:41 (UTC)

The comment by @duongdominhchau was right on

If it useful I ammended the first line in the first ./configure as follows

./configure CFLAGS=-Wno-array-parameter --prefix=/usr \

duongdominhchau commented on 2021-06-19 10:16 (UTC)

Currently this does not compile with GCC 11 due to a warning, needs CFLAGS=-Wno-array-parameter for the first ./configure to make it compiles.