Bug#844708: maildir-utils: `--clearlinks' option seems broken

2016-11-18 Thread Norbert Preining
forwarded 844708 https://github.com/djcb/mu/issues/951
thanks

> Version 0.9.17-1 seems to have broken the `--clearlinks' functionality,
> at least on my system.

Also here. I have created an issue on the github page.

Thanks for your report

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13



Bug#844708: maildir-utils: `--clearlinks' option seems broken

2016-11-18 Thread Gian Piero Carrubba
Package: maildir-utils
Version: 0.9.17-1
Severity: important

Dear Maintainer,

thank you for your work on maildir-utils.

Version 0.9.17-1 seems to have broken the `--clearlinks' functionality,
at least on my system.

(ins) ~ $ mu find --muhome "${HOME}/.cache/mu" --format=links 
--linksdir="${HOME}/.cache/mu/results" --clearlinks email
mu: failed to open /home/gpiero/.cache/mu/results/cur: No such file or 
directory (73)
(cmd) ~ 73! mu find --muhome "${HOME}/.cache/mu" --format=links 
--linksdir="${HOME}/.cache/mu/results" --clearlinks email
mu: failed to open /home/gpiero/.cache/mu/results/cur: No such file or 
directory (73)
(cmd) ~ 73! mu find --muhome "${HOME}/.cache/mu" --format=links 
--linksdir="${HOME}/.cache/mu/results" --clearlinks email
mu: failed to open /home/gpiero/.cache/mu/results/cur8: No such file or 
directory (73)
(cmd) ~ 73! mu find --muhome "${HOME}/.cache/mu" --format=links 
--linksdir="${HOME}/.cache/mu/results" --clearlinks email
mu: failed to open /home/gpiero/.cache/mu/results/curK: No such file or 
directory (73)
(cmd) ~ 73! mu find --muhome "${HOME}/.cache/mu" --format=links 
--linksdir="${HOME}/.cache/mu/results" --clearlinks email
mu: failed to open /home/gpiero/.cache/mu/results/cur: No such file or 
directory (73)
(cmd) ~ 73! mu find --muhome "${HOME}/.cache/mu" --format=links 
--linksdir="${HOME}/.cache/mu/results" --clearlinks email
mu: failed to open /home/gpiero/.cache/mu/results/curf: No such file or 
directory (73)


Please note the seemingly random chars added at the end of the directory
path it cannot found. Maybe when not shown it's a non-printable char?

Anyway:

$ ls -ld /home/gpiero/.cache/mu/results/cur
drwx-- 2 gpiero gpiero 4096 Nov 18 11:23 /home/gpiero/.cache/mu/results/cur

Path exists w/ right permissions.

Without the use of the `--clearlinks' option it works (but links
have to be manually removed). Downgrading to 0.9.16-1+b1 re-enables the
right behaviour for `--clearlinks'.

Thank you,
Gian Piero.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages maildir-utils depends on:
ii  dpkg1.18.15
ii  guile-2.0-libs  2.0.13+1-2
ii  install-info6.3.0.dfsg.1-1+b1
ii  libc6   2.24-5
ii  libgc1c21:7.4.2-8
ii  libgcc1 1:6.2.0-13
ii  libglib2.0-02.50.2-1
ii  libgmime-2.6-0  2.6.20-8
ii  libstdc++6  6.2.0-13
ii  libxapian30 1.4.1-1

maildir-utils recommends no packages.

maildir-utils suggests no packages.

-- no debconf information