On 2023-08-02 15:51 +0200, Vincent Lefevre wrote:

> Package: aptitude
> Version: 0.8.13-5
> Severity: normal
>
> When I use "C" (View a package's changelog) on clang-15 from the
> aptitude TUI, I get a warning that is immediately erased, so that
> it is impossible to read it.
>
> I suppose that aptitude should redirect stderr from
> aptitude-changelog-parser so that it can display its contents
> (when non empty) in a clear way.

It should prevent these errors from showing up in the first place.
See #967911, which has been tagged "pending" almost three years ago. :-(

> Enabling the terminal's logs allows me to get the text of this
> warning:
>
> aptitude-changelog-parser: warning: 
> /tmp/aptitude-root.7707:EXkCUB/aptitude-download-4-bORTciGPJi,..uo2EeQnZD7WBcD+L6_aptitude-download-cbF3RCIRNjR7d%D7+V.DiRimX__YaCHL(l105):
>  found start of entry where expected more change data or trailer
>
> This text seems to come from /usr/share/perl5/Dpkg/Changelog/Debian.pm:
>
>             unless ($expect eq FIRST_HEADING || $expect eq NEXT_OR_EOF) {
>                 $self->parse_error($file, $.,
>                     sprintf(g_('found start of entry where expected %s'),
>                     $expect), "$_");
>             }
>
> About this unexpected warning, there may be some other bug.

Yes, the clang-15 changelog entry for version 1:15.0.7-2 is not properly
terminated.

Cheers,
       Sven

Reply via email to