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 GAlNGRjLNGDNMQAA0tVLHw (envelope-from ) for ; Tue, 23 Feb 2021 09:30:00 +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 iEGkFBjLNGBBHAAAbx9fmQ (envelope-from ) for ; Tue, 23 Feb 2021 09:30:00 +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 45B6CCEB1 for ; Tue, 23 Feb 2021 10:29:59 +0100 (CET) Received: from localhost ([::1]:37586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEU0z-00083L-U0 for larch@yhetil.org; Tue, 23 Feb 2021 04:29:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEU0b-0007xD-0l for guix-devel@gnu.org; Tue, 23 Feb 2021 04:29:33 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:16494) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1lEU0Y-0002RV-Fy; Tue, 23 Feb 2021 04:29:32 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4DlDK35jGJzQlY0; Tue, 23 Feb 2021 10:29:27 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1614072565; h=from:from: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; bh=7HHqHrLZqXzttBJFuBv3Gq73MZ+3geTNNHnniHD7qeg=; b=IUqlFaWj/hVAHC5K/p+AZ6eLkU895KyfBhFgdahNdQCim6XR2WJvS/ShCkYMz80ITMvPhe ZIGY4HIxVSPNI5/T6y0VqZbkTTwvz/N+ugGTjN4Joufv0zRpUF9wCdK8iFLd6ZWa83n9gD hgh4R1X1saYLQdk7HABEzTyFwShLP3sa2I4w9YPvnrvprKysrZy+/4keQURvP5si6oCa8G OnImG7MFZs00IIvedkkzE8qbCRHUBL2jVEOG750/R7u/qDCcoYU1FV5mhKw7SgGje3RXa4 r4ZGebeyN/dGQ6q4EpVQW7CDfuFQzPxl3AOKEChRQWkRjbuPf7TY4lCEBQs9Pg== Received: from smtp2.mailbox.org ([80.241.60.241]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id dxbOqPY0UsHj; Tue, 23 Feb 2021 10:29:23 +0100 (CET) Date: Tue, 23 Feb 2021 10:29:22 +0100 (CET) From: Brendan Tildesley To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Message-ID: <713834070.80084.1614072562998@office.mailbox.org> In-Reply-To: <87eeh89el4.fsf@gnu.org> References: <163871842.64725.1613994654410@office.mailbox.org> <87eeh89el4.fsf@gnu.org> Subject: Re: Upgrading SIP. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-MBO-SPAM-Probability: X-Rspamd-Score: -8.38 / 15.00 / 15.00 X-Rspamd-Queue-Id: 8A7E317B4 X-Rspamd-UID: d08f8a Received-SPF: pass client-ip=80.241.56.151; envelope-from=mail@brendan.scot; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=brendan.scot header.s=MBO0001 header.b=IUqlFaWj; dmarc=none; spf=pass (aspmx1.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: 45B6CCEB1 X-Spam-Score: -2.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8qC28L9USLwH > On 02/22/2021 6:50 PM Ludovic Court=C3=A8s wrote: >=20 > =20 > Hi, >=20 > Brendan Tildesley skribis: >=20 > > Building python-pyqtwebengine, it is unable to find the .sip files need= ed since it only searches one global path: > > > > openat(AT_FDCWD, "QtCore/QtCoremod.sip", O_RDONLY) =3D -1 ENOENT (No su= ch file or directory) > > openat(AT_FDCWD, "/tmp/guix-build-python-pyqtwebengine-5.15.2.drv-0/PyQ= tWebEngine-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/PyQ= tWebEngine-5.15.2/sip/QtCore/QtCoremod.sip", O_RDONLY) =3D -1 ENOENT (No su= ch file or directory) > > openat(AT_FDCWD, "/tmp/guix-build-python-pyqtwebengine-5.15.2.drv-0/PyQ= tWebEngine-5.15.2/build/bindings/QtCore/QtCoremod.sip", O_RDONLY) =3D -1 EN= OENT (No such file or directory) > > openat(AT_FDCWD, "/lib/python3.8/site-packages/PyQt5/PyQt5/bindings/QtC= ore/QtCoremod.sip", O_RDONLY) =3D -1 ENOENT (No such file or directory) > > write(2, ".sip-build-real: Unable to find "..., 61.sip-build-real: Unab= le to find file "QtCore/QtCoremod.sip" >=20 > Do you know how Qt (or whatever component is involved) searches for .sip > files? >=20 > Most of the time, there=E2=80=99s a =E2=80=9Csearch path=E2=80=9D typical= ly associated with an > environment variable that we need to set accordingly (like PYTHONPATH, > GUILE_LOAD_PATH, etc.). >=20 > Sometimes, that mechanism doesn=E2=80=99t exist upstream so we end up pat= ching > the software to add it. This is what was done with OBS for instance, > and that patch is now upstream. >=20 > HTH! >=20 > Ludo=E2=80=99. https://www.riverbankcomputing.com/hg/sip/file/tip/sipbuild/builder.py#l273 There is a sip_include_dirs, but the bit that looks for bindings from other= packages does so by looking in the target directory specified with --targe= t-dir: # Add any bindings from previously installed packages. sip_include_dirs.append( os.path.join(project.target_dir, project.get_bindings_dir())) Besides that it looks in current build directory.=20 Currently I'm looking at updating sip and going back to the configure.py sc= ript to see if i can get that working first.