tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgsrc bootstrap & build failures on Mac OS X Leopard



Hi,

On Mac OS X Leopard (Xcode 3.1.4), updating an old (eight year old) pkgsrc install fails:

...
===> Cleaning for pkg_install-20250417
sh-3.2# bmake package update
===> Installing dependencies for pkg_install-20250417
==========================================================================
The supported build options for pkg_install are:

	inet6 openssl

The currently selected options are:

	inet6

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.libfetch (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
pkg_install-20250417.  Their current value is shown below:

        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/local/etc/openssl/certs
        * SSLDIR = /usr/local/etc/openssl
        * SSLKEYS = /usr/local/etc/openssl/private

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cwrappers>=20150314: NOT found
=> Verifying update for ../../pkgtools/cwrappers
===> Skipping vulnerability checks.
WARNING: No /usr/local/var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/local/sbin/pkg_admin -K /usr/local/var/db/pkg fetch-pkg-vulnerabilities'.
===> Trying to handle out-dated pkg_install...
===> Cleaning for pkg_install-20250417
/usr/local/bin/bmake
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 1


So instead I tried to bootstrap (mv /usr/local /usr/local.old):

...
=> Generating post-install file lists
=> Checking file-check results for libnbcompat-20250303
=> Creating binary package /usr/pkgsrc/bootstrap/work/wrk/pkgtools/libnbcompat/work/.packages/libnbcompat-20250303.tgz pkg_create: cannot write to archive: +CONTENTS: pax format cannot archive files with mode 00 mv: rename /usr/pkgsrc/bootstrap/work/wrk/pkgtools/libnbcompat/work/.packages/libnbcompat-20250303.tmp.tgz to /usr/pkgsrc/bootstrap/work/wrk/pkgtools/libnbcompat/work/.packages/libnbcompat-20250303.tgz: No such file or directory
*** Error code 1

Stop.
bmake[1]: stopped making "install" in /usr/pkgsrc/pkgtools/libnbcompat
*** Error code 1

Stop.
bmake: stopped making "install" in /usr/pkgsrc/pkgtools/libnbcompat
===> exited with status 1
aborted.


Running pkg_rolling-replace on my machine running Tiger worked fine, although it was last updated less than a year ago.

Hopefully Leopard isn't too old for pkgsrc?

John


Home | Main Index | Thread Index | Old Index