unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: 22271@debbugs.gnu.org
Subject: bug#22271: Cannot use u32vector-set! from (srfi srfi-4)
Date: Tue, 29 Dec 2015 20:47:42 -0500	[thread overview]
Message-ID: <87mvssg11d.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (raw)

Using Guile built from the master branch at commit
a9c2606451aebc708f75d0cb02a0b1aa84eec904, I am experiencing a strange
issue when trying to use u32vector-set in the (srfi srfi-4) module.  I
suspect this is indicative of a more general problem, but I can't really
say because I am completely confused. :)

    $ guile
    GNU Guile UNKNOWN
    Copyright (C) 1995-2014 Free Software Foundation, Inc.
    
    Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
    This program is free software, and you are welcome to redistribute it
    under certain conditions; type `,show c' for details.
    
    Enter `,help' for help.
    scheme@(guile-user)> ,use (srfi srfi-4)
    scheme@(guile-user)> u32vector-set!
    ERROR: ERROR: In procedure private-lookup: No variable bound to u32vector-set! in module (guile)
    
    Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.


For the record, I built Guile using Guix and the following recipe:

    (use-modules (guix packages)
                 (guix git-download)
                 (guix utils)                 
                 (gnu packages)
                 (gnu packages autotools)
                 (gnu packages pkg-config)
                 (gnu packages texinfo)
                 (gnu packages guile)
                 (gnu packages flex)
                 (gnu packages texinfo)
                 (gnu packages gettext))

    (package (inherit guile-2.0)
        (name "guile-next")
        (version "2.1.1")
        (source (origin
                  (method git-fetch)
                  (uri (git-reference
                        (url "git://git.sv.gnu.org/guile.git")
                        (commit "a9c2606")))
                  (sha256
                   (base32
                    "1by0zlk2xbgfj7h20yyj5za0g39dbhiasqfvqrz563ixgx8k0m1l"))))
        (arguments
         (substitute-keyword-arguments `(#:tests? #f
                                         ,@(package-arguments guile-2.0))
           ((#:phases phases)
            `(modify-phases ,phases
               (add-after 'unpack 'autogen
                          (lambda _
                            (zero? (system* "sh" "autogen.sh"))))
               (add-before 'autogen 'patch-/bin/sh
                           (lambda _
                             (substitute* "build-aux/git-version-gen"
                               (("#!/bin/sh") (string-append "#!" (which "sh"))))
                             #t))))))
        (native-inputs
         `(("autoconf" ,autoconf)
           ("automake" ,automake)
           ("libtool" ,libtool)
           ("gettext" ,gnu-gettext)
           ("flex" ,flex)
           ("texinfo" ,texinfo)
           ,@(package-native-inputs guile-2.0)))
        (synopsis "Snapshot of what will become version 2.2 of GNU Guile"))

Hope this helps!

-- 
David Thompson
GPG Key: 0FF1D807





             reply	other threads:[~2015-12-30  1:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30  1:47 David Thompson [this message]
2016-07-11 22:10 ` bug#22271: Cannot use u32vector-set! from (srfi srfi-4) Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mvssg11d.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me \
    --to=dthompson2@worcester.edu \
    --cc=22271@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).