Package: alien
Version: 8.56
Severity: grave
Justification: renders package unusable

RPM often does not specify permissions for directories which
contain files, and does not place the directories to the cpio
archives in packages.

Alien sets mode 755 for that files. It recognizes such
directories by comparing their mode with 777&(~umask).

But, some time ago, cpio changed its defaults. Now, they
created implicit directories with permissions 700. So, these
directories are not found by the alien anymore.

Neither "man cpio" nor
http://www.opengroup.org/onlinepubs/7990989775/xcu/cpio.html
do not specify the mode cpio must set on these directories.
So, this bug is in the alien package, which relied on the
undocumented behavior of cpio.

I believe this bug should be fixed by changing the way alien
looks for the implicitly created directories. It should take
the list of the cpio archive contents by the "cpio -it"
command, and compare the list with the actual files and
directories created by the "cpio -id" command.

I mark the bug as grave as it breaks rpm -> deb
transformation in most cases, making the produced packages
unusable "out of the box". Since the rpm -> deb
transformation is the one most peple want from alien, I
suppose this is what is called "renders package unusable".

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages alien depends on:
ii  cpio                          2.6-8      GNU cpio -- a program to manage ar
ii  debhelper                     4.9.8      helper programs for debian/rules
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  make                          3.80-11    The GNU version of the "make" util
ii  perl                          5.8.7-7    Larry Wall's Practical Extraction 
ii  rpm                           4.0.4-31.1 Red Hat package manager

alien recommends no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to