[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#54972: base-config_0.04(unstable): Errors in debian/rules targets



Package: base-config
Version: 0.04
Severity: important

I tried to recompile base-config for m68k, but it failed with:

>  debian/rules build DEB_BUILD_ARCH=m68k DEB_BUILD_GNU_CPU=m68k DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=m68k-linux DEB_HOST_ARCH=m68k DEB_HOST_GNU_CPU=m68k DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=m68k-linux
> cc -O2 -Wall checklock.c -o checklock
>  /usr/bin/sudo debian/rules binary-arch DEB_BUILD_ARCH=m68k DEB_BUILD_GNU_CPU=m68k DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=m68k-linux DEB_HOST_ARCH=m68k DEB_HOST_GNU_CPU=m68k DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=m68k-linux
> cc -O2 -Wall checklock.c -o checklock
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_installdirs usr/share/base-config usr/share/debconf/templates \
> 	  usr/sbin usr/lib/base-config
> install apt-setup debian/tmp/usr/sbin/
> install -s checklock debian/tmp/usr/lib/base-config/
> cp apt-setup.templates debian/tmp/usr/share/debconf/templates/
> cp Mirrors.masterlist debian/tmp/usr/share/base-config/
>  dpkg-genchanges -B -mDebian/m68k Build Daemon <buildd@kullervo.informatik.uni-erlangen.de>
> dpkg-genchanges: arch-specific upload - not including arch-independent packages
> dpkg-genchanges: failure: cannot read files list file: No such file or directory

The reason for this error is that base-config is Arch: any, so it
should be built in the binary-arch target. However, the commands are
in binary-indep, where only Arch: all packages should be built.

(Recompilations use dpkg-buildpackage -B, which calls "debian/rules
binary-arch" instead of the usual "debian/rules binary".)

Please simply exchange the binary-arch and binary-indep targets to fix
this.

Roman


Reply to: