Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.12.3
Description
Hi,
We try to compile the Qt with Debootstrap, but see some strange issue.
My compiling steps:
1.) On Ubuntu 20.04, Bootstrap a the focal (ubuntu20.04) base system in folder 'stage-focal-fake' with below command:
fakechroot fakeroot debootstrap focal ~/temp/stage-focal-fake
2.) copy the license and untar the Qt source to $HOME(/home/ubuntu)
cp ~/.qt-license ~/temp/stage-focal-fake/home/ubuntu
tar -xf qt-everywhere-src-5.12.3.tar.tar -C ~/temp/stage-focal-fake/home/ubuntu
3.) enter the focal (ubuntu20.04) base system
fakechroot fakeroot chroot stage-focal-fake
4.) install necessary libs...
apt-get update
apt install gcc g++ make libgl1-mesa-dev libegl1-mesa-dev libgbm1 libdrm-dev pkg-config libpng16-16 net-tools vim
apt install ...
5.) configure the QT, but see errors as below:
root@ip-10-132-42-52:~/qt-everywhere-src-5.12.3# ./configure -prefix /opt/qt5123 -commercial -no-fontconfig -nomake tests -nomake examples -recheck-all -no-qml-debug -no-assimp -confirm-license -release -strip -skip serialbus
+ cd qtbase
+ /home/ubuntu/qt-everywhere-src-5.12.3/qtbase/configure -top-level
+ -verbose -prefix /opt/qt5123 -commercial -no-fontconfig -nomake tests
+ -nomake examples -recheck-all -no-qml-debug -no-assimp
+ -confirm-license -release -strip -skip serialbus
Creating qmake...
Cannot read /home/ubuntu/qt-everywhere-src-5.12.3: No such file or directory Error processing project file: /home/ubuntu/qt-everywhere-src-5.12.3
root@ip-10-132-42-52:~/qt-everywhere-src-5.12.3# ls /home/ubuntu/qt-everywhere-src-5.12.3
LICENSE.FDL coin qtandroidextras qtgamepad qtquickcontrols qtspeech qtwebglplugin
LICENSE.GPLv2 configure qtbase qtgraphicaleffects qtquickcontrols2 qtsvg qtwebsockets
LICENSE.GPLv3 configure.bat qtcanvas3d qtimageformats qtremoteobjects qttools qtwebview
LICENSE.LGPLv21 configure.json qtcharts qtlocation qtscript qttranslations qtwinextras
LICENSE.LGPLv3 gnuwin32 qtconnectivity qtmacextras qtscxml qtvirtualkeyboard qtx11extras
LICENSE.QT-LICENSE-AGREEMENT-4.0 qt.pro qtdatavis3d qtmultimedia qtsensors qtwayland qtxmlpatterns
README qt3d qtdeclarative qtnetworkauth qtserialbus qtwebchannel
_clang-format qtactiveqt qtdoc qtpurchasing qtserialport qtwebengine
root@ip-10-132-42-52:~/qt-everywhere-src-5.12.3#
Please help have a check!
Thanks!
Xinlun