From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QIfhJKW1AWQtaQAAbAwnHQ (envelope-from ) for ; Fri, 03 Mar 2023 09:53:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UOPzI6W1AWQJ/QAAG6o9tA (envelope-from ) for ; Fri, 03 Mar 2023 09:53:57 +0100 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 5F105FA56 for ; Fri, 3 Mar 2023 09:53:57 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677833637; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=rlq4TXTR2D1SoNVL3eTHyENCQrmeZQGW8bqodiYtRC4=; b=Mt0KF+WYT2EzOJ+7gwTqTlAZBFOmIYd9RTQKOjKaFXN+e1FlvaGQqtMVfMP5flLnix0tkN 4svC97sRRVAyN5bVD41Xql6DNqjd/dtrCqcfv1qAtDMj9KaYKNXMX+NwzN1UCZgd+QMqbK plhMcg8eHtUGS+KQRvFLPFRqLsW40Sx5RmIX/y9eGw66or9pruTYhCHpubNqyvGtUblA9Q 2yixtRsxm0qQp0XpnP4yU7qjVGlhK6XoqEVG2X1hr7A95otQX4gjOoJ19HgNY4sLReWh+W ZuEluvOWq7oGg9b9G1YTK/8aM3dueQ0FWKHKhOc9h1ngiB+O3gues7fCMuAjfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677833637; a=rsa-sha256; cv=none; b=s496M/NRhfMzdfuXI5GO2VRNXdF62YbdE3xB8FEdcr13iE5UEHLKvmecue+BO5eRnmXwfv b1gctQanoUKDpPnyZ+nN3jGuIM24ECDrqMo8XiWv+HPypVMl5r+JUsOZl0QQX4hRf95tkF 9tiUhlmL0j257GJGpGgPAm6v9q9vHQ470FcOSh9V4fXw8aWvOawF1Eolqo2BdKs8j1+U49 GLwsnomVnouaX48P5lk0xA9O73uMWbmzPN86TrEFgxA0dDqDzqe9VqPFmRNVMhcaq3S8OT IsTUosqs6wlIjgqXK7z8zrlJElWE0Is5OFvpGTHM3Md9nH53Yk2W+H+8G+gSVA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pY16p-0002jt-BE; Fri, 03 Mar 2023 03:49:49 -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 ) id 1pY16d-0002Wg-NP for help-guix@gnu.org; Fri, 03 Mar 2023 03:49:37 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48] helo=ux-2s-mailproxy.inf.h-brs.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY16b-00042L-PK for help-guix@gnu.org; Fri, 03 Mar 2023 03:49:35 -0500 Received: from gyps.h-brs.de (i5C7514F2.versanet.de [92.117.20.242]) (authenticated bits=0) by ux-2s-mailproxy.inf.h-brs.de (8.15.2/8.15.2/Debian-8ska0) with ESMTPSA id 3238nNSd001194 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 3 Mar 2023 09:49:25 +0100 References: <87r0uaf2n7.fsf@h-brs.de> <87ilfkg9t1.fsf@h-brs.de> User-agent: mu4e 1.8.11; emacs 28.2 From: Alexander Asteroth To: Andreas Enge Cc: help-guix@gnu.org Subject: Re: How to handle concurrent QT versions Date: Fri, 03 Mar 2023 09:47:42 +0100 In-reply-to: Message-ID: <87r0u66wz0.fsf@h-brs.de> MIME-Version: 1.0 Content-Type: text/plain X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Scanned-By: MIMEDefang @ FB02 @ H-BRS Received-SPF: pass client-ip=194.95.66.48; envelope-from=alexander.asteroth@h-brs.de; helo=ux-2s-mailproxy.inf.h-brs.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Spam-Score: -1.90 X-Spam-Score: -1.90 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 5F105FA56 List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: /sfh+l8LcEEM Then it will probably be as easy (an cleaner) to make the program into a "real" guix package with all the correct dependencies and install this package. Cheers, Alex On Thu, Mar 02 2023, 11:11:56, Andreas Enge wrote: > Am Wed, Mar 01, 2023 at 09:14:27AM +0100 schrieb Alexander Asteroth: >> guix packages but simply made them compile (after some manual changes to >> the code) in my current environment. If I now run a `guix package -u` >> the libraries (from qtbase) get upgraded from 5.15.5 to 6.3.1 and the >> program fails to run. > > Then I suppose that your Qt5 libraries disappear, so that the programs will > not find them; and the newly installed Qt6 libraries will not be of help > (they have a different name and are thus considered, well, different). > To check, you can do "ldd name-of-my-executable", which shows you which > libraries needed by your binary are found or not. So the solution is > to not do a "guix package -u", or to do a > "guix package --do-not-upgrade qtbase qtxxx qtyyy ... -u" > (with a potentially long list of Qt packages in the middle). > > It might be easier then to create a separate profile with a manifest only > for your Qt5 development, which you would then avoid to update. > It is something I have not done myself yet, so I will have to refer you > to the documentation. > > Andreas