Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2010 23:26:53 GMT
From:      Bruce Becker <hostmaster@gts.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151510: circular dependincies breaks pkgdb -L
Message-ID:  <201010162326.o9GNQrPT031590@www.freebsd.org>
Resent-Message-ID: <201010162330.o9GNU8w4032300@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151510
>Category:       ports
>Synopsis:       circular dependincies breaks pkgdb -L
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 16 23:30:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Becker
>Release:        8.1-STABLE/i386
>Organization:
G.T.S.
>Environment:
FreeBSD twain 8.1-STABLE FreeBSD 8.1-STABLE #22: Sun Aug  1 06:02:41 EDT 2010     root@twain:/usr/obj/usr/src/sys/TWAIN  i386

>Description:

if i make postgresql with OpenLDAP config ON, and OpenLDAP with SASL config ON, and cyrus-sasl with Postgresql config ON, it creates a circular dependency loop

when i then run pkgdb -L from the "portupgrade" port, it gets to here & fails:

[...]
Disclose depends for cyrus-sasl-2.1.23
make: Max recursion level (500) exceeded.: Resource temporarily unavailable
can't convert nil into String


this basically breaks "portupgrade" functionality since it's impossible
to repair broken dependency links if this tool doesn't work.

>How-To-Repeat:
run pkgdb -L with any such circular dependency

>Fix:
the pkgbd tool needs to incorporate loop detection for such situations


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010162326.o9GNQrPT031590>