Subject: building problems again (because of wrong email address)
To: None <tech-pkg@netbsd.org>
From: None <mail@stefan-zimmermann.de>
List: tech-pkg
Date: 11/20/2003 15:32:02
Hello NETBSD Team !!

I'm trying to compile some software on the current package
sources, but there is a problem with old package tools.

-----------------------------------------------------------
zimmermann:/usr/cvs/pkgsrc/editors/vim# make
===> Your package tools need to be updated to 2003/09/18 versions.
===> The installed package tools were last updated on 2003/02/02.
===> To fix this, use the following command:
===>    cd /usr/cvs/pkgsrc/pkgtools/pkg_install && make clean && make
install
*** Error code 1

Stop.
make: stopped in /usr/cvs/pkgsrc/editors/vim
zimmermann:/usr/cvs/pkgsrc/editors/vim#
-----------------------------------------------------------

So I try to update.

-----------------------------------------------------------
zimmermann:/usr/cvs/pkgsrc/pkgtools/pkg_install# make clean
===> Cleaning for pkg_install-20031003
zimmermann:/usr/cvs/pkgsrc/pkgtools/pkg_install# make install
...
...
=> Fixing buildlink references in files-to-be-installed.
===> Installing for digest-20021220
===>  usage: pkg_admin [-V] command args ...
Where 'commands' and 'args' are:
 rebuild                     - rebuild pkgdb from +CONTENTS files
 check [pkg ...]             - check md5 checksum of installed files
 lsall /path/to/pkgpattern   - list all pkgs matching the pattern
 lsbest /path/to/pkgpattern  - list pkgs matching the pattern best
 dump                        - dump database
 pmatch pattern pkg          - returns true if pkg matches pattern,
otherwise false is already installed - perhaps an older version?
*** If so, you may use either of:
***  - "pkg_delete usage: pkg_admin [-V] command args ...
Where 'commands' and 'args' are:
 rebuild                     - rebuild pkgdb from +CONTENTS files
 check [pkg ...]             - check md5 checksum of installed files
 lsall /path/to/pkgpattern   - list all pkgs matching the pattern
 lsbest /path/to/pkgpattern  - list pkgs matching the pattern best
 dump                        - dump database
 pmatch pattern pkg          - returns true if pkg matches pattern,
otherwise false" and "make reinstall" to upgrade properly
***  - "make update" to rebuild the package and all of its dependencies
***  - "make replace" to replace only the package without re-linking
***    dependencies, risking various problems.
*** Error code 1

Stop.
make: stopped in /usr/cvs/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
make: stopped in /usr/cvs/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
make: stopped in /usr/cvs/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
make: stopped in /usr/cvs/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
make: stopped in /usr/cvs/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /usr/cvs/pkgsrc/pkgtools/pkg_install
zimmermann:/usr/cvs/pkgsrc/pkgtools/pkg_install#
-----------------------------------------------------------

It seems there is an error while installing 'digest'
I' try to replace 'digest'.

-----------------------------------------------------------
zimmermann:/usr/cvs/pkgsrc/pkgtools/digest# make replace
===> *** No /usr/cvs/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Replacing digest-20021220
*** WARNING - experimental target - data loss may be experienced ***
No /usr/pkg/bin/pkg_tarup binary - can't pkg_tarup digest
*** Error code 1

Stop.
make: stopped in /usr/cvs/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
make: stopped in /usr/cvs/pkgsrc/pkgtools/digest
zimmermann:/usr/cvs/pkgsrc/pkgtools/digest#
-----------------------------------------------------------

But this also is going wrong.
What can I do ?

Stefan Zimmermann