On Sat, Apr 20, 2024 at 11:09:17AM +0200, Dominique Dumont wrote:
> On Thursday, 18 April 2024 19:21:55 CEST you wrote:
> > Source: libconfig-model-dpkg-perl
> > Version: 3.004
> > Severity: serious
> > Tags: ftbfs
> > Justification: fails to build from source
> 
> This really looks like a bug with prove:
> 
> $ perl t/reorder.t 
> ok 1 -  test re-ordered list    
> 1..1

> I can't see what's wrong with the output of reorder test...

Looks like something is injecting apt progress messages to stdout with
CR characters hiding it on the terminal but obviously not from `prove`.

$ perl t/reorder.t |od -c
0000000  \r   R   e   a   d   i   n   g       p   a   c   k   a   g   e
0000020       l   i   s   t   s   .   .   .       0   %  \r  \r   R   e
0000040   a   d   i   n   g       p   a   c   k   a   g   e       l   i
0000060   s   t   s   .   .   .       1   0   0   %  \r                
0000100                                                                
0000120                                          \r  \r   B   u   i   l
0000140   d   i   n   g       d   e   p   e   n   d   e   n   c   y    
0000160   t   r   e   e   .   .   .       0   %  \r  \r   B   u   i   l
0000200   d   i   n   g       d   e   p   e   n   d   e   n   c   y    
0000220   t   r   e   e   .   .   .       0   %  \r  \r   B   u   i   l
0000240   d   i   n   g       d   e   p   e   n   d   e   n   c   y    
0000260   t   r   e   e   .   .   .       5   0   %  \r  \r   B   u   i
0000300   l   d   i   n   g       d   e   p   e   n   d   e   n   c   y
0000320       t   r   e   e   .   .   .       5   0   %  \r            
0000340                                                                
0000360                                                      \r  \r   R
0000400   e   a   d   i   n   g       s   t   a   t   e       i   n   f
0000420   o   r   m   a   t   i   o   n   .   .   .       0   %  \r  \r
0000440   R   e   a   d   i   n   g       s   t   a   t   e       i   n
0000460   f   o   r   m   a   t   i   o   n   .   .   .       0   %  \r
0000500                                                                
*
0000540  \r   o   k       1       -           t   e   s   t       r   e
0000560   -   o   r   d   e   r   e   d       l   i   s   t  \n   1   .
0000600   .   1  \n
0000603

HTH,
-- 
Niko

Reply via email to