[yocto] [meta-mingw] [PATCH] mingw-w64: upgrade to 11.0.1
Upgrade to latest release of MinGW-w64. Signed-off-by: Samuli Piippo --- recipes-devtools/mingw-w64/mingw-w64.inc| 2 +- ...4-headers_9.0.0.bb => nativesdk-mingw-w64-headers_11.0.1.bb} | 0 ...4-runtime_9.0.0.bb => nativesdk-mingw-w64-runtime_11.0.1.bb} | 0 ...reads_9.0.0.bb => nativesdk-mingw-w64-winpthreads_11.0.1.bb} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-headers_9.0.0.bb => nativesdk-mingw-w64-headers_11.0.1.bb} (100%) rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-runtime_9.0.0.bb => nativesdk-mingw-w64-runtime_11.0.1.bb} (100%) rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-winpthreads_9.0.0.bb => nativesdk-mingw-w64-winpthreads_11.0.1.bb} (100%) diff --git a/recipes-devtools/mingw-w64/mingw-w64.inc b/recipes-devtools/mingw-w64/mingw-w64.inc index ce5d0db..713c0ad 100644 --- a/recipes-devtools/mingw-w64/mingw-w64.inc +++ b/recipes-devtools/mingw-w64/mingw-w64.inc @@ -5,7 +5,7 @@ COMPATIBLE_HOST = ".*-mingw.*" SRC_URI = "${SOURCEFORGE_MIRROR}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" -SRC_URI[sha256sum] = "1929b94b402f5ff4d7d37a9fe88daa9cc55515a6134805c104d1794ae22a4181" +SRC_URI[sha256sum] = "3f66bce069ee8bed7439a1a13da7cb91a5e67ea6170f21317ac7f5794625ee10" UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/; UPSTREAM_CHECK_REGEX = "mingw-w64-v(?P(\d+[\.\-_]*)+)\.tar" diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_9.0.0.bb b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_11.0.1.bb similarity index 100% rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_9.0.0.bb rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_11.0.1.bb diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_9.0.0.bb b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_11.0.1.bb similarity index 100% rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_9.0.0.bb rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_11.0.1.bb diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_9.0.0.bb b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_11.0.1.bb similarity index 100% rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_9.0.0.bb rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_11.0.1.bb -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62783): https://lists.yoctoproject.org/g/yocto/message/62783 Mute This Topic: https://lists.yoctoproject.org/mt/105001799/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-mingw] patches for meta-openembedded recipes
This would be one (upstreamed) patch and append for SYSROOT_DIRS diff --git a/recipes-devtools/abseil-cpp/abseil-cpp_git.bbappend b/recipes-devtools/abseil-cpp/abseil-cpp_git.bbappend new file mode 100644 index 000..eedde36 --- /dev/null +++ b/recipes-devtools/abseil-cpp/abseil-cpp_git.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI:append:class-nativesdk:mingw32 = " file://0001-Add-workaround-for-MinGW64-build-failure.patch" + +SYSROOT_DIRS:append:class-nativesdk:mingw32 = "${bindir}" I can push this to meta-openembedded for their consideration. -samuli On Wed, 8 Nov 2023 at 15:41, Joshua Watt wrote: > Depends on what the fix looks like. Most likely meta-openembedded though > > On Wed, Nov 8, 2023, 1:57 AM Samuli Piippo > wrote: > >> Hi, >> >> There is a mingw build problem with abseil-cpp recipe from >> meta-openembedded layer (master/nanbield). meta-mingw declares dependency >> only to oe-core, so the question is that should fixes be pushed to >> meta-mingw layer or directly to meta-openembedded? >> >> -samuli >> > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61638): https://lists.yoctoproject.org/g/yocto/message/61638 Mute This Topic: https://lists.yoctoproject.org/mt/102460397/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-mingw] patches for meta-openembedded recipes
Hi, There is a mingw build problem with abseil-cpp recipe from meta-openembedded layer (master/nanbield). meta-mingw declares dependency only to oe-core, so the question is that should fixes be pushed to meta-mingw layer or directly to meta-openembedded? -samuli -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61636): https://lists.yoctoproject.org/g/yocto/message/61636 Mute This Topic: https://lists.yoctoproject.org/mt/102460397/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-mingw] [PATCHv2] Ignore WINDMC from hash
Amend 6c54d16058ed8fb911c44df93b5732ae693b9803 and add WINDMC to be ignored from hash, otherwise it contaminates sstate cache for every recipe. Signed-off-by: Samuli Piippo --- conf/machine-sdk/include/mingw32-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine-sdk/include/mingw32-common.inc b/conf/machine-sdk/include/mingw32-common.inc index 9ec6e07..1007bd4 100644 --- a/conf/machine-sdk/include/mingw32-common.inc +++ b/conf/machine-sdk/include/mingw32-common.inc @@ -46,7 +46,7 @@ export WINDMC export WINDRES export RC -BB_BASEHASH_IGNORE_VARS:append = " WINDRES RC" +BB_BASEHASH_IGNORE_VARS:append = " WINDRES RC WINDMC" # Needed to override no-static-libs.inc DISABLE_STATIC:mingw32 = "" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60227): https://lists.yoctoproject.org/g/yocto/message/60227 Mute This Topic: https://lists.yoctoproject.org/mt/99403370/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-mingw] [PATCH] Ignore WINDRES from hash
doh! it was meant to be WINDMC. I'll resend this. -samuli On Thu, 8 Jun 2023 at 12:15, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Thu, 2023-06-08 at 07:03 +0000, Samuli Piippo wrote: > > Amend 6badedaa3e4df5b00b5aa992c5c174e315b09972 and add WINDRES > > to be ignored from hash, otherwise it contaminates sstate cache > > for every recipe. > > > > Signed-off-by: Samuli Piippo > > --- > > conf/machine-sdk/include/mingw32-common.inc | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/conf/machine-sdk/include/mingw32-common.inc > b/conf/machine-sdk/include/mingw32-common.inc > > index 9ec6e07..f2806d8 100644 > > --- a/conf/machine-sdk/include/mingw32-common.inc > > +++ b/conf/machine-sdk/include/mingw32-common.inc > > @@ -46,7 +46,7 @@ export WINDMC > > export WINDRES > > export RC > > > > -BB_BASEHASH_IGNORE_VARS:append = " WINDRES RC" > > +BB_BASEHASH_IGNORE_VARS:append = " WINDRES RC WINDRES" > > Isn't WINDRES already listed there? > > Cheers, > > Richard > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60226): https://lists.yoctoproject.org/g/yocto/message/60226 Mute This Topic: https://lists.yoctoproject.org/mt/99401942/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-mingw] [PATCH] Ignore WINDRES from hash
Amend 6badedaa3e4df5b00b5aa992c5c174e315b09972 and add WINDRES to be ignored from hash, otherwise it contaminates sstate cache for every recipe. Signed-off-by: Samuli Piippo --- conf/machine-sdk/include/mingw32-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine-sdk/include/mingw32-common.inc b/conf/machine-sdk/include/mingw32-common.inc index 9ec6e07..f2806d8 100644 --- a/conf/machine-sdk/include/mingw32-common.inc +++ b/conf/machine-sdk/include/mingw32-common.inc @@ -46,7 +46,7 @@ export WINDMC export WINDRES export RC -BB_BASEHASH_IGNORE_VARS:append = " WINDRES RC" +BB_BASEHASH_IGNORE_VARS:append = " WINDRES RC WINDRES" # Needed to override no-static-libs.inc DISABLE_STATIC:mingw32 = "" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60221): https://lists.yoctoproject.org/g/yocto/message/60221 Mute This Topic: https://lists.yoctoproject.org/mt/99401942/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-mingw] [PATCH] binutils: Package static libdep linker plugins
ping. I'm still seeing problem with this on hardknott, at least when building for qemux86 target: agent:2021/08/13 06:00:50 build.go:391: ERROR: binutils-cross-canadian-i686-2.36.1-r0 do_package_qa: QA Issue: non -staticdev package contains static .a library: binutils-cross-canadian-i686 path '/opt/poky/3.3.2/sysroots/x86_64-w64-mingw32/usr/lib/i686-poky-linux/bfd-plugins/libdep.dll.a' agent:2021/08/13 06:00:50 build.go:391: non -staticdev package contains static .a library: binutils-cross-canadian-i686 path '/opt/poky/3.3.2/sysroots/x86_64-w64-mingw32/usr/lib/i686-poky-linux/bfd-plugins/libdep.dll.a' [staticdev] agent:2021/08/13 06:00:50 build.go:391: ERROR: binutils-cross-canadian-i686-2.36.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. On Tue, 16 Feb 2021 at 11:07, Samuli Piippo via lists.yoctoproject.org wrote: > this is new plugin added in binutils 2.36 > > Signed-off-by: Samuli Piippo > --- > recipes-devtools/binutils/binutils-cross-canadian_2.%.bbappend | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git > a/recipes-devtools/binutils/binutils-cross-canadian_2.%.bbappend > b/recipes-devtools/binutils/binutils-cross-canadian_2.%.bbappend > index 5845fe0..0d376bb 100644 > --- a/recipes-devtools/binutils/binutils-cross-canadian_2.%.bbappend > +++ b/recipes-devtools/binutils/binutils-cross-canadian_2.%.bbappend > @@ -3,3 +3,5 @@ LDFLAGS_append_sdkmingw32 = " -Wl,-static" > > DEPENDS_remove_sdkmingw32 = "nativesdk-gettext" > DEPENDS_remove_sdkmingw32 = "nativesdk-flex" > + > +FILES_${PN}-staticdev_append_sdkmingw32 = " ${libdir}/bfd-plugins/lib*.a" > -- > 2.17.1 > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54387): https://lists.yoctoproject.org/g/yocto/message/54387 Mute This Topic: https://lists.yoctoproject.org/mt/84858427/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-mingw] [PATCH] libidn2: package all files
Include .def files to the -dev package to fix QA Issue: nativesdk-libidn2: Files/directories were installed but not shipped in any package. Signed-off-by: Samuli Piippo --- recipes-extended/libidn/libidn2_%.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes-extended/libidn/libidn2_%.bbappend diff --git a/recipes-extended/libidn/libidn2_%.bbappend b/recipes-extended/libidn/libidn2_%.bbappend new file mode 100644 index 000..275886d --- /dev/null +++ b/recipes-extended/libidn/libidn2_%.bbappend @@ -0,0 +1 @@ +FILES_${PN}-dev_append_mingw32 = " ${libdir}/*.def" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54014): https://lists.yoctoproject.org/g/yocto/message/54014 Mute This Topic: https://lists.yoctoproject.org/mt/83889055/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-mingw] [PATCH] binutils: Package static libdep linker plugins
this is new plugin added in binutils 2.36 Signed-off-by: Samuli Piippo --- recipes-devtools/binutils/binutils-cross-canadian_2.%.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-devtools/binutils/binutils-cross-canadian_2.%.bbappend b/recipes-devtools/binutils/binutils-cross-canadian_2.%.bbappend index 5845fe0..0d376bb 100644 --- a/recipes-devtools/binutils/binutils-cross-canadian_2.%.bbappend +++ b/recipes-devtools/binutils/binutils-cross-canadian_2.%.bbappend @@ -3,3 +3,5 @@ LDFLAGS_append_sdkmingw32 = " -Wl,-static" DEPENDS_remove_sdkmingw32 = "nativesdk-gettext" DEPENDS_remove_sdkmingw32 = "nativesdk-flex" + +FILES_${PN}-staticdev_append_sdkmingw32 = " ${libdir}/bfd-plugins/lib*.a" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52329): https://lists.yoctoproject.org/g/yocto/message/52329 Mute This Topic: https://lists.yoctoproject.org/mt/80674314/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-mingw][PATCH] Override SDK_VENDOR
On Mon, 21 Sep 2020 at 15:53, Joshua Watt wrote: > On Fri, Sep 18, 2020 at 7:30 AM Samuli Piippo wrote: > > > > Set SDK_VENDOR to '-w64', which makes the host triplet match what GCC > > expect to find when using mingw32-w64. This enables features that are > > not functional in the classic mingw32, but have been implemented in the > > mingw32-w64. > > Does this enable it for the i686 toolchain also? Does that make sense? > This enables it for both x86_64-mingw32 and i686-mingw32 targets and it makes sense since it's not about the target bitness but the mingw implementation. w64 has support for both targets and provides improved support over the original mingw32. > > > > Disable 32bit libs from the runtime component when compiling for 64bit, > > which were enabled as a side effect of the GCC config change. > > > > Signed-off-by: Samuli Piippo > > --- > > conf/machine-sdk/include/mingw32-common.inc| 3 +++ > > .../mingw-w64/nativesdk-mingw-w64-runtime_7.0.0.bb | 2 ++ > > 2 files changed, 5 insertions(+) > > > > diff --git a/conf/machine-sdk/include/mingw32-common.inc > b/conf/machine-sdk/include/mingw32-common.inc > > index 9011ded..bc6c91e 100644 > > --- a/conf/machine-sdk/include/mingw32-common.inc > > +++ b/conf/machine-sdk/include/mingw32-common.inc > > @@ -1,4 +1,7 @@ > > SDK_OS = "mingw32" > > +SDK_VENDOR_mingw32 = "-w64" > > +SDK_VENDOR_sdkmingw32 = "-w64" > > + > > NATIVESDKLIBC = "libc-mingw" > > > > PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc_mingw32 > = "nativesdk-mingw-w64-runtime" > > diff --git a/recipes-devtools/mingw-w64/ > nativesdk-mingw-w64-runtime_7.0.0.bb b/recipes-devtools/mingw-w64/ > nativesdk-mingw-w64-runtime_7.0.0.bb > > index cf39c6a..9f79ffe 100644 > > --- a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_7.0.0.bb > > +++ b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_7.0.0.bb > > @@ -19,6 +19,8 @@ PROVIDES += "virtual/nativesdk-libintl" > > > > TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}" > > > > +EXTRA_OECONF_x86-64 = "--disable-lib32" > > + > > do_configure() { > > oe_runconf > > } > > -- > > 2.17.1 > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50752): https://lists.yoctoproject.org/g/yocto/message/50752 Mute This Topic: https://lists.yoctoproject.org/mt/76929287/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-mingw][PATCHv2] ninja: configure for mingw platform
Signed-off-by: Samuli Piippo --- recipes-core/images/core-image-mingw-sdktest.bb | 1 + recipes-devtools/ninja/ninja_%.bbappend | 8 2 files changed, 9 insertions(+) create mode 100644 recipes-devtools/ninja/ninja_%.bbappend diff --git a/recipes-core/images/core-image-mingw-sdktest.bb b/recipes-core/images/core-image-mingw-sdktest.bb index 6215aef..9060c3d 100644 --- a/recipes-core/images/core-image-mingw-sdktest.bb +++ b/recipes-core/images/core-image-mingw-sdktest.bb @@ -10,6 +10,7 @@ TOOLCHAIN_HOST_TASK += "\ nativesdk-dbus \ nativesdk-dtc \ nativesdk-libarchive \ +nativesdk-ninja \ nativesdk-swig \ nativesdk-wayland \ " diff --git a/recipes-devtools/ninja/ninja_%.bbappend b/recipes-devtools/ninja/ninja_%.bbappend new file mode 100644 index 000..e7ddb4d --- /dev/null +++ b/recipes-devtools/ninja/ninja_%.bbappend @@ -0,0 +1,8 @@ +do_compile_mingw32() { +python3 ./configure.py --platform mingw +ninja +} + +do_install_mingw32() { +install -D -m 0755 ${S}/ninja.exe ${D}${bindir}/ninja.exe +} -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50746): https://lists.yoctoproject.org/g/yocto/message/50746 Mute This Topic: https://lists.yoctoproject.org/mt/76986070/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-mingw][PATCH] Override SDK_VENDOR
Set SDK_VENDOR to '-w64', which makes the host triplet match what GCC expect to find when using mingw32-w64. This enables features that are not functional in the classic mingw32, but have been implemented in the mingw32-w64. Disable 32bit libs from the runtime component when compiling for 64bit, which were enabled as a side effect of the GCC config change. Signed-off-by: Samuli Piippo --- conf/machine-sdk/include/mingw32-common.inc| 3 +++ .../mingw-w64/nativesdk-mingw-w64-runtime_7.0.0.bb | 2 ++ 2 files changed, 5 insertions(+) diff --git a/conf/machine-sdk/include/mingw32-common.inc b/conf/machine-sdk/include/mingw32-common.inc index 9011ded..bc6c91e 100644 --- a/conf/machine-sdk/include/mingw32-common.inc +++ b/conf/machine-sdk/include/mingw32-common.inc @@ -1,4 +1,7 @@ SDK_OS = "mingw32" +SDK_VENDOR_mingw32 = "-w64" +SDK_VENDOR_sdkmingw32 = "-w64" + NATIVESDKLIBC = "libc-mingw" PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc_mingw32 = "nativesdk-mingw-w64-runtime" diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_7.0.0.bb b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_7.0.0.bb index cf39c6a..9f79ffe 100644 --- a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_7.0.0.bb +++ b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_7.0.0.bb @@ -19,6 +19,8 @@ PROVIDES += "virtual/nativesdk-libintl" TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}" +EXTRA_OECONF_x86-64 = "--disable-lib32" + do_configure() { oe_runconf } -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50727): https://lists.yoctoproject.org/g/yocto/message/50727 Mute This Topic: https://lists.yoctoproject.org/mt/76929287/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-mingw][PATCH] cmake: remove dependency to bash-completion
bash-completion pulls in ncurses which does not build for mingw. Signed-off-by: Samuli Piippo --- recipes-devtools/cmake/cmake_%.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-devtools/cmake/cmake_%.bbappend b/recipes-devtools/cmake/cmake_%.bbappend index 42d36ac..b2e8a19 100644 --- a/recipes-devtools/cmake/cmake_%.bbappend +++ b/recipes-devtools/cmake/cmake_%.bbappend @@ -1 +1,2 @@ DEPENDS_remove_mingw32 = "ncurses" +RDEPENDS_${PN}-bash-completion_remove_mingw32 = "bash-completion" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50728): https://lists.yoctoproject.org/g/yocto/message/50728 Mute This Topic: https://lists.yoctoproject.org/mt/76929290/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [Yocto] Building Qt5 toolchain for windows
Hi, Our changes for supporting mingw builds for Qt5 nativesdk tools are still part of the meta-boot2qt layer (https://code.qt.io/cgit/yocto/meta-boot2qt.git/), which is used in the Qt for Device Creation product. Some of these changes could be moved over to meta-qt5. CMake support is still partial and will only work with the Qt Creator integration. -samuli From: d.fourdrign...@idplus.org.mx Sent: 22 April 2020 18:38 To: 'Joshua Watt' Cc: Samuli Piippo ; yocto@lists.yoctoproject.org Subject: RE: [Yocto] Building Qt5 toolchain for windows Hello Joshua, Thank you for your reply, Just for information, I put the following parameters in local.conf MACHINE ?= “qemuarm” SDKMACHINE = “i686-mingw32” IMAGE_INSTALL_append = “ gcc g++ binutils libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev qtbase qtcharts qtconnectivity qtdeclarative qtenginio qtgraphicaleffects qtlocation qtmultimedia qtscript qtsensors qtserialport qtsystems qttools qttranslations qtvirtualkeyboard qtwebsockets qtxmlpatterns openssh-sftp-server gdb gdbserver” And here is the error I get when I run the command: bitbake meta-toolchain-qt5 | In file included from /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-mingw32/nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/recipe-sysroot/opt/poky/3.0.2/sysroots/i686-pokysdk-mingw32/usr/include/winbase.h:18, | from /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-mingw32/nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/recipe-sysroot/opt/poky/3.0.2/sysroots/i686-pokysdk-mingw32/usr/include/windows.h:70, | from /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-mingw32/nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/git/qmake/library/ioutils.cpp:35: | /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-mingw32/nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/recipe-sysroot/opt/poky/3.0.2/sysroots/i686-pokysdk-mingw32/usr/include/fileapi.h:53:48: note: initializing argument 1 of 'void* CreateFileA(LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE)' |53 | WINBASEAPI HANDLE WINAPI CreateFileA (LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile); | | ~~~^~ | Makefile:212: recipe for target 'ioutils.o' failed | make: *** [ioutils.o] Error 1 | WARNING: exit code 2 from a shell command. | ERROR: Task (/home/david/yocto/poky/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 3299 tasks of which 3161 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/david/yocto/poky/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb:do_configure Summary: There was 1 ERROR message shown, returning a non-zero exit code. Best regards, David FOURDRIGNIEZ Mobile +33 6 27 94 03 25 Email d.fourdrign...@idplus.org.mx<mailto:d.fourdrign...@idplus.org.mx> From: Joshua Watt Sent: mardi 21 avril 2020 13:20 To: d.fourdrign...@idplus.org.mx Cc: Samuli Piippo ; yocto@lists.yoctoproject.org Subject: Re: [Yocto] Building Qt5 toolchain for windows On 4/21/20 1:00 PM, d.fourdrign...@idplus.org.mx<mailto:d.fourdrign...@idplus.org.mx> wrote: Hello, I’m working on a project and I need to build a Qt5 toolchain for Windows, I’m using meta-qt5 and meta-mingw and my build machine is an ubuntu 18.04 However I keep having errors when i execute « bitbake meta-toolchain-qt5 », very much like the one in below forum thread https://www.yoctoproject.org/pipermail/yocto/2019-March/044512.html Am I doing something wrong ? Could you help sending me some ideas on how I could accomplish what I want ? I don't actually know a whole lot about cmake/qt5, so I'm not sure what would need to be done (other than what I've already stated in the message above). Samuli Piippo (cc'd) recently did some work to get cmake to build for MinGW, so he might have some insight. Thanks, Best regards, David Fourdrigniez. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49250): https://lists.yoctoproject.org/g/yocto/message/49250 Mute This Topic: https://lists.yoctoproject.org/mt/73179276/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6691583/737036229/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-