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

2017-03-01 Thread Andy Wingo
On Thu 02 Mar 2017 06:19, "Christian Jullien" writes: > 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. Thanks for checking. The changes I refer to haven't been released yet and will be in 2.0.15. Cheers, Andy

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 Us

bug#25293: More descriptive page titles in documentation?

2017-03-01 Thread Andy Wingo
On Wed 01 Mar 2017 19:40, Gavin Smith writes: > 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 >>

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 interf

bug#25922: pkgsrc patches: older Darwin support

2017-03-01 Thread Thomas Klausner
Another pkgsrc patch concerns itself with supporting older Darwin releases, attached. Can you please merge it? Thomas $NetBSD: patch-libguile_stime.c,v 1.1 2016/10/19 14:56:17 adam Exp $ Fix building on Darwin. --- libguile/stime.c.orig 2016-10-19 07:55:02.0 + +++ libguile/stim

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 wrote: > On

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: > > Procedures as V

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)) >>> (with-dynamic-state x (lambda () (/ 1 0)

bug#25912: 2.1.7 segfaults on cygwin

2017-03-01 Thread Andy Wingo
On Wed 01 Mar 2017 11:27, szgyg writes: > 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? Could it be some mprotect issue? static-patch is a bytecode that is used when doing run-time relocatio

bug#25791: address argument to atomic operation must be a pointer to _Atomic type with 2.1.7 on macOS

2017-03-01 Thread Andy Wingo
On Sun 19 Feb 2017 09:41, ilove zfs writes: > On macOS 10.11 and 10.12 building with Xcode 8, guile 2.1.7 fails to compile > with several errors saying "address argument to atomic operation must be a > pointer to _Atomic type." I > can avoid this by setting ac_cv_header_stdatomic_h=no. > > Buil

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' unde

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 using

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 --listen=/tmp/guile-socket > > then you'll

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); > >scm_puts("\nThe string to displ

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#25384: Compiler mis-identifies source location of erroneous parenthesis pairs

2017-03-01 Thread Andy Wingo
On Sat 07 Jan 2017 16:51, Mike Gran writes: > In guile 2.0.13, both the compiler and the interpreter > fail to identify the source location of errors of the following > form. It instead reports the errors as occurring in boot-9.scm. > (unknown-func unknown-symbol () #t) > GUILD COMPILE ERROR > ;

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: >> >> ERROR

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)> ,tracepoint foo > Trap 0: Tra

bug#25293: More descriptive page titles in documentation?

2017-03-01 Thread Andy Wingo
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: Procedures as Values: Guile Reference Manual instead of Guile Reference

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) (write text)) > > s

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 (addr=0x558f7700, mark_stack_ptr=, >>> mark_stack_limit=0x7fffc0f

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, scm_tc7_dynamic_state); >

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! Andy

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 (with-fluid* _ _ _) >> In ice-9/eval.scm: >>

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") > "Hello"scheme@(guile-user) [5

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 should not segfault. > > I agree.

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 05:38:53.0 -0800 > ***

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 can happen: > > $ guile

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 procedure is destructiv

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 is that current guile data

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 1 exit status Thi

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 GUILE_LOAD_PATH=/Users/rjr/Document

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 G

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 GUILE_LOAD_PATH=/Users/rjr/Documents/build/gui

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 GUILE_LOAD_PATH > /opt/local/var/

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: > /Users/jens/open-source/Source/guile-2.

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 gmp to be shared. > > Here'

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 program that: - reads urls from a text file

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 otherwise the document

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 statically linked program can dlop

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 report :) Andy

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 anticipate having native code genera

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 > [...] > > That is, the 'D

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 (not in > a functio

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 by a call at li