pkgsrc-Bugs archive

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

pkg/46686: pkgsrc-2012Q1 does not reuse already build packages during install



>Number:         46686
>Category:       pkg
>Synopsis:       pkgsrc-2012Q1 does not reuse already build packages during 
>install
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 11 10:05:00 +0000 2012
>Originator:     Wolfgang Stukenbrock
>Release:        NetBSD 5.1.2
>Organization:
Dr. Nagler & Company GmbH
>Environment:
        
        
System: NetBSD test-s0 4.0 NetBSD 4.0 (NSW-WS) #0: Tue Aug 17 17:28:09 CEST 
2010 wgstuken@test-s0:/usr/src/sys/arch/amd64/compile/NSW-WS amd64
Architecture: x86_64
Machine: amd64
>Description:
        While building a package from the source, a binary package is
        created in /usr/pkgsrc/packages/All/.
        That one is installed when calling "make install".
        But if the package working directory is removed - e.g. in order
        to save space after build, the prepared package is not deleted too.
        If a reinstallation is required - e.g. after the package has been
        removed with pkg_delete - "make install" will not detect the already
        present binary package and start building everything again.

>How-To-Repeat:
        Install a package, look into /usr/pkgsrc/packages/All/.
        Try "make clean" - prepared package still present.
        use pkg_delete to remove the package
        Try "make install" again - everything will be rebuild, even
        if the prepared binary package is still there.
>Fix:
        Either delete the "useless" binary package during "make clean" too
        or add support to detect a present binary package during next
        "make install".
        remark: when just runnimng "make" the binary packages should be rebuild,
                only "make install" should reuse it.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index