Subject: AIX bootstrap and patch (circular dependency)
To: None <tech-pkg@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 06/26/2007 16:19:51
Hi!
I just tried to bootstrap a brand new AIX box. It gets pretty far
without complaining, but then, as it tries to build bmake...
===> Registering installed packages
===> running: (cd /usr/pkgsrc/pkgtools/bootstrap-mk-files &&
/usr/pkg/bin/bmake -DPKG_PRESERVE
MAKECONF=/tmp/pkgbootstrap/mk.conf.example
WRKOBJDIR=/tmp/pkgbootstrap/pkgsrc bootstrap-register)
=> Registering installation for bootstrap-mk-files-20061111
===> Cleaning for bootstrap-mk-files-20061111
===> running: (cd /usr/pkgsrc/devel/bmake && /usr/pkg/bin/bmake
-DPKG_PRESERVE MAKECONF=/tmp/pkgbootstrap/mk.conf.example
WRKOBJDIR=/tmp/pkgbootstrap/pkgsrc bootstrap-register)
ERROR: [resolve-dependencies] A package matching ``patch>=2.2'' should
ERROR: be installed, but one cannot be found. Perhaps there is a
ERROR: stale work directory for ../../devel/patch?
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/bmake
===> exited with status 1
aborted.
I tried to install devel/patch manually but it depends in digest, which
depends in patch and they go back and forth forever.
Trying to install pkgtools/digest gives this more informative message up
front:
# cd ../../pkgtools/digest
# bmake package
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/distfiles/pkg-vulnerabilities file found.
WARNING: To fix, install the pkgsrc/security/audit-packages
WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
===> Installing dependencies for digest-20060826
=> Required installed package patch>=2.2: NOT found
=> Verifying package for ../../devel/patch
=> Required installed package digest>=20010302: NOT found
=> Verifying package for ../../pkgtools/digest
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/patch
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/digest
So I'm at a loss as to how to get past this. Any help would be fantastic,
Louis