Source: qscintilla2
Version: 2.10.4+dfsg-2.1
Severity: normal

Dear Maintainer,

The qscintilla2 build fails on hppa with the following error:

make[2]: Entering directory '/<<PKGBUILDDIR>>/Python/build-3.9/cfgtest_Qsci'
hppa-linux-gnu-g++ -c -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall 
-Wextra -D_REENTRANT -fPIC -DQSCINTILLA_DLL -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB 
-DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../QSciQt5 
-I/usr/include/hppa-linux-gnu/qt5 
-I/usr/include/hppa-linux-gnu/qt5/QtPrintSupport 
-I/usr/include/hppa-linux-gnu/qt5/QtWidgets 
-I/usr/include/hppa-linux-gnu/qt5/QtGui 
-I/usr/include/hppa-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/hppa-linux-gnu/qt5/mkspecs/linux-g++ -o cfgtest_Qsci.o 
../../config-tests/cfgtest_Qsci.cpp
hppa-linux-gnu-g++ -Wl,-O1 -o Qsci cfgtest_Qsci.o   -L../../../QSciQt5 
-L/usr/lib/hppa-linux-gnu -lqscintilla2_qt5 
/usr/lib/hppa-linux-gnu/libQt5PrintSupport.so 
/usr/lib/hppa-linux-gnu/libQt5Widgets.so /usr/lib/hppa-linux-gnu/libQt5Gui.so 
/usr/lib/hppa-linux-gnu/libQt5Core.so -lGL -lpthread   
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Python/build-3.9/cfgtest_Qsci'
/<<PKGBUILDDIR>>/Python/build-3.9/cfgtest_Qsci/./Qsci 
/<<PKGBUILDDIR>>/Python/build-3.9/cfgtest_Qsci/cfgtest_Qsci.out
sip-build: '/<<PKGBUILDDIR>>/Python/build-3.9/cfgtest_Qsci/./Qsci' didn't 
create any output
/<<PKGBUILDDIR>>/Python/build-3.9/cfgtest_Qsci/./Qsci: error while loading 
shared libraries: libqscintilla2_qt5.so.15: cannot open shared object file: No 
such file or directory
make[1]: *** [debian/rules:34: Python/build-3.9/configure-stamp] Error 1

Full log is here:
https://buildd.debian.org/status/fetch.php?pkg=qscintilla2&arch=hppa&ver=2.11.6%2Bdfsg-2&stamp=1616018221&raw=0

Same error occurs on m68k and sh4.

It would appear the execution of Qsci fails because LD_LIBRARY_PATH or the
the dynamic linker run-times bindings are not set to include the directory
containing libqscintilla2_qt5.so.15.

I had a successful build by adding the following line to debian/rules:
export 
LD_LIBRARY_PATH=/home/dave/debian/qscintilla2/qscintilla2-2.11.6+dfsg/QSciQt5:/usr/lib/hppa-linux-gnu/libfakeroot:/usr/local/lib/hppa-linux-gnu:/lib/hppa-linux-gnu:/usr/lib/hppa-linux-gnu:/usr/local/lib

Regards,
Dave Anglin

-- System Information:
Debian Release: bullseye/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 5.10.24+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to