Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 866199 - dev-java/jnr-posix-3.1.15: ignores one test (testMessageHdrMultipleControl) on ppc64
Summary: dev-java/jnr-posix-3.1.15: ignores one test (testMessageHdrMultipleControl) o...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL: https://github.com/jnr/jnr-posix/issu...
Whiteboard:
Keywords:
Depends on:
Blocks: Java-test-failures
  Show dependency tree
 
Reported: 2022-08-23 17:09 UTC by Arthur Zamarin
Modified: 2022-08-25 07:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log on ppc64 (build.log,9.22 KB, text/plain)
2022-08-23 17:09 UTC, Arthur Zamarin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-08-23 17:09:54 UTC
Created attachment 800667 [details]
build.log on ppc64

Tested on container ppc64-stable on timberdoodle.ppc64.d.g.o

GENTOO_VM=openjdk-11  CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-11"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
Comment 1 Volkmar W. Pogatzki 2022-08-23 19:10:54 UTC
Sent upstream https://github.com/jnr/jnr-posix/issues/178
Comment 2 Larry the Git Cow gentoo-dev 2022-08-24 17:22:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1ae2f864044003ca7e3d11b46681d5bb179534

commit 4a1ae2f864044003ca7e3d11b46681d5bb179534
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-08-24 06:39:26 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2022-08-24 17:22:09 +0000

    dev-java/jnr-posix: ignore one test on ppc64
    
    Ignore testMessageHdrMultipleControl
    https://github.com/jnr/jnr-posix/issues/178
    Closes: https://bugs.gentoo.org/866199
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/26995
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/jnr-posix/jnr-posix-3.1.15.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)
Comment 3 Volkmar W. Pogatzki 2022-08-25 07:12:42 UTC
Commit 4a1ae2f864044003ca7e3d11b46681d5bb179534 adds this test exclusion specifically for ppc64:

if use ppc64; then
	# Ignore testMessageHdrMultipleControl
	# https://bugs.gentoo.org/866199
	# https://github.com/jnr/jnr-posix/issues/178
	sed \
		-e '/testMessageHdrMultipleControl/i @Ignore' \
		-e '/import org.junit.Test/a import org.junit.Ignore;' \
		-i src/test/java/jnr/posix/LinuxPOSIXTest.java || die
fi