[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
>Synopsis: pkgsrc-2012Q1 does not reuse already build packages during
>Arrival-Date: Wed Jul 11 10:05:00 +0000 2012
>Originator: Wolfgang Stukenbrock
>Release: NetBSD 5.1.2
Dr. Nagler & Company GmbH
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
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.
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.
Either delete the "useless" binary package during "make clean" too
or add support to detect a present binary package during next
remark: when just runnimng "make" the binary packages should be rebuild,
only "make install" should reuse it.
Main Index |
Thread Index |