pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: make update problems
On 04/21/11 02:00 PM, Greg Troxel wrote:
Jörn Clausen<joern.clausen%uni-bielefeld.de@localhost> writes:
On 04/20/11 05:40 PM, Greg Troxel wrote:
Jörn Clausen<joern.clausen%uni-bielefeld.de@localhost> writes:
I assume "bmake replace" did not work. Is this no valid make target anymore?
It should be fine. Make sure your work directories are cleaned out.
As I have to do all this a second time on Solaris/sparc, that's easy
to test. After "make replace" I have again two libtool-directories in
/var/db/pkg, one with a .xxxxxx suffix.
So you should to figure out if you are using DESTDIR or not, and if so
see what happens with pkg_add -U, and if not with the way make replace
worked before. And, post your mk.conf and specify which date of cvs and
which branch you are using.
I think I am using DESTDIR, I have a freshly synced CVS tree.
I had the problem again using "pkg_rolling-replace", with
p5-DBD-mysql-4.017nb1. The package compiled,
packages/SunOS-5.10-i386/All/p5-DBD-mysql-4.017nb1.tgz was created, then:
===> Updating using binary package of p5-DBD-mysql-4.017nb1
/usr/pkgsrc/20110318/sbin/pkg_add -K /usr/pkgsrc/20110318/var/db/pkg -U
-D
/software/pkgsrc/source/pkgsrc/packages/SunOS-5.10-i386/All/p5-DBD-mysql-4.017nb1.tgz
pkg_delete: Couldn't remove package directory in
`/usr/pkgsrc/20110318/var/db/pkg/p5-DBD-mysql-4.017nb1'
pkg_add: exec of install script failed: No such file or directory
pkg_add: Couldn't remove
/usr/pkgsrc/20110318/var/db/pkg/p5-DBD-mysql-4.017nb1: File exists
pkg_add: 1 package addition failed
I removed var/db/pkg/p5-DBD-mysql-4.017nb1 and renamed
var/db/pkg/p5-DBD-mysql-4.017nb1.xxxxxx, then I tried "pkg_add -U":
$ pkg_add -U packages/SunOS-5.10-i386/All/p5-DBD-mysql-4.017nb1.tgz
Can't open
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/5.12.0/i386-solaris-thread-multi/auto/DBD/mysql/.packlist:
No such file or directory.
pkg_delete: Couldn't remove
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/5.12.0/i386-solaris-thread-multi/Bundle/DBD/mysql.pm
pkg_delete: Couldn't remove
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/5.12.0/i386-solaris-thread-multi/DBD/mysql.pm
pkg_delete: Couldn't remove
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/5.12.0/i386-solaris-thread-multi/DBD/mysql/GetInfo.pm
pkg_delete: Couldn't remove
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/5.12.0/i386-solaris-thread-multi/DBD/mysql/INSTALL.pod
pkg_delete: Couldn't remove
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/5.12.0/i386-solaris-thread-multi/auto/DBD/mysql/.packlist
pkg_delete: Couldn't remove
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/5.12.0/i386-solaris-thread-multi/auto/DBD/mysql/mysql.bs
pkg_delete: Couldn't remove
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/5.12.0/i386-solaris-thread-multi/auto/DBD/mysql/mysql.so
pkg_delete: Couldn't remove
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/man/man3/Bundle::DBD::mysql.3
pkg_delete: Couldn't remove
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/man/man3/DBD::mysql.3
pkg_delete: Couldn't remove
/usr/pkgsrc/20110318/lib/perl5/vendor_perl/man/man3/DBD::mysql::INSTALL.3
pkg_delete: Couldn't remove package directory in
`/usr/pkgsrc/20110318/var/db/pkg/p5-DBD-mysql-4.017nb1'
pkg_add: exec of install script failed: No such file or directory
pkg_add: Couldn't remove
/usr/pkgsrc/20110318/var/db/pkg/p5-DBD-mysql-4.017nb1: File exists
pkg_add: 1 package addition failed
Again, var/db/pkg/p5-DBD-mysql-4.017nb1 is an empty directory and
var/db/pkg/p5-DBD-mysql-4.017nb1.xxxxxx exists.
The only slightly relevant definition in mk.conf is
PACKAGES = ${PKGSRCDIR}/packages/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index