pkgsrc-Bugs archive

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

pkg/42859: pbulk: unresolvable dependency stops complete build



>Number:         42859
>Category:       pkg
>Synopsis:       pbulk: unresolvable dependency stops complete build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 21 16:00:00 +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:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index