[Bug 1564492] Re: FTBFS: php-mf2 due to unicode in substvars file

Launchpad Bug Tracker 1564492 at bugs.launchpad.net
Fri Apr 1 07:06:47 UTC 2016


This bug was fixed in the package debhelper - 9.20160115ubuntu3

---------------
debhelper (9.20160115ubuntu3) xenial; urgency=medium

  * Backport upstream commit 9ca73a0a ("Pass -a to grep to handle
    substvars with unicode content gracefully") to fix build-failure
    with php-mf2 (LP: #1564492, Closes #815620).

 -- Nishanth Aravamudan <nish.aravamudan at canonical.com>  Thu, 31 Mar
2016 08:33:23 -0700

** Changed in: debhelper (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1564492

Title:
  FTBFS: php-mf2 due to unicode in substvars file

Status in debhelper package in Ubuntu:
  Fix Released
Status in php-mf2 package in Ubuntu:
  Invalid
Status in php-net-smartirc package in Ubuntu:
  Invalid

Bug description:
  php-mf2 rebuild fails currently with:

  dpkg-gencontrol: error: bad line in substvars file debian/php-mf2.substvars at line 2
  dh_gencontrol.pkg-create-dbgsym: dpkg-gencontrol -pphp-mf2 -ldebian/changelog -Tdebian/php-mf2.substvars -Pdebian/php-mf2 returned exit code 25
  debian/rules:4: recipe for target 'binary' failed
  make: *** [binary] Error 2
  dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

  This is because debian/php-mf2.substvars content is:

  phpcomposer:name=mf2/mf2
  phpcomposer:description=A pure, generic microformats2 parser — makes HTML as easy to consume as a${Newline}JSON API

  and grep is complaining about a binary file:

  # grep -s -v phpcomposer:name debian/php-mf2.substvars
  Binary file debian/php-mf2.substvars matches

  This is due to unicode in the file.

  Debian has fixed this with
  https://anonscm.debian.org/git/debhelper/debhelper.git/commit/Debian/Debhelper/Dh_Lib.pm?id=9ca73a0a80fcfc93c1f47e41c61318b038f4e2da,
  which we should backport.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1564492/+subscriptions



More information about the foundations-bugs mailing list