pkgsrc-Bugs archive

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

pkg/38771: devel/bmake not marked precious - updating bmake deletes bmake!



>Number:         38771
>Category:       pkg
>Synopsis:       devel/bmake not marked precious - updating bmake deletes bmake!
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 27 13:35:02 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX 6.5.30; MIPSpro Compilers Version 7.4.4m
>Description:

pkg_chk detected that an update to 'bmake' was, so I did a simple 'cd 
$PKGSRC/devel/bmake && bmake clean && bmake test && bmake update'.

Unfortunately, the 'update' step performed a 'pkg_delete -r bmake' which 
removed the /usr/bsd/bin/bmake binary required to reinstall bmake :(

Checking $PKGSRC/../var/tmp/devel/bmake/work/bmake/ there doesn't seem to be a 
'bmake' binary which I can copy in to place in order to rebuild and recover the 
system.

If I manually run configure and then 'make -f makefile.boot bootstrap' then the 
build process ends with:

need to unpack mk.tar.gz under . or set MKSRC or MK
make: *** [.mk.done] Error 1

Re-running configure and make with MK set to '/usr/bsd/src/mk' has no effect.

Copying the resulting 'bmake.boot' to /usr/bsd/bin/bmake results in:

bmake: no system rules (sys.mk).

bmake: stopped in /usr/bsd/src/devel/bmake

... so no joy here either.

How do I get bmake reinstalled?  *WHY* was it removed in the first place??
>How-To-Repeat:

Attempt a 'bmake update' on bmake itself.
>Fix:

bmake (and the associated *.mk files) should never be able to be removed by a 
package upgrade.  This is a serious (build-)system killing bug.



Home | Main Index | Thread Index | Old Index