Subject: alien: Fails to convert a 'noarch' RPM to deb Package: alien Version: 8.82 Severity: normal
*** Please type your report below this line *** When converting a 'noarch' RPM to a deb package, alien fails with the message: "Radiator-4.7-1.noarch.rpm is for architecture all ; the package cannot be built on this system". As Radiator is written in pure Perl, I would assume the architecture check to always pass. The ARCH in the RPM is a true 'noarch': $ rpm -qp --queryformat %{ARCH} Radiator-4.7-1.noarch.rpm; echo "" noarch $ In Alien::Package::Deb, dpkg-architecture is called 'dpkg-architecture -i.$arch' (where $arch == 'all' in my case), but according to the dpkg-architecture man page, -i should be followed by a 'architecture-wildcard' defined as: "An architecture wildcard is a special architecture string that will match any real architecture being part of it. The general form is <kernel>-<cpu>. Examples: linux-any, any-i386, hurd-any." Shouldn't 'noarch' be translated to 'any' instead of 'all'? For completeness: on the build system, dpkg-architecture reports: $ dpkg-architecture DEB_BUILD_ARCH=i386 DEB_BUILD_ARCH_OS=linux DEB_BUILD_ARCH_CPU=i386 DEB_BUILD_ARCH_BITS=32 DEB_BUILD_ARCH_ENDIAN=little DEB_BUILD_GNU_CPU=i486 DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_BUILD_GNU_TYPE=i486-linux-gnu DEB_HOST_ARCH=i386 DEB_HOST_ARCH_OS=linux DEB_HOST_ARCH_CPU=i386 DEB_HOST_ARCH_BITS=32 DEB_HOST_ARCH_ENDIAN=little DEB_HOST_GNU_CPU=i486 DEB_HOST_GNU_SYSTEM=linux-gnu DEB_HOST_GNU_TYPE=i486-linux-gnu $ -- System Information: Debian Release: squeeze/sid APT prefers stable APT policy: (990, 'stable'), (800, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages alien depends on: ii cpio 2.9-13lenny1 GNU cpio -- a program to manage ar ii debhelper 8.0.0 helper programs for debian/rules ii dpkg-dev 1.15.8.4 Debian package development tools ii make 3.81-5 The GNU version of the "make" util ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction ii rpm 4.8.1-5 package manager for RPM ii rpm2cpio 4.8.1-5 tool to convert RPM package to CPI alien recommends no packages. Versions of packages alien suggests: ii bzip2 1.0.5-1 high-quality block-sorting file co ii lintian 2.4.3 Debian package checker pn lsb-rpm <none> (no description available) ii lzma 4.43-14 Compression method of 7z format in ii patch 2.5.9-5 Apply a diff file to an original -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org