Message ID | CAM_04A02R+awxv1-4J1gkvpLybc6cCUMgf4yF7GxfGJeqzSaWQ@mail.gmail.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7293827BBE9; Mon, 9 Dec 2024 14:56:26 +0000 (GMT) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E639027BBE2 for <patchwork@mira.cbaines.net>; Mon, 9 Dec 2024 14:56:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tKfBA-0001PR-EM; Mon, 09 Dec 2024 09:56:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tKfB5-0001P9-Sz for guix-patches@gnu.org; Mon, 09 Dec 2024 09:56:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tKfB5-0000XG-6v for guix-patches@gnu.org; Mon, 09 Dec 2024 09:56:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=I45YU/wEA/7sUFKTRI/k4uCRXrc9bud7g7iANSaOQO4=; b=tVDEDcf98V7PQRolmg5ouA5DqR2mhrr0BRa1JZnUzTYhIllaxdGxFw5/ounGBFO6lL/hr3iTPdVgv/o/2fKTVH43v6GRonuTgWOy5Bz02CAgNdHiQrs1kvqZjKiwgvptmr9FsDQS9B1C/oOEIjuTQPMLyGVfEDOWVdAv5xosbQezcOBK3YO6chp5l2aC3pajlC4ACDfiCgWFQ6aLbl/Gz51RsoNMeLZ3x3ZwX7qjPlWyfe2I/dhlSXtIFmh6AlsTvXawFKcpwiI/quXnog3cVH7fTUUcA+rlBdRVxY4txCTz7y5e9KV2Kr7AsUnGD9njgJGUOkH05+N5NiJ8CQ+vhQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tKfB4-00014L-Qn for guix-patches@gnu.org; Mon, 09 Dec 2024 09:56:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74746] Updating Docker to v27 Resent-From: Josep Bigorra <jjbigorra@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Dec 2024 14:56:02 +0000 Resent-Message-ID: <handler.74746.B.17337561302760@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74746 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 74746@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17337561302760 (code B ref -1); Mon, 09 Dec 2024 14:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Dec 2024 14:55:30 +0000 Received: from localhost ([127.0.0.1]:53782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tKfAX-0000iP-Sa for submit@debbugs.gnu.org; Mon, 09 Dec 2024 09:55:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:50952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jjbigorra@gmail.com>) id 1tKfAU-0000ga-RI for submit@debbugs.gnu.org; Mon, 09 Dec 2024 09:55:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jjbigorra@gmail.com>) id 1tKfAT-0001Ng-6F for guix-patches@gnu.org; Mon, 09 Dec 2024 09:55:25 -0500 Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <jjbigorra@gmail.com>) id 1tKfAH-0000VC-Ax for guix-patches@gnu.org; Mon, 09 Dec 2024 09:55:17 -0500 Received: by mail-vs1-xe2c.google.com with SMTP id ada2fe7eead31-4aff04f17c7so764051137.0 for <guix-patches@gnu.org>; Mon, 09 Dec 2024 06:55:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733756112; x=1734360912; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=I45YU/wEA/7sUFKTRI/k4uCRXrc9bud7g7iANSaOQO4=; b=XCCcXdM6W2J5aJbwy2iEB7bKOc0ZxGz7bQ6BB+Hb81U/dlVP/eRxArfNQMt5wHdkWl gaLz/ZuFxgV8uzL2fYTGyKHdfZwjyrpwOl5Kkx7eZwNxCaRPnXew3S8pd4bUuhA4spoZ RgHvHQdobh0gKfalQU0aSslZFCEVTBt3rQJ+vCbRjAXM5dlHO+6Suwy0d24Ec77KYsNt JMY8uXnmLeIw6Nhu/Dkr0JByEwpNXrOsfa44JtExgT8uC4gpdRO8FpgqZtvo7i4NENh0 k9zMrZnr7vk4q2u4gPBXc8MNwo3JeeFrbOqi4ttszgOI+Ui7bWzdzJUaqqwltRz8bakV ftBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733756112; x=1734360912; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=I45YU/wEA/7sUFKTRI/k4uCRXrc9bud7g7iANSaOQO4=; b=Z18mCAa8qbasWTzMi4d5qlVMfxXzm4JP/gnMjjAWvkBr6Flp27d9CRA5q3G5BFlRwf ITcfap+90fSini8VUUatCNW5KFQVgPowPnETuyG9PuIzoxKWLfeVfr6K65BVkDMqvLo+ yrcY1cHJg3jEXiWFIGC8J8uSPG9RFHGg4zEtf6+FixmdJshDDaJPCgxhBfFUhj4f5jhL fE62+mr9oT6kckcWVFE2cqxrHnGJU2pDCid/5bGrr1RNNQFSMgnyaAZgomTmRjwfwoAQ 1VwiWHx2Omdb8zgkq0HU/WC1BQd8sZJ59wlPxe32UOJox+jzFw6/l2H9Yab7gQyHcTCs kZkg== X-Gm-Message-State: AOJu0YzQ2veJU4oTTjJR/QscSAXVM+UPhw+AV0Qe0X7S5Il9gHmjNW/i ox5Qt4kdtvxAtKT4DjBaxLmNhc4uOnPJkYOnUjAymq6XSquu0fQl+KNcRiS5Y5BomkmK0jHHa2K 6apYT8tO2MFLHAoY0KCm4TtRac2S9tgk= X-Gm-Gg: ASbGncsysE+RCOItU6qZTxpMKrQdVU6BIFSnERZ4ouHe1oGRdFYiCS/Ryc2CeNLrZQA vpaxOWlUlusShAYzaTJAUjUJLF7JWFg== X-Google-Smtp-Source: AGHT+IGHBXrJf7adtnMHehAiCy7D06H37KjO/MJSIvMRJgUN6k+MZp8cQmhALad56QHuWTulh79GcJrdsMA3vLp9G3o= X-Received: by 2002:a05:6102:1344:b0:4af:ed5a:b68d with SMTP id ada2fe7eead31-4afed5aca05mr3290149137.6.1733756111608; Mon, 09 Dec 2024 06:55:11 -0800 (PST) MIME-Version: 1.0 From: Josep Bigorra <jjbigorra@gmail.com> Date: Mon, 9 Dec 2024 15:55:00 +0100 Message-ID: <CAM_04A02R+awxv1-4J1gkvpLybc6cCUMgf4yF7GxfGJeqzSaWQ@mail.gmail.com> Content-Type: multipart/mixed; boundary="0000000000002917100628d78dec" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2c; envelope-from=jjbigorra@gmail.com; helo=mail-vs1-xe2c.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#74746] Updating Docker to v27
|
|
Commit Message
Josep Bigorra
Dec. 9, 2024, 2:55 p.m. UTC
Hi all, I am struggling to get new Docker versions working on Guix. For the this is critical for day to day work and I start to have some problems due to running on old version. I attempted some changes to the Guix package for docker but no success. See the patch attached and the error message. Thanks Joe
Comments
Thank you Janneke for the quick reply, I will continue pursuing a fix. It seems like it will take me a while and I will need to be really at my best, to understand the errors, greetings
Josep Bigorra writes: > Hi all, I am struggling to get new Docker versions working on Guix. > For the this is critical for day to day work and I start to have some > problems due to running on old version. > I attempted some changes to the Guix package for docker but no > success. See the patch attached and the error message. > starting phase `separate-from-pid1' > Backtrace: > 10 (primitive-load "/gnu/store/xgwamcagyz6lkf4hrwncdrxyc63…") > In guix/build/gnu-build-system.scm: > 966:2 9 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #) > In ice-9/boot-9.scm: > 1752:10 8 (with-exception-handler _ _ #:unwind? _ # _) > In srfi/srfi-1.scm: > 634:9 7 (for-each #<procedure fffff413cd80 at guix/build/gnu-b…> …) > In ice-9/boot-9.scm: > 1752:10 6 (with-exception-handler _ _ #:unwind? _ # _) > In guix/build/gnu-build-system.scm: > 987:23 5 (_) > In ice-9/eval.scm: > 619:8 4 (_ #(#(#<directory (guile-user) fffff778ec80>) (# # …))) > In guix/build/utils.scm: > 903:19 3 (with-atomic-file-replacement "vendor/github.com/conta…" …) > In unknown file: > 2 (mkstemp! "vendor/github.com/containerd/containerd/run…" …) So this file "vendor/github.com/containerd/containerd/run…" does not exist, which is visible from the unpack log. You can just comment-out that substitute line, or better yet, find out the new name of that source file like you did with execution_unix.go-> execution_linux.go It may be worth your while to check all the substitute* file names in the "patch-paths" phase beforehand. Greetings, Janneke
I am afraid I am at my knowledge's end. I think also the initial patch i submitted is not helping at all. I face countless problems at build time, and even the application of a patch (containerd-create-pid-file.patch) is failing at guix build time (while locally and manually it works fine). I am officially calling it a day on this one, I am unfamiliar with advanced Guix builds, and even more unfamiliar with how Docker internally should build. I would really appreciate some help from more experienced people here,
I ended up going a different direction today and using root-less setup with Podman. I am very happy with it, and wanted to teach others how to achieve is in Guix: https://jointhefreeworld.org/blog/articles/gnu-linux/podman-root-less-guix/ Still would be awesome to see Docker upgraded btw! Greetings Joe
Hi, Containerd package packed with all vendor preserved. As the amount of missing packages are huge (the same case as Kubo ipfs). I'll take a look for solution as I'm in golang mod this week :-). Thanks, Oleg
Hi, The initial attempt to update Docker has been failed. I've madden a try to import containerd completely. guix go import --recursive github.com/containerd/containerd/v2 Produced 353 new packages which are overlap with missing in kubo, matterbridge, prometheus, restic, afero and some other. It would be nice unbundle each of them properly. Scheduled for go-team, any help in packaging are welcome. -- Thanks, Oleg
From 9ac032ab3228f461467b63a164b76b3545b1bcf2 Mon Sep 17 00:00:00 2001 Message-ID: <9ac032ab3228f461467b63a164b76b3545b1bcf2.1733755906.git.jjbigorra@gmail.com> From: Josep Bigorra <jjbigorra@gmail.com> Date: Mon, 9 Dec 2024 15:50:43 +0100 Subject: [PATCH] attempt to update docker to v27 --- gnu/packages/docker.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index b49dc58bd0..0798fd7285 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -55,7 +55,7 @@ (define-module (gnu packages docker) ;; Note - when changing Docker versions it is important to update the versions ;; of several associated packages (docker-libnetwork and go-sctp). -(define %docker-version "20.10.27") +(define %docker-version "27.3.1") (define-public python-docker (package @@ -350,7 +350,7 @@ (define-public docker #~(modify-phases %standard-phases (add-after 'unpack 'patch-paths (lambda* (#:key inputs #:allow-other-keys) - (substitute* "builder/builder-next/executor_unix.go" + (substitute* "builder/builder-next/executor_linux.go" (("CommandCandidates:.*runc.*") (string-append "CommandCandidates: []string{\"" (search-input-file inputs "/sbin/runc") -- 2.46.0