GNU bug report logs -
#58497
opam import doesn't work with ocaml_intrinsics among others
Previous Next
Reported by: Csepp <raingloom <at> riseup.net>
Date: Thu, 13 Oct 2022 16:14:02 UTC
Severity: normal
Done: Csepp <raingloom <at> riseup.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58497 in the body.
You can then email your comments to 58497 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#58497
; Package
guix
.
(Thu, 13 Oct 2022 16:14:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Csepp <raingloom <at> riseup.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 13 Oct 2022 16:14:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The error might not be the same for others, I have a slightly patched
opam->guix-package function.
guix import opam ocaml_intrinsics
Backtrace:
In ice-9/boot-9.scm:
1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
9 (apply-smob/0 #<thunk 7ff952d2f2e0>)
In ice-9/boot-9.scm:
724:2 8 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
619:8 7 (_ #(#(#<directory (guile-user) 7ff952d34c80>)))
In guix/ui.scm:
2263:7 6 (run-guix . _)
2226:10 5 (run-guix-command _ . _)
In guix/scripts/import.scm:
92:11 4 (guix-import . _)
In guix/scripts/import/opam.scm:
105:24 3 (guix-import-opam . _)
In guix/import/opam.scm:
385:24 2 (opam->guix-package _ #:repo _ #:version _)
In guix/import/utils.scm:
290:27 1 (beautify-description #f _)
In unknown file:
0 (string-trim-both #f #<undefined> #<undefined> #<undefi…>)
ERROR: In procedure string-trim-both:
In procedure string-trim-both: Wrong type argument in position 1 (expecting string): #f
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58497
; Package
guix
.
(Thu, 13 Oct 2022 16:38:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 58497 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
(beautify-description #f _)
Seems to be the cause. Yet, there is a description. Maybe parsing ends a bit too soon?
Le 13 octobre 2022 18:07:08 GMT+02:00, Csepp <raingloom <at> riseup.net> a écrit :
>The error might not be the same for others, I have a slightly patched
>opam->guix-package function.
>
>guix import opam ocaml_intrinsics
>Backtrace:
>In ice-9/boot-9.scm:
> 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
>In unknown file:
> 9 (apply-smob/0 #<thunk 7ff952d2f2e0>)
>In ice-9/boot-9.scm:
> 724:2 8 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
>In ice-9/eval.scm:
> 619:8 7 (_ #(#(#<directory (guile-user) 7ff952d34c80>)))
>In guix/ui.scm:
> 2263:7 6 (run-guix . _)
> 2226:10 5 (run-guix-command _ . _)
>In guix/scripts/import.scm:
> 92:11 4 (guix-import . _)
>In guix/scripts/import/opam.scm:
> 105:24 3 (guix-import-opam . _)
>In guix/import/opam.scm:
> 385:24 2 (opam->guix-package _ #:repo _ #:version _)
>In guix/import/utils.scm:
> 290:27 1 (beautify-description #f _)
>In unknown file:
> 0 (string-trim-both #f #<undefined> #<undefined> #<undefi…>)
>
>ERROR: In procedure string-trim-both:
>In procedure string-trim-both: Wrong type argument in position 1 (expecting string): #f
>
>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58497
; Package
guix
.
(Thu, 13 Oct 2022 16:39:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58497
; Package
guix
.
(Sun, 16 Oct 2022 19:46:01 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
Julien Lepiller <julien <at> lepiller.eu> writes:
> (beautify-description #f _)
>
> Seems to be the cause. Yet, there is a description. Maybe parsing ends a bit too soon?
That might explain issue 58112 as well. I have a workaround that gives
#f for description.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58497
; Package
guix
.
(Sun, 16 Oct 2022 19:46:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58497
; Package
guix
.
(Wed, 11 Oct 2023 10:38:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 58497 <at> debbugs.gnu.org (full text, mbox):
Hi,
It is about bug#58497 [1], and I cannot reproduce. I think the reported
bug had been fixed. I am in favor to close. WDYT?
1: https://issues.guix.gnu.org/issue/58497
On Thu, 13 Oct 2022 at 18:07, Csepp <raingloom <at> riseup.net> wrote:
> guix import opam ocaml_intrinsics
> Backtrace:
Using Guix 6113e05, I get:
--8<---------------cut here---------------start------------->8---
$ guix import opam ocaml_intrinsics
(package
(name "ocaml-intrinsics")
(version "0.16.0")
(source no-source-information)
(build-system dune-build-system)
(propagated-inputs (list ocaml-dune-configurator))
(properties `((upstream-name . "ocaml_intrinsics")))
(home-page "https://github.com/janestreet/ocaml_intrinsics")
(synopsis "Intrinsics")
(description
"This package provides functions to invoke amd64 instructions (such as
clz,popcnt,rdtsc,rdpmc) when available, or compatible software implementation on
other targets.")
(license license:expat))
--8<---------------cut here---------------end--------------->8---
Cheers,
simon
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58497
; Package
guix
.
(Thu, 12 Oct 2023 21:04:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 58497 <at> debbugs.gnu.org (full text, mbox):
Simon Tournier <zimon.toutoune <at> gmail.com> writes:
> Hi,
>
> It is about bug#58497 [1], and I cannot reproduce. I think the reported
> bug had been fixed. I am in favor to close. WDYT?
>
> 1: https://issues.guix.gnu.org/issue/58497
>
> On Thu, 13 Oct 2022 at 18:07, Csepp <raingloom <at> riseup.net> wrote:
>
>> guix import opam ocaml_intrinsics
>> Backtrace:
>
> Using Guix 6113e05, I get:
>
> --8<---------------cut here---------------start------------->8---
> $ guix import opam ocaml_intrinsics
> (package
> (name "ocaml-intrinsics")
> (version "0.16.0")
> (source no-source-information)
> (build-system dune-build-system)
> (propagated-inputs (list ocaml-dune-configurator))
> (properties `((upstream-name . "ocaml_intrinsics")))
> (home-page "https://github.com/janestreet/ocaml_intrinsics")
> (synopsis "Intrinsics")
> (description
> "This package provides functions to invoke amd64 instructions (such as
> clz,popcnt,rdtsc,rdpmc) when available, or compatible software implementation on
> other targets.")
> (license license:expat))
> --8<---------------cut here---------------end--------------->8---
>
>
> Cheers,
> simon
Yup, seems to "work" now, although that no-source-information thing is
still pretty irritating, but it happens infrequently enough to not
matter too much.
Reply sent
to
Csepp <raingloom <at> riseup.net>
:
You have taken responsibility.
(Thu, 12 Oct 2023 21:04:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Csepp <raingloom <at> riseup.net>
:
bug acknowledged by developer.
(Thu, 12 Oct 2023 21:04:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 10 Nov 2023 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 180 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.