Re: qscintilla2: FTBFS on hppa - LD_LIBRARY_PATH incorrectly set

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.sparc
Message-ID <e9acfabfc45b54c8148cb6b0cbc3fe84b215bd4c.camel@physik.fu-berlin.de>
Hi!

Testing the following patch now which seems to work:

--- qscintilla2-2.14.1+dfsg/debian/rules.orig   2023-07-22 20:17:16.000000000 +0200
+++ qscintilla2-2.14.1+dfsg/debian/rules        2023-11-28 10:12:29.317757619 +0100
@@ -46,7 +46,7 @@
 Python/build-%/configure-stamp: build-library-stamp
        dh_testdir
        cp -f Python/pyproject-qt5.toml Python/pyproject.toml
-       cd Python && python$* /usr/bin/sip-build \
+       cd Python && LD_LIBRARY_PATH=$(CURDIR)/QSciQt5 python$* /usr/bin/sip-build \
                --verbose --no-make --pep484-pyi \
                --qmake /usr/bin/$(DEB_HOST_GNU_TYPE)-qmake \
                --qmake-setting 'QMAKE_CXXFLAGS += "$(CXXFLAGS) $(CPPFLAGS)"' \
@@ -59,7 +59,7 @@
                --qsci-library-dir $(CURDIR)/QSciQt5
 ifeq ($(qt6), "yes")
        cp -f Python/pyproject-qt6.toml Python/pyproject.toml
-       cd Python && python$* /usr/bin/sip-build \
+       cd Python && LD_LIBRARY_PATH=$(CURDIR)/QSciQt6 python$* /usr/bin/sip-build \
                --verbose --no-make --pep484-pyi \
                --qmake /usr/bin/qmake6 \
                --qmake-setting 'QMAKE_CXXFLAGS += "$(CXXFLAGS) $(CPPFLAGS)"' \

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.