On Wed, Apr 18, 2018 at 12:58:52PM -0400, James McCoy wrote: > While prepping the 1.10.0-1 subversion upload, I noticed that lintian > flagged every single directory in the upstream tarball with > "source-contains-empty-directory". > > Comparing this to other tarballs I have available, it appears this is > due to the fact that tar doesn't show a trailing slash for the > directories. > > $ tar -tavf subversion_1.10.0.orig.tar.gz | grep '^d.*1.10.0/build' > drwxrwxr-x julianfoad/julianfoad 0 2018-04-11 02:47 > subversion-1.10.0/build > drwxrwxr-x julianfoad/julianfoad 0 2018-04-11 02:47 > subversion-1.10.0/build/win32
I forgot to mention a little extra context I noticed while debugging. The problem is that the directory gets listed twice in the index -- once as "build" with no children and again as "build/" with the expected children. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB