From owner-freebsd-java@freebsd.org Fri Mar 24 07:58:23 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 3D44AD1B898 for ; Fri, 24 Mar 2017 07:58:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 25F471078 for ; Fri, 24 Mar 2017 07:58:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 225C1D1B896; Fri, 24 Mar 2017 07:58:23 +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 220B9D1B895 for ; Fri, 24 Mar 2017 07:58:23 +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 94239106F; Fri, 24 Mar 2017 07:58:22 +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 v2O7wIsD023701 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 24 Mar 2017 09:58:18 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua v2O7wIsD023701 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id v2O7wH9u023700; Fri, 24 Mar 2017 09:58:17 +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 09:58:17 +0200 From: Konstantin Belousov To: Niels Kobsch??tzki Cc: java@freebsd.org, dchagin@freebsd.org, mjg@freebsd.org Subject: Re: Problems building openjdk8 Message-ID: <20170324075817.GC43712@kib.kiev.ua> References: <20170323074643.GA17052@saturn> <20170323084622.GY43712@kib.kiev.ua> <20170323113203.GA2815@saturn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170323113203.GA2815@saturn> 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 07:58:23 -0000 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 ?