Hi, On Tue, Mar 07, 2017 at 01:40:30PM +0000, Simon McVittie wrote: > This seems to have caused piuparts regressions for what I believe are > otherwise correct packages: > https://piuparts.debian.org/sid/fail/libgtk-3-doc_3.22.9-3.log
thanks for notifying us about this, Simon! > Since the release team use piuparts regressions as a way to gate packages > entering testing, this is likely to be creating extra work for the > release team and for maintainers/NMUers who need changes unblocked. I guess that's somewhat fair game, as since this is the case, the workload for piuparts maintenance and maintainers has increased quite a bit… :-) > I can't see anything in that log that looks like a failure, other than: > > 0m13.6s DUMP: > Removing 'local diversion of /usr/bin/update-alternatives to > /usr/bin/update-alternatives.orig' > cat: /tmp/log-alternatives.log: No such file or directory > rm: cannot remove '/tmp/log-alternatives.log': No such file or directory > 0m13.6s ERROR: Command failed (status=1): ['chroot', > '/srv/piuparts.debian.org/tmp/tmpMU3r5N', > 'tmp/scripts/post_install_log_alternatives'] > Removing 'local diversion of /usr/bin/update-alternatives to > /usr/bin/update-alternatives.orig' > cat: /tmp/log-alternatives.log: No such file or directory > rm: cannot remove '/tmp/log-alternatives.log': No such file or directory > > I assume this is because libgtk-3-doc is such a simple package that it > doesn't depend on anything that would cause any alternatives to be > updated, so the log was never created. I guess so too, but I'll leave the detailed analysis and followups to Michael… > To be robust against the log either never being created, or being cleaned up > by tmpreaper or similar, it would seem better to do: > > -cat /tmp/log-alternatives.log > -rm /tmp/log-alternatives.log > +cat /tmp/log-alternatives.log || : > +rm -f /tmp/log-alternatives.log I think I prefer "|| true" over "|| :" for readability… > The scripts added by > https://github.com/stapelberg/piuparts/commit/4867f7251189bd9f48fc229804a6ae44623546e4 > also don't use set -e, unless that was added later. They probably should. agreed. Michael, can you please send some patches along?! ;-) -- cheers, Holger
signature.asc
Description: Digital signature

