<div dir="ltr"><div>Hello Vladimir, thank you for your attention, </div><div>did you mean set of patches located in debian/patches ? those are patched (all in the series file) or some other?</div><div>Mykhaylo<br> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 28, 2023 at 11:11 PM Vladimir Petko <<a href="mailto:vladimir.petko@canonical.com">vladimir.petko@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I believe this was due to building OpenJDK from Debian original<br>
tarball that does not contain bundled libraries. Building from it<br>
requires applying Debian patches via `quilt push -a` and using<br>
configure arguments from `debian/rules`.<br>
<br>
Best Regards,<br>
Vladimir.<br>
<br>
On Tue, Aug 29, 2023 at 1:02 AM David Holmes <<a href="mailto:david.holmes@oracle.com" target="_blank">david.holmes@oracle.com</a>> wrote:<br>
><br>
> On 28/08/2023 9:54 pm, Mykhaylo Lodygin wrote:<br>
> > Hello colleagues,<br>
> > I've build JDK locally successfully, but got several tests "FAILED".<br>
><br>
> What did you build? images? what about test-images?<br>
><br>
> > Tried to run one of the failing test separately with "make test<br>
> > TEST="<path_to_test>".<br>
> > Were unable to do so due to build error - the compiler was unfamiliar to<br>
> > include path to winscard.h, fixed with configuration option:<br>
> > bash configure --with-extra-cflags="-I/usr/include/PCSC"<br>
><br>
> What test(s), on what platform?<br>
><br>
> > next error was incapability of linker to link with libjpeg - fixed with<br>
> > adding --with-libjpeg=system to configure.<br>
> > the issue was solved, but a new one was added with missing libgif.<br>
> > I was curious and tried a test that "Passed", thinking that "failure"<br>
> > could had happen due to inability to build the test. Tried<br>
> > sun/util/calendar/zi/Beyond2037.java but got a very similar error of<br>
> > inability to link with liblcms2-2.<br>
> > I'm flabbergasted, hence my questions are: does "make test" target is<br>
> > expected to rebuild JDK's code? does my approach of adding options to<br>
> > configure script is proper one? How come a test could be "Passed" while<br>
> > running it separately results in inability to build the test?<br>
><br>
> As Erik indicated we need more information/details.<br>
><br>
> Cheers,<br>
> David<br>
><br>
><br>
> > Thank you.<br>
> > Mykhaylo Lodygin<br>
</blockquote></div>