pkgsrc-Bugs archive

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

pkg/38451: bootstrap-mk-files not precious: updating always breaks



>Number:         38451
>Category:       pkg
>Synopsis:       bootstrap-mk-files not precious: updating always breaks
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 17 19:35:00 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX64 octane 6.5 07202013 IP30; IRIX 6.5.30; MIPSpro Compilers Version 7.4.4m
>Description:

Whenever boostrap-mk-files is upgraded/replaced, the files in share/mk/ are 
always removed and then 'bmake' fails.

(This may be fixed in a more recent bmake?  I have a bug open on this too, but 
haven't received a PR ID for it yet)
>How-To-Repeat:

netbsd@octane ~/pkgtools/bootstrap-mk-files # bmake clean && bmake test && 
bmake update
===> su-do-clean [bootstrap-mk-files-20080415] ===> Cleaning for 
bootstrap-mk-files-20080415
===> _flavor-check-vulnerable [bootstrap-mk-files-20080415] ===> Checking for 
vulnerabilities in bootstrap-mk-files-20080415
===> depends-message [bootstrap-mk-files-20080415] ===> Installing dependencies 
for bootstrap-mk-files-20080415
===> tools-message [bootstrap-mk-files-20080415] ===> Overriding tools for 
bootstrap-mk-files-20080415
===> extract-message [bootstrap-mk-files-20080415] ===> Extracting for 
bootstrap-mk-files-20080415
===> patch-message [bootstrap-mk-files-20080415] ===> Patching for 
bootstrap-mk-files-20080415
===> wrapper-message [bootstrap-mk-files-20080415] ===> Creating toolchain 
wrappers for bootstrap-mk-files-20080415
===> configure-message [bootstrap-mk-files-20080415] ===> Configuring for 
bootstrap-mk-files-20080415
cd 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415; 
for file in bsd.* sys.mk; do                   test ! -f mods/IRIX.$file ||     
               /sbin/cp -f mods/IRIX.$file 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415/$file;
                done
cd 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415;  
                                                      if test -f 
mods/IRIX.bsd.own.mk.in; then                        
own_mk=mods/IRIX.bsd.own.mk.in;                         else                    
                                        own_mk=mods/bsd.own.mk.in;              
                fi;                                                             
/usr/bsd/bin/gnu-sed   -e 's|@ROOT_GROUP@|'netbsd'|g'                   -e 
's|@ROOT_USER@|'netbsd'|g'                   -e 
's|@SYSCONFDIR@|'/usr/bsd/etc'|g'            $own_mk > bsd.own.mk
===> test-message [bootstrap-mk-files-20080415] ===> Testing for 
bootstrap-mk-files-20080415
===> deinstall [bootstrap-mk-files-20080415] ===> Deinstalling for 
bootstrap-mk-files-20080415
Running /usr/bsd/sbin/pkg_delete -K /usr/bsd/var/db/pkg -r 
bootstrap-mk-files-20080415
bmake: no system rules (sys.mk).

bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
*** Error code 2

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files


netbsd@octane ~/pkgtools/bootstrap-mk-files # mkdir /usr/bsd/share/mk
netbsd@octane ~/pkgtools/bootstrap-mk-files # cp 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415/bsd.*
 /usr/bsd/share/mk/
netbsd@octane ~/pkgtools/bootstrap-mk-files # cp 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415/sys.mk
 /usr/bsd/share/mk/
netbsd@octane ~/pkgtools/bootstrap-mk-files # bmake clean && bmake test && 
bmake install
===> su-do-clean [bootstrap-mk-files-20080415] ===> Cleaning for 
bootstrap-mk-files-20080415
===> _flavor-check-vulnerable [bootstrap-mk-files-20080415] ===> Checking for 
vulnerabilities in bootstrap-mk-files-20080415
===> depends-message [bootstrap-mk-files-20080415] ===> Installing dependencies 
for bootstrap-mk-files-20080415
===> tools-message [bootstrap-mk-files-20080415] ===> Overriding tools for 
bootstrap-mk-files-20080415
===> extract-message [bootstrap-mk-files-20080415] ===> Extracting for 
bootstrap-mk-files-20080415
===> patch-message [bootstrap-mk-files-20080415] ===> Patching for 
bootstrap-mk-files-20080415
===> wrapper-message [bootstrap-mk-files-20080415] ===> Creating toolchain 
wrappers for bootstrap-mk-files-20080415
===> configure-message [bootstrap-mk-files-20080415] ===> Configuring for 
bootstrap-mk-files-20080415
cd 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415; 
for file in bsd.* sys.mk; do                   test ! -f mods/IRIX.$file ||     
               /sbin/cp -f mods/IRIX.$file 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415/$file;
                done
cd 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415;  
                                                      if test -f 
mods/IRIX.bsd.own.mk.in; then                        
own_mk=mods/IRIX.bsd.own.mk.in;                         else                    
                                        own_mk=mods/bsd.own.mk.in;              
                fi;                                                             
/usr/bsd/bin/gnu-sed   -e 's|@ROOT_GROUP@|'netbsd'|g'                   -e 
's|@ROOT_USER@|'netbsd'|g'                   -e 
's|@SYSCONFDIR@|'/usr/bsd/etc'|g'            $own_mk > bsd.own.mk
===> test-message [bootstrap-mk-files-20080415] ===> Testing for 
bootstrap-mk-files-20080415
===> _flavor-check-vulnerable [bootstrap-mk-files-20080415] ===> Checking for 
vulnerabilities in bootstrap-mk-files-20080415
===> install-message [bootstrap-mk-files-20080415] ===> Installing for 
bootstrap-mk-files-20080415
=> Creating installation directories
cd 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415 
&& for file in bsd.* sys.mk; do                         /usr/bsd/bin/install-sh 
-c -o netbsd -g netbsd -m 644 $file /usr/bsd/share/mk/$file;    done
=> Automatic manual page handling
=> Registering installation for bootstrap-mk-files-20080415


netbsd@octane ~/pkgtools/bootstrap-mk-files # bmake clean && bmake test && 
bmake replace
===> su-do-clean [bootstrap-mk-files-20080415] ===> Cleaning for 
bootstrap-mk-files-20080415
===> _flavor-check-vulnerable [bootstrap-mk-files-20080415] ===> Checking for 
vulnerabilities in bootstrap-mk-files-20080415
===> depends-message [bootstrap-mk-files-20080415] ===> Installing dependencies 
for bootstrap-mk-files-20080415
===> tools-message [bootstrap-mk-files-20080415] ===> Overriding tools for 
bootstrap-mk-files-20080415
===> extract-message [bootstrap-mk-files-20080415] ===> Extracting for 
bootstrap-mk-files-20080415
===> patch-message [bootstrap-mk-files-20080415] ===> Patching for 
bootstrap-mk-files-20080415
===> wrapper-message [bootstrap-mk-files-20080415] ===> Creating toolchain 
wrappers for bootstrap-mk-files-20080415
===> configure-message [bootstrap-mk-files-20080415] ===> Configuring for 
bootstrap-mk-files-20080415
cd 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415; 
for file in bsd.* sys.mk; do                   test ! -f mods/IRIX.$file ||     
               /sbin/cp -f mods/IRIX.$file 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415/$file;
                done
cd 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415;  
                                                      if test -f 
mods/IRIX.bsd.own.mk.in; then                        
own_mk=mods/IRIX.bsd.own.mk.in;                         else                    
                                        own_mk=mods/bsd.own.mk.in;              
                fi;                                                             
/usr/bsd/bin/gnu-sed   -e 's|@ROOT_GROUP@|'netbsd'|g'                   -e 
's|@ROOT_USER@|'netbsd'|g'                   -e 
's|@SYSCONFDIR@|'/usr/bsd/etc'|g'            $own_mk > bsd.own.mk
===> test-message [bootstrap-mk-files-20080415] ===> Testing for 
bootstrap-mk-files-20080415
===> _flavor-check-vulnerable [bootstrap-mk-files-20080415] ===> Checking for 
vulnerabilities in bootstrap-mk-files-20080415
===> replace-message [bootstrap-mk-files-20080415] ===> Replacing for 
bootstrap-mk-files-20080415
WARNING: experimental target - DATA LOSS MAY OCCUR.
Creating binary package: bootstrap-mk-files-20080415
Creating package 
/usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415
Using SrcDir value of /usr/bsd
=> Preserving existing +INSTALLED_INFO file.
=> Preserving existing +REQUIRED_BY file.
===> deinstall [bootstrap-mk-files-20080415] ===> Deinstalling for 
bootstrap-mk-files-20080415
Running /usr/bsd/sbin/pkg_delete -K /usr/bsd/var/db/pkg  
bootstrap-mk-files-20080415
===> install-message [bootstrap-mk-files-20080415] ===> Installing for 
bootstrap-mk-files-20080415
bmake: no system rules (sys.mk).

bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
*** Error code 2

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
bmake: no system rules (sys.mk).

bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
*** Error code 2

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files

>Fix:

Incidentally, what does the "WARNING: experimental target - DATA LOSS MAY 
OCCUR." notice pertain to?  Something to do with pkg_tarup?



Home | Main Index | Thread Index | Old Index