Re: qconfirm-cdb-update failing on package/check
Gerrit Pape <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <20040403153146.14377.qmail@3b73c94026a879.315fe32.mid.smarden.org> |
On Fri, Apr 02, 2004 at 06:43:07PM +0000, Jeremy Kitchen wrote: > Went to install qconfirm today and got the following when I did > package/install... > truncated package/check output: > > Checking qconfirm-cdb-update... [...] > qconfirm-cdb-update: warning: unable to stat: bad.cdb: file does not exist > qconfirm-cdb-update: info: add: example:org=-floyd > qconfirm-cdb-update: info: add: smarden:org=-greg > qconfirm-cdb-update: info: update: bad.cdb: add 2 remove 0 [...] > qconfirm-cdb-update failed. > make: *** [check] Error 1 The problem is similar to this one http://thread.gmane.org/gmane.comp.misc.pape.general/659 and also false alarm, the qconfirm programs should be fine. The patch below fixes the testing process. On what filesystem type were you building the package? Thanks, Gerrit.
diff
(text/plain, 2.9 KB)
Index: src/qconfirm-cdb-check.check
===================================================================
RCS file: /var/lib/cvs/qconfirm/src/qconfirm-cdb-check.check,v
retrieving revision 1.1
diff -u -r1.1 qconfirm-cdb-check.check
--- src/qconfirm-cdb-check.check 21 Mar 2004 19:13:06 -0000 1.1
+++ src/qconfirm-cdb-check.check 3 Apr 2004 15:17:57 -0000
@@ -11,7 +11,7 @@
qconfirm-conf "${HOME}" >/dev/null
qconfirm -d"${ctmp}" a [email protected]
qconfirm -d"${ctmp}" a [email protected]
-env ${PST} qconfirm-cdb-update -fm0
+env ${PST} qconfirm-cdb-update -fm0 |sort
env ${PST} SENDER= qconfirm-cdb-check -v
echo $?
env ${PST} [email protected] qconfirm-cdb-check
@@ -22,7 +22,7 @@
env ${PST} [email protected] qconfirm-cdb-check -vt1
echo $?
qconfirm -d"${ctmp}" a example.org
-env ${PST} qconfirm-cdb-update -fm0
+env ${PST} qconfirm-cdb-update -fm0 |sort
cp "${ctmp}"/ok.cdb "${ctmp}"/tmp.cdb
env ${PST} [email protected] qconfirm-cdb-check -vctmp.cdb
echo $?
Index: src/qconfirm-cdb-update.check
===================================================================
RCS file: /var/lib/cvs/qconfirm/src/qconfirm-cdb-update.check,v
retrieving revision 1.1
diff -u -r1.1 qconfirm-cdb-update.check
--- src/qconfirm-cdb-update.check 21 Mar 2004 19:13:06 -0000 1.1
+++ src/qconfirm-cdb-update.check 3 Apr 2004 15:17:57 -0000
@@ -9,23 +9,23 @@
qconfirm-conf "${HOME}" >/dev/null
qconfirm -d"${ctmp}" a [email protected]
qconfirm -d"${ctmp}" a [email protected]
-env ${PST} qconfirm-cdb-update -fm0
+env ${PST} qconfirm-cdb-update -fm0 |sort
echo $?
check-qconfirm-cdb <"${ctmp}"/ok.cdb |sort
qconfirm -d"${ctmp}" a [email protected]
qconfirm -d"${ctmp}" a [email protected]
-env ${PST} qconfirm-cdb-update -fm0
+env ${PST} qconfirm-cdb-update -fm0 |sort
echo $?
check-qconfirm-cdb <"${ctmp}"/ok.cdb |sort
sleep 2
-env ${PST} qconfirm-cdb-update -fm0 -t1
+env ${PST} qconfirm-cdb-update -fm0 -t1 |sort
echo $?
check-qconfirm-cdb <"${ctmp}"/ok.cdb |sort
mkdir -p "${ctmp}"/bad
qconfirm -d"${ctmp}" ba [email protected]
qconfirm -d"${ctmp}" ba [email protected]
-env ${PST} qconfirm-cdb-update -vfm0 -sbad -cbad.cdb
+env ${PST} qconfirm-cdb-update -vfm0 -sbad -cbad.cdb |sort
echo $?
check-qconfirm-cdb <"${ctmp}"/bad.cdb |sort
Index: src/qconfirm-cdb-update.dist
===================================================================
RCS file: /var/lib/cvs/qconfirm/src/qconfirm-cdb-update.dist,v
retrieving revision 1.1
diff -u -r1.1 qconfirm-cdb-update.dist
--- src/qconfirm-cdb-update.dist 21 Mar 2004 19:13:06 -0000 1.1
+++ src/qconfirm-cdb-update.dist 3 Apr 2004 15:17:57 -0000
@@ -20,8 +20,8 @@
[email protected]: bad.
[email protected]: bad.
qconfirm-cdb-update: warning: unable to stat: bad.cdb: file does not exist
-qconfirm-cdb-update: info: add: smarden:org=-greg
qconfirm-cdb-update: info: add: example:org=-floyd
+qconfirm-cdb-update: info: add: smarden:org=-greg
qconfirm-cdb-update: info: update: bad.cdb: add 2 remove 0
0
example:org=-floyd: