Bug#838583: libconfig-model-lcdproc-perl: FTBFS with "Syntax error: spurious char at command end"

2016-09-23 Thread Dominique Dumont
On Thu, 22 Sep 2016 16:21:02 + Santiago Vila  wrote:
> Load command error:
>   command: 'max='
>   Syntax error: spurious char at command end: '='. Did you forget double 
quotes ?
> Exception thrown  at /usr/share/perl5/Config/Model/Exception.pm line 69.

Ack. I've fixed this upstream. I'll upload a new package soon.

Thanks for the report

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



Bug#838583: libconfig-model-lcdproc-perl: FTBFS with "Syntax error: spurious char at command end"

2016-09-22 Thread Santiago Vila
Package: src:libconfig-model-lcdproc-perl
Version: 2.049-1
Severity: serious

Dear Perl maintainers:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:


[...]
 debian/rules build-indep
dh build-indep
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
perl -I. Build.PL --installdirs vendor --config "optimize=-g -O2 
-fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config 
"ld=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Config-Model-LcdProc' version '--installdirs'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<>'
touch lcdproc/LCDd.conf
dh_auto_build
perl Build
Load command error:
command: 'max='
Syntax error: spurious char at command end: '='. Did you forget double 
quotes ?
Exception thrown  at /usr/share/perl5/Config/Model/Exception.pm line 69.

Config::Model::Exception::rethrow(Config::Model::Exception::Load=HASH(0x7bf99a8))
 called at /usr/share/perl5/Config/Model/Exception.pm line 64
Config::Model::Exception::throw("Config::Model::Exception::Load", 
"command", "max=", "error", "Syntax error: spurious char at command end: '='. 
Did you forg"...) called at /usr/share/perl5/Config/Model/Loader.pm line 161
Config::Model::Loader::_split_cmd("max=") called at 
/usr/share/perl5/Config/Model/Loader.pm line 222
Config::Model::Loader::_load(Config::Model::Loader=HASH(0x7ada6a0), 
Config::Model::Node=HASH(0x7d2e978), "yes", ARRAY(0x19ef0a0)) called at 
/usr/share/perl5/Config/Model/Loader.pm line 683

Config::Model::Loader::_load_hash(Config::Model::Loader=HASH(0x7ada6a0), 
Config::Model::Node=HASH(0x78c2230), "yes", ARRAY(0x2ce4e78), ARRAY(0x19ef0a0)) 
called at /usr/share/perl5/Config/Model/Loader.pm line 296
Config::Model::Loader::_load(Config::Model::Loader=HASH(0x7ada6a0), 
Config::Model::Node=HASH(0x78c2230), "yes", ARRAY(0x19ef0a0)) called at 
/usr/share/perl5/Config/Model/Loader.pm line 683

Config::Model::Loader::_load_hash(Config::Model::Loader=HASH(0x7ada6a0), 
Config::Model::Node=HASH(0x26d4208), "yes", ARRAY(0x19fdec8), ARRAY(0x19ef0a0)) 
called at /usr/share/perl5/Config/Model/Loader.pm line 296
Config::Model::Loader::_load(Config::Model::Loader=HASH(0x7ada6a0), 
Config::Model::Node=HASH(0x26d4208), "yes", ARRAY(0x19ef0a0), 1) called at 
/usr/share/perl5/Config/Model/Loader.pm line 80
Config::Model::Loader::load(Config::Model::Loader=HASH(0x7ada6a0), 
"node", Config::Model::Node=HASH(0x26d4208), "steps", "class:\"LCDd::picolcd\" 
element:LircFlushThreshold type=leaf  v"...) called at 
/usr/share/perl5/Config/Model/Node.pm line 918
Config::Model::Node::load(Config::Model::Node=HASH(0x26d4208), 
"class:\"LCDd::picolcd\" element:LircFlushThreshold type=leaf  v"...) called at 
script/lcdconf2model.pl line 342
Building lcdproc model from upstream LCDd.conf file...
note: unhandled legal  spec: '0x200-0x400'. Sending it back to doc
note: unhandled legal  spec: '1x1-640x480'. Sending it back to doc
lcdconf2model failed: 512 at /<>/_build/lib/Module/Build/Custom.pm 
line 8.
dh_auto_build: perl Build returned exit code 2
debian/rules:7: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<>'
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2


The relevant part of the build log is included above.

It fails in unstable as well:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libconfig-model-lcdproc-perl.html

As usual, if this is really a bug in one of the build-depends, please
use reassign and affects, so that this is still visible in the page
for this package. I tried to find some build-dependency to blame, but
did not found any.

Thanks.