smithforth: missing source (?)

  • Done
  • quality assurance status badge
Details
2 participants
  • Christopher Howard
  • Simon Tournier
Owner
unassigned
Submitted by
Christopher Howard
Severity
normal

Debbugs page

Christopher Howard wrote 1 years ago
(name . Bug Guix)(address . bug-guix@gnu.org)
ZeYb_RbFdql2JDWy@theoden
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:


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
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
branch: master
commit: 9321cf7f51eb6dc3fe49d4302eed4e47a52284e2
```

--
馃摏 Christopher Howard
馃殌 gemini://gem.librehacker.com

讘专讗砖讬转 讘专讗 讗诇讛讬诐 讗转 讛砖诪讬诐 讜讗转 讛讗专抓
Simon Tournier wrote 6 months ago
(name . Christopher Howard)(address . christopher@librehacker.com)(address . 69550@debbugs.gnu.org)
87ldzzehua.fsf@gmail.com
Hi,

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

Toggle quote (10 lines)
> ``` 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)
version "dmp.txt"))
(sha256
(base32 "0a39pv7529llsa3f48fmvwvlcp3f9v8qkn5ziw2l6kxf0qvli3lm"))))

The other is listed as inputs:

(native-inputs (list xxd
(origin
(method url-fetch)
(uri (string-append
version "fs.txt"))
(sha256
(base32
"17v1pp64s6n8q8w3kg48nd7zdcx2208y4svr5fpfms5lkyzg7z1m")))))

Therefore, you can run:

Toggle snippet (5 lines)
$ 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

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

Cheers,
simon
Christopher Howard wrote 6 months ago
(name . Simon Tournier)(address . zimon.toutoune@gmail.com)(address . 69550@debbugs.gnu.org)
87o74vs93s.fsf@librehacker.com
Simon Tournier <zimon.toutoune@gmail.com> writes:

Toggle quote (12 lines)
> 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
Simon Tournier wrote 6 months ago
(name . Christopher Howard)(address . christopher@librehacker.com)(address . 69550-done@debbugs.gnu.org)
87setus346.fsf@gmail.com
Hi,

On mar., 10 sept. 2024 at 09:37, Christopher Howard <christopher@librehacker.com> wrote:
Toggle quote (13 lines)
> 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.


Toggle quote (4 lines)
> 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

Cheers,
simon
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 69550@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 69550
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help