Hi!

On Wed, 2013-10-16 at 13:51:40 +0200, Fabian Greffrath wrote:
> Package: dpkg-dev
> Version: 1.16.12
> Severity: minor

> 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
[…]
>         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.

Indeed, not very helpful, I'll fix that.

Thanks,
Guillem


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

Reply via email to