pkgsrc-Bugs archive

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

pkg/31064: make package should not depend on the install target



>Number:         31064
>Category:       pkg
>Synopsis:       make package should not depend on the install target
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 25 02:11:00 +0000 2005
>Originator:     Huajian.Luo
>Release:        Soalris 10
>Organization:
SUN
>Environment:
SunOS whatluo 5.10 sun4u sparc SUNW,Sun-Blade-2500
>Description:
each time I want make packages for other guys to install 
I issue the following commands:
$sudo  bmake
<compile the whole port>
then I want install it on my build box
$ sudo bmake install
then I want build package for other guys
$sudo bmake package
[hl@whatluo|gmake]$sudo  bmake package
===> Checking for vulnerabilities in gmake-3.80nb4
===> Installing for gmake-3.80nb4
===> gmake-3.80nb4 is already installed - perhaps an older version?
*** If so, you may use either of:
***  - "pkg_delete gmake-3.80nb4" and "/usr/pkg/bin/bmake reinstall" to upgrade 
properly
***  - "/usr/pkg/bin/bmake update" to rebuild the package and all of its 
dependencies
***  - "/usr/pkg/bin/bmake replace" to replace only the package without 
re-linking
***    dependencies, risking various problems.
*** Error code 1

Stop.
bmake: stopped in /usr/pkg/pkgsrc/devel/gmake
*** Error code 1

Stop.
bmake: stopped in /usr/pkg/pkgsrc/devel/gmake
*** Error code 1

Stop.
bmake: stopped in /usr/pkg/pkgsrc/devel/gmake
-----------------------------------------------------------------------------
which is not straightforward like 
make && make install && make pacakge as in FreeBSD or OpenBSD
the NetBSD way is  
$make install clean 
$make package clean
which use too much time to recompile the code and it unbearable as to 
gcc and perl alike.

>How-To-Repeat:
bmake 
bmake install 
bmake pacakge
bmake clean
>Fix:




Home | Main Index | Thread Index | Old Index