Package: dpkg-dev
Version: 1.16.12
Severity: minor

Dear dpkg devs,

dpkg-genchanges gives a rather unhelpful error message if a package is
attempted to be built on a non-supported arch. See what happens when I want to
build zsnes, which is Architecture: any-i386, on amd64:

        $ LANG=C debuild -d -us -uc
         dpkg-buildpackage -rfakeroot -d -us -uc
        dpkg-buildpackage: source package zsnes
        dpkg-buildpackage: source version 1.510+bz2-6
        dpkg-buildpackage: source changed by Etienne Millon
<etienne.mil...@gmail.com>
         dpkg-source --before-build zsnes-1.510+bz2
        dpkg-buildpackage: host architecture amd64
         fakeroot debian/rules clean
        dh clean --sourcedirectory=src --with autoreconf
        dh: No packages to build.
         dpkg-source -b zsnes-1.510+bz2
        dpkg-source: info: using source format `3.0 (quilt)'
        dpkg-source: info: building zsnes using existing
../zsnes_1.510+bz2.orig.tar.bz2
        dpkg-source: info: building zsnes in zsnes_1.510+bz2-6.debian.tar.gz
        dpkg-source: info: building zsnes in zsnes_1.510+bz2-6.dsc
         debian/rules build
        dh build --sourcedirectory=src --with autoreconf
        dh: No packages to build.
         fakeroot debian/rules binary
        dh binary --sourcedirectory=src --with autoreconf
        dh: No packages to build.
         dpkg-genchanges  >../zsnes_1.510+bz2-6_amd64.changes
        dpkg-genchanges: error: cannot read files list file: No such file or
directory
        dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
        debuild: fatal error at line 1361:
        dpkg-buildpackage -rfakeroot -d -us -uc failed

All it tells me is

        error: cannot read files list file: No such file or directory

and I wouldn't even know that this means it is complaining about a missing
debian/files file if I hadn't had a look at dpkg-genchanges' source code.
However, the missing debian/files file isn't even the cause for the error, it
is just another symptom. The actual cause is that *there is no binary package
to be built on Arch: amd64* andI would appreciate if this could be stated
alongside the initial error message in plain language.

Thank you!

 - Fabian



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (900, 'unstable'), (700, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg-dev depends on:
ii  base-files    7.2
ii  binutils      2.23.90.20130927-1
ii  bzip2         1.0.6-5
ii  libdpkg-perl  1.16.12
ii  make          3.81-8.2
ii  patch         2.7.1-3
ii  xz-utils      5.1.1alpha+20120614-2

Versions of packages dpkg-dev recommends:
ii  build-essential          11.6
ii  clang-3.3 [c-compiler]   1:3.3-9
ii  fakeroot                 1.18.4-2
ii  gcc [c-compiler]         4:4.8.1-3
ii  gcc-4.6 [c-compiler]     4.6.4-4
ii  gcc-4.7 [c-compiler]     4.7.3-4
ii  gcc-4.8 [c-compiler]     4.8.1-10
ii  gnupg                    1.4.15-1
ii  gpgv                     1.4.15-1
ii  libalgorithm-merge-perl  0.08-2

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

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to