pkgsrc-Bugs archive

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

pkg/28812: pkgsrc update does not rebuild all dependecies when interrupted



>Number:         28812
>Category:       pkg
>Synopsis:       make update does not rebuild all dependecies when interrupted
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 30 01:30:00 +0000 2004
>Originator:     Peter Bex
>Release:        NetBSD 2.0_RC1
>Organization:
>Environment:
        
        
System: NetBSD frohike.nvie.com 2.0_RC1 NetBSD 2.0_RC1 (FROHIKE) #3: Wed Sep 29 
19:34:49 CEST 2004 root@:/usr/src/sys/arch/i386/compile/FROHIKE i386
Architecture: i386
Machine: i386
>Description:
        When you run a `make update' in pkgsrc on a pkg that has a dependency
        which needs to be rebuilt, when the dependency build fails,
        the pkgs which share that dependency won't get built again when the
        dependency build is restarted.
>How-To-Repeat:
        Pick a pkg which has a dependency which needs to be updated.  Let's
        say graphics/imlib2 needs to be updated and we are calling
        `make update' on wm/enlightenment (which has imlib2 as a requirement).
        Suppose we also have eterm installed which has imlib2 as a requirement.

        1 - Run make update from wm/enlightenment.
        2 - Wait for pkgsrc to start downloading the tarball for imlib2.
        3 - pkgsrc deletes the pkgs that require imlib2.
        4 - Before (maybe even while) the imlib2 tarball is downloaded,
             disconnect from the net.
        5 - Run `make update' again.
        6 - eterm is `forgotten', it is not reinstalled.
>Fix:
        No fix yet (I'm not very familiar with pkgsrc's inner workings)

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index