From unknown Sat Sep 06 01:12:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#35893 <35893@debbugs.gnu.org> To: bug#35893 <35893@debbugs.gnu.org> Subject: Status: guix import json does not specify input package's output when provided in the json Reply-To: bug#35893 <35893@debbugs.gnu.org> Date: Sat, 06 Sep 2025 08:12:05 +0000 retitle 35893 guix import json does not specify input package's output when= provided in the json reassign 35893 guix submitter 35893 Jesse Gibbons severity 35893 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri May 24 20:55:06 2019 Received: (at submit) by debbugs.gnu.org; 25 May 2019 00:55:06 +0000 Received: from localhost ([127.0.0.1]:47720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUKxm-0002FG-37 for submit@debbugs.gnu.org; Fri, 24 May 2019 20:55:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUKxj-0002Eb-UM for submit@debbugs.gnu.org; Fri, 24 May 2019 20:55:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:50277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUKxd-0002yo-TZ for submit@debbugs.gnu.org; Fri, 24 May 2019 20:54:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUKxc-0003zv-Lm for bug-guix@gnu.org; Fri, 24 May 2019 20:54:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUKsQ-0008VI-2b for bug-guix@gnu.org; Fri, 24 May 2019 20:49:35 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:38150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUKsP-0008UN-Oq for bug-guix@gnu.org; Fri, 24 May 2019 20:49:34 -0400 Received: by mail-pl1-x62b.google.com with SMTP id f97so4798706plb.5 for ; Fri, 24 May 2019 17:49:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=kpq7GwyceVdECCxUQaBf6ErHOQr3/PQEempFzb03Coo=; b=Z5mshci1Xk3J5azDqfXbRPRf4Hg8jZLGQxsG+hcB8zXi0MZ5jS5mWfz1py3HguJaJq lgnzAQBv8xEhR8IhuDIFPwVzCuSSsfDYKYCTjUlJSyELE/OMjWllm7908fDINqgz2fvX YRtrXPXSPuLItJVDd76+mQx8eYGNvPhmUrvB0XqNMr82ity8409DGngiiVq09m4dMwIp 2TZVoLmdychRWEmunYVe/fsM1OS3phWXCkBT4DPm7e1nIvXRYlJRXw6w6i8igGsVYzp8 0fHZeMCuoLAOHv8AdEeS4vISAMHqmsNQXUozbfatsWSG16eAqGyGAwpF/ZuDTaK3cK8W c+EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=kpq7GwyceVdECCxUQaBf6ErHOQr3/PQEempFzb03Coo=; b=kSMC/tuHaEjY+CC6SNTybgc3NY3jEAmWxMtM7PWc2+/8bAOIX6pOA/OAjgGWZQaUYn k85AiIN4J95PKxZowxa69JKY4mW0fXTFBVhXNWiO9HnOB3NZi8P3EOo8xFoSk8xZiuum HDwQC7arupILI2ixvWRULdGekWwWkDRiB9osbX8VqUFXW5gxgdYuP5KtHyMPPz0ZUFP+ /oxgEKSpPjOEFafMtsGTt5TTxhIGO5IOfFUENbc35wo7MAjAQ64nviDZQf9WNJGO634D IdQKSP6r7cmw3wGuMSB9/vvRCkADG6iK4AwqZAvlX9MY06Gff2n1tYCHbELUck05ijol qeeA== X-Gm-Message-State: APjAAAUs9+W0axGOyBW3lujrMZgtN/p6KNNP3ljpan70f9K6h02f8FAO LnZU5X7SUlK9P8vsYD7H4sF9qtt6 X-Google-Smtp-Source: APXvYqyeUnWhLGV1GcqSHDWILuduuGOmNElYn523aWDo9zerDlb7pmXu7WnKgdEsbqObgoT9FrBX8w== X-Received: by 2002:a17:902:e583:: with SMTP id cl3mr111417990plb.35.1558745372010; Fri, 24 May 2019 17:49:32 -0700 (PDT) Received: from localhost ([199.68.53.171]) by smtp.gmail.com with ESMTPSA id c76sm6442991pfc.43.2019.05.24.17.49.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 May 2019 17:49:31 -0700 (PDT) Date: Fri, 24 May 2019 18:49:29 -0600 From: Jesse Gibbons To: bug-guix@gnu.org Subject: guix import json does not specify input package's output when provided in the json Message-ID: <20190524184929.771a67b7@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::62b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) I'm trying to generate a package definition from the following json: { "name" : "pysolfc", "version" : "2.6.4", "source" : "https://github.com/shlomif/PySolFC/archive/pysolfc-2.6.4.tar.gz" "build-system" : "python", "home-page" : "https://pysolfc.sourceforge.io/", "synopsis" : "Solitaire Collection, Written in Python", "description" : "PySol Fan Club Edition (PySolFC) is a collection of more than 1000 solitaire card games. It is a fork of PySol Solitaire.", "license" : "GPL-3.0+", "inputs" : ["python2:tk"], "propagated-inputs" : ["python2-six"] } ========== When I run guix import json pysolfc.json >> pysolfc.scm and define the output as a public package, I get the following: (define-module (custom packages pysolfc) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system python) #:use-module (guix licenses)) (define-public pysolfc (package (name "pysolfc") (version "2.6.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/shlomif/PySolFC/archive/pysolfc-" version ".tar.gz")) (sha256 (base32 "17r9mbn4fj6kbxhllsab74gfjac0j2mjdwkkwaxp6cqpy4dss3z8")))) (build-system python-build-system) (inputs `(("python2" ,(@ (gnu packages python) python-2)))) (propagated-inputs `(("python2-six" ,(@ (gnu packages python-xyz) python2-six)))) (home-page "https://pysolfc.sourceforge.io/") (synopsis "Solitaire Collection, Written in Python") (description "PySol Fan Club Edition (PySolFC) is a collection of more than 1000 solitaire card games. It is a fork of PySol Solitaire.") (license gpl3+)) ) ==================== When I try to build this I get the following error: import _tkinter # If this fails your Python may not be configured for Tk ModuleNotFoundError: No module named '_tkinter' ==================== Conclusion: guix import json doesn't specify the output required by the json. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 07 17:17:52 2019 Received: (at 35893-done) by debbugs.gnu.org; 7 Jun 2019 21:17:52 +0000 Received: from localhost ([127.0.0.1]:52527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZMFD-00010o-Pe for submit@debbugs.gnu.org; Fri, 07 Jun 2019 17:17:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZMFC-00010R-IU for 35893-done@debbugs.gnu.org; Fri, 07 Jun 2019 17:17:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hZMEw-0004wp-MP; Fri, 07 Jun 2019 17:17:39 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49762 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hZMEt-0008MX-WD; Fri, 07 Jun 2019 17:17:34 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jesse Gibbons Subject: Re: bug#35893: guix import json does not specify input package's output when provided in the json References: <20190524184929.771a67b7@gmail.com> Date: Fri, 07 Jun 2019 23:17:29 +0200 In-Reply-To: <20190524184929.771a67b7@gmail.com> (Jesse Gibbons's message of "Fri, 24 May 2019 18:49:29 -0600") Message-ID: <87ef459jti.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35893-done Cc: 35893-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Jesse, Jesse Gibbons skribis: > I'm trying to generate a package definition from the following json: > > { > "name" : "pysolfc", > "version" : "2.6.4", > "source" : "https://github.com/shlomif/PySolFC/archive/pysolfc-2.6.4.= tar.gz" > "build-system" : "python", > "home-page" : "https://pysolfc.sourceforge.io/", > "synopsis" : "Solitaire Collection, Written in Python", > "description" : "PySol Fan Club Edition (PySolFC) is a collection of = more than 1000 solitaire card games. It is a fork of PySol Solitaire.", > "license" : "GPL-3.0+", > "inputs" : ["python2:tk"], > "propagated-inputs" : ["python2-six"] > } [...] > Conclusion: guix import json doesn't specify the output required by the > json. Fixed in c0a4db66976dc63decbd612aafb934f44629e321. Thanks, Ludo=E2=80=99. From unknown Sat Sep 06 01:12:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 06 Jul 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator