Bug#907727: source-contains-empty-directory when a patch adds a file to that directory
Chris Lamb <lamby@debian.org> writes:
> Hi Russ,
>> P: xfonts-jmk source: source-contains-empty-directory neep/ascii/
>>
>> but a patch in the quilt series adds a file to that directory.
> So, we currently loop over:
> foreach my $file ($info->sorted_orig_index) {
> … which with "3.0 (quilt)" has the patches applied. I'm not sure how we
> can get the unpatched output in this case. Any ideas?
The directory is not empty if you look when patches are applied, so I
think my assumption about what Lintian was doing is incorrect and there's
some other issue.
gwaihir:~/tmp$ apt-get source xfonts-jmk
Reading package lists... Done
Selected version '3.0-22' (unstable) for xfonts-jmk
NOTICE: 'xfonts-jmk' packaging is maintained in the 'Git' version control system at:
https://git.eyrie.org/git/debian/xfonts-jmk.git
Please use:
git clone https://git.eyrie.org/git/debian/xfonts-jmk.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 818 kB of source archives.
Get:1 http://ftp.us.debian.org/debian unstable/main xfonts-jmk 3.0-22 (dsc) [1,627 B]
Get:2 http://ftp.us.debian.org/debian unstable/main xfonts-jmk 3.0-22 (tar) [624 kB]
Get:3 http://ftp.us.debian.org/debian unstable/main xfonts-jmk 3.0-22 (diff) [192 kB]
Fetched 818 kB in 2s (435 kB/s)
dpkg-source: info: extracting xfonts-jmk in xfonts-jmk-3.0
dpkg-source: info: unpacking xfonts-jmk_3.0.orig.tar.gz
dpkg-source: info: unpacking xfonts-jmk_3.0-22.debian.tar.xz
dpkg-source: info: applying debian-changes
gwaihir:~/tmp$ ls -al xfonts-jmk-3.0/neep/ascii
total 4
drwxr-xr-x 1 eagle eagle 24 Sep 5 15:46 ./
drwxr-xr-x 1 eagle eagle 292 Sep 5 15:46 ../
-rw-r--r-- 1 eagle eagle 341 Sep 5 15:46 .placeholder
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: