cmake-native-2.8.5-r2.1 compile error


Elvis Dowson
 

Hi,
      With the latest update to the yocto repos, as of today, I get a compile error for cmake-native-2.8.5-r2.1, when trying to bitbake core-image-sato. 

This had also happened yesterday, when I tried to build core-image-sato, from the master branch, which was updated 2 to 3 weeks ago. I tried with the latest updates, and still the error persists. 

DEBUG: Executing shell function do_compile
NOTE: make -j 6
Scanning dependencies of target cmsys_c
Scanning dependencies of target cmzlib
[  0%] Scanning dependencies of target cmcompress
Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/ProcessUNIX.c.o
Scanning dependencies of target cmsys
Scanning dependencies of target cmbzip2
[  0%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/adler32.c.o
[  0%] [  0%] Building C object Utilities/cmcompress/CMakeFiles/cmcompress.dir/cmcompress.c.o
[  0%] Building C object Utilities/cmbzip2/CMakeFiles/cmbzip2.dir/blocksort.c.o
Building C object Source/kwsys/CMakeFiles/cmsys.dir/ProcessUNIX.c.o
[  0%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/compress.c.o
Linking C static library libcmcompress.a
[  0%] Built target cmcompress
[  1%] Scanning dependencies of target cmlibarchive
Building C object Utilities/cmbzip2/CMakeFiles/cmbzip2.dir/huffman.c.o
[  2%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/crc32.c.o
[  2%] Building C object Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_check_magic.c.o
In file included from /tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_private.h:35:0,
                 from /tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_check_magic.c:48:
/tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive.h:369:63: error: unknown type name 'FILE'
/tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive.h:555:64: error: unknown type name 'FILE'
In file included from /tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_string.h:44:0,
                 from /tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_private.h:36,
                 from /tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_check_magic.c:48:
/usr/include/wchar.h:577:1: error: unknown type name '__FILE'
/usr/include/wchar.h:584:19: error: unknown type name '__FILE'
/usr/include/wchar.h:591:22: error: unknown type name '__FILE'
/usr/include/wchar.h:609:23: error: unknown type name '__FILE'
/usr/include/wchar.h:632:21: error: unknown type name '__FILE'
/usr/include/wchar.h:653:12: error: unknown type name '__FILE'
/usr/include/wchar.h:686:22: error: unknown type name '__FILE'
/usr/include/wchar.h:707:12: error: unknown type name '__FILE'
/usr/include/wchar.h:742:23: error: unknown type name '__FILE'
/usr/include/wchar.h:743:22: error: unknown type name '__FILE'
/usr/include/wchar.h:756:37: error: unknown type name '__FILE'
/usr/include/wchar.h:757:36: error: unknown type name '__FILE'
/usr/include/wchar.h:772:4: error: unknown type name '__FILE'
/usr/include/wchar.h:779:6: error: unknown type name '__FILE'
/usr/include/wchar.h:786:37: error: unknown type name '__FILE'
In file included from /usr/include/wchar.h:881:0,
                 from /tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_string.h:44,
                 from /tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_private.h:36,
                 from /tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_check_magic.c:48:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:328:28: error: unknown type name '__FILE'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:332:29: error: unknown type name '__FILE'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:346:11: error: unknown type name '__FILE'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:365:12: error: unknown type name '__FILE'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:374:10: error: unknown type name '__FILE'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:375:17: error: unknown type name '__FILE'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:378:17: error: unknown type name '__FILE'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:385:43: error: unknown type name '__FILE'
make[2]: *** [Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_check_magic.c.o] Error 1
make[1]: *** [Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  2%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/deflate.c.o
[  2%] [  2%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/gzio.c.o
Building C object Utilities/cmbzip2/CMakeFiles/cmbzip2.dir/crctable.c.o
[  2%] Building C object Utilities/cmbzip2/CMakeFiles/cmbzip2.dir/randtable.c.o
[  3%] Building C object Utilities/cmbzip2/CMakeFiles/cmbzip2.dir/compress.c.o
[  4%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/Base64.c.o
[  4%] [  5%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Base64.c.o
Building C object Utilities/cmbzip2/CMakeFiles/cmbzip2.dir/decompress.c.o
[  5%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/MD5.c.o
[  5%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/MD5.c.o
[  5%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/Terminal.c.o
[  5%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/inffast.c.o
[  6%] [  6%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/System.c.o
Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/String.c.o
[  7%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/inflate.c.o
[  7%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Terminal.c.o
[  7%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/System.c.o
[  7%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/inftrees.c.o
[  8%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/String.c.o
Linking C static library libcmsys_c.a
[  8%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Directory.cxx.o
[  8%] Built target cmsys_c
[  8%] Building C object Utilities/cmbzip2/CMakeFiles/cmbzip2.dir/bzlib.c.o
[  8%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/DynamicLoader.cxx.o
[  8%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Glob.cxx.o
[  9%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/RegularExpression.cxx.o
[  9%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/trees.c.o
[  9%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/uncompr.c.o
[ 10%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/zutil.c.o
[ 10%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/SystemTools.cxx.o
[ 10%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/CommandLineArguments.cxx.o
Linking C static library libcmbzip2.a
[ 10%] Linking C static library libcmzlib.a
Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Registry.cxx.o
[ 10%] Built target cmbzip2
[ 11%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/IOStream.cxx.o
[ 11%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.cxx.o
[ 11%] Built target cmzlib
Linking CXX static library libcmsys.a
[ 11%] Built target cmsys
make: *** [all] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (see /tool/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/temp/log.do_compile.60499 for further information)

Elvis Dowson

Join yocto@lists.yoctoproject.org to automatically receive all group messages.