Bug#923459: devscripts: uscan in buster could not check version and throws warnings

Xavier yadd at debian.org
Fri Mar 1 08:36:29 GMT 2019


Le 01/03/2019 à 09:01, Patrick Matthäi a écrit :
> Am 28.02.2019 um 17:24 schrieb Dominique Dumont:
>> On Thursday, 28 February 2019 15:49:53 CET Xavier wrote:
>>> This looks like a bug in HTTP::Response: $response contains valid HTML
>>> data in $response->{_content} but $response->decoded_content returns
>>> "undef".
>> Well, software.keep-cool.org http server sends back weird headers:
>>
>> $ mojo get -M HEAD -v http://software.keep-cool.org/dl/ckport/
>> HEAD http://software.keep-cool.org/dl/ckport/ HTTP/1.1
>> Host: software.keep-cool.org
>> Accept-Encoding: gzip
>> User-Agent: Mojolicious (Perl)
>> Content-Length: 0
>>
>> HTTP/1.1 200 Ok
>> Content-Length: 1731
>> Date: Thu, 28 Feb 2019 16:20:28 GMT
>> Last-Modified: Sat, 11 Aug 2012 15:38:03 GMT
>> Server: mini_httpd/1.19 19dec2003
>> Content-Type: text/html; charset=%s
>>
>> It's possible that "charset=%s" trips up HTTP::Response.
>>
>> On the other hand, the command "GET http://software.keep-cool.org/dl/ckport/" 
>> (which uses HTTP::Response) works fine:
>>
>> $  GET http://software.keep-cool.org/dl/ckport/   
>> <HTML>
>> <HEAD><TITLE>Index of software.keep-cool.org/dl/ckport/</TITLE></HEAD>
>> [snip]
>>
>> HTH
>>
> Maybe it helps: on the other side other watch files for the same
> download site are working:
> 
> * roaraudio
> * muroar
> * muroard
> * roarplaylistd

Workaround for uscan:
https://salsa.debian.org/debian/devscripts/merge_requests/113/diffs



More information about the pkg-perl-maintainers mailing list