GNU bug report logs - #72939
guix import crate produce broken package definition

Previous Next

Package: guix;

Reported by: Aleksandr Vityazev <avityazev <at> disroot.org>

Date: Sun, 1 Sep 2024 20:10:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

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 72939 in the body.
You can then email your comments to 72939 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#72939; Package guix. (Sun, 01 Sep 2024 20:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Aleksandr Vityazev <avityazev <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 01 Sep 2024 20:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> disroot.org>
To: bug-guix <at> gnu.org
Subject: guix import crate produce broken package definition
Date: Sun, 01 Sep 2024 23:08:23 +0300
[Message part 1 (text/plain, inline)]
Hi,

guix import crate sanakirja-core

Restult:

(define-public rust-sanakirja-core-1
  (package
    (name "rust-sanakirja-core")
    (version "1.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (crate-uri "sanakirja-core" version))
       (file-name (string-append name "-" version ".tar.gz"))
       (sha256
        (base32 "1xcb4d9gaxp61na4dyz9iiq3n1shhiivqs0iv5xnxb1ymqsdnxl3"))))
    (build-system cargo-build-system)
    (arguments
     `(#:cargo-inputs ,(list ("rust-crc32fast" ,rust-crc32fast-1)
                             ("rust-ed25519-zebra" ,rust-ed25519-zebra-2)
                             ("rust-sha2" ,rust-sha2-0.10)
                             ("rust-uuid" ,rust-uuid-1))))
    (home-page "https://nest.pijul.com/pijul/sanakirja")
    (synopsis
     "Copy-on-write datastructures, storable on disk (or elsewhere) with a stable format")
    (description
     "This package provides Copy-on-write datastructures, storable on disk (or elsewhere) with a stable
format.")
    (license (list license:expat license:asl2.0))))

quasiquote and unquote in arguments are unbalanced. Probably introduced
in b8af6694b9bbea96e8b0d1c9aea64b7f8e690812.


-- 
Best regards,
Aleksandr Vityazev
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#72939; Package guix. (Thu, 19 Sep 2024 13:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 72939 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Aleksandr Vityazev <avityazev <at> disroot.org>
Cc: Dariqq <dariqq <at> posteo.net>, 72939 <at> debbugs.gnu.org,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>,
 Sarah Morgensen <iskarian <at> mgsn.dev>
Subject: Re: bug#72939: guix import crate produce broken package definition
Date: Thu, 19 Sep 2024 15:04:07 +0200
Hi Aleksandr,

(Cc’ing potentially interested parties.)

Aleksandr Vityazev <avityazev <at> disroot.org> skribis:

> guix import crate sanakirja-core

[...]

>     (arguments
>      `(#:cargo-inputs ,(list ("rust-crc32fast" ,rust-crc32fast-1)
>                              ("rust-ed25519-zebra" ,rust-ed25519-zebra-2)
>                              ("rust-sha2" ,rust-sha2-0.10)
>                              ("rust-uuid" ,rust-uuid-1))))

[...]

> quasiquote and unquote in arguments are unbalanced. Probably introduced
> in b8af6694b9bbea96e8b0d1c9aea64b7f8e690812.

Indeed.  Fixed in 89413a11625dd6c548827dd0078ebe0191086597 by reverting
that commit.

Commit b8af6694b9bbea96e8b0d1c9aea64b7f8e690812 originates from
<https://issues.guix.gnu.org/49531>, which included more work, such as a
‘guix style’ feature to update Rust packages to this new style.  I don’t
think the part about Rust packages reached consensus though.

Thanks,
Ludo’.




bug closed, send any further explanations to 72939 <at> debbugs.gnu.org and Aleksandr Vityazev <avityazev <at> disroot.org> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 19 Sep 2024 13:05: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, 18 Oct 2024 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 242 days ago.

Previous Next


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