Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12689
| From | Vladimir Petko <vladimir.petko@canonical.com> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: building individual test issue |
| Date | 2023-08-28 22:10 +0200 |
| Message-ID | <H7QIF-55b7-3@gated-at.bofh.it> (permalink) |
| References | <H7J4u-4ZZZ-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, Debian/Ubuntu version applies some patches to the source tree, so if you are trying to build OpenJDK package using make command directly, you might want to run `quilt push -a` and configure using `configure` arguments from `debian/rules`, e.g. --with-pcsclite=system, because psclite is stripped from the original tarball. Best Regards, Vladimir. On Mon, Aug 28, 2023 at 11:58 PM Mykhaylo Lodygin <mlodygin@cloudlinux.com> wrote: > > Hello colleagues, > I've build JDK locally successfully, but got several tests "FAILED". > Tried to run one of the failing test separately with "make test TEST="<path_to_test>". > Were unable to do so due to build error - the compiler was unfamiliar to include path to winscard.h, fixed with configuration option: > bash configure --with-extra-cflags="-I/usr/include/PCSC" > next error was incapability of linker to link with libjpeg - fixed with > adding --with-libjpeg=system to configure. > the issue was solved, but a new one was added with missing libgif. > I was curious and tried a test that "Passed", thinking that "failure" could had happen due to inability to build the test. Tried sun/util/calendar/zi/Beyond2037.java but got a very similar error of inability to link with liblcms2-2. > I'm flabbergasted, hence my questions are: does "make test" target is expected to rebuild JDK's code? does my approach of adding options to configure script is proper one? How come a test could be "Passed" while running it separately results in inability to build the test? > Thank you. > Mykhaylo Lodygin
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Find similar
building individual test issue Mykhaylo Lodygin <mlodygin@cloudlinux.com> - 2023-08-28 14:00 +0200 Re: building individual test issue Vladimir Petko <vladimir.petko@canonical.com> - 2023-08-28 22:10 +0200
csiph-web