Debian Bug report logs -
#843212
naist-jdic prerm scripts should use "rm -rf", not "rm"
Reported by: Paul Hardy <unifoundry@gmail.com>
Date: Sat, 5 Nov 2016 04:24:02 UTC
Severity: normal
Tags: patch
Found in version naist-jdic/1:0.4.3-7
Fixed in version naist-jdic/1:0.4.3-8
Done: Hideki Yamane <henrich@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Natural Language Processing, Japanese <pkg-nlp-ja-devel@lists.alioth.debian.org>:
Bug#843212; Package naist-jdic.
(Sat, 05 Nov 2016 04:24:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Paul Hardy <unifoundry@gmail.com>:
New Bug report received and forwarded. Copy sent to Natural Language Processing, Japanese <pkg-nlp-ja-devel@lists.alioth.debian.org>.
(Sat, 05 Nov 2016 04:24:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: naist-jdic
Version: 1:0.4.3-7
Severity: Normal
The files debian/naist-jdic-utf8.prerm and debian/naist-jdic.prerm
perform "rm" and not "rm -rf", so the rm command exits with a failure
if files do not exist (for example, if the package is not installed).
The files debian/naist-jdic-utf8.preinst and debian/naist-jdic.preinst
do use "rm -rf", and so do not have this problem.
Please use "rm -rf" in place of "rm" in the *.prerm scripts just like
in the *.preinst scripts.
Thanks,
Paul Hardy
Added tag(s) patch.
Request was from Matt Kraai <kraai@ftbfs.org>
to control@bugs.debian.org.
(Sun, 06 Nov 2016 15:42:08 GMT) (full text, mbox, link).
Message sent on
to Paul Hardy <unifoundry@gmail.com>:
Bug#843212.
(Sun, 06 Nov 2016 15:42:15 GMT) (full text, mbox, link).
Message #10 received at 843212-submitter@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 843212 + patch
thanks
On Fri, Nov 04, 2016 at 09:20:44PM -0700, Paul Hardy wrote:
> The files debian/naist-jdic-utf8.prerm and debian/naist-jdic.prerm
> perform "rm" and not "rm -rf", so the rm command exits with a failure
> if files do not exist (for example, if the package is not installed).
>
> The files debian/naist-jdic-utf8.preinst and debian/naist-jdic.preinst
> do use "rm -rf", and so do not have this problem.
>
> Please use "rm -rf" in place of "rm" in the *.prerm scripts just like
> in the *.preinst scripts.
Here's a patch to fix this issue.
--
Matt https://ftbfs.org/~kraai/
[0001-Pass-rf-to-rm-in-.prerm.patch (text/x-diff, attachment)]
Reply sent
to Hideki Yamane <henrich@debian.org>:
You have taken responsibility.
(Sun, 29 Jan 2017 04:51:03 GMT) (full text, mbox, link).
Notification sent
to Paul Hardy <unifoundry@gmail.com>:
Bug acknowledged by developer.
(Sun, 29 Jan 2017 04:51:03 GMT) (full text, mbox, link).
Message #15 received at 843212-close@bugs.debian.org (full text, mbox, reply):
Source: naist-jdic
Source-Version: 1:0.4.3-8
We believe that the bug you reported is fixed in the latest version of
naist-jdic, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 843212@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hideki Yamane <henrich@debian.org> (supplier of updated naist-jdic package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 29 Jan 2017 13:13:33 +0900
Source: naist-jdic
Binary: naist-jdic naist-jdic-utf8
Architecture: source all
Version: 1:0.4.3-8
Distribution: unstable
Urgency: medium
Maintainer: Natural Language Processing, Japanese <pkg-nlp-ja-devel@lists.alioth.debian.org>
Changed-By: Hideki Yamane <henrich@debian.org>
Description:
naist-jdic - free Japanese Dictionaries for ChaSen (replacement of ipadic)
naist-jdic-utf8 - free Japanese Dictionaries for ChaSen (replacement of ipadic) in
Closes: 843212
Changes:
naist-jdic (1:0.4.3-8) unstable; urgency=medium
.
* debian/naist-jdic{,-utf8}.prerm
- use rm -rf, not rm (Closes: #843212)
Thanks to Matt Kraai <kraai@ftbfs.org> for the patch.
* debian/watch
- deal with upstream's change
- use VERSION=4
* debian/control
- update Homepage:
- use Debhelper (>= 10) to use not deprecated version
- set Standards-Version: 3.9.8
* debian/compat
- set 10
* debian/rules
- simplify it
- use "--no-parallel" option to aviod FTBFS
Checksums-Sha1:
14206d764ef53f634986b4df768001f762685efa 2144 naist-jdic_0.4.3-8.dsc
570db0338df4aec9f0d8d0569509942d1048d32e 6740 naist-jdic_0.4.3-8.debian.tar.xz
2ab6eda64312d9c4ca87994af2ee6eeb881150b9 8570 naist-jdic-utf8_0.4.3-8_all.deb
9d9cf6eb89f270c817cf35ba0c2fe1ae8e2f2c92 3369108 naist-jdic_0.4.3-8_all.deb
152e061a91e019e8bccf75d639b27485200fe9e3 4870 naist-jdic_0.4.3-8_amd64.buildinfo
Checksums-Sha256:
9a77dfe26f30e92e7f3b5baac220bc1423ce6ccba5f317d62d7b946d78fa4639 2144 naist-jdic_0.4.3-8.dsc
6e0c24e4caf6b2432899fa9311c7faadfcea6d4d9039915ecc8ebd261b2379a8 6740 naist-jdic_0.4.3-8.debian.tar.xz
1af33aadc7f6ab1e6d180f00f1328157622b87035a670a4a0943fad5eceb73e5 8570 naist-jdic-utf8_0.4.3-8_all.deb
9395ac4a62c175ed6637880a4302a98c97d107cd5f79ce69b1d998a16bf73fb3 3369108 naist-jdic_0.4.3-8_all.deb
aa42c7476b8d14382679acc955911a52d7c21537375b34b200065ba6488b6073 4870 naist-jdic_0.4.3-8_amd64.buildinfo
Files:
5199137e43fa962c241509a2e907dee9 2144 misc optional naist-jdic_0.4.3-8.dsc
f2c0258d4c7a3fa14421836fa038406a 6740 misc optional naist-jdic_0.4.3-8.debian.tar.xz
c7efdc3cdc163e746386a364048402f1 8570 misc optional naist-jdic-utf8_0.4.3-8_all.deb
66124fe35247e6d63084bcb55b0c7965 3369108 misc optional naist-jdic_0.4.3-8_all.deb
d0b0fc560d402ab7bed80c7c9bbbeaf8 4870 misc optional naist-jdic_0.4.3-8_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEEWOEiL5aWyIWjzRBMXTKNCCqqsUAFAliNbuETHGhlbnJpY2hA
ZGViaWFuLm9yZwAKCRBdMo0IKqqxQATAD/9mnPztCRyA81H5n28HlQ5vNj1xZ7nG
61TMpzGqOTdpP/q/FfBodpomHPBvZr+pgWrsXAQSFhqjAF5iPsT1dWIy/+hD2JCY
SRg7BRIeCY2QtAkM+VNBDjLueFAZizc74CpM6+LeL5f2aUImulWRMQ2FAhbHA158
b9jQadLdDtu2Jd0ZAJ6FjZFO4+5EyjppqGOoY+aCS+3/hCB2L9LwIxkGxLcpOQjz
XX40/ACkV+SgIfXeqrNCeVP82wjdeHutomHkVhxGcs/m8gZVp1aM0AgnqLAuffdb
QPf+UqB+sznyZZBhlmxKi5MBly2lR9AH1ORK60pHHTsc2qeKIs9cICevIulEmTpb
vkKyiU4VRtwpovjkKNjkanjw8Q5gyUU+9vC57mZvcsiRJ15xcfaOlLN8/UjzTbLQ
h/1eS4r8y6r5TzOko0oG5WtnZrPjDieL0B5JK+CLoyfTJuMxuEebv8n5euIo92/g
CVdZ4dh2chYeIgULQ3jGOP7PIqlgmOZC65z4TzAY50fyV5DOVgg9DvcDq9B5JzYE
ATCPhY1e7qdnjELmyOEltd5ZvEGROz1QYwwGN9YaLHCdfVVtV6BxzWfBRmdXXFWU
gMMsuc6j6K8BVtfWP3sXnXzMQm3FT7Ll69OqHWGBvLWxbRDIwV6YXjneoeg/8m1d
qWFwKnYSOoKbaQ==
=pm+0
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 18 Jul 2017 07:29:25 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 10:45:02 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.