From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yAzlEuep3GAxFQEAgWs5BA (envelope-from ) for ; Wed, 30 Jun 2021 19:29:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iDIPDuep3GDLIQAA1q6Kng (envelope-from ) for ; Wed, 30 Jun 2021 17:29:11 +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 9822B1A93A for ; Wed, 30 Jun 2021 19:29:10 +0200 (CEST) Received: from localhost ([::1]:42074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lye1N-0002VI-MN for larch@yhetil.org; Wed, 30 Jun 2021 13:29:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lye1G-0002Ut-5q for guix-patches@gnu.org; Wed, 30 Jun 2021 13:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lye1F-0003bP-VE for guix-patches@gnu.org; Wed, 30 Jun 2021 13:29:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lye1F-0008UD-Mx for guix-patches@gnu.org; Wed, 30 Jun 2021 13:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49149] [PATCH 0/7] Add deb format for guix pack. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Jun 2021 17:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49149 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 49149@debbugs.gnu.org Received: via spool by 49149-submit@debbugs.gnu.org id=B49149.162507409432565 (code B ref 49149); Wed, 30 Jun 2021 17:29:01 +0000 Received: (at 49149) by debbugs.gnu.org; 30 Jun 2021 17:28:14 +0000 Received: from localhost ([127.0.0.1]:58666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lye0U-0008TB-D8 for submit@debbugs.gnu.org; Wed, 30 Jun 2021 13:28:14 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:36641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lye0S-0008Sz-9e for 49149@debbugs.gnu.org; Wed, 30 Jun 2021 13:28:12 -0400 Received: by mail-qt1-f170.google.com with SMTP id r20so2037822qtp.3 for <49149@debbugs.gnu.org>; Wed, 30 Jun 2021 10:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=02VvJQDp8ro9uADY8LlBmxIwNtp0ziFoHbYSLWwC5eM=; b=tPdfuMFIbSBo9RypciTA8RrYQ3+ZcLZX2IKvTvjcdpmWEyie2bnK1JhWHzntem08NI dnsAsRIUESm3TFXUGGd32tjMQVEFXX8arswmlNQ7ho+uwUURXcNbSaXE8WoAuuqjWpMn BkKIXndvbPqMDGvp1XV4Xm5NmCuJD5nvWWFtsMd1g9Ter8aHL2FrC5SND3afkewoljqM TWw9CLp953woQbeJ/Zph7FRWHeYavOza8J9ra0BO5jUFqIaKwiVbarwt1kVoqrOh7kxJ 270m5XXeSjw2R0lPNi1wIGz36YzIKmvLVL/lX8H4uWc6Ki9umZu5XIYrkugg8Sf40M54 z18w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=02VvJQDp8ro9uADY8LlBmxIwNtp0ziFoHbYSLWwC5eM=; b=AnqHjd0sjpCRfyCSJaB6eAmb0DARrtQMkrN/+lihzKqV/TJ6JRce1kjWGCOZs8f+Vk zz72im8i/J7wnX4gDnuJl6HcZUhTrHZGEaUcAx7Ux/4XYwlNNfsVZm6Ob1+AaHgfNyGW B7RTiGQm+GL4xXkTPUocht773gbUWxXxNqoKUs7cQ8P54B8cT8S1S5srlNUBGCFW8ZcC 19YBW4sYa3z5rHihQiPNGCXcabePJX17nllDYTCZbD4f27o21QpwPHY1DnCv9JL/NJFS 9+1BjPaUV4VBqC6nFs5jkUrlpvm6wRgu2RNvfJ8gZmV4wblYU1fLzVR1Ys7puidMdgYo lXmQ== X-Gm-Message-State: AOAM53365ODs4TgGQeLafdhChKiGivFK/OYi5KuWE4EBKiewOqbP1wRu p9Jd3nVYCio52ys225RSVPMbd5d19mxUaw== X-Google-Smtp-Source: ABdhPJzu4C9DExa8NWEUlCiMdTn8PechayTytci1q1K6x9g/ueDavzzX8MhcWIWTKW+Wxg+z495yjQ== X-Received: by 2002:a05:622a:34c:: with SMTP id r12mr8453898qtw.196.1625074086670; Wed, 30 Jun 2021 10:28:06 -0700 (PDT) Received: from hurd (dsl-150-149.b2b2c.ca. [66.158.150.149]) by smtp.gmail.com with ESMTPSA id e12sm2745964qtx.73.2021.06.30.10.28.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 10:28:06 -0700 (PDT) From: Maxim Cournoyer References: <20210621061039.31557-1-maxim.cournoyer@gmail.com> <87eecsuv85.fsf@gnu.org> <87k0mcv9wh.fsf_-_@gmail.com> <87bl7npvbg.fsf@gnu.org> <86tulf799s.fsf@gmail.com> Date: Wed, 30 Jun 2021 13:28:05 -0400 In-Reply-To: <86tulf799s.fsf@gmail.com> (zimoun's message of "Wed, 30 Jun 2021 15:49:03 +0200") Message-ID: <87k0mb45zu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625074150; 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: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: dkim-signature; bh=02VvJQDp8ro9uADY8LlBmxIwNtp0ziFoHbYSLWwC5eM=; b=OWL2I1VXuCxeEsxkFSkZXcPypiE/+zg3m3dYkqrFBiqE9seIA6KjS0KwdoonqFchJtxVb2 X8vSxEYA6a2jmK/GMxnMYNIIl3d9xL8OhNrbsdYsKL19X7yD5pvhhxzIZeAr8YcopztaYR ZE6GIeX/skGqkIjfO2ZYE6eQyhQ4CnjsIAS1S1L/HLIS0ThYKDd13OH08blx39XI1RhU8P tvM8M8iHPRy+SiVZMoChb1ElPfjXaSWnkKRwkVX3Am30Wn0ILcsci7kIjw3HpQHgLjWMph YiqDvO5+kLHPySKWClL0cLCd0JY6MVAHJMMt8Oh+KR5/02DIwJNUF7eIQT2aTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625074150; a=rsa-sha256; cv=none; b=ZsqxyrEC8cNhVbeoV7UsaS4NMSjOI1lvNpIEN4zztRYg7JwpqaPnIUJogXlzJlvF3v+fNh coP8wVZ//WsEpdPbNwhSPZuXuHj3Hif7qlcflUrhP+66GPVeUChBFzD0BQGI5qSep1KPF5 ir61XCsYDWSZJgUeE2igmqIPTHBCejQUYbZb2/1cVkiKpBrVQ0OtLPS8vNdttrU1dvV/Ym MB2JYHHid7DTj42kWBaNLmBM/CVVDAepLunADPMU7xTnUkRDTraOED6ud35jb7oo0x4Bqd NHTg8H4YxD8/UVZSB1CL3XHZDcDX87wFXFokfAiq4XLoJ4/085zK0/s6YaGOTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=tPdfuMFI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=tPdfuMFI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 9822B1A93A X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: /I+rH0PKweRs Hi again, How about adding these notes/disclaimers to prevent users breaking their Guix or existing packs on foreign distributions? --8<---------------cut here---------------start------------->8--- doc: Add a note and warning regarding the usage of deb packs. * doc/guix.texi (Invoking guix pack): Move to the end of the table, and add a note and warning regarding the usage of deb packs. 1 file changed, 21 insertions(+), 5 deletions(-) doc/guix.texi | 26 +++++++++++++++++++++----- modified doc/guix.texi @@ -6028,11 +6028,6 @@ This produces a SquashFS image containing all the specified binaries and symlinks, as well as empty mount points for virtual file systems like procfs. -@item deb -This produces a Debian archive (a package with the @samp{.deb} file -extension) containing all the specified binaries and symbolic links, -that can be installed on top of any dpkg-based GNU/Linux distribution. - @quotation Note Singularity @emph{requires} you to provide @file{/bin/sh} in the image. For that reason, @command{guix pack -f squashfs} always implies @code{-S @@ -6047,6 +6042,27 @@ If you forget the @code{bash} (or similar) package, @command{singularity run} and @command{singularity exec} will fail with an unhelpful ``no such file or directory'' message. @end quotation + +@item deb +This produces a Debian archive (a package with the @samp{.deb} file +extension) containing all the specified binaries and symbolic links, +that can be installed on top of any dpkg-based GNU/Linux distribution. + +@quotation Note +Because archives produced with @command{guix pack} contain a collection +of store items and because each @command{dpkg} package must not have +conflicting files, in practice that means you likely won't be able to +install more one such archive on the same system. +@end quotation + +@quotation Warning +@command{dpkg} will assume ownership of any files contained in the pack +that it does @emph{not} know about. It is unwise to install +Guix-produced @samp{.deb} files on a system where @file{/gnu/store} is +shared by other software, such as a Guix installation or other, non-deb +packs. +@end quotation + @end table @cindex relocatable binaries --8<---------------cut here---------------end--------------->8--- Thanks, Maxim