Bug#923223: XML::Parser::parsefile() uses 2-argument open

Xavier yadd at debian.org
Wed Feb 27 16:15:45 GMT 2019


Le 27/02/2019 à 15:35, Gianfranco Costamagna a écrit :
> reopen 923223
> affects 923223 src:xmltv
> severity 923223 serious
> thanks
> 
> Hello, the latest update of libxml-parser-perl seems to have broken xmltv testsuite, and now it is failing to build from source.
> 
> I suspect the testsuite of xmltv might just need updates, but I don't know if the package is really broken, and how much in the archive is now not building anymore due to this change.
> 
> Can you please clarify if this is something we should deal with in xmltv or not?
> https://ci.debian.net/packages/x/xmltv/unstable/amd64/
> I see there are some "open" calls in the testsuite, this is why I'm blaming this fix...
> 
> snip of the failing testsuite
> 
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie1-case-insensitive.xml > '/tmp/Tl8eCfv0EW/Movie1-case-insensitive.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 2
> /usr/bin/tv_imdb --movies-only --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie1-movies-only.xml > '/tmp/Tl8eCfv0EW/Movie1-movies-only.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 3
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie1.xml > '/tmp/Tl8eCfv0EW/Movie1.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 4
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie100-years.xml > '/tmp/Tl8eCfv0EW/Movie100-years.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 5
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie101-movie-and-tv.xml > '/tmp/Tl8eCfv0EW/Movie101-movie-and-tv.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 6
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie21-accents.xml > '/tmp/Tl8eCfv0EW/Movie21-accents.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 7
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie22-dots.xml > '/tmp/Tl8eCfv0EW/Movie22-dots.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 8
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie3-and-amp.xml > '/tmp/Tl8eCfv0EW/Movie3-and-amp.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 9
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie5-ignore-punc.xml > '/tmp/Tl8eCfv0EW/Movie5-ignore-punc.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 10
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie5-with-punc.xml > '/tmp/Tl8eCfv0EW/Movie5-with-punc.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 11
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Movie6-articles.xml > '/tmp/Tl8eCfv0EW/Movie6-articles.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 12
> /usr/bin/tv_imdb --movies-only --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Show1-movies-only.xml > '/tmp/Tl8eCfv0EW/Show1-movies-only.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 13
> /usr/bin/tv_imdb --quiet --imdbdir '/tmp/Tl8eCfv0EW' --with-keywords --with-plot < t/data-tv_imdb/Show1.xml > '/tmp/Tl8eCfv0EW/Show1.xml-output.xml' 2>&1 failed: 2, 0, 0
> not ok 14
> Failed 13/14 subtests 
> t/test_tv_split.t .... 
> 
> thanks for having a look
> 
> Gianfranco

Hi all,

after some tries, I didn't succeed to find a way to patch
libxml-parser-perl without breaking xmltv. Can someone else take a look ?



More information about the pkg-perl-maintainers mailing list