home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,129 of 28,835   
   Nilesh Patra to All   
   Bug#1128372: debhelper: wipes out entire   
   18 Feb 26 22:40:01   
   
   From: nilesh@debian.org   
      
   Package: debhelper   
   Version: 13.30   
   Severity: serious   
      
   Hi,   
      
   In cases where there's only one changelog entry, and the month is wrong,   
   debhelper   
   wipes out the full d/ch that is installed.   
      
   This is not the case with version 13.29.   
      
   A reproducer for the same is as follows:   
      
   $ apt source hello   
      
   Write only this content in d/ch (wipe out everything else):   
      
   hello (2.10-5) unstable; urgency=medium   
      
     * Add autopkgtest dependency on make. Closes: #1103293.   
       Thanks to Jochen Sprickerhof.   
      
    -- Santiago Vila   Wed, 16 April 2025 11:50:00 +0200   
      
   $ dpkg-buildpackage   
   $ cd ..   
   $ ar x hello_2.10-5_amd64.deb   
   $ tar -xf data.tar.xz   
   $ zcat ./usr/share/doc/hello/changelog.Debian.gz | wc -l   
      
   0   
      
   The changelog here is completely empty. Same steps with debhelper version   
   13.29:   
      
   $ zcat ./usr/share/doc/hello/changelog.Debian.gz | wc -l   
   6   
      
   And I can see the contents of d/ch here. This was caught by lintian's   
   testsuite in "changelog-file-invalid-date" test.   
   This does not look intended. If it is, please let me know.   
      
   Also, if the day is wrong for example, Wednesday instead of Wed, it works   
   fine. That looks quite wrong.   
   Since this is leading to outright wiping the entire d/ch, (on only one entry),   
   I am assigning severity as serious.   
      
   Best,   
   Nilesh   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca