From unknown Mon Jun 23 02:23:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55405: Image API produces incorrect images Resent-From: Pavel Shlyak Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 13 May 2022 23:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55405 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55405@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165248283027777 (code B ref -1); Fri, 13 May 2022 23:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2022 23:00:30 +0000 Received: from localhost ([127.0.0.1]:45286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npeGs-0007Dv-2D for submit@debbugs.gnu.org; Fri, 13 May 2022 19:00:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:39884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npchh-00044Z-Mp for submit@debbugs.gnu.org; Fri, 13 May 2022 17:20:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npchh-0005o1-3x for bug-guix@gnu.org; Fri, 13 May 2022 17:20:05 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:41604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npchf-0001Qf-JO for bug-guix@gnu.org; Fri, 13 May 2022 17:20:04 -0400 Received: by mail-ej1-x631.google.com with SMTP id dk23so18474980ejb.8 for ; Fri, 13 May 2022 14:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=kzA1IRWdofuDJLdSKwc4BfwVs4L0tq9SkNdkAgRJeb0=; b=C8rBDGIixZvovvm/htPlJKvbMbOWAz3sppKqXHMKOCfeLj2X2PXQ/uamwns3Il7N0b lOq66wY2OG0/7U9DH3f7LorJeJWddEIa7KWJ/1Y9UmysNnGem1cRzGdtzFSzUibTt9AH IIbgTyfTRL67YTKBI2teIfNAMVVe3xRnw2lAjryVNQZFcr8odiezF2XLtYHBuOiMP1Ju M+y8VHz86CQP7ahumSJMQzfvby7Xh5TmPiFjJTDJImHTAnf0pngO75ubfY0t9NVYmfhq vX+Bw8VutzOJJO9LLWF8JMLltUL+YREGK2Mp/5ql+/oMKL4xG6sFMN6aVHRPUmKRkesP wvuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=kzA1IRWdofuDJLdSKwc4BfwVs4L0tq9SkNdkAgRJeb0=; b=C+o2yzo6jWKW68p2gDvrrlH5qXGqOEVOpUggigivHgt5hNvBC0fXuo2ie0Xu6bDfS/ iA3Npm15YT7Ypwy+rUpIu4c5CgDCYL98frHSi2p0lvtIy5Oy6ib8FBvbRcR5J20SKnQZ H+U3ta4ePtUf29c10UmlC+KD8o+kzZcVRQSq1qhxozc23tO8gnuj+w8Vqgpia1kX2wx+ hzoGlnhxbn09qCDZ10j7p5GMFbxX82q6lxSOKZM9q0akqazrJEmOK3uqVBhMIJcqjj50 afpLABpX3h7ZUkCuXxPcpJO4B58GAPScppIXy4zLUXZ+aZEsknDJPklhIZy70MJR+m3M V/QA== X-Gm-Message-State: AOAM531RBaoZCKNMvnJfEElpuoid34sBaJ66vthqZb7Pn/C7JIYKRJ7W 7HxE6z3XKF7t+UQQenVuZFSMaR84XzHXGr43 X-Google-Smtp-Source: ABdhPJxpQeHpCYPhyNaRSniLyEGOGHRHsXZhrQNfBEpNta1ItnhYhGHL/6RdIYqr4U7yvXa1Vz9Bkg== X-Received: by 2002:a17:906:dc93:b0:6f4:6a93:f227 with SMTP id cs19-20020a170906dc9300b006f46a93f227mr5900019ejc.661.1652476801056; Fri, 13 May 2022 14:20:01 -0700 (PDT) Received: from smtpclient.apple ([31.141.85.74]) by smtp.gmail.com with ESMTPSA id og32-20020a1709071de000b006f3ef214db9sm1125341ejc.31.2022.05.13.14.19.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 May 2022 14:20:00 -0700 (PDT) From: Pavel Shlyak Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Message-Id: Date: Sat, 14 May 2022 00:19:58 +0300 X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=shlyakpavel@gmail.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Fri, 13 May 2022 19:00:29 -0400 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.3 (--) I have a scheme code like (define rpi-boot-partition (partition (size (* 128 (expt 2 20))) (label "BOOT") (file-system "vfat") (flags '()) (initializer (gexp initialize-efi-partition)))) (define rpi-root-partition (partition (size 'guess) (label "RASPIROOT") (file-system "ext4") (flags '(boot)) (initializer (gexp initialize-root-partition)))) (define raspberry-pi-image (image (format 'disk-image) (partitions (list rpi-boot-partition rpi-root-partition)))) The output is like that: $ fdisk -l = /gnu/store/hnsfs5a161f5hvymg7ar541qrml62yvv-raspberry-pi-barebones-raw-ima= ge Device = Boot Start End Sectors Size Id Type = /gnu/store/hnsfs5a161f5hvymg7ar541qrml62yvv-raspberry-pi-barebones-raw-ima= ge1 1 262144 262144 128M 83 Linux = /gnu/store/hnsfs5a161f5hvymg7ar541qrml62yvv-raspberry-pi-barebones-raw-ima= ge2 262145 3583688 3321544 1.6G 83 Linux=09 No boot flag is set on the first partition. The file system seems to be = incorrect (ext* instead of vfat)= From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 04:27:57 2022 Received: (at control) by debbugs.gnu.org; 14 May 2022 08:27:57 +0000 Received: from localhost ([127.0.0.1]:45705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npn80-0005sS-W0 for submit@debbugs.gnu.org; Sat, 14 May 2022 04:27:57 -0400 Received: from tobias.gr ([80.241.217.52]:42472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npn7y-0005sI-En for control@debbugs.gnu.org; Sat, 14 May 2022 04:27:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=zn/nJ6mx1gnl0 MZIKCyHQ+EdOS1jnPwWr8lj6rkqY6c=; h=to:from:date; d=tobias.gr; b=NVqLjl CXfP/4sXp7CP6ZpnA+2tW/62cX2tpJ7DVz5FVaJOYs9Qlm4bd0ppX20Gc+SPtQzorocm9x PWNQQQuweWSoNEWHwNecAajC2GfJkDdOf6pOaoyQXeFqyV6G1Qq4bV+xPfqDbL7Oj3gtF4 d9/1c5WES5ooiGtfVrizwiWAY+YEqeyQJJa7nwrzjE6iA+Jzf6ABnVfsdMiEiddNf7g7Pl SwxRS80rqJDZnGcjQW/dajHvLDgoVn0ifK6FGzdjFX/b0ywzFix0uf/zRzE/mPDWvAO9cK 3VAYP4dOoPrLlBV5xnTQddyJnq48aLlyUZxnwnViDyZl0zZm8QqwCkYw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id ec2e6ee2 for ; Sat, 14 May 2022 08:27:48 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 14 May 2022 10:27:47 +0200 From: Tobias Geerinckx-Rice To: control@debbugs.gnu.org Message-ID: <47933e2c0cfb127ecbfb0cc1be7eba9b@tobias.gr> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 3.7 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 55405 55406 Content analysis details: (3.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject -0.0 T_SCC_BODY_TEXT_LINE No description available. 1.7 BODY_EMPTY No body text in message X-Debbugs-Envelope-To: control 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.7 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 55405 55406 Content analysis details: (2.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.7 BODY_EMPTY No body text in message merge 55405 55406 From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 05:16:21 2022 Received: (at control) by debbugs.gnu.org; 14 May 2022 09:16:21 +0000 Received: from localhost ([127.0.0.1]:45757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npnsr-0002Mm-LJ for submit@debbugs.gnu.org; Sat, 14 May 2022 05:16:21 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:42618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npnsp-0002K5-G4 for control@debbugs.gnu.org; Sat, 14 May 2022 05:16:20 -0400 Received: from [192.168.222.254] ([188.189.252.23]) by xavier.telenet-ops.be with bizsmtp id WZGH2700C0X38ms01ZGHZx; Sat, 14 May 2022 11:16:17 +0200 Message-ID: Subject: Re: bug#55405: Image API produces incorrect images From: Maxime Devos Date: Sat, 14 May 2022 11:16:12 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-ueRRvbyXUTSrqdQTnhBz" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1652519777; bh=T6QW3KJf1zdLVjSi6GSe7HWdvuF08q3PqveeYH9CoDg=; h=Subject:From:Cc:Date:In-Reply-To:References; b=AQC8KANpstvd416qD6L3o0hqSbYbAMcqpIcN00Kyizv7z+jH4Nw0+2t+KqVVKq8Sz EaKZ7/SU16yXd9/jwPphMiSwoeYt2Cya2zGvw7a5vDFJ3FHhqLB2wdHr0V2KwWME35 ezhvt2sPzgi78I61q+gyadXvA4M7bERepk/Gm8Yj4LV/tH5I/uJ0/AJwuCnM2gr37O 8LM1aPZuqSPzJ86/O4TmjdITRvrgSnjcegTlMry2D656lsygvjIQ7DWTtryH6rENJ5 qZ8r88AHL9U8PWAblbnjRVRgUx4yoBTSCeEmSH7FLbARnA0qZwvSOdRSjB65wkzns7 XEOXzLFVJpspg== X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 55405 55406 thanks (duplicate) Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 MISSING_HEADERS Missing To: header -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [195.130.132.52 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maximedevos[at]telenet.be) -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: control Cc: control@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: 0.2 (/) --=-ueRRvbyXUTSrqdQTnhBz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable merge 55405 55406 thanks (duplicate) --=-ueRRvbyXUTSrqdQTnhBz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYn9zXBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7k93AQC0OBNW0Oa7RseBKpPWALNCRsn0 e19BMBlLuuxTm7WOqgD8DrBHiwhTsYHDV+i+XrwkDd3Yln8VbmFw79MWhSfbAgM= =i/Sn -----END PGP SIGNATURE----- --=-ueRRvbyXUTSrqdQTnhBz--