From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 QP/ZIkeoi2IWNAEAbAwnHQ (envelope-from ) for ; Mon, 23 May 2022 17:29:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kLqOIUeoi2IJ1gAAG6o9tA (envelope-from ) for ; Mon, 23 May 2022 17:29:11 +0200 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 37C7E9BAC for ; Mon, 23 May 2022 17:29:11 +0200 (CEST) Received: from localhost ([::1]:48482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nt9zW-0001vu-Lm for larch@yhetil.org; Mon, 23 May 2022 11:29:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt9ye-0001sL-Iq for guix-devel@gnu.org; Mon, 23 May 2022 11:28:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt9ye-0003Yl-3N; Mon, 23 May 2022 11:28:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=7k1+WAJIVmFDbUtNDZZ1NFGrIRgxObDlkJlj/PCTMNk=; b=NvH7/fH/j8xINRBg4mwk 6zlzswfhawacctUTcfx1naRc7Tlc0bMiV80ux8mCPW99jFCnmn1vEvBK7BSUOTsfMiFhICNOgAMWf VJG6vAHXJVYpGBdZk0nBl60oQc7MVDAyFSv16/ruknVMK2Ne1oSXb3U6tsAjqYWphzOA9dPc4uNM8 DtadKLSGI2S51wAnr1UxUuljnpcWbXBT++QW+rrJ+i8Oj+6wOwZW6Rqszy+23UrUJ34EQ9uStjULl Pyv1GGVL2JbT64aDxixJ/rJd7f2TbXcnmSL49lI3rM99GQmYvFmchyBK7/RQHsdGuLPBtAABHzfDk 7LVGYrBCmpUz2A==; Received: from [193.50.110.143] (port=36536 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt9yc-0006dl-3Z; Mon, 23 May 2022 11:28:11 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Allan Adair Cc: guix-devel Subject: Re: libvirt: A potential problem in the package and looking for guidance References: <8881f77c80bbc6fc4950ed64e2aef77f5a32c16f.camel@adair.no> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 Prairial an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 23 May 2022 17:28:07 +0200 In-Reply-To: <8881f77c80bbc6fc4950ed64e2aef77f5a32c16f.camel@adair.no> (Allan Adair's message of "Wed, 18 May 2022 13:43:48 +0200") Message-ID: <8735h046bc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653319751; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7k1+WAJIVmFDbUtNDZZ1NFGrIRgxObDlkJlj/PCTMNk=; b=Va0u5gJsoFJ2nj5bZq3i2nfyt5tp9cR6dv9PafDGhZsSbZhEoDKcVDSqFWVtwZqrc8XJ/T wW798huilDeF5eTowrE7+zSZi5Eq7qW21cdr4KahxUzfZI9TDXLjHnyDuv+iZzLiHPRLSf OSNjku67H1pboo+jwfjkwpk1PLLBNxWGEGleKCJzyGk/zLMoaz+mHosJAhJG9+hpprXIo/ EzkZB6sisVGbLDvqTkcjTH6MyB9Ra6bbNE+gmmigFKAA+R82vIWppk8fW6JtJe9Iu6NBix NA6zVmR9ICj6dQ3HYCCMnNCJwJW5rfCxoNj3ws7VG6QbL1EDJ6f4O0sJ/A0EOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653319751; a=rsa-sha256; cv=none; b=koy8ZMS5TQLRjIkSUCoa3v1XttF/m2lllMignaduCDxJ/4YcrIhSYqsHpP24KrM6dUCc8v 6FYKhVDZ+WI2EGuQrY6IvUs+WglLtsNQzvX+XV2OTSQ8esMlfcNbVqV0hifv2t/sXpYooV YdNaGqqArvGcpha0QCcAdxj7F/f5iHJep4OQZOXfCv2XNDkWI3G5YdE26fGNzPnI5+rt5I 7UC5dpx94D1UuhilKIk5jD/1TJM2mCmB/4If78gVrr1zT87I/Osxv75D41u0YAWRJohaL7 P9zb9/EU/8ZfN8AEHjZ7SSA+Z2aX+whTVEK48ZEk6yH/+gmEVXf+NEh2Shevbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="NvH7/fH/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="NvH7/fH/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 37C7E9BAC X-Spam-Score: -7.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: xvRCCnlLlXxT Hi, Allan Adair skribis: > File "/gnu/store/g2x37cxh2ag5h66f0p9zaz9pkz2vcvgg-python-libvirt- > 7.9.0/lib/python3.9/site-packages/libvirt.py", line 1353, in create > raise libvirtError('virDomainCreate() failed') > libvirt.libvirtError: '/usr/libexec/qemu-bridge-helper' is not a suitable > bridge helper: No such file or directory > > > Because the package is searching specifically for "/usr/libexec/qemu- > bridge-helper", I think this is a bug in the package definition. "/usr" > should probably be a prefix from the store, right? > > Any comments or suggestions? Presumably that =E2=80=9C/usr/libexec/qemu-bridge-helper=E2=80=9D reference= is hard-coded in the source. The solution in situations like this is to replace it (using =E2=80=98substitute*=E2=80=99) by the absolute file name = of the corresponding program in /gnu/store. (substitute* "some/file.py" (("/usr/libexec/qemu-bridge-helper") (search-input-file inputs "/bin/qemu-bridge-helper"))) HTH! Ludo=E2=80=99.