unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69550: smithforth: missing source (?)
@ 2024-03-04 19:07 Christopher Howard
  2024-09-10 13:52 ` Simon Tournier
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Howard @ 2024-03-04 19:07 UTC (permalink / raw)
  To: 69550

Hi, I think the smithforth package is nice addition to Guix. However, if I run the command to get the source...

``` 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...?

``` guix show smithforth
name: smithforth
version: 220711
outputs:
+ out: everything
systems: x86_64-linux
dependencies: xxd@9.1.0146
location: gnu/packages/forth.scm:67:2
homepage: https://dacvs.neocities.org/SF/
license: Expat No Attribution
synopsis: Forth programming language for x86-64 desktop computers  
description: SmithForth is an implementation of the Forth programming language
+ for x86-64 desktop computers.  SmithForth is a text interpreter that runs in a
+ Linux text console.
```

``` guix describe
Generation 57	Mar 04 2024 06:56:57	(current)
  guix 9321cf7
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 9321cf7f51eb6dc3fe49d4302eed4e47a52284e2
```

-- 
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com

בראשית ברא אלהים את השמים ואת הארץ




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#69550: smithforth: missing source (?)
  2024-03-04 19:07 bug#69550: smithforth: missing source (?) Christopher Howard
@ 2024-09-10 13:52 ` Simon Tournier
  2024-09-10 17:37   ` Christopher Howard
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Tournier @ 2024-09-10 13:52 UTC (permalink / raw)
  To: Christopher Howard; +Cc: 69550

Hi,

On Mon, 04 Mar 2024 at 10:07, Christopher Howard <christopher@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#69550: smithforth: missing source (?)
  2024-09-10 13:52 ` Simon Tournier
@ 2024-09-10 17:37   ` Christopher Howard
  2024-09-20 16:26     ` Simon Tournier
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Howard @ 2024-09-10 17:37 UTC (permalink / raw)
  To: Simon Tournier; +Cc: 69550

Simon Tournier <zimon.toutoune@gmail.com> writes:

> Therefore, you can run:
>
> $ guix build smithforth --sources=all
> /gnu/store/4w4v7zv4vif2k55g9srmv57fg5icpl94-SForth220711dmp.txt
> /gnu/store/lvrkhx3yzjk58ma99vyp0blvr2whbvpr-system220711fs.txt
>
> 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?
>

My first thought would be to merge this bug into 73073, if that is possible, so folks looking at 73073 can see the connection to this report.

-- 
Christopher Howard




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#69550: smithforth: missing source (?)
  2024-09-10 17:37   ` Christopher Howard
@ 2024-09-20 16:26     ` Simon Tournier
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Tournier @ 2024-09-20 16:26 UTC (permalink / raw)
  To: Christopher Howard; +Cc: 69550-done

Hi,

On mar., 10 sept. 2024 at 09:37, Christopher Howard <christopher@librehacker.com> wrote:
> Simon Tournier <zimon.toutoune@gmail.com> writes:
>
>> Therefore, you can run:
>>
>> $ guix build smithforth --sources=all
>> /gnu/store/4w4v7zv4vif2k55g9srmv57fg5icpl94-SForth220711dmp.txt
>> /gnu/store/lvrkhx3yzjk58ma99vyp0blvr2whbvpr-system220711fs.txt
>>
>> 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?

Since it’s not a bug, closing.


> My first thought would be to merge this bug into 73073, if that is
> possible, so folks looking at 73073 can see the connection to this
> report. 

I would prefer to not add to the already long thread. :-)

For future cross-reference, here details:

        [bug#73073] [PATCH 0/6] Allow origin with label as inputs.
        Simon Tournier <zimon.toutoune@gmail.com>
        Fri, 06 Sep 2024 17:51:14 +0200
        id:cover.1725636992.git.zimon.toutoune@gmail.com
        https://issues.guix.gnu.org/73073
        https://issues.guix.gnu.org/msgid/cover.1725636992.git.zimon.toutoune@gmail.com
        https://yhetil.org/guix/cover.1725636992.git.zimon.toutoune@gmail.com

Cheers,
simon




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-20 17:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 19:07 bug#69550: smithforth: missing source (?) Christopher Howard
2024-09-10 13:52 ` Simon Tournier
2024-09-10 17:37   ` Christopher Howard
2024-09-20 16:26     ` Simon Tournier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).