From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CCBhDUTvM2BKBAAA0tVLHw (envelope-from ) for ; Mon, 22 Feb 2021 17:52:04 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AB1XCUTvM2DtbgAA1q6Kng (envelope-from ) for ; Mon, 22 Feb 2021 17:52:04 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 4C7F3EE19 for ; Mon, 22 Feb 2021 18:52:03 +0100 (CET) Received: from localhost ([::1]:41886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEFNK-0004TI-6C for larch@yhetil.org; Mon, 22 Feb 2021 12:52:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEFLu-0003RF-Ks for guix-devel@gnu.org; Mon, 22 Feb 2021 12:50:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59381) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEFLt-0002Fx-1u; Mon, 22 Feb 2021 12:50:33 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39872 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lEFLs-0003J6-L6; Mon, 22 Feb 2021 12:50:32 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brendan Tildesley Subject: Re: Upgrading SIP. References: <163871842.64725.1613994654410@office.mailbox.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Vent=C3=B4se?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=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, 22 Feb 2021 18:50:31 +0100 In-Reply-To: <163871842.64725.1613994654410@office.mailbox.org> (Brendan Tildesley's message of "Mon, 22 Feb 2021 12:50:53 +0100 (CET)") Message-ID: <87eeh89el4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "guix-devel@gnu.org" Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.87 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 4C7F3EE19 X-Spam-Score: -2.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: fveUbKjLvrMd Hi, Brendan Tildesley skribis: > Building python-pyqtwebengine, it is unable to find the .sip files needed= since it only searches one global path: > > openat(AT_FDCWD, "QtCore/QtCoremod.sip", O_RDONLY) =3D -1 ENOENT (No such= file or directory) > openat(AT_FDCWD, "/tmp/guix-build-python-pyqtwebengine-5.15.2.drv-0/PyQtW= ebEngine-5.15.2/sip/QtWebEngineCore/QtCore/QtCoremod.sip", O_RDONLY) =3D -1= ENOENT (No such file or directory) > openat(AT_FDCWD, "/tmp/guix-build-python-pyqtwebengine-5.15.2.drv-0/PyQtW= ebEngine-5.15.2/sip/QtCore/QtCoremod.sip", O_RDONLY) =3D -1 ENOENT (No such= file or directory) > openat(AT_FDCWD, "/tmp/guix-build-python-pyqtwebengine-5.15.2.drv-0/PyQtW= ebEngine-5.15.2/build/bindings/QtCore/QtCoremod.sip", O_RDONLY) =3D -1 ENOE= NT (No such file or directory) > openat(AT_FDCWD, "/lib/python3.8/site-packages/PyQt5/PyQt5/bindings/QtCor= e/QtCoremod.sip", O_RDONLY) =3D -1 ENOENT (No such file or directory) > write(2, ".sip-build-real: Unable to find "..., 61.sip-build-real: Unable= to find file "QtCore/QtCoremod.sip" Do you know how Qt (or whatever component is involved) searches for .sip files? Most of the time, there=E2=80=99s a =E2=80=9Csearch path=E2=80=9D typically= associated with an environment variable that we need to set accordingly (like PYTHONPATH, GUILE_LOAD_PATH, etc.). Sometimes, that mechanism doesn=E2=80=99t exist upstream so we end up patch= ing the software to add it. This is what was done with OBS for instance, and that patch is now upstream. HTH! Ludo=E2=80=99.