Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/apr/files/, dev-libs/apr/
Date: Sat, 01 Sep 2018 15:20:25
Message-Id: 1535815192.6b3a23b766b2ee1c19712e8a5c4925b9eb1ba0dd.whissi@gentoo
1 commit: 6b3a23b766b2ee1c19712e8a5c4925b9eb1ba0dd
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 1 15:19:27 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 1 15:19:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b3a23b7
7
8 dev-libs/apr: skip testlfs test
9
10 Test only runs on non 64-bit systems and fails due to
11 a Gentoo sandbox issue. To avoid requiring FEATURES=-usersandbox
12 for this package, we are now skipping this test.
13
14 Closes: https://bugs.gentoo.org/603244
15 Package-Manager: Portage-2.3.48, Repoman-2.3.10
16
17 dev-libs/apr/apr-1.6.3-r2.ebuild | 1 +
18 .../apr/files/apr-1.6.3-skip-known-failing-tests.patch | 18 ++++++++++++++++++
19 2 files changed, 19 insertions(+)
20
21 diff --git a/dev-libs/apr/apr-1.6.3-r2.ebuild b/dev-libs/apr/apr-1.6.3-r2.ebuild
22 index cdc87b36fe4..a65df23cc46 100644
23 --- a/dev-libs/apr/apr-1.6.3-r2.ebuild
24 +++ b/dev-libs/apr/apr-1.6.3-r2.ebuild
25 @@ -30,6 +30,7 @@ PATCHES=(
26 "${FILESDIR}"/${PN}-1.5.0-cross-types.patch
27 "${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775
28 "${FILESDIR}"/${PN}-1.6.3-fix-overflow-check-in-overflow_strfsize.patch
29 + "${FILESDIR}"/${PN}-1.6.3-skip-known-failing-tests.patch
30 )
31
32 src_prepare() {
33
34 diff --git a/dev-libs/apr/files/apr-1.6.3-skip-known-failing-tests.patch b/dev-libs/apr/files/apr-1.6.3-skip-known-failing-tests.patch
35 new file mode 100644
36 index 00000000000..79efb502a8d
37 --- /dev/null
38 +++ b/dev-libs/apr/files/apr-1.6.3-skip-known-failing-tests.patch
39 @@ -0,0 +1,18 @@
40 +Skip testlfs test which only runs on non 64-bit systems and fails
41 +on Gentoo due to a sandbox issue. Bug #603244
42 +
43 +--- a/test/Makefile.in
44 ++++ b/test/Makefile.in
45 +@@ -172,7 +172,11 @@ check: $(TESTALL_COMPONENTS) $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE)
46 + fi; \
47 + done; \
48 + else \
49 +- ./$$prog -v; \
50 ++ if test "$$prog" = 'testall@EXEEXT@'; then \
51 ++ ./$$prog -v -x testlfs; \
52 ++ else \
53 ++ ./$$prog -v; \
54 ++ fi; \
55 + status=$$?; \
56 + if test $$status != 0; then \
57 + teststatus=$$status; \