all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Brendan Tildesley <mail@brendan.scot>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: Upgrading SIP.
Date: Mon, 22 Feb 2021 18:50:31 +0100	[thread overview]
Message-ID: <87eeh89el4.fsf@gnu.org> (raw)
In-Reply-To: <163871842.64725.1613994654410@office.mailbox.org> (Brendan Tildesley's message of "Mon, 22 Feb 2021 12:50:53 +0100 (CET)")

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	other threads:[~2021-02-22 17:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-22 11:50 Upgrading SIP Brendan Tildesley
2021-02-22 17:50 ` Ludovic Courtès [this message]
2021-02-23  9:29   ` Brendan Tildesley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eeh89el4.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=mail@brendan.scot \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.