Subject: pkg/12808: sh mk/bulk/build does not work if port2pkg is installed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kivinen@ssh.fi>
List: netbsd-bugs
Date: 05/03/2001 03:57:07
>Number: 12808
>Category: pkg
>Synopsis: mk/bulk/build does not work if port2pkg is installed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 02 15:02:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Tero Kivinen
>Release: NetBSD-current 2001-05-02
>Organization:
SSH Communications Security
>Environment:
System: NetBSD haste.acr.fi 1.5V NetBSD 1.5V (HASTE) #0: Wed May 2 22:23:40 EEST 2001 root@haste.acr.fi:/usr/src/sys/arch/i386/compile/HASTE i386
Architecture: i386
Machine: i386
>Description:
If I have everything installed and I try to start batch build
it will fail, because the first thing it tries to do is to
remove pkglint. This will fail if I have port2pkg installed:
===> Deinstalling for pkglint-2.49
Running PKG_DBDIR=/var/db/pkg /usr/sbin/pkg_delete pkglint-2.43
pkg_delete: package `pkglint-2.43' is required by other packages:
port2pkg-1.9
The next thing it does it tries to deinstall perl-mk-1.1 and
that will fail also because of packages using it.
Then it tries to install perl-mk-1.1 which will fail because
of it is already installed causing perl-mk-1.1 marked as
broken. This will cause rest of the build process to fail
completely.
>How-To-Repeat:
Install pkglint, port2pkg, perl-mk-1.1, perl-base-5.6.0nb1
etc, and try to run mk/bulk/build after configuring system to
do batch builds. Also make sure that you DO NOT have existing
binary package of pkglint etc available, i.e mv packages
packages.not-used in the /usr/pkgsrc directory.
>Fix:
Not known.
>Release-Note:
>Audit-Trail:
>Unformatted: