bug#24681: undefined reference to `mktime_internal' on solaris sparc

2017-03-01 Thread Christian Jullien
Thank you Andy, By stable-2.0 branch, if you mean guile-2.0.14.tar.gz, I'm afraid this issue is still there. [jullien@pastre]~$ cd guile-2.0.14 [jullien@pastre]guile-2.0.14$ uname -a SunOS pastre 5.10 Generic_147147-26 sun4u sparc SUNW,Ultra-5_10 Solaris [jullien@pastre]guile-2.0.14$ gcc -v

bug#25923: pkgsrc patches: improve mkostemp support

2017-03-01 Thread Thomas Klausner
And the final pkgsrc patch tries to use only the flags for mkostemp that are supported on the operating system, in particular for Darwin and NetBSD. Please merge this one as well. Thanks, Thomas $NetBSD: patch-libguile_filesys.c,v 1.3 2017/02/21 15:55:28 gdt Exp $ When using mkostemp (an

bug#25921: pkgsrc patches: Dragonfly support

2017-03-01 Thread Thomas Klausner
Hi! We have a couple of patches in pkgsrc for guile which I'd like to see merged. The attached ones are for supporting DragonFly (https://www.dragonflybsd.org/) better. Can you please merge them? Thomas $NetBSD: patch-lib_signal.in.h,v 1.1 2016/12/03 03:15:33 marino Exp $ DragonFly support.

bug#25397: guile-2.2 regression in utf8 support in scm_puts scm_lfwrite scm_c_put_string

2017-03-01 Thread Linas Vepstas
In the bad old days, not every thing was documented ... My use of scm_puts dates back to guile-1.8. I only ever send it utf8. I can change my code, no problem,... I just thought I'd report a regression in case others are affected. Linas On Wednesday, March 1, 2017, Andy Wingo

bug#25293: More descriptive page titles in documentation?

2017-03-01 Thread Gavin Smith
On 1 March 2017 at 14:49, Andy Wingo wrote: > Hello Texinfo peoples, > > We have a suggestion that Guile's HTML manual, e.g. > > > https://www.gnu.org/software/guile/docs/master/guile.html/Procedures-as-Values.html#Procedures-as-Values > > should have the be defined like: > >

bug#20938: make-dynamic-state, with-dynamic-state & exceptions

2017-03-01 Thread Andy Wingo
On Wed 01 Mar 2017 16:11, Josep Portella Florit writes: > Hi Andy, > > On 02/28/2017 03:17 PM, Andy Wingo wrote: >> On Tue 30 Jun 2015 15:50, Josep Portella Florit writes: >> >>> This code crashes Guile 2.0.11: >>> >>> (define x (make-dynamic-state)) >>>

bug#25700: Undeclared variable stack_top in libguile/continuations.c

2017-03-01 Thread Andy Wingo
On Mon 13 Feb 2017 07:17, stefan-husm...@t-online.de writes: > with the latest commit 8e1af70c2c4ccc7fb19afa48ffd4662f95bb0f66 from git I get > > CC libguile_2.2_la-continuations.lo > continuations.c: In function 'scm_i_continuation_to_frame': > continuations.c:186:7: error: 'stack_top'

bug#25498: Crash in open-file; patch attached

2017-03-01 Thread Andy Wingo
On Sat 21 Jan 2017 01:34, Linas Vepstas writes: > The following crashes instantly; I used single-quotes by accident. > > (open-file "/tmp/lg" 'w') Fixed with a similar patch. Thanks :) Andy

bug#24630: guile-2.0.12: Comparison is always true warning - may cause problems.

2017-03-01 Thread Jens Bauer
Hi Andy. Thanks for looking into this. Your reply is correct and I can see that I made an error when manually reducing the expression. FIY: The warning shows up in GCC-4.2.1, not clang (I cannot run clang on any of my Macs, they're PowerPC based). -So the warning does show up when buiding

bug#25481: `guile --listen' broken on guile master

2017-03-01 Thread Andy Wingo
On Thu 19 Jan 2017 01:47, Christopher Allan Webber writes: > (originally accidentally sent to guile-devel instead of here, sorry for > xpost!) > > If you use the latest Guile, you'll find that "guile --listen" has > broken. If you try: > ./meta/guile

bug#25397: guile-2.2 regression in utf8 support in scm_puts scm_lfwrite scm_c_put_string

2017-03-01 Thread Andy Wingo
On Tue 10 Jan 2017 04:34, Linas Vepstas writes: > void *wrap_puts(void* p) > { >char *wtf = p; > >SCM port = scm_current_output_port (); > >scm_puts("the port-encoding is=", port); >scm_puts(scm_to_utf8_string(scm_port_encoding(port)), port); > >

bug#25386: This can be closed

2017-03-01 Thread Andy Wingo
On Wed 11 Jan 2017 07:14, Linas Vepstas writes: > This can be closed as 'fixed'; I tested on today's git > > guile (GNU Guile) 2.1.5.19-7e9395 > > and the worst of it seems to be over. mem usage growth on the > original test case: OK, closing :) Andy

bug#25307: bug report with guile-2.0.13

2017-03-01 Thread Andy Wingo
On Sun 12 Feb 2017 22:21, l...@gnu.org (Ludovic Courtès) writes: >> In unknown file: >> >>?: 1 [primitive-load >> "/u/work/oppe/guile-2.0.13/test-suite/tests/load.test"] >> >>?: 0 [mkdir "/u/US_SCRATCH4/oppe/guile-2.0.13/load-test.dir" #] >> >> >> >> ERROR: In procedure mkdir: >> >>

bug#25300: Trap infrastructure broken in Guile 2.2?

2017-03-01 Thread Andy Wingo
On Fri 30 Dec 2016 18:56, Christopher Allan Webber writes: > Guile 2.0.13: > > scheme@(guile-user)> (define (foo n) > (if (= n 0) > 'done > (foo (1- n > scheme@(guile-user)>

bug#24887: procedure-sources not working

2017-03-01 Thread Jean Louis
On Wed, Mar 01, 2017 at 03:09:06PM +0100, Andy Wingo wrote: > On Sat 05 Nov 2016 23:01, Jean Louis writes: > > > Sadly, the procedure-source is not working. This would be very useful > > for programming. > > > > Jean > > > > scheme@(guile-user) [50]> (define (dosomething text)

bug#25267: guile-2.2 crash in GC

2017-03-01 Thread Andy Wingo
On Tue 10 Jan 2017 07:45, Linas Vepstas writes: > On Mon, Jan 9, 2017 at 3:53 PM, Andy Wingo wrote: >> On Sat 24 Dec 2016 19:43, Linas Vepstas writes: >> >>> [Switching to Thread 0x7fffc0ff9700 (LWP 3680)] >>> thread_mark

bug#25238: guile-2.2 threading bug

2017-03-01 Thread Andy Wingo
On Tue 20 Dec 2016 21:13, Linas Vepstas writes: > Thread 7 "a.out" received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0x73306700 (LWP 23578)] > 0x77b03076 in is_dynamic_state (x=0x0) at ../../libguile/fluids.c:97 > 97 return SCM_HAS_TYP7 (x,

bug#25211: GOOPS #:class alocation broken in Guile 2.2

2017-03-01 Thread Andy Wingo
On Thu 15 Dec 2016 20:39, Christopher Allan Webber writes: > In Guile 2.2: > > (define-class () > (bar #:allocation #:class >#:init-value 'baz)) > > (slot-definition-allocation (class-slot-definition 'bar)) > => #:instance Fixed. Thanks for the report!

bug#24934: make check in 2.1.4 failed

2017-03-01 Thread Andy Wingo
On Mon 09 Jan 2017 22:45, Andy Wingo writes: > On Sun 13 Nov 2016 08:42, Jean Louis writes: > >> Running r4rs.test >> Backtrace: >>4 (primitive-load "/sources/guile/guile-2.1.4/test-suite/\u2026") >> In ice-9/boot-9.scm: >> 152:2 3

bug#24887: procedure-sources not working

2017-03-01 Thread Andy Wingo
On Sat 05 Nov 2016 23:01, Jean Louis writes: > Sadly, the procedure-source is not working. This would be very useful > for programming. > > Jean > > scheme@(guile-user) [50]> (define (dosomething text) (write text)) > scheme@(guile-user) [50]> (dosomething "Hello") >

bug#24884: Segfault on (mkstemp! "XX" 0)

2017-03-01 Thread Andy Wingo
On Wed 11 Jan 2017 22:33, Andy Wingo writes: > On Sat 05 Nov 2016 19:16, Jean Louis writes: > >> I was just testing a function, and before I figured out what is >> happening, it is segfaulting on: >> (mkstemp! "XX" 0) >> >> I don't say, I am using it right. It

bug#24862: guile 2.0.13 build error under macOS 10.12 Sierra

2017-03-01 Thread Andy Wingo
Hi Matt :) On Fri 11 Nov 2016 02:51, Matt Wette writes: > Here is a patch that gets mine working. Not sure it solves all the Sierra > issues. > > *** libguile/filesys.c-orig 2016-11-05 07:49:09.0 -0700 > --- libguile/filesys.c 2016-11-10

bug#24818: Clean up socket files set up by --listen=/path/to/socket-file

2017-03-01 Thread Andy Wingo
On Sat 29 Oct 2016 18:38, Christopher Allan Webber writes: > In light of the recent security vulnerability on using localhost + port, > I've been using socket files for live hacking. Unfortunately, these > socket files stay around after closing guile, which means this

bug#24816: Bug in (rnrs io ports) procedure open-string-output-port

2017-03-01 Thread Andy Wingo
On Sat 29 Oct 2016 12:29, Freja Nordsiek writes: > The "open-string-output-port" procedure in (rnrs io ports) returns two > values, a string port and a thunk that returns a string of the > characters written to the port so far. In the R6RS standard documents, > the reading

bug#24695: impossible to use weak hash tables inside gc hooks

2017-03-01 Thread Andy Wingo
On Fri 14 Oct 2016 20:54, Stefan Israelsson Tampe writes: > For more advanced gc concepts it would be nice to keep a set a objects > in a weak key hash table and at gc loop over the alive ones the > various gc hooks that is available for the c > coder. > > The problem

bug#24681: undefined reference to `mktime_internal' on solaris sparc

2017-03-01 Thread Andy Wingo
Hi Christian, On Thu 13 Oct 2016 08:03, "Christian Jullien" writes: > Trying to compile guile on solaris sparcs (I’m using gcc 6.2) I get: > > CC guile-guile.o > > CCLD guile > > ./.libs/libguile-2.0.so: undefined reference to `mktime_internal' > > collect2: error: ld returned

bug#24677: Failure in automatic tests for guile 2.0.13

2017-03-01 Thread Andy Wingo
On Wed 12 Oct 2016 18:49, Russell Rezaian writes: > Hello, > > Have just been building guile 2.0.13 on a small collection of Macs. Several > different OS versions. > > Compile completes successfully. > > When I run make check, however, I get an error: > > with

bug#25912: 2.1.7 segfaults on cygwin

2017-03-01 Thread szgyg
I got two identical segfaults from make -j2 on 32-bit cygwin, and three identical segfaults from make -j3 on 64-bit at the same point. Any idea? - Making all in bootstrap make[2]: Entering directory '/home/szgyg/usr/src/CYGPORT/guile2-2.1.7-0.i686/build/bootstrap' BOOTSTRAP

bug#24677: Failure in automatic tests for guile 2.0.13

2017-03-01 Thread Andy Wingo
On Wed 12 Oct 2016 18:49, Russell Rezaian writes: > Have just been building guile 2.0.13 on a small collection of Macs. Several > different OS versions. > > Compile completes successfully. > > When I run make check, however, I get an error: > > with

bug#24666: converting srfi-18.test to standalone test case for debugging

2017-03-01 Thread Andy Wingo
On Thu 20 Oct 2016 19:08, Jack Howarth writes: > I finally puzzled out how to run the srfi-18.test failing test case as > a stand alone one with... > > cd > /opt/local/var/macports/build/_Users_howarth_ports_lang_guile/guile/work/guile-2.0.13/test-suite > setenv

bug#24630: guile-2.0.12: Comparison is always true warning - may cause problems.

2017-03-01 Thread Andy Wingo
Hi, On Thu 06 Oct 2016 22:49, Jens Bauer writes: > I get the following warnings, when building on Mac OS X. > (It should show up for all platforms, though): > > In file included from > /Users/jens/open-source/Source/guile-2.0.12/libguile/numbers.c:9731: >

bug#24631: Mac OS X 10.5.8: build error, undefined symbols

2017-03-01 Thread Andy Wingo
Hi, On Thu 06 Oct 2016 23:07, Jens Bauer writes: > I'm trying to build autogen on Mac OS X 10.5.8. > Building all dependencies goes alright until I'm building guile. > I've built all libraries as static libraries and placed them in /opt, mostly > because I don't want

bug#24357: pure guile program leaks memory

2017-03-01 Thread Andy Wingo
On Mon 12 Sep 2016 19:47, Amirouche Boubekki writes: > On 2016-09-03 20:49, Amirouche Boubekki wrote: >> On 2016-09-03 11:54, Andy Wingo wrote: >>> On Sat 03 Sep 2016 09:20, Amirouche Boubekki >>> writes: >>> Using guile 2.1.3, I have a

bug#24363: Acknowledgement (Clarify the VM docs)

2017-03-01 Thread Andy Wingo
done

bug#24374: Favour docstrings for Guile functions

2017-03-01 Thread Andy Wingo
On Tue 06 Sep 2016 04:34, Wilfred Hughes writes: > Guile has many well-documented functions that use docstring conventions, but > aren't actual docstrings. > > This patch changes them to use proper docstrings. I've fixed a few typos, and > tweaked the wording on peek, but

bug#24219: Fwd: Compiling guile-2.0.12

2017-03-01 Thread Andy Wingo
On Sat 13 Aug 2016 16:10, Paul Emsley writes: > $ ./configure --prefix=$HOME/guile-2 --with-libltdl-prefix=$HOME/guile-2 > > checking for dlopen... no > checking for dlopen in -ldl... yes > checking whether a program can dlopen itself... yes > checking whether a

bug#24131: A problem with CPS

2017-03-01 Thread Andy Wingo
On Tue 02 Aug 2016 14:46, Tommi Höynälänmaa writes: > tohoyn@tohoyn-laptop:~/src/guile-2.1.3/guile-2.1.3.92-d2684/omat$ > ../meta/uninstalled-env guild compile -t cps hello.scm This is fixed in git and will be out in the next prerelease. Thanks for your bug

bug#24102: Use guile variable objects as SRFI-111 boxes.

2017-03-01 Thread Andy Wingo
On Wed 31 Aug 2016 11:03, Andy Wingo writes: > On Thu 18 Aug 2016 18:14, Mark H Weaver writes: > >> As I wrote above, the current guile compiler can already do this kind of >> type inference, although it does not currently do this for boxes. >> we can already

bug#24056: `DATA and 'DATA look the same in Guile INFO in emacs on tty & X11

2017-03-01 Thread Andy Wingo
On Fri 22 Jul 2016 22:09, myglc2 writes: > Hello Guile, > > You probably already know this, but, when viewing the Guile INFO on > emacs in tty or X11, the "Expression Syntax" part of the manual reads: > > [...] > (quote DATA) > ’DATA > [...] > (quasiquote DATA) > ‘DATA > [...]

bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER

2017-03-01 Thread Andy Wingo
Hi Thomas, On Sat 16 Jul 2016 11:13, Thomas Klausner writes: > On NetBSD, the build of guile-2.0.12 breaks early because > FLEXIBLE_ARRAY_MEMBER is not defined: > > In file included from strftime.c:33:0: > time-internal.h:48:14: error: 'FLEXIBLE_ARRAY_MEMBER' undeclared here

bug#23911: Cat broken pipe segmentation fault when building Guile

2017-03-01 Thread Andy Wingo
close

bug#23870: Guile 2.0.11 can't find clock_getcpuclockid on macOS 10.12 Sierra

2017-03-01 Thread Andy Wingo
close

bug#23870: Guile 2.0.11 can't find clock_getcpuclockid on macOS 10.12 Sierra

2017-03-01 Thread Andy Wingo
On Wed 29 Jun 2016 14:53, Rahul AG writes: > Guile version: 2.0.11 > Machine type: x86_64-apple-darwin16.0.0 > > macOS 10.12 introduces the `clock_gettime` family of functions, with slight > differences from the *BSD and Linux implementations. > > The failure in linking is caused