Giter Club home page Giter Club logo

mxe-qt's People

Contributors

dependabot[bot] avatar jonaski avatar strawbsbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mxe-qt's Issues

Failed to build package ccache for target x86_64-pc-linux-gnu!

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:

  • Operating system: Ubuntu 20.04 LTS

Additional context
All MXE dependencies were installed and MXE works well, not MXE-QT.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.