tech-pkg archive

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

pkgtools/digest wants pkgsrc gcc after bootstrap, circular dependency



All,

after bootstrapping pkgsrc on an OpenIllumos system with gcc 4.3, any 
attempt at building a package fails with a circular dependency in 
digest.

The bootstrap was configured as

#!/bin/sh

PATH=/usr/sbin:/usr/bin:/usr/gcc/4.3/bin
export PATH

cd /misc/pkgsrc/bootstrap || exit 1

sh bootstrap \
        --workdir /root/pkgsrc_bootstrap/work \
        --prefix /usr/pkg \
        --pkgdbdir /usr/pkg/pkg_db \
        --sysconfdir /etc/pkg \
        --varbase /var \
        --full

the mk.conf used has

.ifdef BSD_PKG_MK       # begin pkgsrc settings

PKGSRC_COMPILER=        gcc

PKG_DBDIR=              /usr/pkg/pkg_db
LOCALBASE=              /usr/pkg
VARBASE=                /var
PKG_SYSCONFBASE=        /etc/pkg
PKG_TOOLS_BIN=          /usr/pkg/sbin
PKGMANDIR=              man

TOOLS_PLATFORM.install?=        /usr/pkg/bin/install-sh
TOOLS_PLATFORM.sh?=             /usr/pkg/bin/pdksh
TOOLS_PLATFORM.ksh?=            /usr/pkg/bin/pdksh
TOOLS_PLATFORM.awk?=            /usr/pkg/bin/nawk
TOOLS_PLATFORM.sed?=            /usr/pkg/bin/nbsed
TOOLS_PLATFORM.sh?=             /usr/bin/bash

PKGSRCDIR =             /misc/pkgsrc
DISTDIR =               /misc/pkg-distfiles
WRKOBJDIR =             /var/obj/pkgsrc
PACKAGES =              ${WRKOBJDIR}/packages

CLEANDEPENDS =          1
PKG_DEVELOPER =         1

.endif                  # end pkgsrc settings


and building pkgtools/digest results in

[hf@eisenhut] /<2>pkgtools/digest > echo $PATH
/usr/bin:/usr/sbin:/usr/pkg/bin:/usr/pkg/sbin:/usr/gcc/4.3/bin
[hf@eisenhut] /<2>pkgtools/digest > bmake
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkg_db/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkg_db 
fetch-pkg-vulnerabilities'.
===> Installing dependencies for digest-20121220
=> Build dependency gcc>=2.95.3nb7: NOT found
=> Verifying package-install for ../../lang/gcc
=> Bootstrap dependency digest>=20010302: NOT found
=> Verifying package-install for ../../pkgtools/digest
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 1

Stop.
bmake: stopped in /misc/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
bmake: stopped in /misc/pkgsrc/lang/gcc
*** Error code 1

Stop.
bmake: stopped in /misc/pkgsrc/pkgtools/digest
[hf@eisenhut] /<2>pkgtools/digest >

The usual search engines came up empty, with the exception of 
pkg/43372, which is similar, and still open.

Any ideas what to look for?

Cheerio,
hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281


Home | Main Index | Thread Index | Old Index