!70 Fix missing test directory creation
From: @wangjiang37 Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
8c92ebfde0
35
backport-Makefile-missing-test-dir.patch
Normal file
35
backport-Makefile-missing-test-dir.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
Fix missing test directory creation.
|
||||||
|
|
||||||
|
GCC used in OE-core has "dependency tracking" disabled and
|
||||||
|
libevent has problem with this.
|
||||||
|
Due to removed makefile.am/in files in test/sample/include
|
||||||
|
directories, output directories are not created in
|
||||||
|
configuration step. Compilation step will fails, when
|
||||||
|
trying to write to non-existing directory.
|
||||||
|
|
||||||
|
Reference:http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch?h=master
|
||||||
|
Conflict:NA
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate [Other]
|
||||||
|
Workaround specific to our build system.
|
||||||
|
|
||||||
|
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
|
||||||
|
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
|
||||||
|
---
|
||||||
|
test/include.am | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/test/include.am b/test/include.am
|
||||||
|
index 0437524..48c7307 100644
|
||||||
|
--- a/test/include.am
|
||||||
|
+++ b/test/include.am
|
||||||
|
@@ -162,6 +162,7 @@ test_bench_httpclient_LDADD = $(LIBEVENT_GC_SECTIONS) libevent_core.la
|
||||||
|
test/regress.gen.c test/regress.gen.h: test/rpcgen-attempted
|
||||||
|
|
||||||
|
test/rpcgen-attempted: test/regress.rpc event_rpcgen.py test/rpcgen_wrapper.sh
|
||||||
|
+ @$(MKDIR_P) test
|
||||||
|
$(AM_V_GEN)date -u > $@
|
||||||
|
$(AM_V_at)if $(srcdir)/test/rpcgen_wrapper.sh $(srcdir)/test; then \
|
||||||
|
true; \
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: libevent
|
Name: libevent
|
||||||
Version: 2.1.12
|
Version: 2.1.12
|
||||||
Release: 11
|
Release: 12
|
||||||
Summary: An event notification library
|
Summary: An event notification library
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -24,6 +24,7 @@ Patch6002: backport-http-fix-fd-leak-on-fd-reset-by-using-bufferevent_re.patch
|
|||||||
Patch6003: backport-bufferevent-introduce-bufferevent_replacefd-like-set.patch
|
Patch6003: backport-bufferevent-introduce-bufferevent_replacefd-like-set.patch
|
||||||
Patch6004: backport-evutil-don-t-call-memset-before-memcpy.patch
|
Patch6004: backport-evutil-don-t-call-memset-before-memcpy.patch
|
||||||
Patch6005: 0002-Avoid-calling-read-2-on-eventfd-on-each-event-loop-w.patch
|
Patch6005: 0002-Avoid-calling-read-2-on-eventfd-on-each-event-loop-w.patch
|
||||||
|
Patch6006: backport-Makefile-missing-test-dir.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libevent additionally provides a sophisticated framework for buffered network IO, with support for sockets,
|
Libevent additionally provides a sophisticated framework for buffered network IO, with support for sockets,
|
||||||
@ -42,6 +43,7 @@ with %{name}.
|
|||||||
%autosetup -n libevent-%{version}-stable -p1
|
%autosetup -n libevent-%{version}-stable -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf
|
||||||
%configure --disable-dependency-tracking --disable-static
|
%configure --disable-dependency-tracking --disable-static
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
@ -84,6 +86,9 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 13 2024 wangjiang <wangjiang37@h-partners.com> - 2.1.12-12
|
||||||
|
- Fix missing test directory creation
|
||||||
|
|
||||||
* Wed May 08 2024 baiguo <baiguo@kylinos.cn> - 2.1.12-11
|
* Wed May 08 2024 baiguo <baiguo@kylinos.cn> - 2.1.12-11
|
||||||
- Avoid calling read(2) on eventfd on each event-loop wakeup
|
- Avoid calling read(2) on eventfd on each event-loop wakeup
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user