From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EBPAJknC7GLiTQAAbAwnHQ (envelope-from ) for ; Fri, 05 Aug 2022 09:10:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YAy+JUnC7GKCSAAAG6o9tA (envelope-from ) for ; Fri, 05 Aug 2022 09:10:01 +0200 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 4D2CD2A9E7 for ; Fri, 5 Aug 2022 09:10:01 +0200 (CEST) Received: from localhost ([::1]:52946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJrSz-0000lg-0A for larch@yhetil.org; Fri, 05 Aug 2022 03:09:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJrMM-0006g8-Su for bug-guix@gnu.org; Fri, 05 Aug 2022 03:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJrMM-0001Xy-IH for bug-guix@gnu.org; Fri, 05 Aug 2022 03:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJrMM-0001YS-CP for bug-guix@gnu.org; Fri, 05 Aug 2022 03:03:02 -0400 Subject: bug#55549: Parted 3.5 update breaks installer tests Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 05 Aug 2022 07:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 55549 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 55549-done@debbugs.gnu.org Mail-Followup-To: 55549@debbugs.gnu.org, othacehe@gnu.org, ludo@gnu.org Received: via spool by 55549-done@debbugs.gnu.org id=D55549.16596829585938 (code D ref 55549); Fri, 05 Aug 2022 07:03:02 +0000 Received: (at 55549-done) by debbugs.gnu.org; 5 Aug 2022 07:02:38 +0000 Received: from localhost ([127.0.0.1]:55939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJrLy-0001Xi-2P for submit@debbugs.gnu.org; Fri, 05 Aug 2022 03:02:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJrLw-0001XW-Re for 55549-done@debbugs.gnu.org; Fri, 05 Aug 2022 03:02:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJrLr-0001Qn-LP; Fri, 05 Aug 2022 03:02:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=5K3uk4roAT7rIlXHKl+roO0leWfOVxdQvccPShbPqRQ=; b=RHQ422s9cem0LRh0OGOI vBNCS9aQG7y2l7pyEylRh3AP3nwYtrBioble52pdLD0kXdoPh+FXbD/gWQgKTYq2hPOmsABzMPFYO zB9Fh/FbbhPzPMbrnSFBt+CICh4pnOXS/OWzTcnqyfeLueboxuuEeHguGKDqrMq2ADxo0070tXQ1d Wx0QgdFCZBfDXMRJe3tqaPP177T9XbgCXjcZYWltXbdHpIeyV/pZc58v7oBVhG/r41hRFXYAiWnGI iMxCOQqmazUEos1/e/u9bnwVDp4nk4+jnzlOGvUia57U2W271Ty3JcRNY5ELheThakRNjnmYqTteI Mr8R/xt6jdwUFA==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775]:43326 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJrLq-0000qs-UA; Fri, 05 Aug 2022 03:02:31 -0400 From: Mathieu Othacehe References: <87h75jx56h.fsf@inria.fr> <87ee0lqqnb.fsf@gnu.org> Date: Fri, 05 Aug 2022 09:02:28 +0200 In-Reply-To: <87ee0lqqnb.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 22 May 2022 22:05:44 +0200") Message-ID: <871qtv18cb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659683401; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: 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:dkim-signature; bh=5K3uk4roAT7rIlXHKl+roO0leWfOVxdQvccPShbPqRQ=; b=F8f42W+oMVHEm+aSpg+flcDb+mvCRJO8gWN3F/QFtLY4WbDJBy1ycbOaMfJPLSBuoC9nJG +tgcflwxua0AJDPRDUb2JJkfycY0o4pCtzKF1W4l3MO0FaI21owyA3YCKdE598klk8HHeX TIleK1IVzfUuw93rhw3b7zVr4vmUeNYYvOz9YAPtlVT4JtvVEjV5EprluKAC7g6oyZsU26 gbxVsZUQ3P5lkNmVy0dz7WMzXztJeAT12n015EHiyhmn0cmI4q/nDTtPdCAGA6zwqQTRtl NunMqtlugn4uLBrA0rY1ENmAFYbjg7exT64AR5aviyjGf0yTpGwmX+n7FIiHhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659683401; a=rsa-sha256; cv=none; b=dIYLt8HFlWkFpQaVUCOEtkhwH96VIQlLpM0xsANhlakvY4RgJPdO15OWGje8A23WGqVMeU DbNrj7u7fcf6wYPLcWn2XR0r2ueCVKQlaUM02ZzCK1Q+6gcTzvl0TCDVu6eDlpjMDimio6 PC8c8+lDpQ590n/M3Agq4GeZv/lCFXDMYKnxvuMSXLBIYGhxlxlu7rKXeyzOGr90Mz8beb WCgeI4CV2Thn31ckgKhHp7n6xiClWovjnC3ZJoYQ9zO1LaPzA9KjIoNub/u4ciDkoE5/gU I2ozQ32/MWVabIJz+/ATKC6Vj3aSZIXTeZdAzl4QKd5ll3RKkrWfLnQqqGGBpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=RHQ422s9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=RHQ422s9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4D2CD2A9E7 X-Spam-Score: -4.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: GTKKKpMXDD8D Hey Ludo, > Mathieu, I=E2=80=99m guessing the cause of the problem, when using Parted= 4.5, > is that the installer partitions disks somewhat incorrectly, as reported > by =E2=80=98grub-install=E2=80=99. I wonder if it might be due to an API= or ABI change > that goes unnoticed in Guile-Parted because it uses the FFI. This is caused by a regression in Parted 3.5 introduced by 15c49ec04f7eaff014d2e1eddd0aecf4150db63d. The gpt_partition_set_system call can undo what's done by gpt_partition_set_flag call. This imposes us to reverse the call order and make sure that gpt_partition_set_system is called before gpt_partition_set_flag. Fixed with: 3c381af76a144a4dc3d0f9269f43ee2ec501b538. I think we can report that one upstream. Thanks, Mathieu