Subject: HEADS UP: problem with the "update" target
To: None <tech-pkg@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-pkg
Date: 03/15/2002 07:44:50
--=-=-=__uLnqM6SNSG4qrSoWFsS9BCCkH__=-=-=

	Hello,

due to an error in revison 1.932 of "bsd.pkgs.mk" the package system
recorded incorrect build version information for packages. So if you
have built packages between 2002-02-28 and today you might experience
failures when using the "update" target the next time e.g. the
"xscreensaver" package will be built instead of the "xscreensaver-gnome"
package. If you experience such a problem you have to edit the file
"work/.DDIR" in the directory where you started the update manually
to point to the correct location e.g. change "x11/xscreensaver" to
"x11/xscreensaver-gnome".

The attached shell script will find packages which might be affected
by this problem.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/
--=-=-=__uLnqM6SNSG4qrSoWFsS9BCCkH__=-=-=
Content-Type: text/plain
Content-Disposition: attachment; filename="findbrokenpkg"

#!/bin/sh
cd /var/db/pkg
for FILE in */+BUILD_VERSION
do
 case "`grep Makefile: $FILE | head -1`" in
 */../*/Makefile:* )
  echo "Package \"`dirname $FILE`\" might be affected."
  ;;
 esac
done
--=-=-=__uLnqM6SNSG4qrSoWFsS9BCCkH__=-=-=--