From owner-freebsd-java@freebsd.org Fri Mar 24 08:09:45 2017 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91079D1BD3D for ; Fri, 24 Mar 2017 08:09:45 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 796AF17C4 for ; Fri, 24 Mar 2017 08:09:45 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 75CECD1BD3C; Fri, 24 Mar 2017 08:09:45 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7576ED1BD3B for ; Fri, 24 Mar 2017 08:09:45 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E6D7817C3; Fri, 24 Mar 2017 08:09:44 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id v2O89es6025966 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 24 Mar 2017 10:09:40 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua v2O89es6025966 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id v2O89ehq025965; Fri, 24 Mar 2017 10:09:40 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 24 Mar 2017 10:09:40 +0200 From: Konstantin Belousov To: Niels Kobsch??tzki Cc: java@freebsd.org, mjg@freebsd.org, dchagin@freebsd.org Subject: Re: Problems building openjdk8 Message-ID: <20170324080940.GD43712@kib.kiev.ua> References: <20170323074643.GA17052@saturn> <20170323084622.GY43712@kib.kiev.ua> <20170323113203.GA2815@saturn> <20170324075817.GC43712@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170324075817.GC43712@kib.kiev.ua> User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2017 08:09:45 -0000 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.