pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38771: devel/bmake not marked precious - updating bmake deletes bmake!



The following reply was made to PR pkg/38771; it has been noted by GNATS.

From: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/38771: devel/bmake not marked precious - updating bmake
 deletes bmake!
Date: Tue, 27 May 2008 16:02:39 +0200

 FWIW, I think the problem is not that it wasn't marked precious.
 That is a result of doing an update sometime before.
 The problem is that pkgsrc doesn't know that these packages require
 special handling during update. (update through DESTDIR + binary pkg)
 
 The fact that it's currently not trivial to rebootstrap an existing
 installation contributes to the problem. (Need to manually remove
 previous bootstrapped packages first, requiring some force.)
 
 I think bootstrap should be changed to not install stuff to the prefix,
 but instead create a repository of binary packages, configured for that
 particular prefix.
 
 That is, one should get as a result of bootstrap:
 
 $workdir/bootstrapdist/bmake-20080215.tgz
 $workdir/bootstrapdist/pkg_install-20080423.tgz
 $workdir/bootstrapdist/{nawk,nbsed ...}.tgz
 $workdir/bootstrapdist/mk.conf
 $workdir/bootstrapdist/pkg_add (used for installing packages)
 $workdir/bootstrapdist/installbootstrap.sh (shell script that does
 pkg_add (-u) on all the bootstrap packages)
 
 Getting this to work (staging multiple dependent packages in DESTDIRs)
 would require some amount of magic to be added to bootstrap.
 


Home | Main Index | Thread Index | Old Index