gmime is used if detected, some build hosts the detection logic
fails, make the dependency unconditional to fix build failures
when it detects host's gmime install
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Make netgroup support optional so it can be disabled on musl
Drop backported patch 0001-backend-Compare-PolkitUnixProcess-uids-for-temporary.patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Disable JIT (ion) on all mips
It fails to compile in first place, even if we fix the compilation
next it assert failures and runtime test failures, its best to disable
it for mips for now
Fix build on riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There are couple of scripts which explicitly calls out for bash
interpreter but there is nothing bash specific about them, so let
it use sh interpreter.
Fixes
ERROR: QA Issue: /usr/libexec/udisks-helper-mdadm-expand contained in package udisks requires /bin/bash, but no providers found in RDEPENDS_udisks? [file-rdeps]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bash-completion packages up /etc/bash_completion.d automatically
so install the bash completion script in the above said dir
inherit bash-completion to do the needed for bash-completion package
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop the patch for fixing printf formatting, its fixed differently
upstream
Forward port pthread_t printf patch
Add -Wno-address-of-packed-member needed with gcc9
replace _append += with just _append syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes
ERROR: QA Issue: cpupower: Files/directories were installed but not shipped in any package:
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/cpupower
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sometimes with high parallel build we see compile errors e.g.
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:52: lua] Error 1
Therefore try to build dependencies before main build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Detecting libdl for dlopen when failed returns
"none required", which then gets added to linker commandline
and inturn fails to link with errors obviously because "-lnone required"
is no such library.
This patch is not musl dependent, earlier patches clubbed it into musl
patch however this is needed with clang too regardless of the C library
the reason is clang automatically brings in libdl in OE and hence this
test is failing.
This is noop with gcc since the first check will pass thats why it works
in first place
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
Fixes missing atomic symols during linking e.g.
vlc-3.0.6/src/misc/picture_pool.c:201: undefined reference to `__atomic_fetch_add_2'
collect2: error: ld returned 1 exit status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It can be undesired linking to a static library
especially when static linking it disabled globally
so lets disable it always here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop local patches, they were not accepted upstream
Fix build with clang while here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
nsinstall must be built for host, so we need to define HOST_* compiler
defines so, it gets built using native compiler correctly
Disable stripping, OE will do it
Disable optimizing, set BUILD_OPT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This fixes issues e.g.
ERROR: znc-1.7.1-r0 do_populate_sysroot: QA Issue: znc.pc failed sanity test (tmpdir) in path /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/znc/1.7.1-r0/sysroot-destdir/usr/lib/pkgconfig [pkgconfig]
ERROR: znc-1.7.1-r0 do_populate_sysroot: QA staging was broken by the package built above
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When building with clang otherwise this gets enabled and we have
problems with headers especially due to OEs multilibbing effort on arm
where headers like bits/wordsize.h are hijacked and some wrappers are
translanted, these transplants have additional requirements/constraints
e.g. compiler internal arch defines e.g. __arm__ etc. which may not be
passed by tools like clang-tidy which are arch independent.
Ideally we should not require to disable clang-tidy here but we make a
compromise, since OEs headers are the way as explained above
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It seemingly needs to be fixed in application, chromium also force ARM
ISA for internal gperftools
also see https://bugs.llvm.org/show_bug.cgi?id=31058
Fixes errors like below
| ../git/src/base/atomicops-internals-arm-v6plus.h:228:8: error: instruction requires: arm-mode
| "ldrexd %1, [%3]\n"
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes errors ( qemuarm/thumb )
../../../git/upnp/inc/FileInfo.h:22:2: error: #error libupnp uses large file support, so users must do that, too
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use qemu usermode to generate it, so we are always in correct
endian-ness
espeak-data is no longer needed now, since sole purpose of it was to
provide the data for bigendian systems
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It is detecting cross compile badness for -lexpat since
the check finds it on build host, so aide the build ssytem
to find it in staging sysroot
Disable internal ltdl, use libtool provided one
Define defines to indicate that platform has ssize_t and long_double
Disable java,r,c-sharp, as it is unused
Arrange source URIs before checksums
gtk-doc is not needed, morever it ends up in unknown configure options
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This fixes the QA errors about double defining this in PACKAGES
it seems to be removed in py3 version of recipe too so we just do it in
inc file so both recipes can use it
Fix a typo in specifying rdep
Signed-off-by: Khem Raj <raj.khem@gmail.com>