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

Re: qscintilla2: FTBFS on hppa - LD_LIBRARY_PATH incorrectly set



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


Reply to: