guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Upgrading SIP.


From: Ludovic Courtès
Subject: Re: Upgrading SIP.
Date: Mon, 22 Feb 2021 18:50:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

Brendan Tildesley <mail@brendan.scot> 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) = -1 ENOENT (No such file 
> or directory)
> openat(AT_FDCWD, 
> "/tmp/guix-build-python-pyqtwebengine-5.15.2.drv-0/PyQtWebEngine-5.15.2/sip/QtWebEngineCore/QtCore/QtCoremod.sip",
>  O_RDONLY) = -1 ENOENT (No such file or directory)
> openat(AT_FDCWD, 
> "/tmp/guix-build-python-pyqtwebengine-5.15.2.drv-0/PyQtWebEngine-5.15.2/sip/QtCore/QtCoremod.sip",
>  O_RDONLY) = -1 ENOENT (No such file or directory)
> openat(AT_FDCWD, 
> "/tmp/guix-build-python-pyqtwebengine-5.15.2.drv-0/PyQtWebEngine-5.15.2/build/bindings/QtCore/QtCoremod.sip",
>  O_RDONLY) = -1 ENOENT (No such file or directory)
> openat(AT_FDCWD, 
> "/lib/python3.8/site-packages/PyQt5/PyQt5/bindings/QtCore/QtCoremod.sip", 
> O_RDONLY) = -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’s a “search path” typically associated with an
environment variable that we need to set accordingly (like PYTHONPATH,
GUILE_LOAD_PATH, etc.).

Sometimes, that mechanism doesn’t exist upstream so we end up patching
the software to add it.  This is what was done with OBS for instance,
and that patch is now upstream.

HTH!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]