Public bug reported:
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.
** Affects: debhelper (Ubuntu)
Importance: Undecided
Status: New
** Affects: php-mf2 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1564492
Title:
FTBFS: php-mf2 due to unicode in substvars file
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1564492/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs