Package: dpkg-dev
Version: 1.18.4
Severity: serious
Justification: makes package unusable

With the attached tarball, repository creation is no longer possible.
The structure of the tarball is as follows:

tglase@tglase:~ $ tar tzvvf x.tgz                                               
                           
drwxr-xr-x 0/0               0 2015-12-28 14:00 x
drwxr-xr-x 0/0               0 2015-12-28 14:00 x/dists
drwxr-xr-x 0/0               0 2015-12-28 14:00 x/dists/sid
drwxr-xr-x 0/0               0 2015-12-28 14:05 x/dists/sid/wtf
drwxr-xr-x 0/0               0 2015-12-28 14:00 x/dists/sid/wtf/Pkgs
drwxr-xr-x 0/0               0 2015-12-28 14:00 x/dists/sid/wtf/Pkgs/mircpio
-rw-r--r-- 0/0             524 2015-11-28 15:28 
x/dists/sid/wtf/Pkgs/mircpio/mircpio_20151128.dsc
-rw-r--r-- 0/0            3020 2015-11-28 15:28 
x/dists/sid/wtf/Pkgs/mircpio/mircpio_20151128.tar.xz
-rw-r--r-- 0/0            3784 2015-11-28 15:28 
x/dists/sid/wtf/Pkgs/mircpio/mircpio_20151128_all.deb
-rw-r--r-- 0/0            9575 2015-11-28 15:28 
x/dists/sid/wtf/Pkgs/mircpio/mircpio_20151128_i386.build
-rw-r--r-- 0/0            1363 2015-11-28 15:28 
x/dists/sid/wtf/Pkgs/mircpio/mircpio_20151128_i386.changes
drwxr-xr-x 0/0               0 2015-12-28 14:00 x/dists/sid/wtf/binary-all
lrwxrwxrwx 0/0               0 2015-12-28 14:05 x/dists/sid/wtf/binary-alpha -> 
binary-all
drwxr-xr-x 0/0               0 2015-12-28 14:05 x/dists/sid/wtf/binary-amd64
drwxr-xr-x 0/0               0 2015-12-28 14:05 x/dists/sid/wtf/source

Repository creation would create Packages.gz files in binary-*/
and Sources.gz files in source/ then an InRelease file. However,
apparently caused by what the changelog says fixes #800649, the
repository creation now fails unless the symlink is removed:

-----cutting here may damage your screen surface-----
tglase@tglase:~/x $ dpkg-scanpackages -m -a amd64 dists/sid/wtf | tee 
dists/sid/wtf/binary-amd64/Packages | gzip -n9 
>dists/sid/wtf/binary-amd64/Packages.gz; echo $?           
/home/tglase/x/dists/sid/wtf/binary-all encountered a second time at 
/usr/share/perl/5.22/File/Find.pm line 103.
0
tglase@tglase:~/x $ ls -l dists/sid/wtf/binary-amd64
total 4
-rw-r--r-- 1 tglase tglase  0 Dez 28 14:03 Packages
-rw-r--r-- 1 tglase tglase 20 Dez 28 14:03 Packages.gz
tglase@tglase:~/x $ dpkg-scansources dists/sid/wtf | tee 
dists/sid/wtf/source/Sources | gzip -n9 >dists/sid/wtf/source/Sources.gz; echo 
$?
/home/tglase/x/dists/sid/wtf/binary-all encountered a second time at 
/usr/share/perl/5.22/File/Find.pm line 103.
0
tglase@tglase:~/x $ ls -l dists/sid/wtf/source
total 4
-rw-r--r-- 1 tglase tglase  0 Dez 28 14:03 Sources
-rw-r--r-- 1 tglase tglase 20 Dez 28 14:03 Sources.gz
tglase@tglase:~/x $ ls -l dists/sid/wtf/                                        
                                                                                
                
total 16
drwxr-xr-x 3 tglase tglase 4096 Dez 28 14:00 Pkgs
drwxr-xr-x 2 tglase tglase 4096 Dez 28 14:00 binary-all
lrwxrwxrwx 1 tglase tglase   10 Dez 28 14:00 binary-alpha -> binary-all
drwxr-xr-x 2 tglase tglase 4096 Dez 28 14:02 binary-amd64
drwxr-xr-x 2 tglase tglase 4096 Dez 28 14:03 source
tglase@tglase:~/x $ rm dists/sid/wtf/binary-alpha                               
                                                                                
                
tglase@tglase:~/x $ dpkg-scanpackages -m -a amd64 dists/sid/wtf | tee 
dists/sid/wtf/binary-amd64/Packages | gzip -n9 
>dists/sid/wtf/binary-amd64/Packages.gz; echo $?
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
0
tglase@tglase:~/x $ ls -l dists/sid/wtf/binary-amd64
total 8
-rw-r--r-- 1 tglase tglase 851 Dez 28 14:04 Packages
-rw-r--r-- 1 tglase tglase 565 Dez 28 14:04 Packages.gz
tglase@tglase:~/x $ dpkg-scansources dists/sid/wtf | tee 
dists/sid/wtf/source/Sources | gzip -n9 >dists/sid/wtf/source/Sources.gz; echo 
$?
0
tglase@tglase:~/x $ ls -l dists/sid/wtf/source
total 8
-rw-r--r-- 1 tglase tglase 781 Dez 28 14:04 Sources
-rw-r--r-- 1 tglase tglase 472 Dez 28 14:04 Sources.gz
-----cutting here may damage your screen surface-----

I will have to downgrade dpkg-dev now. Please either fix this
so that the Perl find uses the same procedure as whatever was
used before, or revert the switch to Perl.

-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages dpkg-dev depends on:
ii  base-files    9.5
ii  binutils      2.25.90.20151209-1
ii  bzip2         1.0.6-8
ii  libdpkg-perl  1.18.4
ii  make          4.0-8.2
ii  patch         2.7.5-1
ii  xz-utils      5.1.1alpha+20120614-2.1

Versions of packages dpkg-dev recommends:
ii  build-essential          12.1
ii  fakeroot                 1.20.2-1
ii  gcc [c-compiler]         4:5.3.1-1
ii  gcc-5 [c-compiler]       5.3.1-4
ii  gnupg                    1.4.20-1
ii  gnupg2                   2.1.10-3
ii  gpgv                     1.4.20-1
ii  libalgorithm-merge-perl  0.08-3

Versions of packages dpkg-dev suggests:
ii  debian-keyring  2015.11.30

-- no debconf information

Attachment: x.tgz
Description: application/gzip

Reply via email to