NetBSD Problem Report #42859

From wiz@yt.nih.at  Sun Feb 21 15:58:01 2010
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0B05C63C598
	for <gnats-bugs@gnats.netbsd.org>; Sun, 21 Feb 2010 15:58:01 +0000 (UTC)
Message-Id: <20100221145519.6150939FE08@yt.nih.at>
Date: Sun, 21 Feb 2010 15:55:19 +0100 (CET)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@gnats.NetBSD.org
Subject: pbulk: unresolvable dependency stops complete build
X-Send-Pr-Version: 3.95

>Number:         42859
>Category:       pkg
>Synopsis:       pbulk: unresolvable dependency stops complete build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    joerg
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 21 16:00:00 +0000 2010
>Closed-Date:    Sun Feb 21 16:04:04 +0000 2010
>Last-Modified:  Sun Feb 21 16:04:04 +0000 2010
>Originator:     Thomas Klausner
>Release:        NetBSD 5.99.24
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
When pbulk encounters an unknown package, the complete bulk build stops.

The problem is that the resolution stage itself takes quite long,
so it would be preferable to let pbulk build the packages it could
resolve and just skip the ones depending on the unknown package.

>How-To-Repeat:
Add "DEPENDS+= foo-[0-9]*:../../bar/foo" to any package, put that package
into /limited_list and start a limited pbulk build.
See:
Scanning...
. 1/1
Resolving...
Scanning...
Cannot change directory to "/usr/pkgsrc/bar/foo".
.... 4/4
pbulk-scan: Scan failed for bar/foo
Resolving...
Scanning...
Cannot change directory to "/usr/pkgsrc/bar/foo".
.. 2/2
pbulk-scan: Scan failed for bar/foo
Resolving...
Scanning...
Cannot change directory to "/usr/pkgsrc/bar/foo".
. 1/1
pbulk-scan: Scan failed for bar/foo
Resolving...
Unresolvable dependencies found, exiting:
bar/foo

Compare to directly putting "foo/bar" into /limited_list:
Scanning...
Cannot change directory to "/usr/pkgsrc/foo/bar".
. 1/1
pbulk-scan: Scan failed for foo/bar
Resolving...
Building...

Which is in my eyes preferable.
>Fix:


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 21 Feb 2010 16:02:18 +0000
Responsible-Changed-Why:
Over to maintainer


State-Changed-From-To: open->closed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Sun, 21 Feb 2010 16:04:04 +0000
State-Changed-Why:
See pbulk.conf


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.