Problems building openjdk8

Konstantin Belousov kostikbel at gmail.com
Fri Mar 24 07:58:23 UTC 2017


On Thu, Mar 23, 2017 at 12:32:03PM +0100, Niels Kobsch??tzki wrote:
> On 17/03/23 10:46, Konstantin Belousov wrote:
> >On Thu, Mar 23, 2017 at 08:46:43AM +0100, Niels Kobsch??tzki wrote:
> >> Hi,
> >>
> >> I have on a couple of new servers the problem that the configuration of
> >> the port java/openjdk8 fails. I found a bug in the bug reports from
> >> August or September but no response there. So maybe someone can help me
> >> here.  I am running 11.0-STABLE with a custom kernel and a stripped down
> >> world (but those settings are the same on the working servers as well).
> >> On one server I already rebuilt kernel and world twice. On another one I
> >> deleted all ports and installed java/openjdk8 as the first port after
> >> tmux.  When I try to install the port I get the following error:
> >
> >See PR 217846 and the question I asked about kernel revisions.
> 
> Thanks, going back to revision 315311 helped. It builds now without any
> problems.

So I managed to reproduce the problem, and ktracing shows this:
 56171 bash     CALL  fcntl(0x6,F_GETFD)
 56171 bash     RET   fcntl 0
 56171 bash     CALL  fcntl(0x6,F_DUPFD,0xa)
 56171 bash     RET   fcntl -1 errno 9 Bad file descriptor
on stable/11 with non-debugging kernel.

Can somebody try the same build on HEAD with non-debugging kernel ?


More information about the freebsd-java mailing list