pkgsrc-Bugs archive

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

Re: pkg/42256: check-files with /usr/pkgsrc mounted read-only



The following reply was made to PR pkg/42256; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/42256: check-files with /usr/pkgsrc mounted read-only
Date: Mon, 2 Nov 2009 00:53:56 +0100

 On Sun, Nov 01, 2009 at 11:45:01PM +0000, Steven Drake wrote:
 > Running /usr/pkg/sbin/pkg_delete -K /var/pkg/db/pkg  python25-2.5.4nb1
 > pkg_delete: Couldn't remove /usr/pkg/lib/python2.5/lib-dynload/dbm.so
 > /bin/rm: cannot remove `check-files-pre-message': Read-only file system
 > /bin/rm: cannot remove `check-files-post-message': Read-only file system
 
 [snip]
 
 > Index: pkgsrc/mk/check/check-files.mk
 > ===================================================================
 > --- pkgsrc.orig/mk/check/check-files.mk
 > +++ pkgsrc/mk/check/check-files.mk
 > @@ -374,7 +374,8 @@ check-clean: check-files-clean
 >  check-files-clean:
 >         ${RUN}                                  \
 >         ${RM} -f ${_CHECK_FILES_ERRMSGS}                                \
 > -               ${_CHECK_FILES_PRE} ${_CHECK_FILES_POST}                \
 > +               ${_CHECK_FILES_PRE:Ncheck-files-pre-message}            \
 > +               ${_CHECK_FILES_POST:Ncheck-files-post-message}          \
 >                 ${_CHECK_FILES_DIFF} ${_CHECK_FILES_ADDED}              \
 >                 ${_CHECK_FILES_DELETED} ${_CHECK_FILES_EXPECTED}        \
 >                 ${_CHECK_FILES_MISSING} ${_CHECK_FILES_MISSING_SKIP}    \
 
 Why is rm -f returning an error? That sounds more like a coreutils bug
 than anything else.
 
 Joerg
 


Home | Main Index | Thread Index | Old Index