GNU bug report logs - #69550
smithforth: missing source (?)

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Mon, 4 Mar 2024 19:09:02 UTC

Severity: normal

Done: Simon Tournier <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: 69550 <at> debbugs.gnu.org
Subject: bug#69550: smithforth: missing source (?)
Date: Tue, 10 Sep 2024 15:52:45 +0200
Hi,

On Mon, 04 Mar 2024 at 10:07, Christopher Howard <christopher <at> librehacker.com> wrote:

> ``` guix build -S smithforth
> /gnu/store/4w4v7zv4vif2k55g9srmv57fg5icpl94-SForth220711dmp.txt
> ```
>
> ...I only get the annotated header/opcode file. However, the forth system provided in the binary includes also the words defined here:
>
> {https://dacvs.neocities.org/SF/system220711fs.txt}
>
> It seems to me that `guix build -S' should return both these files in some form. Maybe in a tar file...?

No, “guix build -S” returns the ’source’ of the package, i.e., only one
’origin’.  Here it reads:

    (source
      (origin
        (method url-fetch)
        (uri (string-append "https://dacvs.neocities.org/SF/SForth"
                            version "dmp.txt"))
        (sha256
          (base32 "0a39pv7529llsa3f48fmvwvlcp3f9v8qkn5ziw2l6kxf0qvli3lm"))))

The other is listed as inputs:

    (native-inputs (list xxd
                         (origin
                           (method url-fetch)
                           (uri (string-append
                                 "https://dacvs.neocities.org/SF/system"
                                 version "fs.txt"))
                           (sha256
                            (base32
                             "17v1pp64s6n8q8w3kg48nd7zdcx2208y4svr5fpfms5lkyzg7z1m")))))

Therefore, you can run:

--8<---------------cut here---------------start------------->8---
$ guix build smithforth --sources=all
/gnu/store/4w4v7zv4vif2k55g9srmv57fg5icpl94-SForth220711dmp.txt
/gnu/store/lvrkhx3yzjk58ma99vyp0blvr2whbvpr-system220711fs.txt
--8<---------------cut here---------------end--------------->8---

However, this does not work as-is yet; you need
<https://issues.guix.gnu.org/73073>.

Well, I think that’s not a bug.  WDYT?  Closing?

Cheers,
simon




This bug report was last modified 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.