[Bug 1564492] Re: FTBFS: php-mf2 due to unicode in substvars file
Nish Aravamudan
nish.aravamudan at canonical.com
Thu Mar 31 17:24:04 UTC 2016
** Also affects: php-net-smartirc (Ubuntu)
Importance: Undecided
Status: New
--
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:
New
Status in php-mf2 package in Ubuntu:
New
Status in php-net-smartirc package in Ubuntu:
New
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