Bug#998232: cargo segv when updating crates.io index

2021-11-13 Thread Georg Brandl

On Mon, 01 Nov 2021 12:38:41 + "Daniel P. Berrange"
 wrote:

Since about Oct 12th, we have been seeing cargo on Debian 10
crash with a segv when attempting to update crates.io index
in CI jobs.

This was initially seen inside docker container running CI
pipelines in GitLab, but has been reproduced in regular
VM installs too and by multiple people


This seems to be caused by cargo's libgit2.  A workaround is to
add "git" as a build dep and set CARGO_NET_GIT_FETCH_WITH_CLI=true
in cargo's environment or set the corresponding option in
.cargo/config.toml.



Bug#993438: python3-pygments: Markdown and Output lexers cannot be found

2021-09-06 Thread Georg Brandl
On 01/09/2021 13:34, Francesco Potortì wrote:
> Package: python3-pygments
> Version: 2.7.1+dfsg-2.1
> Severity: normal
> X-Debbugs-Cc: none, Francesco Potortì 
>
>   get_lexer_by_name("markdown")
> does not work: it does not find the lexer.
> However,
>   get_lexer_by_name("md")
> works, so this is a bug with a workaround.
>
>   get_lexer_by_name("output")
> does not work: it does not find the lexer.
> This time, it seems that OutputLexer is not really there, as
>   from pygments.lexers import OutputLexer
> does not work either.

If the version (2.7.1) is correct, this is expected: the "markdown"
alias is new in 2.8.0, while the Output lexer is new in 2.10.0.