Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2017 10:09:40 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Niels Kobsch??tzki <niels@kobschaetzki.net>
Cc:        java@freebsd.org, mjg@freebsd.org, dchagin@freebsd.org
Subject:   Re: Problems building openjdk8
Message-ID:  <20170324080940.GD43712@kib.kiev.ua>
In-Reply-To: <20170324075817.GC43712@kib.kiev.ua>
References:  <20170323074643.GA17052@saturn> <20170323084622.GY43712@kib.kiev.ua> <20170323113203.GA2815@saturn> <20170324075817.GC43712@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 24, 2017 at 09:58:17AM +0200, Konstantin Belousov wrote:
> 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 ?

Ok, this is supposed to be fixed by r315895 on stable/11, thanks everybody
and esp. mjg.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170324080940.GD43712>