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

Cross-build Qt Debian package



Hi,

I get the following error while trying to rebuild  'qtbase-opensource-src_5.7.1+dfsg-3+deb9u1' for Debian Stretch armhf in a pbuilder environment:

...
g++ -c -pipe -O2 -Wall -W -fPIC  -I. -I../../../mkspecs/linux-g++ -o db2.o db2.cpp
db2.cpp:40:20: fatal error: sqlcli.h: No such file or directory
 #include <sqlcli.h>
...

My build steps (on Debian Stretch build machine):

sudo apt-get install dh-make pbuilder debootstrap devscripts
echo 'PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt"' | sudo tee root/.pbuilderrc
sudo pbuilder create --distribution stretch
mkdir build-qt
apt-get source qt5-default
sudo pbuilder build --host-arch armhf qtbase-opensource-src_5.7.1+dfsg-3+deb9u1.dsc

I assumed that the debian/control file should cover all Build-Depends correctly. But it doesn't seem to be the case.

Further, obviously there are already build armhf packages from 'qtbase-opensource-src'. How were those packages build from the sources?
Is the above way wrong?

Further I can't find any Debian stretch *-dev package containing the above missing header 'sqlcli.h'

Best regards
-Carsten


Reply to: