mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 06:32:12 +02:00
Error: Transaction check error: file /usr/include/event2/event-config.h conflicts between attempted installs of libevent-dev-2.1.8-r0.skylake_64 and lib32-libevent-dev-2.1.8-r0.x86 The conflict is the size macro definition between 32bit and 64bit such as: < #define EVENT__SIZEOF_LONG 8 > #define EVENT__SIZEOF_LONG 4 < #define EVENT__SIZEOF_PTHREAD_T 8 > #define EVENT__SIZEOF_PTHREAD_T 4 (From OE-Core rev: 49f979b13f1bc6ece0f343d41421aba43f8d9e21) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
48 lines
1.2 KiB
BlitzBasic
48 lines
1.2 KiB
BlitzBasic
SUMMARY = "An asynchronous event notification library"
|
|
HOMEPAGE = "http://libevent.org/"
|
|
BUGTRACKER = "https://github.com/libevent/libevent/issues"
|
|
SECTION = "libs"
|
|
|
|
LICENSE = "BSD & MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=17f20574c0b154d12236d5fbe964f549"
|
|
|
|
SRC_URI = " \
|
|
https://github.com/libevent/libevent/releases/download/release-${PV}-stable/${BP}-stable.tar.gz \
|
|
file://Makefile-missing-test-dir.patch \
|
|
file://0001-test-fix-32bit-linux-regress.patch \
|
|
file://run-ptest \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "f3eeaed018542963b7d2416ef1135ecc"
|
|
SRC_URI[sha256sum] = "965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2"
|
|
|
|
UPSTREAM_CHECK_URI = "http://libevent.org/"
|
|
|
|
S = "${WORKDIR}/${BPN}-${PV}-stable"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
|
|
|
|
inherit autotools
|
|
|
|
# Needed for Debian packaging
|
|
LEAD_SONAME = "libevent-2.1.so"
|
|
|
|
inherit ptest multilib_header
|
|
|
|
DEPENDS = "zlib"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
do_install_append() {
|
|
oe_multilib_header event2/event-config.h
|
|
}
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/test
|
|
for file in ${B}/test/.libs/regress ${B}/test/.libs/test*
|
|
do
|
|
install -m 0755 $file ${D}${PTEST_PATH}/test
|
|
done
|
|
}
|