From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IK7cLJN2AGTbwgAAbAwnHQ (envelope-from ) for ; Thu, 02 Mar 2023 11:12:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wMEFLZN2AGQcDQEA9RJhRA (envelope-from ) for ; Thu, 02 Mar 2023 11:12:35 +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 8ABAC233ED for ; Thu, 2 Mar 2023 11:12:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXfv5-0006Gb-Vf; Thu, 02 Mar 2023 05:12:15 -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 1pXfuz-0006GI-SE for help-guix@gnu.org; Thu, 02 Mar 2023 05:12:11 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXfux-000822-Og for help-guix@gnu.org; Thu, 02 Mar 2023 05:12:09 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 9047E134F; Thu, 2 Mar 2023 11:11:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QfoeBS5rG5DU; Thu, 2 Mar 2023 11:11:59 +0100 (CET) Received: from jurong (unknown [147.94.72.84]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 7872FDA5; Thu, 2 Mar 2023 11:11:57 +0100 (CET) Date: Thu, 2 Mar 2023 11:11:56 +0100 From: Andreas Enge To: Alexander Asteroth Cc: help-guix@gnu.org Subject: Re: How to handle concurrent QT versions Message-ID: References: <87r0uaf2n7.fsf@h-brs.de> <87ilfkg9t1.fsf@h-brs.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ilfkg9t1.fsf@h-brs.de> Received-SPF: pass client-ip=185.233.100.1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr 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_PASS=-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: 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677751955; a=rsa-sha256; cv=none; b=Xk+x51Q74FaE/HNnvpPAiPZ8hz8eR2hzWG2SlX3FRjzwmLRlAp5ulbjRIjsKFdCU5AdRGB Bk2DCiEi3n7/+EiTuPB/vFKGpuwHLSkbJMxMB7xgBX5gq5/p71JVdE6tZl8FKFYISyt+KN zQxqOeEydyFuxDQkYXAHpFHVksYqB+tK7BG+Ks17YNiF3tJAjgTSzK+5sC4FHec/4Lb7m6 zaedt7SK7lDb6TEKQW/mraNn/Bhg7InUdkfjYGZs5zifQwejh2PHl8JaekIUDwqyoOObta V8reIpuhvdUQXdTznXLPQmpjiMVVzWxnG4jr9WG88EXNnyls1sM4HISFHF3qzQ== 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677751955; 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=ptCtvDzxU35o+/ZnnJjxUEOs1OPRaoXf0/+FBSptBjQ=; b=TE+wbDSoCXvqTEpyYWsz6p3LlfSwHQvxoHVfvC+KQtQUyEEuyVMWQ2corCdD7K4wNsSiEJ +XriZC1dKTG1V+0dd0BBeMBVmcQuA0btMQmpMadNoi7Z98YS9oVACfU3UeV2rKDBvhsHPS ZkAgjJXsw+72ptsjSsKxQjblPh8AFy8ri8YXBePQ3rmErt27ZpRrCqflBLtiN9kRi9bIBK nVoI8XMCYW3ilAARqHLDKP636CG9QdlWrQNOpKQMDltvej+zpaEK0cW8KbokEL3/ErIJS8 PNoXd7VC+mFztN2uRLU7nPwKkoYvTQagxNMEK9B3L/8PJwIWzl5JioRVOqkpPA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.49 X-Spam-Score: -2.49 X-Migadu-Queue-Id: 8ABAC233ED 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=none X-TUID: QdPDTHScrSMY 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