Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2013 12:19:16 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-ports@freebsd.org
Subject:   problems with half installed ports
Message-ID:  <20130411101916.GA3339@tinyCurrent>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130411101916.GA3339>