media-sound/mpd contains mpd.logrotate that always fails like so: cat: /var/run/mpd.pid : No such file or directory logrotate_script: line 1: $'\342\200\212xargs': command not found error: error running non-shared postrotate script for /var/lib/mpd/log of '/var/lib/mpd/log ' $hexdump -c mpd.logrotate: 0000000 / v a r / l i b / m p d / l o g 0000010 { \n \t m i s s i n g o k \n \t p 0000020 o s t r o t a t e \n \t [ - f 0000030 / v a r / r u n / m p d . p i d 0000040 ] & & c a t / v a r / r 0000050 u n / m p d . p i d 342 200 212 | 342 200 # Stray bytes around "|" 0000060 212 x a r g s / b i n / k i l l 0000070 - H U P \n \t [ - f / v a r 0000080 / l i b / m p d / p i d ] & 0000090 & c a t / v a r / l i b / m 00000a0 p d / p i d 342 200 212 | 342 200 212 x a r # Stray bytes around "|" 00000b0 g s / b i n / k i l l - H U 00000c0 P \n \t e n d s c r i p t \n } \n 00000cf Reproducible: Always Steps to Reproduce: 1. eval $(/bin/grep 'mpd.pid' /etc/logrotate.d/mpd) Actual Results: Log rotation fails. Expected Results: Log rotation occurs.
Fixed without a revision bump. I'll leave this bug open for now.
I noticed this problem today on an amd64 system. After a bit of research I discovered the problem file (/usr/portage/media-sound/mpd/files/mpd.logrotate) was actually fixed in on July 14, however the revision of the ebuild (mpd-0.18.10-r1.ebuild) was not changed so there is nothing to trigger the application of the fix. Re-emerging mpd fixes the problem. The rev of ebuild should be increased (ie change mpd-0.18.10-r1.ebuild to mpd-0.18.10-r2.ebuild), so the fix gets applied automatically during an 'emerge --update...'.
0.18.13 includes the fixed file