Search Criteria
Package Details: java-testng 7.8.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/java-testng.git (read-only, click to copy) |
---|---|
Package Base: | java-testng |
Description: | A testing framework inspired by JUnit and NUnit |
Upstream URL: | http://testng.org |
Licenses: | Apache |
Submitter: | alucryd |
Maintainer: | a.kudelin |
Last Packager: | a.kudelin |
Votes: | 24 |
Popularity: | 0.000000 |
First Submitted: | 2011-12-29 14:17 (UTC) |
Last Updated: | 2023-10-21 22:23 (UTC) |
Dependencies (2)
- jdk11-openjdk (jdk11-microsoft-openjdkAUR, jdk11-openjdk-dcevmAUR, jdk11-temurinAUR)
- gradle (gradle7) (make)
Required by (4)
- java-testng-doc (optional)
- jtreg (make)
- jtreg-hg (make)
- scilab
Latest Comments
1 2 3 4 Next › Last »
weshouman commented on 2022-10-16 05:17 (UTC) (edited on 2022-10-16 06:50 (UTC) by weshouman)
Note: When the
jre-openjdk
is preinstalled--asdeps
, andjdk-openjdk
is not installed,java-testng
installation fails without tyring to installjdk-openjdk
or stating thatjdk-openjdk
is required.weshouman commented on 2022-10-16 05:13 (UTC) (edited on 2022-10-16 05:14 (UTC) by weshouman)
The package also fails for jdk>=18, which is now the default one for the package jdk-openjdk (which I needed to install separately to avoid interactive selection between different versions).
error-log: pastebin.com/sEBwuy82
Workaround is running
archlinux-java set java-11-openjdk
,java-11-openjdk
should exist at/usr/lib/jvm/
bcskn commented on 2022-09-05 09:15 (UTC)
@JoseskVolpe Setting java-8-openjdk did not work but as you said setting JAVA_HOME to java-11-openjdk and
archlinux-java set java-11-openjdk
has worked. It was built without problems.JoseskVolpe commented on 2022-08-14 02:37 (UTC)
Or you can patch the PKGBUILD to make it compile using OpenJDK 11:
andrescm90 commented on 2021-04-21 20:53 (UTC)
Got it fixed! @Vial all I did was the following:
Good luck!
andrescm90 commented on 2021-04-15 20:36 (UTC)
Same problem here: as @vial.
Vial commented on 2021-02-08 16:17 (UTC) (edited on 2021-02-10 17:05 (UTC) by Vial)
Failed to build, 5 tests failed.
-TestRunnerIssue1625. testMethod0 -TestRunnerIssue1625. testMethod0 -IssueTest. testMethod3 -IssueTest. testMethod3 -EfficientPriorityParallelizationTest2. verifyThatSlowMethodStartedFirstAndEndedLast
Here's the detailed report
https://drive.google.com/drive/folders/1Twm1Hp7Xr6gYgxWOHxG_fzHmrKMqolmv?usp=sharing
petronny commented on 2020-12-15 07:41 (UTC) (edited on 2020-12-15 08:05 (UTC) by petronny)
<s>
Also the test is still failing after setting
depends=('jdk8-openjdk')
.I have no idea how bartus fixed it. Building with devtools is defintely in clean chroot.
You can easily reproduce the error with
extra-x86_64-build
.</s>
Well the build just passed like magic ...
petronny commented on 2020-12-15 07:38 (UTC)
Well, that's true. Putting
depends
insidepackage()
is just a trick for better packaging. And it's widely used for official packages, such as llvm.For this package,
java-runtime
independs
is overriding the default java version thanjdk8-openjdk
inmakedepends
when building with devtools. Applying this trick can solve this problem.I'm packaging java-testng in the arch4edu repository which is only building packages with devtools. Could you do me a favor to apply this trick?
bartus commented on 2020-12-12 18:52 (UTC) (edited on 2020-12-12 19:02 (UTC) by bartus)
@a.kudelin: Thanks, works fine ( had the same type of issue with my python2-scons )
btw. I strictly build packages in the clean chroot and tmpfs
aur build -L -f -c -T -D /tmp
.Mostly because it's faster, but also it keeps my rootfs size sane (I don't need no 6GB
cuda
installation ԅ( ̄ε ̄ԅ) )1 2 3 4 Next › Last »