Bug#617305: libconfig-auto-perl 0.32-1 breaks mythtv-status
Craig Sanders
cas at taz.net.au
Mon Mar 7 23:14:28 UTC 2011
Package: libconfig-auto-perl
Version: 0.32-1
$ mythtv-status
Use of uninitialized value $file in open at /usr/share/perl5/Config/Auto.pm line 394.
Use of uninitialized value $file in concatenation (.) or string at /usr/share/perl5/Config/Auto.pm line 397.
Use of uninitialized value $fh in <HANDLE> at /usr/share/perl5/Config/Auto.pm line 353.
readline() on unopened filehandle at /usr/share/perl5/Config/Auto.pm line 353.
Can't use an undefined value as a symbol reference at /usr/share/perl5/Config/Auto.pm line 356.
reverting to 0.20-2 fixes the problem, and mythtv-status works again.
mythtv-status uses Config::Auto like so:
# Try and load a config file first, and then allow the command line
# to over ride what is in the config file.
my $c = eval {
Config::Auto::parse("mythtv-status.yml",
format => 'yaml',
)
};
if ($@ && $@ !~ /^No config file found/) {
# Die on any issues loading the config file, apart from it not existing.
die $@;
}
NOTE: I do not have a mythtv-status.yml anywhere on my system - this
hasn't been a problem in the past (and might not be the problem now).
has C::A's error handling for non-existant config files changed between
0.20 and 0.32?
craig
--
craig sanders <cas at taz.net.au>
More information about the pkg-perl-maintainers
mailing list