[Pkg-alsa-devel] Re: Future FTBFS - libasound2-dev source-incompatibility

Adeodato Simó asp16 at alu.ua.es
Sat Aug 6 14:18:04 UTC 2005


* David B Harris [Sat, 24 Jan 2004 04:30:02 -0500]:

> Package: libao
> Severity: important

Hello,

> Hello :) The Debian ALSA packaging team will shortly be uploading a new
> version of libasound, which unfortunately includes a source-level
> incompatibility introduced by upstream. We don't feel it's appropriate
> to differ from other distributions in this respect, and the number of
> affected packages is small, so we are instead pre-emptively filing a few
> bugs here and there.

  It seems this bug report has become obsolete. Please consider closing
  if you consider it appropriate, thanks.

> What it boils down to is that the snd_set_hw_params API (maybe some
> others too) were changed some time ago, but without #defining a variable
> indicating that the new API was to be used, the old API was default.

> With the latest upstream release, this behaviour is reversed - in order
> to use your current API calling methods, you need to add these defines
> before you include <alsa/asound.h> (or any other header which prototypes
> those functions):

> #define ALSA_PCM_OLD_HW_PARAMS_API
> #define ALSA_PCM_OLD_SW_PARAMS_API

> Attached is the log of the build failure for the package you maintain.

> Thanks very much :) We'll be uploading the new libasound within a week
> or two, but rest assured that if you upload an updated package
> beforehand, it will work with the current version of libasound in
> unstable.

> (Note that for maximum compatibility, using the old API and adding the
> defines is preferrable to switching to using the new API.)

> -- System Information:
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux willow 2.6.1-a3 #3 Tue Jan 20 23:22:44 EST 2004 i686
> Locale: LANG=en_CA, LC_CTYPE=en_CA



-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
You cannot achieve the impossible without attempting the absurd.




More information about the Pkg-alsa-devel mailing list