From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iMqtJ1/3CV8GRwAA0tVLHw (envelope-from ) for ; Sat, 11 Jul 2020 17:31:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mAaEI1/3CV/ySAAAB5/wlQ (envelope-from ) for ; Sat, 11 Jul 2020 17:31: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 0ECFD94066B for ; Sat, 11 Jul 2020 17:31:10 +0000 (UTC) Received: from localhost ([::1]:42714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juJLB-0001RC-No for larch@yhetil.org; Sat, 11 Jul 2020 13:31:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juJL4-0001R2-QA for guix-patches@gnu.org; Sat, 11 Jul 2020 13:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juJL4-00012t-HA for guix-patches@gnu.org; Sat, 11 Jul 2020 13:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1juJL4-0004o1-DL for guix-patches@gnu.org; Sat, 11 Jul 2020 13:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42193] [WIP 2/6] services: Add 'kernel-profile-service-type'. Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Jul 2020 17:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42193 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Brice Waegeneire Cc: 42193@debbugs.gnu.org Received: via spool by 42193-submit@debbugs.gnu.org id=B42193.159448862616469 (code B ref 42193); Sat, 11 Jul 2020 17:31:02 +0000 Received: (at 42193) by debbugs.gnu.org; 11 Jul 2020 17:30:26 +0000 Received: from localhost ([127.0.0.1]:44889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juJKU-0004HC-4U for submit@debbugs.gnu.org; Sat, 11 Jul 2020 13:30:26 -0400 Received: from pelzflorian.de ([5.45.111.108]:39800 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juJKN-000492-Vj for 42193@debbugs.gnu.org; Sat, 11 Jul 2020 13:30:24 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id E8FDD3602A4; Sat, 11 Jul 2020 19:30:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1594488618; bh=6XgjKi+XJfZ/iQDeeH3J8UCVLnwx98H29teo+5yTOwg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=WtnAF7K2NQoXF73rqDBFlqSNwS07Fua64QHU5daeitucD8LzotJf1YXORaSVowrr0 ilG5etHCR+rK5VTKunLcszhX/c3ZwYPouuXNAJ1YdaYw3t4dhJjSvCCyeUtdnAWRMz 4pd10BQaq2+4GhiCWLZKusQtI9ZnCnlmKoxDuJys= Date: Sat, 11 Jul 2020 19:30:08 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20200711173008.3zgtlagkypbc4bw6@pelzflorian.localdomain> References: <20200704185234.12571-1-brice@waegenei.re> <20200704185431.13739-3-brice@waegenei.re> <20200708112947.i4iaayf45y5jxoti@pelzflorian.localdomain> <934d7c4429a5e64e12af5928ddf10b0d@waegenei.re> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <934d7c4429a5e64e12af5928ddf10b0d@waegenei.re> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pelzflorian.de header.s=mail header.b=WtnAF7K2; dmarc=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-Spam-Score: -0.01 X-TUID: H9MhqzCDz74L On Wed, Jul 08, 2020 at 04:22:06PM +0000, Brice Waegeneire wrote: > > After I apply this kernel profile patch, I get an error: > >=20 > > florian@florianmacbook ~/git/guix [env]$ ./pre-inst-env guix system > > disk-image --file-system-type=3Diso9660 gnu/system/install.scm > > [=E2=80=A6] > > failed with exit code 1 > > [=E2=80=A6] > > In procedure symlink: File exists > >=20 > >=20 > > I have no idea where this comes from but I hope you can reproduce the > > error. >=20 > Unfortunately I can't, it build successfully for me when applied on top of > 6f3ede9ae2b2268181ebc0ca3764d865bd06bd63. You probably just need to clean > your Guix repository and rebuild it from scratch I still have the error after pulling current guix (commit f2dce740b2) and applying your patch. florian@florianmacbook ~/.config/guix/current/share/guile/site/3.0$ guix sy= stem disk-image --file-system-type=3Diso9660 gnu/system/install.scm [=E2=80=A6] build of /gnu/store/v9jzdiykyz1rdb1an7jpsfhnnkvx21mq-system.drv failed View build log at '/var/log/guix/drvs/v9/jzdiykyz1rdb1an7jpsfhnnkvx21mq-sys= tem.drv.bz2'. Indeed /gnu/store/v9jzdiykyz1rdb1an7jpsfhnnkvx21mq-system.drv contains Derive([("out","/gnu/store/xzavg5awkmbcx556f3a0h329w5ninhyk-system","","")]= ,[("/gnu/store/28zlas3x4ry6q88fgq625ixh40igjws5-guile-3.0.2.drv",["out"]),(= "/gnu/store/32yj3cnz8rjipd6lw27d08rb272rcmbp-boot.drv",["out"]),("/gnu/stor= e/6iwq8qmqpf9sy84jvbbsd6lwwb05rvlf-etc.drv",["out"]),("/gnu/store/8rfp2v0vz= 8w72621qsr0mr21zgr5f062-profile.drv",["out"]),("/gnu/store/92sqsa639hl3ixy6= ryys38xha7mgkyb0-profile.drv",["out"]),("/gnu/store/ca0g4jfdqx4fhsp67jr2ra1= 7sdwajczc-parameters.drv",["out"]),("/gnu/store/fi6hy331yp7pn03zhlxavdd4d9k= v6l6i-raw-initrd.drv",["out"]),("/gnu/store/i3fx8c0k6yna92cf9h7r57amdjzii7l= 3-locale-multiple-versions.drv",["out"]),("/gnu/store/zcz3jhx84q3zmz37wddwl= fk2w3rnn5fc-module-import-compiled.drv",["out"])],["/gnu/store/ah60schb9jlz= x12jzi6v872q3j099afi-system-builder","/gnu/store/xv5ylv9hxvs1wraw375b5g9jwy= 57vs8p-module-import"],"x86_64-linux","/gnu/store/0m0vd873jp61lcm4xa3ljdgx3= 81qa782-guile-3.0.2/bin/guile",["--no-auto-compile","-L","/gnu/store/xv5ylv= 9hxvs1wraw375b5g9jwy57vs8p-module-import","-C","/gnu/store/08da6i38fzn9g36g= yq443k03f84nk8rk-module-import-compiled","/gnu/store/ah60schb9jlzx12jzi6v87= 2q3j099afi-system-builder"],[("out","/gnu/store/xzavg5awkmbcx556f3a0h329w5n= inhyk-system"),("preferLocalBuild","1")]) and /gnu/store/ah60schb9jlzx12jzi6v872q3j099afi-system-builder contains (with indentation added by me): (begin (use-modules (guix build utils)) (mkdir ((@ (guile) getenv) "out")) (chdir ((@ (guile) getenv) "out")) (begin (stat "/gnu/store/x22lj7pv64cg58dlwsg1q1srqawjbahi-profile") (mkdir-p (dirname "kernel")) (symlink "/gnu/store/x22lj7pv64cg58dlwsg1q1srqawjbahi-profile= " "kernel")) (begin (stat "/gnu/store/7wjapypmzz4n93rwrnrrqwalwg8hhh3h-parameters= ") (mkdir-p (dirname "parameters")) (symlink "/gnu/store/7wjapypmzz4n93rwrnrrqwalwg8hhh3h-paramet= ers" "parameters")) (begin (stat "/gnu/store/j27l3k8zjg9gn9j04y90gsjrqsryjapw-raw-initrd= /initrd.cpio.gz") (mkdir-p (dirname "initrd")) (symlink "/gnu/store/j27l3k8zjg9gn9j04y90gsjrqsryjapw-raw-ini= trd/initrd.cpio.gz" "initrd")) (begin (stat "/gnu/store/bhnyk7bpzlzna28njkx21dd3940m1m4a-locale-mul= tiple-versions") (mkdir-p (dirname "locale")) (symlink "/gnu/store/bhnyk7bpzlzna28njkx21dd3940m1m4a-locale-= multiple-versions" "locale")) (begin (stat "/gnu/store/24irabcnv3pn2mpx4cjrggmlvn30k053-profile") (mkdir-p (dirname "profile")) (symlink "/gnu/store/24irabcnv3pn2mpx4cjrggmlvn30k053-profile= " "profile")) (begin (stat "/gnu/store/z9jm8d8rrrpq19y1pmahpp73ja5ydw6h-etc") (mkdir-p (dirname "etc")) (symlink "/gnu/store/z9jm8d8rrrpq19y1pmahpp73ja5ydw6h-etc" "e= tc")) (begin (stat "/gnu/store/w90vvv7mx8g17i6frd34yvmbfi0nhnl1-boot") (mkdir-p (dirname "boot")) (symlink "/gnu/store/w90vvv7mx8g17i6frd34yvmbfi0nhnl1-boot" "= boot")) (begin (stat "/gnu/store/x22lj7pv64cg58dlwsg1q1srqawjbahi-profile") (mkdir-p (dirname "kernel")) (symlink "/gnu/store/x22lj7pv64cg58dlwsg1q1srqawjbahi-profile= " "kernel"))) Without your patch I get a /gnu/store/c74g6pazpx9z5c1jkfi4rn8h42lf36dy-system-builder with only one "kernel": (begin (use-modules (guix build utils)) (mkdir ((@ (guile) getenv) "out")) (chdir ((@ (guile) getenv) "out")) (begin (stat "/gnu/store/x22lj7pv64cg58dlwsg1q1srqawjbahi-profile") (mkdir-p (dirname "kernel")) (symlink "/gnu/store/x22lj7pv64cg58dlwsg1q1srqawjbahi-profile= " "kernel")) (begin (stat "/gnu/store/7wjapypmzz4n93rwrnrrqwalwg8hhh3h-parameters= ") (mkdir-p (dirname "parameters")) (symlink "/gnu/store/7wjapypmzz4n93rwrnrrqwalwg8hhh3h-paramet= ers" "parameters")) (begin (stat "/gnu/store/j27l3k8zjg9gn9j04y90gsjrqsryjapw-raw-initrd= /initrd.cpio.gz") (mkdir-p (dirname "initrd")) (symlink "/gnu/store/j27l3k8zjg9gn9j04y90gsjrqsryjapw-raw-ini= trd/initrd.cpio.gz" "initrd")) (begin (stat "/gnu/store/bhnyk7bpzlzna28njkx21dd3940m1m4a-locale-mul= tiple-versions") (mkdir-p (dirname "locale")) (symlink "/gnu/store/bhnyk7bpzlzna28njkx21dd3940m1m4a-locale-= multiple-versions" "locale")) (begin (stat "/gnu/store/24irabcnv3pn2mpx4cjrggmlvn30k053-profile") (mkdir-p (dirname "profile")) (symlink "/gnu/store/24irabcnv3pn2mpx4cjrggmlvn30k053-profile= " "profile")) (begin (stat "/gnu/store/z9jm8d8rrrpq19y1pmahpp73ja5ydw6h-etc") (mkdir-p (dirname "etc")) (symlink "/gnu/store/z9jm8d8rrrpq19y1pmahpp73ja5ydw6h-etc" "e= tc")) (begin (stat "/gnu/store/w90vvv7mx8g17i6frd34yvmbfi0nhnl1-boot") (mkdir-p (dirname "boot")) (symlink "/gnu/store/w90vvv7mx8g17i6frd34yvmbfi0nhnl1-boot" "= boot"))) The diff is only the three lines at the bottom (begin (stat "/gnu/store/x22lj7pv64cg58dlwsg1q1srqawjbahi-profile") (mkdir-p (dirname "kernel")) (symlink "/gnu/store/x22lj7pv64cg58dlwsg1q1srqawjbahi-profile" "kern= el"))) Regards, Florian