[Pkg-alsa-devel] Bug#447879: Bug#447879: debian/rules biarch code doesn't work for new archictures

Elimar Riesebieter riesebie at lxtec.de
Wed Oct 24 15:24:12 UTC 2007


tags 447879 pending

Thanks

On Wed, 24 Oct 2007 the mental interface of
Martin Michlmayr told:

> Package: alsa-lib
> Version: 1.0.14a-2
> Tags: patch
> 
> Say you're porting Debian to a new PowerPC based architecture.  In
> that case, DEB_BUILD_ARCH_CPU will be powerpc but DEB_BUILD_ARCH will
> be some new string, let's say ppc405.  The biarch code in debian/rules
> will look at DEB_BUILD_ARCH_CPU and see that powerpc is a biarch
> together with ppc64.  It will then look for certain known
> architectures and set $bi.  In my case, $bi remains unset and
> configure is called with CC="gcc -m" which obviously doesn't work.
> 
> The correct fix is to do the biarch magic only when $bi actually gets
> set by the code above, i.e. when the architecture is actually known to
> be biarch.


-- 
  You cannot propel yourself forward by
  patting yourself on the back.





More information about the Pkg-alsa-devel mailing list