Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2006 09:43:51 +0400
From:      Andrey Chernov <ache@freebsd.org>
To:        ports-bugs@freebsd.org
Subject:   Recent bsd.ports.mk broke FORCE_PKG_REGISTER & make reinstall
Message-ID:  <20060810054351.GA52839@nagual.pp.ru>

next in thread | raw e-mail | index | archive | help
Repeated 'make reinstall' without 'make deinstall' are broken in the 
blinked way: one time it succeed, second time it fails, and so on. Every 
port does it. Example below. They fails in 'cp' of '+MTREE_DIRS' file 
because of missing /var/db/pkg/<package_name> directory:

pobrecita:/usr/ports/security/gnupg-idea ttyp0 84_# make reinstall
===>  Installing for gnupg-idea-1.0.6
===>   gnupg-idea-1.0.6 depends on file: /usr/local/bin/gpg - found
===>   Generating temporary packing list
/bin/mkdir -p /usr/local/lib/gnupg
install -C  -s -o root -g wheel -m 555
/usr/ports/security/gnupg-idea/work/idea /usr/local/lib/gnupg/idea
install -C  -s -o root -g wheel -m 555
/usr/ports/security/gnupg-idea/work/rsa /usr/local/lib/gnupg/rsa
===>   Registering installation for gnupg-idea-1.0.6

pobrecita:/usr/ports/security/gnupg-idea ttyp0 85_# make reinstall
===>  Installing for gnupg-idea-1.0.6
===>   gnupg-idea-1.0.6 depends on file: /usr/local/bin/gpg - found
===>   Generating temporary packing list
/bin/mkdir -p /usr/local/lib/gnupg
install -C  -s -o root -g wheel -m 555
/usr/ports/security/gnupg-idea/work/idea /usr/local/lib/gnupg/idea
install -C  -s -o root -g wheel -m 555
/usr/ports/security/gnupg-idea/work/rsa /usr/local/lib/gnupg/rsa
cp: /var/db/pkg/gnupg-idea-1.0.6/+MTREE_DIRS: No such file or directory
*** Error code 1

-- 
http://ache.pp.ru/



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