kryptonlee / qbittorrent-openwrt-package Goto Github PK
View Code? Open in Web Editor NEWOpenwrt Makefiles for qBittorrent and its dependencies (libtorrent-rasterbar, qt5)
Openwrt Makefiles for qBittorrent and its dependencies (libtorrent-rasterbar, qt5)
I'm building OpenWrt 22.03.0-rc4 for x86_64 platform with Github Action (Ubuntu 22.04), and I got following error:
The imported target "clangBasic" references the file "/usr/lib/llvm-11/lib/libclangBasic.a", but this file does not exist.
make[3]: Entering directory '/home/runner/work/openwrt-lede/openwrt-lede/openwrt/package/sgpublic/qt6tools'
(cd /tmp/openwrt/build_dir/hostpkg/qttools-everywhere-src-6.3.0; /tmp/openwrt/staging_dir/hostpkg/bin/qt-configure-module . -no-feature-assistant -no-feature-designer -no-feature-distancefieldgenerator -no-feature-kmap2qmap -no-feature-pixeltool -no-feature-qdbus -no-feature-qev -no-feature-qtattributionsscanner -no-feature-qtplugininfo -no-feature-qtdiag )
'/tmp/openwrt/staging_dir/hostpkg/bin/qt-cmake-private' '-DINPUT_assistant=no' '-DINPUT_designer=no' '-DINPUT_distancefieldgenerator=no' '-DINPUT_kmap2qmap=no' '-DINPUT_pixeltool=no' '-DINPUT_qdbus=no' '-DINPUT_qev=no' '-DINPUT_qtattributionsscanner=no' '-DINPUT_qtplugininfo=no' '-DINPUT_qtdiag=no' '.'
-- Using Qt bundled PCRE2.
CMake Error at /usr/lib/llvm-11/lib/cmake/clang/ClangTargets.cmake:671 (message):
-- Configuring incomplete, errors occurred!
See also "/tmp/openwrt/build_dir/hostpkg/qttools-everywhere-src-6.3.0/CMakeFiles/CMakeOutput.log".
See also "/tmp/openwrt/build_dir/hostpkg/qttools-everywhere-src-6.3.0/CMakeFiles/CMakeError.log".
The imported target "clangBasic" references the file
"/usr/lib/llvm-11/lib/libclangBasic.a"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/llvm-11/lib/cmake/clang/ClangTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/cmake/clang-11/ClangConfig.cmake:20 (include)
cmake/FindWrapLibClang.cmake:14 (find_package)
/tmp/openwrt/build_dir/hostpkg/qtbase-everywhere-src-6.3.0/cmake/QtFindPackageHelpers.cmake:130 (find_package)
configure.cmake:17 (qt_find_package)
/tmp/openwrt/build_dir/hostpkg/qtbase-everywhere-src-6.3.0/cmake/QtFeature.cmake:573 (include)
src/CMakeLists.txt:21 (qt_feature_evaluate_features)
CMake Error at /tmp/openwrt/staging_dir/hostpkg/lib/cmake/Qt6/QtProcessConfigureArgs.cmake:963 (message):
CMake exited with code 1.
make[3]: Leaving directory '/home/runner/work/openwrt-lede/openwrt-lede/openwrt/package/sgpublic/qt6tools'
make[3]: *** [Makefile:62: /tmp/openwrt/build_dir/hostpkg/qttools-everywhere-src-6.3.0/.configured] Error 1
time: package/sgpublic/qt6tools/host-compile#0.27#0.05#0.34
ERROR: package/sgpublic/qt6tools [host] failed to build.
make[2]: *** [package/Makefile:114: package/sgpublic/qt6tools/host/compile] Error 1
make[2]: Leaving directory '/home/runner/work/openwrt-lede/openwrt-lede/openwrt'
make[1]: *** [package/Makefile:110: /tmp/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/runner/work/openwrt-lede/openwrt-lede/openwrt'
make: *** [/home/runner/work/openwrt-lede/openwrt-lede/openwrt/include/toplevel.mk:230: world] Error 2
But this problem doesn't happen on WSL Ubuntu 20.04.4 LTS on my local machine, so I don't really know what happened during compilation.
Could you please help me with this problem? Thank you so much!
find /home/garypang/openwrt/build_dir/target-x86_64_musl/qt-everywhere-src-5.14.2/ipkg-x86_64/libQt5Core -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package libQt5Core is missing dependencies for the following libraries:
libdouble-conversion.so.3
libicudata.so.66
libicui18n.so.66
libicuuc.so.66
libpcre2-16.so.0
libzstd.so.1
make[2]: *** [Makefile:323: /home/garypang/openwrt/bin/packages/x86_64/custom/libQt5Core_5.14-0_x86_64.ipk] Error 1
So I added +libzstd +libpcre2-16 +libdouble-conversion +icu DEPENDS, but still got some errors:
In file included from ../../../../staging_dir/target-x86_64_musl/usr/include/QtCore/QPointer:1,
from app/application.h:32,
from app/application.cpp:30:
../../../../staging_dir/target-x86_64_musl/usr/include/QtCore/qpointer.h: In instantiation of 'T* QPointer<T>::data() const [with T = FileLogger]':
../../../../staging_dir/target-x86_64_musl/usr/include/QtCore/qpointer.h:83:14: required from 'QPointer<T>::operator T*() const [with T = FileLogger]'
app/application.cpp:220:19: required from here
../../../../staging_dir/target-x86_64_musl/usr/include/QtCore/qpointer.h:77:33: error: 'const class QWeakPointer<QObject>' has no member named 'internalData'; did you mean 'internalSet'?
{ return static_cast<T*>(wp.internalData()); }
~~~^~~~~~~~~~~~
internalSet
make[4]: *** [Makefile:10354: application.o] Error 1
make[4]: Leaving directory '/home/garypang/openwrt/build_dir/target-x86_64_musl/qBittorrent-4.2.5/src'
make[3]: *** [Makefile:47: sub-src-make_first] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.