Also drop zstd-<variants> and add PACKAGECONFIG support for build options
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Introduce the Parsing Expression Grammar Template Library (PEGTL)
a zero-dependency C++ header-only parser combinator library for creating parsers
according to the Parsing Expression Grammar (PEG).
Signed-off-by: Khem Raj <raj.khem@gmail.com>
OE use 'lib' even on x86_64 when building with multilib support disabled
and used 'lib64' with multilib
This fixes packaging errors e.g.
pmdk-1.6: pmdk: Files/directories were installed but not shipped in any package:
/usr/lib64/libpmem.so.1.0.0
/usr/lib64/libpmemblk.so.1.0.0
/usr/lib64/libpmemlog.so.1.0.0
/usr/lib64/libpmemobj.so.1.0.0
/usr/lib64/libvmem.so.1.0.0
....
Signed-off-by: Khem Raj <raj.khem@gmail.com>
After autoconf-archive was upgraded to 2019.01.06 it started to add
extra warning flags via WARN_CFLAGS along with -Werror which means that
now compiler could be stricter and break the build if any of the new
warnings are flagged
The difference is
old
WARN_CFLAGS='-fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wunused-parameter -Wmissing-field-initializers'
new
WARN_CFLAGS='-fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Werror -Wno-suggest-attribute=format -Wunused-parameter -Wmissing-field-initializers'
Hence we started seing build failure like https://errors.yoctoproject.org/Errors/Details/252684/
This fix just turns off warnings-as-errors so build can still go on, if
we need to fix the warnings they still are present in log.do_compile
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Cc: Robert Yang <liezhi.yang@windriver.com>
1) Use git repo instead of github archive tarball.
2) PMDK libraries can be installed in lib or lib64, depending on
host building system. If host has /usr/local/lib64, libraries will
be installed in lib64, otherwise they will be installed in lib.
PMDK is only for 64-bit system, so use LIB_PREFIX=lib64 to force
the install path to be lib64.
3) Use prefix instead of PREFIX to install.
4) Remove unneeded files in /usr/lib64/pmdk_debug.
5) Add "/usr/etc" and "/usr/share" to fix package QA issue.
6) Revise patches for version 1.6. Remove upstream accepted patches.
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Option '-std=gnu++14' has been supported from gcc 4.9. But on some build hosts
such as CentOS 7.6 which only has gcc 4.8.5 and fails to configure:
| checking whether the host C compiler can be used... no
| ERROR: Only GCC 4.9 or newer is supported (found version 4.8.5).
Fallback to 2011 C++ standard and lower required gcc version to 4.8.0 which is
the same as in previous version 52.9.1 of mozjs.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Upgrade from logwatch_7.4.3.bb to logwatch_7.5.1.bb.
-License-Update: Copyright year updated to 2018.
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix ENOMEM error in case the kernel reports cache size of -1. This
lead to the following error when starting haveged:
haveged starting up
haveged: Couldn't initialize HAVEGE rng 5
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Update year in COPYRIGHT and Update FSF address and fix UTF8
Signed-off-by: Changqing Li <changqing.li@windriver.com>
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>
* using PN instead of BPN in S causes all tasks to fail:
make: *** No targets specified and no makefile found. Stop.
* using github archives is bad, because they are regenerated from time to time
with different checksums
* set PV, because this isn't exactly 0.5.0, because of the debian changes
mostly the systemd support
* fix indentation
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
asciidoc, xmlto programs are being checked to decide if documentation
should be generated or not depending on if they are present, this will
definitely lead to a non-deterministic build.
Fix it by adding documentation to PACKAGECONFIG.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add two patches to fix the build error.
Add -Wno-error=unused-value for native build
to silence below error:
| In file included from ../../indent-2.2.12/src/indent.h:60:0,
from ../../indent-2.2.12/src/indent.c:77:
| ../../indent-2.2.12/src/indent.c: In function 'main':
| ../../indent-2.2.12/src/libgettext.h:88:5: error: statement with no effect [-Werror=unused-value]
((void) (Domainname), (const char *) (Dirname))
^
| ../../indent-2.2.12/src/indent.c:1064:5: note: in expansion of macro 'bindtextdomain'
bindtextdomain(PACKAGE, LOCALEDIR);
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
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>
Now that even Debian testing is using it, and upstream declares this version as "very stable",
it might be time to switch using it as default
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Have no idea what caused it but on all of my build machines started to fail
with recently:
| Attempt to reload Encode.pm aborted.
| Compilation failed in require at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Text.pm line 33.
| BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Text.pm line 33.
| Compilation failed in require at (eval 7) line 1.
| BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Usage.pm line 30.
| Compilation failed in require at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/pod2man line 19.
| BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/pod2man line 19.
| make[1]: *** [Makefile:692: rrddump.1] Error 255
| make[1]: *** Waiting for unfinished jobs....
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>