From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KHsVATz43F7sRAAA0tVLHw (envelope-from ) for ; Sun, 07 Jun 2020 14:22:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kFt8ODv43F5fKAAAbx9fmQ (envelope-from ) for ; Sun, 07 Jun 2020 14:22:51 +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 54D4894066A for ; Sun, 7 Jun 2020 14:22:51 +0000 (UTC) Received: from localhost ([::1]:50758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhwCI-00010u-5J for larch@yhetil.org; Sun, 07 Jun 2020 10:22:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhwC4-0000ys-SB for help-guix@gnu.org; Sun, 07 Jun 2020 10:22:36 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51185) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhwC2-0003Pr-W9 for help-guix@gnu.org; Sun, 07 Jun 2020 10:22:36 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E4BE22400FC for ; Sun, 7 Jun 2020 16:22:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1591539750; bh=OzAKaMKBEZnewtN/hePOzSy9qB/p1ymcTFtM40KJ+3c=; h=Subject:To:Cc:From:Openpgp:Date:From; b=p2ejiLVFdBMrgQxkKFK72qaFeFn7vL9x/xbOv2tfa3y/UD090d/WifcD+uonBi1w7 2ai35awmGqtkkCyiRwXwhGqc/jbmpmesEmZVNB73BSvzSGVN82HFT4eaCa36Zo7tab FPlg1+oKXJfOhqKzfz0Fdy0uOstzgGR9Oq+oAPS5BiHti+PCEZFXz5sS/2R2sFeqjg OZjrLRsgn9yXjXVw7UdPSLHk3OMg2aEs0FndvYvTU6gKssZr7gytZGhDmYyQGCU9yK fUSzVbWuQOFe4Ogi6OYpBHYKtQGkzzqsoWMTYvmvSJzk4xlZCGIuiqJcD7+zXkJ8QO uzWPeZ2JLWc9Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49fz9f2KGRz9rxM; Sun, 7 Jun 2020 16:22:30 +0200 (CEST) Subject: Re: Creating environments using Guix package manager and collision To: zimoun References: <00896e50-8030-c1ae-be42-6cb5128ff6e7@posteo.de> From: Zelphir Kaltstahl Openpgp: preference=signencrypt Message-ID: Date: Sun, 7 Jun 2020 16:22:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Icedove/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/07 07:35:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=posteo.de header.s=2017 header.b=p2ejiLVF; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: T9HIJug9s1j+ I'll have to read up on the `--allow-collisions` flag and see, whether it does anything dangerous. It sounds dangerous. I also just noticed, that the conflict seems to have messed up my Guile. Cannot run Guile any longer, as there is now an issue with readline, although it is installed: ~~~~ [14:54:09]:[~/development/Guile/risk-calculator]: guile ;;; WARNING: loading compiled file /home/user/.guix-profile/lib/guile/2.2/site-ccache/ice-9/readline.go failed: ;;; In procedure load-thunk-from-memory: incompatible bytecode kind ;;; WARNING: loading compiled file /home/user/.guix-profile/lib/guile/2.2/site-ccache/ice-9/readline.go failed: ;;; In procedure load-thunk-from-memory: incompatible bytecode kind Backtrace: In ice-9/boot-9.scm:     702:2 19 (call-with-prompt ("prompt") # …) In ice-9/eval.scm:     619:8 18 (_ #(#(#))) In unknown file:           17 (primitive-load "/home/user/.guile") In ice-9/eval.scm:    721:20 16 (primitive-eval (use-modules (ice-9 readline) (# #) # #)) In ice-9/psyntax.scm:   1241:36 15 (expand-top-sequence ((use-modules (ice-9 readline) …)) …)   1233:19 14 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)    285:10 13 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …) In ice-9/boot-9.scm:   3373:20 12 (process-use-modules _)    222:17 11 (map1 (((ice-9 readline)) ((ice-9 format)) ((ice-9 …)) …))   3374:31 10 (_ ((ice-9 readline)))   2790:17  9 (resolve-interface (ice-9 readline) #:select _ #:hide _ …) In ice-9/threads.scm:     390:8  8 (_ _) In ice-9/boot-9.scm:   2716:13  7 (_) In ice-9/threads.scm:     390:8  6 (_ _) In ice-9/boot-9.scm:   2985:20  5 (_)    2299:4  4 (save-module-excursion #)   3005:26  3 (_) In unknown file:            2 (primitive-load-path "ice-9/readline" #) In /home/user/.guix-profile/share/guile/site/2.2/ice-9/readline.scm:      44:4  1 (_) In unknown file:            0 (load-extension "/gnu/store/2fsg1jl3hwxnak9h39f6vzx87h…" …) ERROR: In procedure load-extension: In procedure dynamic-link: file: "/gnu/store/2fsg1jl3hwxnak9h39f6vzx87hp48dsm-guile-readline-2.2.4/lib/guile/3.0/extensions/guile-readline", message: "file not found" ~~~~ So I commented out the `(use-modules (ice-9 readline))` and the `(activate-readline)` from my `~/.guile` file and then it works again. Perhaps because Guile was updated there is no suitable version of guile-readline any longer. Guile is now at: 2.9.4. (That is also something strange, that on one machine I get `guile-next@2.9.4` and on the other I cannot get a `guile-next` (no `guix search` result) but can get `guile@3.0.2`. And no matter how often I run guix pull && guix package -u, it does not appear on the machine with the older Guile version showing up.) Thanks for the hint! On 07.06.20 15:48, zimoun wrote: > Dear, > > On Sun, 7 Jun 2020 at 14:28, Zelphir Kaltstahl > wrote: > >> ~~~~ >> building /gnu/store/yniz1rh5cih92i72flj1x2cmlwv1nngk-keepassxc-2.5.4.drv... >> guix package: error: profile contains conflicting entries for gmp >> guix package: error: first entry: gmp@6.2.0 /gnu/store/35afkywncrr5xsb4cxcljf6rpjcb7f61-gmp-6.2.0 >> guix package: error: ... propagated from guile@3.0.2 >> guix package: error: second entry: gmp@6.1.2 /gnu/store/y7qk8raalgvdnxcglvxa320cfxrjk1x6-gmp-6.1.2 >> guix package: error: ... propagated from nettle@3.5.1 >> guix package: error: ... propagated from gnutls@3.6.A >> hint: Try upgrading both `guile' and `gnutls', or remove one of them from the profile. >> ~~~~ >> >> So I cannot complete `guix package -u`. I guess some of those packages >> in my base profile are not even needed for most things I do and would be >> better contained in project-specific environments, so that they do not >> cause conflicts. > Does the option '--allow-collisions' of "guix package" fit your needs? > > >> Is it possible to create such kind of environments using Guix? I feel >> like it should probably be an easy thing to do, once I know how to do >> it, but I could not find a tutorial, which tells me how to do this. >> Perhaps my idea about how Guix is used usually is wrong? > I will reply to your other message. :-) > > > All the best, > simon