From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CDr9FReJTmDaVAAA0tVLHw (envelope-from ) for ; Sun, 14 Mar 2021 22:07:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4KqpEReJTmBXGQAAbx9fmQ (envelope-from ) for ; Sun, 14 Mar 2021 22:07:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 836D826AE5 for ; Sun, 14 Mar 2021 23:07:18 +0100 (CET) Received: from localhost ([::1]:51278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLYtJ-00080z-Ob for larch@yhetil.org; Sun, 14 Mar 2021 18:07:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLYnH-0003GJ-G3 for bug-guix@gnu.org; Sun, 14 Mar 2021 18:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51052) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLYnG-0005c8-Aj for bug-guix@gnu.org; Sun, 14 Mar 2021 18:01:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLYnG-0003lh-9u for bug-guix@gnu.org; Sun, 14 Mar 2021 18:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47115: Failure building grub-img.png when reconfiguring Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 14 Mar 2021 22:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47115 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47115@debbugs.gnu.org Received: via spool by 47115-submit@debbugs.gnu.org id=B47115.161575921214406 (code B ref 47115); Sun, 14 Mar 2021 22:01:02 +0000 Received: (at 47115) by debbugs.gnu.org; 14 Mar 2021 22:00:12 +0000 Received: from localhost ([127.0.0.1]:34365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLYmR-0003kI-O1 for submit@debbugs.gnu.org; Sun, 14 Mar 2021 18:00:12 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:34132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLYmP-0003j1-RL for 47115@debbugs.gnu.org; Sun, 14 Mar 2021 18:00:10 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLYmK-0006lX-92 for 47115@debbugs.gnu.org; Sun, 14 Mar 2021 18:00:04 -0400 Date: Sun, 14 Mar 2021 18:00:03 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net In-Reply-To: Message-ID: References: <87a6r7294k.fsf@netris.org> <877dmb1owa.fsf@netris.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="925712948-1059117909-1615759204=:8138" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615759638; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=q6QctTPRgU01sEowL4UGaHg0QaFjJP9op1hAYkDtM3k=; b=qz4Y11ysvlOAQavntsjGLOovuOU6l43PDlE5JUe2Ir+Ptv56kPQPe1Z+zBZ2QPOhaaKw7o rgfHoiQVBnns0iiMW/NPe4iTvJtMMisyWaKYZNrlmJKFNHLwtrOx87u/hUfHXEZw2OGBz+ q77SNriWs4bzmV7uPhs/zCBxKefuBF548mmxe4HYACfVS9YQyuN1IrkSNkALt0VD9ARN5C NkRJVXOr7E+0rUskXFtOk2+PUaGJJAXYwDc7Z5Lv95PxOmZkKl3rrQWYXsggiPuj1dIQn8 iXOT0mWjTjwjfJbeHt68Q36iESLDENc9ySPGBgxcaHZYNH6q6BpK1bCatauWYQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615759638; a=rsa-sha256; cv=none; b=hhoo2EEGy4gbxj3IU5BOFu5SKSAEMPfqWSdSgqYwda6bjROgskMkY3sfa8OAZjNVT9uqU0 d0T/wGBvLX9/Zjqy8ZU5jJW28o7S1aFiYOtEANgMzfKuYVUsr/FaOzPm69+lOQU04YPYoi O3IvxfDQP9VLohmtj1+ocEwtbuqLMQR472879Du1QXgnfyew1hZehYCTckpE73/ecNPQb3 l0oJfkgx2p24gaRqLdvXCLn3RqNYhNKeV6LpidrTr/tXt6gFHqAV53wkbbIEtzW9xaKbiW WKkYspMRRMtwWjcOAnNDIaUlvhK3N2u84SWxHgb/V9BR2LWkVcNduH9pVtIPQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.40 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 836D826AE5 X-Spam-Score: -1.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: bAeGNqeeSpv7 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-1059117909-1615759204=:8138 Content-Type: text/plain; format=flowed; charset=UTF-8 Content-Transfer-Encoding: 8BIT Okay, I've started looking at the builder a little more: jackhill@alperton ~$ cat /gnu/store/larqpc2wjhnc6jmj4885k8lynd19fl4m-grub-image.png-builder (if (string-suffix? ".svg" "/gnu/store/83qplqmavzphd30hm1maxwlh166ylpwr-guix-artwork-2f2fe74-checkout/grub/GuixSD-fully-black-4-3.svg") (begin (use-modules (gnu build svg)) (svg->png "/gnu/store/83qplqmavzphd30hm1maxwlh166ylpwr-guix-artwork-2f2fe74-checkout/grub/GuixSD-fully-black-4-3.svg" ((@ (guile) getenv) "out") #:width 1024 #:height 768)) (copy-file "/gnu/store/83qplqmavzphd30hm1maxwlh166ylpwr-guix-artwork-2f2fe74-checkout/grub/GuixSD-fully-black-4-3.svg" ((@ (guile) getenv) "out"))) The problem appears to be in the svg->png procedure or at least in the svg.scm file. On the "bad" system: jackhill@kalessin ~$ guix environment --ad-hoc guile guile-rsvg guile-readline jackhill@kalessin ~ [env]$ guile GNU Guile 3.0.5 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,use (gnu build svg) ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /run/current-system/profile/share/guile/site/3.0/gnu/build/svg.scm ;;; WARNING: compilation of /run/current-system/profile/share/guile/site/3.0/gnu/build/svg.scm failed: ;;; failed to create path for auto-compiled file "/run/current-system/profile/share/guile/site/3.0/gnu/build/svg.scm" scheme@(guile-user)> (svg->png "/gnu/store/83qplqmavzphd30hm1maxwlh166ylpwr-guix-artwork-2f2fe74-checkout/grub/GuixSD-fully-black-4-3.svg" "/tmp/test.png") ice-9/boot-9.scm:1669:16: In procedure raise-exception: Wrong type (expecting finalized smob): # Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. On the good system ckhill@alperton ~$ guix environment --ad-hoc guile guile-rsvg guile-readline jackhill@alperton ~ [env]$ guile GNU Guile 3.0.5 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,use (gnu build svg) ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /run/current-system/profile/share/guile/site/3.0/gnu/build/svg.scm ;;; compiled /home/jackhill/.cache/guile/ccache/3.0-LE-8-4.4/gnu/store/0j6w61vjjvp4zqzrqvyhqm6254ppzh8y-guix-1.2.0-16.c8887a5/share/guile/site/3.0/gnu/build/svg.scm.go scheme@(guile-user)> (svg->png "/gnu/store/83qplqmavzphd30hm1maxwlh166ylpwr-guix-artwork-2f2fe74-checkout/grub/GuixSD-fully-black-4-3.svg" "/tmp/test.png") and a png file is produced. Particularly relivant seems the auto-compilation failure. To be continued… Best, Jack --925712948-1059117909-1615759204=:8138--