[request-tracker-maintainers] Bug#665263: request-tracker3.8: FTBFS: sed: -e expression #1, char 20: extra characters after command

Niko Tyni ntyni at debian.org
Thu Mar 22 20:10:00 UTC 2012


reassign 665263 debhelper 9.20120312
retitle 665263 dh_usrlocal: broken quoting
thanks

On Thu, Mar 22, 2012 at 05:43:10PM +0100, Lucas Nussbaum wrote:
> Source: request-tracker3.8
> Version: 3.8.11-1
> Severity: serious
> Tags: wheezy sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20120321 qa-ftbfs
> Justification: FTBFS on amd64

> > dh_usrlocal
> > sed: -e expression #1, char 20: extra characters after command
> > dh_usrlocal: sed '/#DIRS#/ c\\
> > /usr/local/share 2775 root staff\\
> > /usr/local/share/request-tracker3.8 2775 root staff\\
> > /usr/local/share/request-tracker3.8/html 2775 root staff\\
> > /usr/local/share/request-tracker3.8/lib 2775 root staff\\
> > /usr/local/share/request-tracker3.8/plugins 2775 root staff\\
> > /usr/local/share/request-tracker3.8/po 2775 root staff' /usr/share/debhelper/autoscripts/postinst-usrlocal >> debian/request-tracker3.8.postinst.debhelper returned exit code 1
> > make: *** [binary-indep] Error 2
> 
> The full build log is available from:
>    http://people.debian.org/~lucas/logs/2012/03/21/request-tracker3.8_3.8.11-1.log

Looks like a bug in debhelper, from the changelog:

debhelper (9.20120311) unstable; urgency=low
[...]
  * Avoid expanding shell metacharacters in sed call in autoscript().
    Closes: #660794

but reading dh_usrlocal:

                # This constructs the body of a 'sed' c\ expression which
                # is parsed by the shell in double-quotes

Indeed, the package builds fine with debhelper 9.20120115.

I'm reassigning this to keep debhelper 9.20120312 from accidentally
reaching testing.
-- 
Niko Tyni   ntyni at debian.org





More information about the pkg-request-tracker-maintainers mailing list