poky.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* Failing to Create Windows Cross Compile Toolchain/SDK using Meta-MinGW #bitbake #yocto #poky #sdk
@ 2022-11-23  2:50 peter.jamrozinski
  2022-11-30  2:17 ` [poky] " Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: peter.jamrozinski @ 2022-11-23  2:50 UTC (permalink / raw)
  To: poky


[-- Attachment #1.1: Type: text/plain, Size: 1245 bytes --]

Hello,

I'm trying to create a cross-compile toolchain for my local Windows host targeting an I.MX 8M Nano target. I added the layer 'meta-mingw' to my sources and added it to my bblayers.conf file:

# Addition of MinGW layer to allow for Windows X-Compiler generation
BBLAYERS =+ "/usr/local/dey-3.2/sources/meta-mingw"

My local.conf contains:

> 
> SDKMACHINE = "x86_64-mingw32"
> SDK_ARCHIVE_TYPE = "zip"
> 

I ran 'bitbake <image name> -c populate_sdk' to generate the sdk.

I encountered the following errors:

ERROR: nativesdk-openssl-1.1.1n-r0 do_configure: Execution of '/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-openssl/1.1.1n-r0/temp/run.do_configure.1376007' failed with exit code 1:

and

configure: error: linux/capability.h is required in order to build libcap-ng.

I've attached the log files from both 'do_config' steps for libcap-ng and openSSL.

I did see the following link that looks like it might help with the openSSL issue, but I'm not sure how I download and apply this patch in my local environment:

https://www.yoctoproject.org/pipermail/yocto/2018-July/041835.html

any help is *greatly* appreciated.

Thank you!

- psj.dev

[-- Attachment #1.2: Type: text/html, Size: 2303 bytes --]

[-- Attachment #2: log.do_configure.1375764 --]
[-- Type: application/octet-stream, Size: 29467 bytes --]

DEBUG: Executing shell function autotools_preconfigure
DEBUG: Shell function autotools_preconfigure finished
DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'common-mingw', 'bit-64', 'x86_64-mingw32', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_populate_sysroot', 'virtual:native:/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/gcc/gcc-crosssdk_10.2.bb:do_populate_sysroot', 'virtual:native:/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/chrpath/chrpath_0.16.bb:do_populate_sysroot', '/usr/local/dey-3.2/sources/meta-mingw/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_7.0.0.bb:do_populate_sysroot', '/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/automake/automake_1.16.2.bb:do_populate_sysroot', 'virtual:nativesdk:/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_10.2.bb:do_populate_sysroot', '/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot', 'virtual:native:/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['autoconf-native', 'pseudo-native', 'gcc-crosssdk-x86_64-w64-mingw32', 'chrpath-native', 'nativesdk-mingw-w64-runtime', 'quilt-native', 'automake-native', 'nativesdk-gcc-runtime', 'libtool-native', 'gnu-config-native', 'texinfo-dummy-native', 'm4-native', 'nativesdk-libgcc', 'nativesdk-mingw-w64-winpthreads', 'binutils-crosssdk-x86_64-w64-mingw32', 'xz-native', 'mpfr-native', 'libmpc-native', 'gettext-native', 'zlib-native', 'gmp-native', 'patch-native', 'flex-native', 'nativesdk-mingw-w64-headers', 'gettext-minimal-native', 'pkgconfig-native', 'attr-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
automake (GNU automake) 1.16.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
AUTOV is 1.16
NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/share/aclocal/ --automake-acdir=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/share/aclocal-1.16" autoreconf -Wcross --verbose --install --force --exclude=autopoint -I /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/libcap-ng-0.7.11/m4/ -I /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/share/aclocal/
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --system-acdir=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/share/aclocal/ --automake-acdir=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/libcap-ng-0.7.11/m4/ -I /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/share/aclocal/ --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/bin/autoconf --include=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/libcap-ng-0.7.11/m4/ --include=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: running: /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/bin/autoheader --include=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/libcap-ng-0.7.11/m4/ --include=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:41: installing './compile'
configure.ac:40: installing './missing'
bindings/python/Makefile.am: installing './depcomp'
bindings/src/Makefile.am:24: warning: variable 'SWIG_SOURCES' is defined but no program or
bindings/src/Makefile.am:24: library has 'SWIG' as canonical name (possible typo)
autoreconf: running: gnu-configize
autoreconf: Leaving directory `.'
NOTE: Running ../libcap-ng-0.7.11/configure  --build=x86_64-linux 		  --host=x86_64-w64-mingw32 		  --target=x86_64-w64-mingw32 		  --prefix=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr 		  --exec_prefix=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr 		  --bindir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/bin 		  --sbindir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/bin 		  --libexecdir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/libexec 		  --datadir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/share 		  --sysconfdir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/etc 		  --sharedstatedir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/com 		  --localstatedir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/var 		  --libdir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/lib 		  --includedir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/include 		  --oldincludedir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/include 		  --infodir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/share/info 		  --mandir=/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/share/man 		  --disable-silent-rules 		  --disable-dependency-tracking 		  --with-libtool-sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot  --without-python --without-python3  
configure: loading site script /usr/local/dey-3.2/sources/poky/meta/site/endian-little
configure: loading site script /usr/local/dey-3.2/sources/poky/meta/site/common-mingw
configure: loading site script /usr/local/dey-3.2/sources/poky/meta/site/common
configure: loading site script /usr/local/dey-3.2/sources/meta-openembedded/meta-networking/site/endian-little
Configuring libcap-ng
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
checking for a BSD-compatible install... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking for a thread-safe mkdir -p... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot accepts -g... yes
checking for x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot option to accept ISO C89... none needed
checking whether x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot understands -c and -o together... yes
checking dependency style of x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot... none
checking for a sed that does not truncate output... (cached) sed
checking for grep that handles long lines and -e... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/grep
checking for egrep... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/grep -E
checking for fgrep... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/grep -F
checking for ld used by x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot... x86_64-w64-mingw32-ld --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot 
checking if the linker (x86_64-w64-mingw32-ld --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot ) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... x86_64-w64-mingw32-nm
checking the name lister (x86_64-w64-mingw32-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for x86_64-w64-mingw32-ld --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot  option to reload object files... -r
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-gcc-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-gcc-ranlib
checking command to parse x86_64-w64-mingw32-nm output from x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot object... ok
checking for sysroot... /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot
checking for a working dd... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/dd
checking how to truncate binary pipes... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot 
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot static flag -static works... yes
checking if x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot linker (x86_64-w64-mingw32-ld --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot ) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
.
Checking for programs
checking for x86_64-w64-mingw32-gcc... (cached) x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot accepts -g... (cached) yes
checking for x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot option to accept ISO C89... (cached) none needed
checking whether x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot understands -c and -o together... (cached) yes
checking dependency style of x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot... (cached) none
checking for gawk... (cached) gawk
.
Checking for header files
checking for ANSI C header files... (cached) yes
checking linux/capability.h usability... no
checking linux/capability.h presence... no
checking for linux/capability.h... no
configure: error: linux/capability.h is required in order to build libcap-ng.
NOTE: The following config.log files may provide further information.
NOTE: /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/build/config.log
ERROR: configure failed
WARNING: exit code 1 from a shell command.
ERROR: Execution of '/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/temp/run.do_configure.1375764' failed with exit code 1:
automake (GNU automake) 1.16.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
AUTOV is 1.16
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --system-acdir=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot/opt/dey/3.2-r3/ccimx8mn-dvk/sysroots/x86_64-w64-mingw32/usr/share/aclocal/ --automake-acdir=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/libcap-ng-0.7.11/m4/ -I /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/share/aclocal/ --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/bin/autoconf --include=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/libcap-ng-0.7.11/m4/ --include=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: running: /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/bin/autoheader --include=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/libcap-ng-0.7.11/m4/ --include=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:41: installing './compile'
configure.ac:40: installing './missing'
bindings/python/Makefile.am: installing './depcomp'
bindings/src/Makefile.am:24: warning: variable 'SWIG_SOURCES' is defined but no program or
bindings/src/Makefile.am:24: library has 'SWIG' as canonical name (possible typo)
autoreconf: running: gnu-configize
autoreconf: Leaving directory `.'
configure: loading site script /usr/local/dey-3.2/sources/poky/meta/site/endian-little
configure: loading site script /usr/local/dey-3.2/sources/poky/meta/site/common-mingw
configure: loading site script /usr/local/dey-3.2/sources/poky/meta/site/common
configure: loading site script /usr/local/dey-3.2/sources/meta-openembedded/meta-networking/site/endian-little
Configuring libcap-ng
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
checking for a BSD-compatible install... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking for a thread-safe mkdir -p... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot accepts -g... yes
checking for x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot option to accept ISO C89... none needed
checking whether x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot understands -c and -o together... yes
checking dependency style of x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot... none
checking for a sed that does not truncate output... (cached) sed
checking for grep that handles long lines and -e... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/grep
checking for egrep... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/grep -E
checking for fgrep... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/grep -F
checking for ld used by x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot... x86_64-w64-mingw32-ld --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot 
checking if the linker (x86_64-w64-mingw32-ld --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot ) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... x86_64-w64-mingw32-nm
checking the name lister (x86_64-w64-mingw32-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for x86_64-w64-mingw32-ld --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot  option to reload object files... -r
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-gcc-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-gcc-ranlib
checking command to parse x86_64-w64-mingw32-nm output from x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot object... ok
checking for sysroot... /home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot
checking for a working dd... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/dd
checking how to truncate binary pipes... /home/dey/workspace/ccimx8mn-dvk/tmp/hosttools/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot 
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot static flag -static works... yes
checking if x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot linker (x86_64-w64-mingw32-ld --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot ) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
.
Checking for programs
checking for x86_64-w64-mingw32-gcc... (cached) x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot accepts -g... (cached) yes
checking for x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot option to accept ISO C89... (cached) none needed
checking whether x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot understands -c and -o together... (cached) yes
checking dependency style of x86_64-w64-mingw32-gcc  --sysroot=/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libcap-ng/0.7.11-r0/recipe-sysroot... (cached) none
checking for gawk... (cached) gawk
.
Checking for header files
checking for ANSI C header files... (cached) yes
checking linux/capability.h usability... no
checking linux/capability.h presence... no
checking for linux/capability.h... no
configure: error: linux/capability.h is required in order to build libcap-ng.
WARNING: exit code 1 from a shell command.


[-- Attachment #3: log.do_configure.1376007 --]
[-- Type: application/octet-stream, Size: 6564 bytes --]

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/gcc/gcc-crosssdk_10.2.bb:do_populate_sysroot', 'virtual:nativesdk:/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_10.2.bb:do_populate_sysroot', '/usr/local/dey-3.2/sources/meta-mingw/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_7.0.0.bb:do_populate_sysroot', 'virtual:native:/usr/local/dey-3.2/sources/poky/meta/recipes-devtools/chrpath/chrpath_0.16.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['quilt-native', 'pseudo-native', 'gcc-crosssdk-x86_64-w64-mingw32', 'nativesdk-gcc-runtime', 'nativesdk-mingw-w64-runtime', 'chrpath-native', 'nativesdk-libgcc', 'nativesdk-mingw-w64-winpthreads', 'autoconf-native', 'automake-native', 'libtool-native', 'gnu-config-native', 'nativesdk-mingw-w64-headers', 'binutils-crosssdk-x86_64-w64-mingw32', 'xz-native', 'mpfr-native', 'libmpc-native', 'gettext-native', 'zlib-native', 'gmp-native', 'patch-native', 'texinfo-dummy-native', 'flex-native', 'm4-native', 'gettext-minimal-native', 'pkgconfig-native', 'attr-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-egd] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--config=FILE] os/compiler[:flags]

pick os/compiler from:
BS2000-OSD BSD-generic32 BSD-generic64 BSD-ia64 BSD-riscv64 BSD-sparc64 
BSD-sparcv8 BSD-x86 BSD-x86-elf BSD-x86_64 Cygwin Cygwin-i386 Cygwin-i486 
Cygwin-i586 Cygwin-i686 Cygwin-x86 Cygwin-x86_64 DJGPP MPE/iX-gcc UEFI UWIN 
VC-CE VC-WIN32 VC-WIN32-ARM VC-WIN32-ONECORE VC-WIN64-ARM VC-WIN64A 
VC-WIN64A-ONECORE VC-WIN64A-masm VC-WIN64I aix-cc aix-gcc aix64-cc aix64-gcc 
android-arm android-arm64 android-armeabi android-mips android-mips64 
android-x86 android-x86_64 android64 android64-aarch64 android64-mips64 
android64-x86_64 bsdi-elf-gcc cc darwin-i386-cc darwin-ppc-cc 
darwin64-arm64-cc darwin64-ppc-cc darwin64-x86_64-cc gcc haiku-x86 
haiku-x86_64 hpux-ia64-cc hpux-ia64-gcc hpux-parisc-cc hpux-parisc-gcc 
hpux-parisc1_1-cc hpux-parisc1_1-gcc hpux64-ia64-cc hpux64-ia64-gcc 
hpux64-parisc2-cc hpux64-parisc2-gcc hurd-x86 ios-cross ios-xcrun ios64-cross 
ios64-xcrun iossimulator-xcrun iphoneos-cross irix-mips3-cc irix-mips3-gcc 
irix64-mips4-cc irix64-mips4-gcc linux-aarch64 linux-alpha-gcc linux-aout 
linux-arm64ilp32 linux-armv4 linux-c64xplus linux-elf linux-generic32 
linux-generic64 linux-ia64 linux-mips32 linux-mips64 linux-ppc linux-ppc64 
linux-ppc64le linux-sparcv8 linux-sparcv9 linux-x32 linux-x86 linux-x86-clang 
linux-x86_64 linux-x86_64-clang linux32-s390x linux64-mips64 linux64-riscv64 
linux64-s390x linux64-sparcv9 mingw mingw64 nextstep nextstep3.3 sco5-cc 
sco5-gcc solaris-sparcv7-cc solaris-sparcv7-gcc solaris-sparcv8-cc 
solaris-sparcv8-gcc solaris-sparcv9-cc solaris-sparcv9-gcc solaris-x86-gcc 
solaris64-sparcv9-cc solaris64-sparcv9-gcc solaris64-x86_64-cc 
solaris64-x86_64-gcc tru64-alpha-cc tru64-alpha-gcc uClinux-dist 
uClinux-dist64 unixware-2.0 unixware-2.1 unixware-7 unixware-7-gcc vms-alpha 
vms-alpha-p32 vms-alpha-p64 vms-ia64 vms-ia64-p32 vms-ia64-p64 vos-gcc 
vxworks-mips vxworks-ppc405 vxworks-ppc60x vxworks-ppc750 vxworks-ppc750-debug 
vxworks-ppc860 vxworks-ppcgen vxworks-simlinux 

NOTE: If in doubt, on Unix-ish systems use './config'.
Configuring OpenSSL version 1.1.1n (0x101010efL) for mingw32-x86_64
WARNING: exit code 1 from a shell command.
ERROR: Execution of '/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-openssl/1.1.1n-r0/temp/run.do_configure.1376007' failed with exit code 1:
Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-egd] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--config=FILE] os/compiler[:flags]

pick os/compiler from:
BS2000-OSD BSD-generic32 BSD-generic64 BSD-ia64 BSD-riscv64 BSD-sparc64 
BSD-sparcv8 BSD-x86 BSD-x86-elf BSD-x86_64 Cygwin Cygwin-i386 Cygwin-i486 
Cygwin-i586 Cygwin-i686 Cygwin-x86 Cygwin-x86_64 DJGPP MPE/iX-gcc UEFI UWIN 
VC-CE VC-WIN32 VC-WIN32-ARM VC-WIN32-ONECORE VC-WIN64-ARM VC-WIN64A 
VC-WIN64A-ONECORE VC-WIN64A-masm VC-WIN64I aix-cc aix-gcc aix64-cc aix64-gcc 
android-arm android-arm64 android-armeabi android-mips android-mips64 
android-x86 android-x86_64 android64 android64-aarch64 android64-mips64 
android64-x86_64 bsdi-elf-gcc cc darwin-i386-cc darwin-ppc-cc 
darwin64-arm64-cc darwin64-ppc-cc darwin64-x86_64-cc gcc haiku-x86 
haiku-x86_64 hpux-ia64-cc hpux-ia64-gcc hpux-parisc-cc hpux-parisc-gcc 
hpux-parisc1_1-cc hpux-parisc1_1-gcc hpux64-ia64-cc hpux64-ia64-gcc 
hpux64-parisc2-cc hpux64-parisc2-gcc hurd-x86 ios-cross ios-xcrun ios64-cross 
ios64-xcrun iossimulator-xcrun iphoneos-cross irix-mips3-cc irix-mips3-gcc 
irix64-mips4-cc irix64-mips4-gcc linux-aarch64 linux-alpha-gcc linux-aout 
linux-arm64ilp32 linux-armv4 linux-c64xplus linux-elf linux-generic32 
linux-generic64 linux-ia64 linux-mips32 linux-mips64 linux-ppc linux-ppc64 
linux-ppc64le linux-sparcv8 linux-sparcv9 linux-x32 linux-x86 linux-x86-clang 
linux-x86_64 linux-x86_64-clang linux32-s390x linux64-mips64 linux64-riscv64 
linux64-s390x linux64-sparcv9 mingw mingw64 nextstep nextstep3.3 sco5-cc 
sco5-gcc solaris-sparcv7-cc solaris-sparcv7-gcc solaris-sparcv8-cc 
solaris-sparcv8-gcc solaris-sparcv9-cc solaris-sparcv9-gcc solaris-x86-gcc 
solaris64-sparcv9-cc solaris64-sparcv9-gcc solaris64-x86_64-cc 
solaris64-x86_64-gcc tru64-alpha-cc tru64-alpha-gcc uClinux-dist 
uClinux-dist64 unixware-2.0 unixware-2.1 unixware-7 unixware-7-gcc vms-alpha 
vms-alpha-p32 vms-alpha-p64 vms-ia64 vms-ia64-p32 vms-ia64-p64 vos-gcc 
vxworks-mips vxworks-ppc405 vxworks-ppc60x vxworks-ppc750 vxworks-ppc750-debug 
vxworks-ppc860 vxworks-ppcgen vxworks-simlinux 

NOTE: If in doubt, on Unix-ish systems use './config'.
Configuring OpenSSL version 1.1.1n (0x101010efL) for mingw32-x86_64
WARNING: exit code 1 from a shell command.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [poky] Failing to Create Windows Cross Compile Toolchain/SDK using Meta-MinGW #bitbake #yocto #poky #sdk
  2022-11-23  2:50 Failing to Create Windows Cross Compile Toolchain/SDK using Meta-MinGW #bitbake #yocto #poky #sdk peter.jamrozinski
@ 2022-11-30  2:17 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2022-11-30  2:17 UTC (permalink / raw)
  To: peter.jamrozinski; +Cc: poky

On Tue, Nov 22, 2022 at 6:50 PM peter.jamrozinski via
lists.yoctoproject.org
<peter.jamrozinski=delve.com@lists.yoctoproject.org> wrote:
>
> Hello,
>
> I'm trying to create a cross-compile toolchain for my local Windows host targeting an I.MX 8M Nano target. I added the layer 'meta-mingw' to my sources and added it to my bblayers.conf file:
>
> # Addition of MinGW layer to allow for Windows X-Compiler generation
> BBLAYERS =+ "/usr/local/dey-3.2/sources/meta-mingw"
>
>
> My local.conf contains:
>
> SDKMACHINE = "x86_64-mingw32"
> SDK_ARCHIVE_TYPE = "zip"
>
> I ran 'bitbake <image name> -c populate_sdk' to generate the sdk.
>
> I encountered the following errors:
>
> ERROR: nativesdk-openssl-1.1.1n-r0 do_configure: Execution of '/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-openssl/1.1.1n-r0/temp/run.do_configure.1376007' failed with exit code 1:
>
> and
>
> configure: error: linux/capability.h is required in order to build libcap-ng.
>
> I've attached the log files from both 'do_config' steps for libcap-ng and openSSL.
>
> I did see the following link that looks like it might help with the openSSL issue, but I'm not sure how I download and apply this patch in my local environment:
>
> https://www.yoctoproject.org/pipermail/yocto/2018-July/041835.html
>
> any help is greatly appreciated.

Try adding something like

DEPENDS += "libcap"

>
> Thank you!
>
> - psj.dev
>
>
> 
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-30  2:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23  2:50 Failing to Create Windows Cross Compile Toolchain/SDK using Meta-MinGW #bitbake #yocto #poky #sdk peter.jamrozinski
2022-11-30  2:17 ` [poky] " Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).