From owner-freebsd-ports@FreeBSD.ORG Thu Apr 11 10:19:21 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7A8C8D3B for ; Thu, 11 Apr 2013 10:19:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 3F64EFB3 for ; Thu, 11 Apr 2013 10:19:21 +0000 (UTC) Received: from [88.217.71.47] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UQEb8-0001aC-Q3 for freebsd-ports@freebsd.org; Thu, 11 Apr 2013 12:19:19 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id r3BAJHNe003355 for ; Thu, 11 Apr 2013 12:19:17 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id r3BAJGTR003354 for freebsd-ports@freebsd.org; Thu, 11 Apr 2013 12:19:16 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 11 Apr 2013 12:19:16 +0200 From: Matthias Apitz To: freebsd-ports@freebsd.org Subject: problems with half installed ports Message-ID: <20130411101916.GA3339@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.71.47 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2013 10:19:21 -0000 Hi, Sometimes, while compiling all my ports, I encounter the following problem: Say, we are installing ports/A which depends on ports/B; the Makefile detects the dependency and goes to install ports/B; if now during the final installation process, some files are already delivered to /usr/local, some files not, the system goes down (by intention because it's time to go out), before the installation of ports/B is fully done and registered to /var/db/pkg, next time when you restart installing ports/A it often sees, because the file referenced in the Makefile was allready installed (while others not), it thinks that ports/B was installed fine and proceeds with ports/A which later (or even in some other area) gives an error due to missing files of ports/B; I think, the only solution is that the dependency is not only based on some (random) file of B, but on the fact if B was *fully* installed and registered in /var/db/pkg; comments? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards