jonaski / mxe-qt Goto Github PK
View Code? Open in Web Editor NEW:floppy_disk: MXE with Qt 6
License: Other
:floppy_disk: MXE with Qt 6
License: Other
Probably latest ccache can only be built if host cmake is installed.
Describe the bug
The issue occurs when I try to generate the toolchain. At a certain point, the system returns an error related to ccache.
To Reproduce
make cc
# or
make qt6-qtbase MXE_TARGETS='x86_64-w64-mingw32.shared i686-w64-mingw32.shared x86_64-w64-mingw32.static i686-w64-mingw32.static'
[build] ccache x86_64-pc-linux-gnu
Failed to build package ccache for target x86_64-pc-linux-gnu!
------------------------------------------------------------
-- Configuring incomplete, errors occurred!
See also "/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeOutput.log".
See also "/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeError.log".
make[1]: *** [Makefile:869: build-only-ccache_x86_64-pc-linux-gnu] Error 1
make[1]: Leaving directory '/work/tools/mxe-qt'
real 0m3.999s
user 0m3.105s
sys 0m0.960s
------------------------------------------------------------
[log] /work/tools/mxe-qt/log/ccache_x86_64-pc-linux-gnu
make: *** [Makefile:857: /work/tools/mxe-qt/usr/x86_64-pc-linux-gnu/installed/ccache] Error 1
cat /work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeError.log
...
Determining if the include file varargs.h exists failed with the following output:
Change Dir: /work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_868d8/fast && make[2]: Entering directory '/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_868d8.dir/build.make CMakeFiles/cmTC_868d8.dir/build
make[3]: Entering directory '/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_868d8.dir/CheckIncludeFile.c.o
/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_868d8.dir/CheckIncludeFile.c.o -c /work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp/CheckIncludeFile.c
In file included from /work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:
/usr/lib/gcc/x86_64-linux-gnu/9/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
4 | #error "GCC no longer implements <varargs.h>."
| ^~~~~
/usr/lib/gcc/x86_64-linux-gnu/9/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
5 | #error "Revise your code to use <stdarg.h>."
| ^~~~~
make[3]: *** [CMakeFiles/cmTC_868d8.dir/build.make:66: CMakeFiles/cmTC_868d8.dir/CheckIncludeFile.c.o] Error 1
make[3]: Leaving directory '/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp'
make[2]: *** [Makefile:121: cmTC_868d8/fast] Error 2
make[2]: Leaving directory '/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp'
Performing C++ SOURCE FILE Test HAVE_STRUCT_STATFS_F_FSTYPENAME failed with the following output:
Change Dir: /work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_da7cc/fast && make[2]: Entering directory '/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_da7cc.dir/build.make CMakeFiles/cmTC_da7cc.dir/build
make[3]: Entering directory '/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_da7cc.dir/src.cxx.o
/usr/bin/c++ -DHAVE_STRUCT_STATFS_F_FSTYPENAME -std=c++14 -o CMakeFiles/cmTC_da7cc.dir/src.cxx.o -c /work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp/src.cxx
/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp/src.cxx:6:36: error: invalid use of incomplete type ‘struct main()::statfs’
6 | (void)sizeof(((struct statfs *)0)->f_fstypename);
| ^~
/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp/src.cxx:6:25: note: forward declaration of ‘struct main()::statfs’
6 | (void)sizeof(((struct statfs *)0)->f_fstypename);
| ^~~~~~
make[3]: *** [CMakeFiles/cmTC_da7cc.dir/build.make:66: CMakeFiles/cmTC_da7cc.dir/src.cxx.o] Error 1
make[3]: Leaving directory '/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp'
make[2]: *** [Makefile:121: cmTC_da7cc/fast] Error 2
make[2]: Leaving directory '/work/tools/mxe-qt/tmp-ccache-x86_64-pc-linux-gnu/ccache-4.5.1.build_/CMakeFiles/CMakeTmp'
Source file was:
#include <sys/mount.h>
int main()
{
(void)sizeof(((struct statfs *)0)->f_fstypename);
return 0;
}
System Information:
Additional context
All MXE dependencies were installed and MXE works well, not MXE-QT.
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.