From owner-freebsd-ports@FreeBSD.ORG Mon Jan 19 17:20:22 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D39CDDD6; Mon, 19 Jan 2015 17:20:22 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4676AB77; Mon, 19 Jan 2015 17:20:22 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id t0JHK8f7036672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Jan 2015 19:20:08 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua t0JHK8f7036672 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id t0JHK8sh036667; Mon, 19 Jan 2015 19:20:08 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 19 Jan 2015 19:20:08 +0200 From: Konstantin Belousov To: Baptiste Daroussin Subject: Re: PKG - Fail to kill children Message-ID: <20150119172008.GX42409@kib.kiev.ua> References: <69003a728b65c1054f238f21a01086e6@mail.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <69003a728b65c1054f238f21a01086e6@mail.etoilebsd.net> User-Agent: Mutt/1.5.23 (2014-03-12) 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.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: freebsd-ports@freebsd.org, Michael Jung X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2015 17:20:22 -0000 On Mon, Jan 19, 2015 at 05:06:34PM +0000, Baptiste Daroussin wrote: > January 19 2015 4:15 PM, "Michael Jung" wrote: > > On 2015-01-19 09:20, Michael Jung wrote: > > > >> FreeBSD 10.1-RELEASE #0 r276896: > >> pkg 1.4.4 or pkg 1.4.6 > >> poudriere 3.1.1 under 11.0-CURRENT r275419 > >> > >> On i386 only pkg complains with "Fail to kill children". I have > >> checked some but not all packages > >> and they appear to be updated as expected so this > >> is a heads up. > >> > I do not understand your setting, but that means you have an old kernel running a more recent userland (which is something unsupported btw :)) > > So when building pkg is discovering it is being built on head (aka it support the acquiring the reaper via procctl(2)) and assume it can use it. But your kernel does not have support for that, hence the failure. > > Basically your host must always be newer that your jails Would be useful for pkg to print the failed syscall name/basic mode and errno in addition to its interpretation of the events.