Use standard API function MYSQL_OPT_RECONNECT
instead of direct modification of internal structures
which does not work for MariaDB to fix below compile
issue.
| _mysql.c: In function '_mysql_ConnectionObject_ping':
| _mysql.c:2005:41: error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect'
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The chmod was removing the executing bit from the directory and then
the native version was failing to build.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
After mariadb upgrade to 10.3.13, there comes
below do_compile failure for libdbd-mysql-perl:
| dbdimp.c: In function 'mysql_dr_connect':
| dbdimp.c:2000:13: error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect'
| result->reconnect=0;
Backport a patch to fix it.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Per https://mariadb.org/about/maintenance-policy/,
mariadb 5.5.x series only supported until next year
April 2020, so upgrade it to 10.3.13.
Remove some deprecated patches, add some
new patches to fix build failure and rework
two patches to avoid fuzz warnings.
Add -latomic to linker flags for armv5
Use -pthread to link for mussing atomic symbols on arches e.g. riscv
Fixes issues like
ld.bfd: librocksdblib.a(memtable.cc.o):/usr/include/c++/9.0.1/bits/atomic_base.h:438: more undefined references to `__atomic_compare_exchange_1' follow
Fix build with musl
add libxml2 to depends
Fix build with clang
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Do not try to build lib32-leveldb. libn32-leveldb will build.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Replaced 'cryptography' by the much small 'crypto' package.
With cryptography, the build is too big with e.g. cpp included.
PS: this was already a long time the mailinglist. I guess with my
attempt to attach a patch, this could be processed.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
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>
Highlights of this upgrade:
* Fix 'unexpected mark stack overflow' abort
* Fix executable memory allocation
See the following for detailed changes:
* https://github.com/ivmai/bdwgc/releases/tag/v7.6.12
Signed-off-by: Ivan Maidanski <ivmai@mail.ru>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade lvm2/libdevmapper from 2.03.01 to 2.03.02.
* update SRC_URI back to use ftp url
- 2.03.02 has been released but no such tag in git repo
- subdir 'releases' on ftp site should be a persistent place for tarballs
* drop 0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
which is not needed any longer
* remove backpoort patch
* update patch contexts
Signed-off-by: Kai Kang <kai.kang@windriver.com>
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>
libreport calls xmlrpc-c-config from package xmlrpc-c-native to get
cflags and libs. But it gets dirs in ${STAGING_DIR_NATIVE} which make
lib32-libreport compile failed with config:
require conf/multilib.conf
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7vethf"
| arm-wrs-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libabrt_dbus.so"
&& ln -s "libabrt_dbus.so.0.0.1" "libabrt_dbus.so")
| .../tmp-glibc/work/armv5e-wrs-linux-gnueabi/libreport/2.9.7-r0/recipe-sysroot-native/usr/lib/libxml2.so:
file not recognized: file format not recognized
| collect2: error: ld returned 1 exit status
| make[3]: *** [Makefile:780: libreport-web.la] Error 1
Make xmlrpc-c inherit binconfig to avoid such kind of errors.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changing the behavior of a recipe by including a layer is not allowed
by the yocto-check-layer script.
INFO: ======================================================================
INFO: FAIL: test_signatures (common.CommonCheckLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
File "/poky/scripts/lib/checklayer/cases/common.py", line 53, in test_signatures
self.fail('Adding layer %s changed signatures.\n%s' % (self.tc.layer['name'], msg))
AssertionError: Adding layer meta-xfce changed signatures.
19 signatures changed, initial differences (first hash before, second after):
vim:do_install: 7f165dbd724ca0127dfb653ef0ecd8e7fb882713adedfd0e14f59d7f54cb645e -> 6e4a49063534d67f70186bf8bdb313184f42426e2c42b12b127638b586c7ffe8
bitbake-diffsigs --task vim do_install --signature 7f165dbd724ca0127dfb653ef0ecd8e7fb882713adedfd0e14f59d7f54cb645e
fix by move the logic into recipe vim
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Now, spdlog library is enable under recipes-support. Just install with "spdlog-dev".
* It's also tested with populate-sdk.
Signed-off-by: Hasan MEN <hmen.56@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The program sensors-detect in lmsensors can't read the cpu
information on ppc and arm arch, such as: fsl-t4xxx based on ppc.
This is because the program sensors-detect design for the x86 and
x86-64, but weak on ppc and arm.
So add the support for the ppc and arm, just add the correspond
field to read in sensors-detect.
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update radiusd.service that not run script /etc/raddb/certs/bootstrap
before start radiusd. The script makes a set of default certificates. It
should be only used for test purpose.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update pv from 1.5.3 to 1.6.6.
* export LDEMULATION for mipsn32 to fix compile error
MACHINE ?= "qemumips64"
DEFAULTTUNE = "mips64-n32"
| mips64-poky-linux-gnun32-ld
--sysroot=/home/kkang/buildarea/Yocto/build/tmp/work/mips64-n32-poky-linux-gnun32/pv/1.5.3-r0/recipe-sysroot
-r -o src/library.o src/library/getopt.o src/library/gettext.o
| mips64-poky-linux-gnun32-ld: src/library/getopt.o: ABI is incompatible with that of the selected emulation
| mips64-poky-linux-gnun32-ld: failed to merge target specific data of file src/library/getopt.o
| mips64-poky-linux-gnun32-ld: src/library/gettext.o: ABI is incompatible with that of the selected emulation
| mips64-poky-linux-gnun32-ld: failed to merge target specific data of file src/library/gettext.o
| mips64-poky-linux-gnun32-ld: attempt to do relocatable link with elf32-ntradbigmips input and elf64-tradbigmips output
| mips64-poky-linux-gnun32-ld: src/library/gettext.o: file class ELFCLASS32 incompatible with ELFCLASS64
| mips64-poky-linux-gnun32-ld: final link failed: file in wrong format
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>