Your message dated Wed, 20 Sep 2017 15:20:07 +0200
with message-id <20170920132007.ga7...@layer-acht.org>
and subject line fixed in git
has caused the Debian Bug report #875605,
regarding piuparts: esac  missing in post_purge_exception script (develop 
branch) and yields error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
875605: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875605
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: piuparts
Version: 0.81~201709101403~0.80-7-g42acc540
Severity: normal
Tags: patch upstream

Dear Maintainer,

This inhomog build log: 
https://piuparts.debian.org/sid/fail/libinhomog0_0.1.6.1-1.log includes
the piupart version:

0m0.0s INFO: piuparts version 0.81~201709101403~0.80-7-g42acc540 starting up.

and the piupart error:

0m27.8s INFO: Running scripts post_purge
0m27.8s DEBUG: Starting command: ['chroot', 
'/srv/piuparts.debian.org/tmp/tmpYXIehL', 'tmp/scripts/post_purge_exceptions']
0m27.8s DUMP:
  tmp/scripts/post_purge_exceptions: 62: tmp/scripts/post_purge_exceptions: Syntax error: 
end of file unexpected (expecting ";;")
0m27.8s ERROR: Command failed (status=2): ['chroot', 
'/srv/piuparts.debian.org/tmp/tmpYXIehL', 'tmp/scripts/post_purge_exceptions']
  tmp/scripts/post_purge_exceptions: 62: tmp/scripts/post_purge_exceptions: Syntax error: 
end of file unexpected (expecting ";;")

The bug can be reproduced with

 ./post_purge_exceptions dummy

where dummy is a file with the five bytes 'dddd\n'.

This looks like it's from a recent modification in the "develop" branch of 
piuparts:

https://anonscm.debian.org/cgit/piuparts/piuparts.git/tree/custom-scripts/scripts/post_purge_exceptions?h=develop

It seems to me that the problem is a missing "esac\n;;" (earlier than
line 62). I've attached a patch that works for me on a dummy file.


-- System Information:
This is from the build log above:
  0m20.9s DUMP:
    Package files:
     100 /var/lib/dpkg/status
       release a=now
     500 http://mirror.bm.debian.org/debian sid/main amd64 Packages
       release o=Debian,a=unstable,n=sid,l=Debian,c=main,b=amd64
       origin mirror.bm.debian.org
    Pinned packages:
  0m20.9s DEBUG: Command ok: ['chroot', 
'/srv/piuparts.debian.org/tmp/tmpYXIehL', 'apt-cache', 'policy']
  0m20.9s DEBUG: Starting command: ['chroot', 
'/srv/piuparts.debian.org/tmp/tmpYXIehL', 'apt-cache', 'policy', 'libinhomog0']
  0m21.0s DUMP:
  libinhomog0:
  Installed: (none)
  Candidate: 0.1.6.1-1
  Version table:
  0.1.6.1-1 500
  500 http://mirror.bm.debian.org/debian sid/main amd64 Packages

--- End Message ---
--- Begin Message ---
hi,

bug only was present in git develop branch and has been fixed there already.


-- 
cheers,
        Holger

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to