On Fri, Jul 06, 2018 at 03:18:00PM +0000, Ximin Luo wrote: > Santiago Vila: > > [..] > > Exception: no cargo executable found at `/usr/bin/cargo` > > debian/rules:216: recipe for target 'override_dh_auto_build-indep' failed > > make[1]: *** [override_dh_auto_build-indep] Error 1 > > make[1]: Leaving directory '/<<BUILDDIR>>/rustc-1.24.1+dfsg1' > > debian/rules:143: recipe for target 'build-indep' failed > > make: *** [build-indep] Error 2 > > dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 > > -------------------------------------------------------------------------------- > > > > I did "dpkg-buildpackage -A" but apparently it also fails with > > "dpkg-buildpackage -B" > > in every other architecture: > > > > Moritz, > > The easiest way to fix all of the above would be to re-introduce the > cargo/rustc self-Build-Depends but add a [!amd64] architecture-specific > annotation to it. Then an arch:all build and the other-architecture builds > will simply be not performed due to "missing build-deps". > > This is what `d/rules source_orig-dl` suggests and I should have been more > strict about it when reviewing your earlier patch, sorry.
Sounds good. I'll prepare an update over the weekend. Cheers, Moritz