Re: CHICKEN 5.2.0 has been released

2020-03-06 Thread Vasilij Schneidermann
Hello Daniel,

> The sql-de-lite package has a small glitch.

This breaking change required adjustments in several eggs.  To our
knowledge all of them but sql-de-lite have been fixed by now.
Check out  for three
different ways to fix the issue.

Vasilij


signature.asc
Description: PGP signature


Re: CHICKEN 5.2.0 has been released

2020-03-05 Thread Daniel Ortmann

The sql-de-lite package has a small glitch.

$ chicken-install sql-de-lite
building sql-de-lite
/home/dortmann/.cache/chicken-install/sql-de-lite/build-sql-de-lite 
-regenerate-import-libraries -M -setup-mode -static -I 
/home/dortmann/.cache/chicken-install/sql-de-lite -emit-link-file 
/home/dortmann/.cache/chicken-install/sql-de-lite/sql-de-lite.link -host 
-D compiling-extension -c -unit sql-de-lite -D 
compiling-static-extension -C 
-I/home/dortmann/.cache/chicken-install/sql-de-lite -O2 -d2 -inline 
-local -types sql-de-lite-cache.types sql-de-lite.scm -o 
/home/dortmann/.cache/chicken-install/sql-de-lite/sql-de-lite.static.o

Using built-in SQLite3
csc: the `-c' option cannot be used in combination with multiple input files

Error: shell command terminated with nonzero exit code
16384
"sh /home/dortmann/.cache/chicken-install/sql-de-lite/sql-de-lite.build.sh"


On 2/29/20 8:10 AM, Peter Bex wrote:

Dear CHICKEN users,

We are pleased to announce the immediate availability of CHICKEN 5.2.0
at the following URL:
https://code.call-cc.org/releases/5.2.0/chicken-5.2.0.tar.gz

This tarball has the following SHA256 checksum:
819149c8ce7303a9b381d3fdc1d5765c5f9ac4dee6f627d1652f47966a8780fa

This is mostly a maintenance and bugfix release, and it is recommended
to update to this version if you're already running CHICKEN 5.  Of
course, if you're still running CHICKEN 4, now is also a great time to
switch to 5 :)

One important change might cause breakage of existing code: CHICKEN will
now error out when you use -c with multiple files (see #1655 for more
info).

Thanks to everyone who helped to test this release.

For a full list of the changes since 5.1.0, see the NEWS file:
https://code.call-cc.org/releases/5.2.0/NEWS

Kind regards,
The CHICKEN Team




Re: CHICKEN 5.2.0 has been released

2020-03-05 Thread Daniel Ortmann
After unmounting tmpfs from ~/.cache everything is installing 
perfectly.  Thank you much.


On 3/5/20 1:02 PM, Daniel Ortmann wrote:
Interesting!  Yes, for performance I have ~dortmann/.cache mounted as 
tmpfs and tightly controlled.  Odd that I did not run into this 
previously ... Or perhaps I _/did/_ run into it since I have 
previously had struggles with '-sudo' installs.


I will test and get back to you.

On 3/5/20 3:19 AM, Peter Bex wrote:

On Wed, Mar 04, 2020 at 03:20:58PM -0600, Daniel Ortmann wrote:

make PLATFORM=linux PREFIX=/usr/local/chicken-5.2.0 install
$ cat /etc/oracle-release
Oracle Linux Server release 7.7
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.7 (Maipo)

Hi Daniel,

How is the home directory mounted (or the cache dir under it)?
It might be mounted noexec, which can cause this kind of error
(see alsohttps://bugs.call-cc.org/ticket/1218).

I also know RHEL has SELinux enabled by default, which can cause
all sorts of unexplainable issues because it messes with the standard
UNIX permission model.

Cheers,
Peter






Re: CHICKEN 5.2.0 has been released

2020-03-05 Thread Daniel Ortmann
Interesting!  Yes, for performance I have ~dortmann/.cache mounted as 
tmpfs and tightly controlled.  Odd that I did not run into this 
previously ... Or perhaps I _/did/_ run into it since I have previously 
had struggles with '-sudo' installs.


I will test and get back to you.

On 3/5/20 3:19 AM, Peter Bex wrote:

On Wed, Mar 04, 2020 at 03:20:58PM -0600, Daniel Ortmann wrote:

make PLATFORM=linux PREFIX=/usr/local/chicken-5.2.0 install
$ cat /etc/oracle-release
Oracle Linux Server release 7.7
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.7 (Maipo)

Hi Daniel,

How is the home directory mounted (or the cache dir under it)?
It might be mounted noexec, which can cause this kind of error
(see also https://bugs.call-cc.org/ticket/1218).

I also know RHEL has SELinux enabled by default, which can cause
all sorts of unexplainable issues because it messes with the standard
UNIX permission model.

Cheers,
Peter




Re: CHICKEN 5.2.0 has been released

2020-03-05 Thread Peter Bex
On Wed, Mar 04, 2020 at 03:20:58PM -0600, Daniel Ortmann wrote:
> make PLATFORM=linux PREFIX=/usr/local/chicken-5.2.0 install
> $ cat /etc/oracle-release
> Oracle Linux Server release 7.7
> $ cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 7.7 (Maipo)

Hi Daniel,

How is the home directory mounted (or the cache dir under it)?
It might be mounted noexec, which can cause this kind of error
(see also https://bugs.call-cc.org/ticket/1218).

I also know RHEL has SELinux enabled by default, which can cause
all sorts of unexplainable issues because it messes with the standard
UNIX permission model.

Cheers,
Peter


signature.asc
Description: PGP signature


Re: CHICKEN 5.2.0 has been released

2020-03-04 Thread Daniel Ortmann

make PLATFORM=linux PREFIX=/usr/local/chicken-5.2.0 install
$ cat /etc/oracle-release
Oracle Linux Server release 7.7
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.7 (Maipo)

The main change was switching my destination directory from the standard 
/usr/local to /usr/local/chicken-5.2.0 and keeping the content owned by 
'dortmann' instead of root.


The #-prefixed entries below fail; the rest install ok.

# abnf
# amb
# apropos
# awful
# awful-postgresql
# awful-sql-de-lite
# awful-ssl
# awful-static-pages
# breadline
# check-errors
# chicken-doc
# clojurian
# http-session
# lexgen
# openssl
# r7rs
# scsh-process
# silex
# spiffy
# spiffy-cookies
# spiffy-request-vars
# srfi-18
# string-utils
# sxml-modifications
# sxpath
# symbol-utils
# utf8

args
awful-path-matchers
colorize
json
lalr
posix-groups
sandbox
srfi-1
srfi-13
srfi-69
ssax
sxml-serializer
sxml-transforms
sysexits
system-information
trace


On 3/4/20 2:30 PM, Mario Domenech Goulart wrote:

Hi Daniel,

On Wed, 4 Mar 2020 13:47:27 -0600 Daniel Ortmann  
wrote:


Ideas?

$ chicken-install -version
5.2.0
$ which chicken-install
/usr/local/chicken-5.2.0/bin/chicken-install
$ rm -rf ~/.cache/*
$ ll ~/.cache/
total 0
$ chicken-install utf8
building utf8
/usr/local/chicken-5.2.0/bin/csc -host -D compiling-extension -J -s 
-regenerate-import-libraries -setup-mode -I
/home/dortmann/.cache/chicken-install/utf8 -C 
-I/home/dortmann/.cache/chicken-install/utf8 -fixnum-arithmetic -inline -local 
-O3 -d0
utf8-lolevel.scm -o /home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.so
/usr/local/chicken-5.2.0/bin/csc -regenerate-import-libraries -M -setup-mode 
-static -I /home/dortmann/.cache/chicken-install/utf8
-emit-link-file /home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.link 
-host -D compiling-extension -c -unit utf8-lolevel -D
compiling-static-extension -C -I/home/dortmann/.cache/chicken-install/utf8 
-fixnum-arithmetic -inline -local -O3 -d0 utf8-lolevel.scm -o
/home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.static.o
/usr/local/chicken-5.2.0/bin/csc -setup-mode -s -host -I 
/home/dortmann/.cache/chicken-install/utf8 -C
-I/home/dortmann/.cache/chicken-install/utf8 -fixnum-arithmetic -inline -local 
-O3 -d0 utf8-lolevel.import.scm -o
/home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.import.so
/usr/local/chicken-5.2.0/bin/csc -host -D compiling-extension -J -s 
-regenerate-import-libraries -setup-mode -I
/home/dortmann/.cache/chicken-install/utf8 -C 
-I/home/dortmann/.cache/chicken-install/utf8 -fixnum-arithmetic -inline -local 
utf8-srfi-14.scm
-o /home/dortmann/.cache/chicken-install/utf8/utf8-srfi-14.so

Error: (load) during expansion of (import ...) - unable to load compiled module 
- ./utf8-lolevel.import.so: failed to map segment from shared
object: Operation not permitted: "./utf8-lolevel.import.so"

Call history:

 (##core#begin (module utf8-srfi-14 (char-set char-set? char-set-copy 
char-set-hash list->char-set li...
 (module utf8-srfi-14 (char-set char-set? char-set-copy char-set-hash 
list->char-set list->char-set! ...
 (##core#module utf8-srfi-14 (char-set char-set? char-set-copy char-set-hash 
list->char-set list->cha...
 (import scheme (chicken base) iset utf8-lolevel (only srfi-69 hash)) 
<--

Error: shell command terminated with non-zero exit status 17920: 
'/usr/local/chicken-5.2.0/bin/chicken' 'utf8-srfi-14.scm' -output-file
'/home/dortmann/.cache/chicken-install/utf8/utf8-srfi-14.c' -dynamic -feature 
chicken-compile-shared -feature compiling-extension
-emit-all-import-libraries -regenerate-import-libraries -setup-mode 
-include-path /home/dortmann/.cache/chicken-install/utf8
-fixnum-arithmetic -inline -local

Error: shell command terminated with nonzero exit code
256
"sh /home/dortmann/.cache/chicken-install/utf8/utf8.build.sh"
$

I cannot reproduce this error on my system.  It also doesn't happen on
our test machines.

Some questions that might help us help you:

Does it happen only with the utf8 egg or with any egg?

How did you build CHICKEN?

Can you please share some details on your system (operating system, C
compiler)?

All the best.
Mario




Re: CHICKEN 5.2.0 has been released

2020-03-04 Thread Mario Domenech Goulart
Hi Daniel,

On Wed, 4 Mar 2020 13:47:27 -0600 Daniel Ortmann  
wrote:

> Ideas?
>
> $ chicken-install -version
> 5.2.0
> $ which chicken-install
> /usr/local/chicken-5.2.0/bin/chicken-install
> $ rm -rf ~/.cache/*
> $ ll ~/.cache/
> total 0
> $ chicken-install utf8
> building utf8
> /usr/local/chicken-5.2.0/bin/csc -host -D compiling-extension -J -s 
> -regenerate-import-libraries -setup-mode -I
> /home/dortmann/.cache/chicken-install/utf8 -C 
> -I/home/dortmann/.cache/chicken-install/utf8 -fixnum-arithmetic -inline 
> -local -O3 -d0
> utf8-lolevel.scm -o /home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.so
> /usr/local/chicken-5.2.0/bin/csc -regenerate-import-libraries -M -setup-mode 
> -static -I /home/dortmann/.cache/chicken-install/utf8
> -emit-link-file /home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.link 
> -host -D compiling-extension -c -unit utf8-lolevel -D
> compiling-static-extension -C -I/home/dortmann/.cache/chicken-install/utf8 
> -fixnum-arithmetic -inline -local -O3 -d0 utf8-lolevel.scm -o
> /home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.static.o
> /usr/local/chicken-5.2.0/bin/csc -setup-mode -s -host -I 
> /home/dortmann/.cache/chicken-install/utf8 -C
> -I/home/dortmann/.cache/chicken-install/utf8 -fixnum-arithmetic -inline 
> -local -O3 -d0 utf8-lolevel.import.scm -o
> /home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.import.so
> /usr/local/chicken-5.2.0/bin/csc -host -D compiling-extension -J -s 
> -regenerate-import-libraries -setup-mode -I
> /home/dortmann/.cache/chicken-install/utf8 -C 
> -I/home/dortmann/.cache/chicken-install/utf8 -fixnum-arithmetic -inline 
> -local utf8-srfi-14.scm
> -o /home/dortmann/.cache/chicken-install/utf8/utf8-srfi-14.so
>
> Error: (load) during expansion of (import ...) - unable to load compiled 
> module - ./utf8-lolevel.import.so: failed to map segment from shared
> object: Operation not permitted: "./utf8-lolevel.import.so"
>
> Call history:
>
>  (##core#begin (module utf8-srfi-14 (char-set char-set? char-set-copy 
> char-set-hash list->char-set li...
>  (module utf8-srfi-14 (char-set char-set? char-set-copy char-set-hash 
> list->char-set list->char-set! ...
>  (##core#module utf8-srfi-14 (char-set char-set? char-set-copy 
> char-set-hash list->char-set list->cha...
>  (import scheme (chicken base) iset utf8-lolevel (only srfi-69 hash)) 
> <--
>
> Error: shell command terminated with non-zero exit status 17920: 
> '/usr/local/chicken-5.2.0/bin/chicken' 'utf8-srfi-14.scm' -output-file
> '/home/dortmann/.cache/chicken-install/utf8/utf8-srfi-14.c' -dynamic -feature 
> chicken-compile-shared -feature compiling-extension
> -emit-all-import-libraries -regenerate-import-libraries -setup-mode 
> -include-path /home/dortmann/.cache/chicken-install/utf8
> -fixnum-arithmetic -inline -local
>
> Error: shell command terminated with nonzero exit code
> 256
> "sh /home/dortmann/.cache/chicken-install/utf8/utf8.build.sh"
> $ 

I cannot reproduce this error on my system.  It also doesn't happen on
our test machines.

Some questions that might help us help you:

Does it happen only with the utf8 egg or with any egg?

How did you build CHICKEN?

Can you please share some details on your system (operating system, C
compiler)?

All the best.
Mario
-- 
http://parenteses.org/mario



Re: CHICKEN 5.2.0 has been released

2020-03-04 Thread Daniel Ortmann

Ideas?

$ chicken-install -version
5.2.0
$ which chicken-install
/usr/local/chicken-5.2.0/bin/chicken-install
$ rm -rf ~/.cache/*
$ ll ~/.cache/
total 0
$ chicken-install utf8
building utf8
   /usr/local/chicken-5.2.0/bin/csc -host -D compiling-extension -J -s 
-regenerate-import-libraries -setup-mode -I 
/home/dortmann/.cache/chicken-install/utf8 -C 
-I/home/dortmann/.cache/chicken-install/utf8 -fixnum-arithmetic -inline 
-local -O3 -d0 utf8-lolevel.scm -o 
/home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.so
   /usr/local/chicken-5.2.0/bin/csc -regenerate-import-libraries -M 
-setup-mode -static -I /home/dortmann/.cache/chicken-install/utf8 
-emit-link-file 
/home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.link -host -D 
compiling-extension -c -unit utf8-lolevel -D compiling-static-extension 
-C -I/home/dortmann/.cache/chicken-install/utf8 -fixnum-arithmetic 
-inline -local -O3 -d0 utf8-lolevel.scm -o 
/home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.static.o
   /usr/local/chicken-5.2.0/bin/csc -setup-mode -s -host -I 
/home/dortmann/.cache/chicken-install/utf8 -C 
-I/home/dortmann/.cache/chicken-install/utf8 -fixnum-arithmetic -inline 
-local -O3 -d0 utf8-lolevel.import.scm -o 
/home/dortmann/.cache/chicken-install/utf8/utf8-lolevel.import.so
   /usr/local/chicken-5.2.0/bin/csc -host -D compiling-extension -J -s 
-regenerate-import-libraries -setup-mode -I 
/home/dortmann/.cache/chicken-install/utf8 -C 
-I/home/dortmann/.cache/chicken-install/utf8 -fixnum-arithmetic -inline 
-local utf8-srfi-14.scm -o 
/home/dortmann/.cache/chicken-install/utf8/utf8-srfi-14.so


Error: (load) during expansion of (import ...) - unable to load compiled 
module - ./utf8-lolevel.import.so: failed to map segment from shared 
object: Operation not permitted: "./utf8-lolevel.import.so"


    Call history:

      (##core#begin (module utf8-srfi-14 (char-set 
char-set? char-set-copy char-set-hash list->char-set li...
      (module utf8-srfi-14 (char-set char-set? 
char-set-copy char-set-hash list->char-set list->char-set! ...
      (##core#module utf8-srfi-14 (char-set 
char-set? char-set-copy char-set-hash list->char-set list->cha...
      (import scheme (chicken base) iset 
utf8-lolevel (only srfi-69 hash))  <--


Error: shell command terminated with non-zero exit status 17920: 
'/usr/local/chicken-5.2.0/bin/chicken' 'utf8-srfi-14.scm' -output-file 
'/home/dortmann/.cache/chicken-install/utf8/utf8-srfi-14.c' -dynamic 
-feature chicken-compile-shared -feature compiling-extension 
-emit-all-import-libraries -regenerate-import-libraries -setup-mode 
-include-path /home/dortmann/.cache/chicken-install/utf8 
-fixnum-arithmetic -inline -local


Error: shell command terminated with nonzero exit code
256
"sh /home/dortmann/.cache/chicken-install/utf8/utf8.build.sh"
$


On 2/29/20 8:10 AM, Peter Bex wrote:

Dear CHICKEN users,

We are pleased to announce the immediate availability of CHICKEN 5.2.0
at the following URL:
https://code.call-cc.org/releases/5.2.0/chicken-5.2.0.tar.gz

This tarball has the following SHA256 checksum:
819149c8ce7303a9b381d3fdc1d5765c5f9ac4dee6f627d1652f47966a8780fa

This is mostly a maintenance and bugfix release, and it is recommended
to update to this version if you're already running CHICKEN 5.  Of
course, if you're still running CHICKEN 4, now is also a great time to
switch to 5 :)

One important change might cause breakage of existing code: CHICKEN will
now error out when you use -c with multiple files (see #1655 for more
info).

Thanks to everyone who helped to test this release.

For a full list of the changes since 5.1.0, see the NEWS file:
https://code.call-cc.org/releases/5.2.0/NEWS

Kind regards,
The CHICKEN Team




CHICKEN 5.2.0 has been released

2020-02-29 Thread Peter Bex
Dear CHICKEN users,

We are pleased to announce the immediate availability of CHICKEN 5.2.0
at the following URL:
https://code.call-cc.org/releases/5.2.0/chicken-5.2.0.tar.gz

This tarball has the following SHA256 checksum:
819149c8ce7303a9b381d3fdc1d5765c5f9ac4dee6f627d1652f47966a8780fa

This is mostly a maintenance and bugfix release, and it is recommended
to update to this version if you're already running CHICKEN 5.  Of
course, if you're still running CHICKEN 4, now is also a great time to
switch to 5 :)

One important change might cause breakage of existing code: CHICKEN will
now error out when you use -c with multiple files (see #1655 for more
info).

Thanks to everyone who helped to test this release.

For a full list of the changes since 5.1.0, see the NEWS file:
https://code.call-cc.org/releases/5.2.0/NEWS

Kind regards,
The CHICKEN Team


signature.asc
Description: PGP signature