Jens Thiele | 21 Nov 21:24 2015
Picon

Floating point literal parsed incorrectly

gosh> (gauche-version)
"0.9.4"
gosh> 0e324
0.0
gosh> 0e325
+inf.0

via
https://github.com/racket/racket/issues/1140

------------------------------------------------------------------------------
Jens Thiele | 12 Nov 10:02 2015
Picon

test sometimes fails: test wait-all timeout: expects #f => got #t

Sometimes i get:
Testing control ...                                              failed.
discrepancies found.  Errors are:
test wait-all timeout: expects #f => got #t

------------------------------------------------------------------------------
Jens Thiele | 28 Oct 22:16 2015
Picon

separate build directory fails again

Hi,

didn't inspect the details yet, but the script below fails again while
building with separate build directory:
make[2]: Entering directory '/home/karme/b/build/ext/util'
../../src/gosh -ftest ../../../Gauche/src/precomp -e -P -o util--match ../../../Gauche/libsrc/util/match.scm
Makefile:25: recipe for target 'util--match.c' failed
make[2]: *** [util--match.c] Segmentation fault
make[2]: Leaving directory '/home/karme/b/build/ext/util'
Makefile:37: recipe for target 'util' failed
make[1]: *** [util] Error 2
make[1]: Leaving directory '/home/karme/b/build/ext'
Makefile:38: recipe for target 'all' failed
make: *** [all] Error 1

Core was generated by `../../src/gosh -ftest ../../../Gauche/src/precomp -e -P -o util--match ../../..'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f7f0450ccce in Scm_Assq (obj=obj <at> entry=0x1cc9c80, alist=0x0) at ../../Gauche/src/list.c:507
507         if (!SCM_LISTP(alist)) Scm_Error("assq: list required, but got %S", alist);
[Current thread is 1 (Thread 0x7f7f04bb7740 (LWP 14850))]
(gdb) i s
#0  0x00007f7f0450ccce in Scm_Assq (obj=obj <at> entry=0x1cc9c80, alist=0x0) at ../../Gauche/src/list.c:507
#1  0x00007f7f0450d843 in Scm_PairAttrSet (pair=pair <at> entry=0x1dc2d40, key=key <at> entry=0x1cc9c80, value=value <at> entry=0x1d33ce0)
    at ../../Gauche/src/list.c:743
#2  0x00007f7f045936de in liblistpair_attribute_setX (SCM_FP=<optimized out>,
SCM_ARGCNT=<optimized out>, data_=<optimized out>)
    at ../../Gauche/src/liblist.scm:736
#3  0x00007f7f044ee3d3 in run_loop () at ../../Gauche/src/./vmcall.c:187
#4  0x00007f7f044f5344 in user_eval_inner (program=<optimized out>,
codevec=codevec <at> entry=0x7ffec82469d0) at ../../Gauche/src/vm.c:1472
(Continue reading)

Picon

Supporting the .sld extension for R7RS libraries

Good day,

The .sld extension (for "Scheme Library Definition") has caught some
traction and allows for easy identification of R7RS libraries opposed to
other Scheme libraries.  Would it be possible for Gauche to support this
as well?  So '(import (foo bar baz))' would open '$path/foo/bar/baz.sld'.

Kind regards,
Taylan

------------------------------------------------------------------------------
Andy Keep (akeep | 2 Aug 06:29 2015
Picon

[Call For Participation] Scheme and Functional Programming Workshop 2015

========================================================================

Call For Participation:

Scheme and Functional Programming Workshop 2015
Vancouver, British Columbia, Canada
(Co-located with ICFP 2015)

http://andykeep.com/SchemeWorkshop2015/


========================================================================

Important Dates:

August 3rd, 2015 - Early Registration Deadline
September 4th, 2015 - Workshop

========================================================================

Accepted Papers:

* R7RS Considered Unifier of Previous Standards
  William D Clinger (Northeastern University)

* State Exploration Choices in a Small-Step Abstract Interpreter
  Steven Lyde and Matthew Might (University of Utah)

* Towards a Foundation for Extending microKanren Constraints
  Jason Hemann and Daniel P. Friedman (Indiana University)

(Continue reading)

Lasse Kliemann | 23 May 14:20 2015
Picon

build hangs in util/match.scm

Host Gauche: a6c1e72
Version of Gauche I try to build: 60a1ea2

uname -a:
Linux sunrise 3.13.0-52-generic #86~precise1-Ubuntu SMP Tue May 5 18:08:21 UTC 2015 x86_64 x86_64
x86_64 GNU/Linux

gcc --version:
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

autoconf --version:
autoconf (GNU Autoconf) 2.69

./DIST gen
./configure
make

[...]

(cd util; make default)
make[2]: Entering directory `/home/snyder/privsep/work/10/gauche.git/ext/util'
../../src/gosh -ftest ../../src/precomp -e -P -o util--match ../../libsrc/util/match.scm

At this point, it hangs and gathers memory seemingly to no end (I killed
it around 11 GB).

If it helps, here is output after hitting C-c:

    While compiling "../../lib/gauche/regexp.scm" at line 131: (define (regexp-unparse ast :key
(on-error :error)) (define (doit) (call-with-output-string (cut rege ...
(Continue reading)

Lasse Kliemann | 22 May 14:14 2015
Picon

file lock released by sort/filter/every-pred

(use gauche.fcntl)
(use file.util)

(let ((port (open-output-file "/tmp/test.lock"))
      (flock (make <sys-flock>)))
  (slot-set! flock 'type F_WRLCK)
  (if (sys-fcntl port F_SETLK flock)
      (print "got lock")
      (print "no luck")))

(sort (filter (every-pred) '()))

(sys-sleep 100)
(sys-exit 0)

This will print "got lock" even if started multiple times in parallel.

Removing the sort/filter/every-pred line makes it print "no luck" on the
second and so on parallel process, which is what I would expect.

Each of the following changes will also lead to the correct locking
behavior:

* Replacing the sort/filter/every-pred line with:
  (filter (every-pred) '())

* Replacing the sort/filter/every-pred line with:
  (sort (filter (^ args #t) '()))

* Making the 'let' block span the whole program.
(Continue reading)

Andy Keep (akeep | 22 May 04:10 2015
Picon

[CFP] *DEADLINE EXTENDED* Scheme and Functional Programming Workshop 2015

========================================================================

DEADLINE EXTENDED: Submissions is now May 31st, 2015 

Call For Papers: 

Scheme and Functional Programming Workshop 2015 
Vancouver, British Columbia, Canada
(Co-located with ICFP 2015)

http://andykeep.com/SchemeWorkshop2015/ 

======================================================================== 

Submissions related to Scheme, Racket, Clojure, and functional 
programming are welcome and encouraged. Topics of interest include
but are not limited to:

* Program-development environments, debugging, testing 
* Implementation (interpreters, compilers, tools, benchmarks, etc.)
* Syntax, macros, hygiene
* Distributed computing, concurrency, parallelism
* Interoperability with other languages, FFIs
* Continuations, modules, object systems, types
* Theory, formal semantics, correctness
* History, evolution and standardization of Scheme
* Applications, experience and industrial uses of Scheme
* Education
* Scheme pearls (elegant, instructive uses of Scheme)

(Continue reading)

Lasse Kliemann | 21 May 22:24 2015
Picon

Feature Request: sys-setgroups or similar

Greetings, I understand that sys-setuid and sys-setgid are implemented,
however there is at this time no way to influence supplementary
groups. In my application, I have to drop privileges from a root:root
process. Doing so just with setuid and setgid will leave root in the
list of supplementary groups, which can be a security problem.

It would be sufficient for me to have a function that sets the list of
supplementary groups to exactly one group, given as a parameter. Could
something like that be added please? Thanks a lot.

-- 
Kind Regards / MfG
Dr. Lasse Kliemann
Westring 269, 24116 Kiel, Germany
E-Mail: lasse <at> lassekliemann.de
OpenPGP Key: 0x4296A3E08903D018
Phone: +49 162 66 88 468
Web: http://lassekliemann.de
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
(Continue reading)

Andy Keep (akeep | 18 May 06:37 2015
Picon

[CFP] SECOND NOTICE: Scheme and Functional Programming Workshop 2015

========================================================================

SECOND NOTICE: DEADLINE THIS FRIDAY!
Call For Papers:

Scheme and Functional Programming Workshop 2015
Vancouver, British Columbia, Canada
(Co-located with ICFP 2015)

http://andykeep.com/SchemeWorkshop2015/

========================================================================

Submissions related to Scheme, Racket, Clojure, and functional
programming are welcome and encouraged. Topics of interest include
but are not limited to:

  * Program-development environments, debugging, testing
  * Implementation (interpreters, compilers, tools, benchmarks, etc.)
  * Syntax, macros, hygiene
  * Distributed computing, concurrency, parallelism
  * Interoperability with other languages, FFIs
  * Continuations, modules, object systems, types
  * Theory, formal semantics, correctness
  * History, evolution and standardization of Scheme
  * Applications, experience and industrial uses of Scheme
  * Education
  * Scheme pearls (elegant, instructive uses of Scheme)

We also welcome submissions related to dynamic or multiparadigmatic
languages and programming techniques.

========================================================================

Important Dates:

May 22nd, 2015 - Paper deadline
June 26th, 2015 - Author notification
July 19th, 2015 - Camera-ready deadline
September 4th, 2015 - Workshop

========================================================================

Submissions must be in ACM proceedings format, no smaller than 9-point
type (10-point type preferred). Microsoft Word and LaTeX templates for
this format are available at:
http://www.acm.org/sigs/sigplan/authorInformation.htm

Submissions should be in PDF and printable on US Letter.

To encourage authors to submit their best work, this year we are
encouraging shorter papers (around 6 pages, excluding references). This
is to allow authors to submit longer, revised versions of their papers
to archival conferences or journals. Longer papers (10--12 pages) are
also acceptable, if the extra space is needed. There is no maximum
length limit on submissions, but good submissions will likely be in the
range of 6 to 12 pages.

More information available at: http://andykeep.com/SchemeWorkshop2015/

========================================================================

Organizers:
Andy Keep, Cisco Systems Inc. (General Chair)
Ryan Culpepper, Northeastern University (Program Chair)

(Apologies for duplications from cross-posting.)

========================================================================
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
Jens Thiele | 2 May 14:00 2015
Picon

build failure with read-only source directory

while inspecting the seperate build directory problems, i found that
uvgen.scm writes to the source directory.

I suggest something similar to (didn't look wether the name of the
temporary file matters at all - likely not):

diff --git a/ext/uvector/uvgen.scm b/ext/uvector/uvgen.scm
index 8636004..e8dd5cf 100644
--- a/ext/uvector/uvgen.scm
+++ b/ext/uvector/uvgen.scm
 <at>  <at>  -54,7 +54,7  <at>  <at> 
              (p "\"" (regexp-replace-all #/[\\\"]/ line "\\\\\\0") "\"")
              (loop (read-line))])))

-  (receive (out name) (sys-mkstemp tmpl-file)
+  (receive (out name) (sys-mkstemp (string-append (temporary-directory) "/" (sys-basename tmpl-file)))
     (unwind-protect
      (begin
        (with-output-to-port out

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

Gmane