[Pkg-php-pecl] php-mf2 issue with latest pkg-php-tools
Nish Aravamudan
nish.aravamudan at canonical.com
Wed Mar 30 23:51:02 UTC 2016
On 30.03.2016 [16:38:29 -0700], Nish Aravamudan wrote:
> As I slowly rebuild all the php pecl/pear packages in 16.04, I hit the
> following:
>
> 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
>
> I took a look in the schroot:
>
> # cat debian/php-mf2.substvars
> phpcomposer:name=mf2/mf2
> Binary file debian/php-mf2.substvars matches
> phpcomposer:Debian-require=php-cli, php-common
> phpcomposer:Debian-require-dev=phpunit (>= 3.7), phpunit (<< 3.8~~)
> phpcomposer:Debian-suggest=php-barnabywalters-mf-cleaner
> misc:Depends=
> misc:Pre-Depends=
>
> I think line 2 is from grep? Not sure why it happened, but I see a clone
> + grep in an strace.
OK debugging it further, seems like an issue with Dh_Lib?
dh_phpcomposer
Override: require-dev:phpunit/phpunit (>= 3.7, < 3.8~~) ->
require-dev:__override__/phpunit (>= 3.7, < 3.8~~).
grep -s -v phpcomposer:name debian/php-mf2.substvars
grep -s -v phpcomposer:description debian/php-mf2.substvars
grep -s -v phpcomposer:Debian-require debian/php-mf2.substvars
grep -s -v phpcomposer:Debian-require-dev debian/php-mf2.substvars
grep -s -v phpcomposer:Debian-suggest debian/php-mf2.substvars
given the initial results from pkgtools:
# pkgtools -v --sourcedirectory . phpcomposer substvars > debian/php-mf2.substvars
# cat debian/php-mf2.substvars
phpcomposer:name=mf2/mf2
phpcomposer:description=A pure, generic microformats2 parser — makes
HTML as easy to consume as a${Newline}JSON API
phpcomposer:Debian-require=php-cli, php-common
phpcomposer:Debian-require-dev=phpunit (>= 3.7), phpunit (<< 3.8~~)
phpcomposer:Debian-suggest=php-barnabywalters-mf-cleaner
The above commands result in:
# grep -s -v phpcomposer:name debian/php-mf2.substvars
Binary file debian/php-mf2.substvars matches
-Nish
--
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd
More information about the Pkg-php-pecl
mailing list