pkgsrc-Users archive

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

Circular dependency in mail/gmime3?



Trying to rebuild mail/gmime3 fails because of apparent circular dependency.  Log file is short:


=> Bootstrap dependency digest>=20010302: found digest-20180917
=> Checksum SHA1 OK for gmime-3.2.3.tar.xz
=> Checksum RMD160 OK for gmime-3.2.3.tar.xz
=> Checksum SHA512 OK for gmime-3.2.3.tar.xz
===> Installing dependencies for gmime3-3.2.3
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.56.2
=> Tool dependency bash-[0-9]*: found bash-4.4.012
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.3.5
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency py27-sphinx-[0-9]*: found py27-sphinx-1.6.3
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency gnupg2>=2.2.0: found gnupg2-2.2.12
=> Full dependency python27>=2.7.1nb2: found python27-2.7.13nb1
=> Full dependency gmime3>=3.0.3: NOT found
=> Verifying package-install for ../../mail/gmime3
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 1

Stop.
make[1]: stopped in /BETA1/pkgsrc/mail/gmime3
*** Error code 1

Stop.
make: stopped in /BETA1/pkgsrc/mail/gmime3


After updating system to

NetBSD amelia2 8.99.30 NetBSD 8.99.30 (NetBSD-HEAD amd64.nb899-20190122) #1: Tue Jan 22 05:58:24 GMT 2019  root@amelia2:/usr/obj/usr/src/sys/arch/amd64/compile/SANDY7 amd64

I tried to update with pkg_rolling_replace, hit many snags, then pkg_chk -u -s , which deleted a lot of packages and then stopped qhen a needed distfile download couldn't be found.

Now I am stuck on an apparent circular dependency in mail/gmime3, which seems to depend on itself.  Did I do something wrong, or is something askew in the pkgsrc recipe?

Or is it because my system with the packages is royally messed up.

Something in buildlink3.mk raises the question of gmime3 depending on itself, particularly the line BUILDLINK_API_DEPENDS.gmime3+= gmime3>=3.0 :


# $NetBSD: buildlink3.mk,v 1.1 2017/11/23 15:42:03 wiz Exp $

BUILDLINK_TREE+=	gmime3

.if !defined(GMIME3_BUILDLINK3_MK)
GMIME3_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.gmime3+=	gmime3>=3.0
BUILDLINK_PKGSRCDIR.gmime3?=	../../mail/gmime3

.include "../../devel/glib2/buildlink3.mk"
.include "../../security/gpgme/buildlink3.mk"
.endif # GMIME3_BUILDLINK3_MK

BUILDLINK_TREE+=	-gmime3

Tom



Home | Main Index | Thread Index | Old Index