From owner-freebsd-ports@freebsd.org Wed Jan 10 14:14:10 2018 Return-Path: Delivered-To: freebsd-ports@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 48F7AE5AFFD for ; Wed, 10 Jan 2018 14:14:10 +0000 (UTC) (envelope-from SRS0=bsv+=EF=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 0C77976B8C for ; Wed, 10 Jan 2018 14:14:09 +0000 (UTC) (envelope-from SRS0=bsv+=EF=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 7855028428 for ; Wed, 10 Jan 2018 15:14:00 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id A0FFB28423 for ; Wed, 10 Jan 2018 15:13:54 +0100 (CET) Subject: Re: Poudriere errors encountered gathering ports metadata To: freebsd-ports@freebsd.org References: <5A54D8A2.3070506@quip.cz> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <5A561FA2.4040505@quip.cz> Date: Wed, 10 Jan 2018 15:13:54 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <5A54D8A2.3070506@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2018 14:14:10 -0000 Miroslav Lachman wrote on 2018/01/09 15:58: > I am trying to rebuild ports for my PC-BSD based desktop computer. > > Options went fine: > poudriere options -z pcbsd -p pcbsd-head -f > /usr/local/etc/poudriere.d/pkglists/pcbsd > > But when I run bulk I always get this error > > poudriere bulk -vv -j 10_4_amd64 -z pcbsd -p pcbsd-head -f > /usr/local/etc/poudriere.d/pkglists/pcbsd > > [00:00:06] Error: Fatal errors encountered gathering ports metadata > > For example: > > [00:00:06] x11-toolkits/gtk30 depends on x11/libXinerama > [00:00:06] x11-toolkits/gtk30 depends on x11/libXrandr > [00:00:06] x11-toolkits/gtk30 depends on x11/libXrender > [00:00:06] Warning: (x11-toolkits/gtk30): [00:00:06] Debug: > gather_port_vars_port (x11-toolkits/gtk30): Adding to depqueue > [00:00:06] Error: Fatal errors encountered gathering ports metadata > [00:00:06] Cleaning up > 10_4_amd64-pcbsd-head-pcbsd: removed > 10_4_amd64-pcbsd-head-pcbsd-n: removed > [00:00:06] Unmounting file systems > > If I remove x11-toolkits/gtk30 from the ports list then I got this error > for another one. > > What this error means and how can I debug it? It was caused by some local port with dependency on port which no longer exists so i fixed this port and bulk build went fine. But the question remains - how can I find which port causes this error? I tried to remove ports from list until bulk went fine but it is really slow and painful way if you are building 1500 ports for desktop machines. Why poudriere does not print name of the port with error? Miroslav Lachman