Alsa-Devel Archive on lore.kernel.org
 help / color / Atom feed
* [alsa-devel] ABI breakage in alsa-lib 1.2
@ 2020-01-10 22:58 Jordi Mallach
  2020-01-15  8:47 ` Jaroslav Kysela
  0 siblings, 1 reply; 2+ messages in thread
From: Jordi Mallach @ 2020-01-10 22:58 UTC (permalink / raw)
  To: alsa-devel; +Cc: pkg-alsa-maintainers

[Please Cc me on replies, I'm not currently subscribed to alsa-devel]

Hello,

I'm one of the ALSA Debian maintainers, and some weeks ago I looked
into updating our ALSA packages to 1.2.1.

I quickly noticed there's been some fundamental change to libasound2,
one that appears to break ABI and should have warranted an soname bump
at least.

With the split of the snd_tplg API to the new libatopology2, libasound2
has been left missing that part of the API that was part of the
asound.h header, etc. This could have been a somewhat lesser issue if
libasound2 linked to libatopology, but unfortunately this goes in the
other direction, so the ABI and API breakage is not avoided.

I cannot update alsa-lib in this state. I could hack around and patch
it to reinstate the missing api in libasound, but this sounds like pain
and suffering for everyone involved. How should we move forward with
this?

I am sorry I only come up with this 2 months after the release when I
had identified the problem many weeks ago, I've been extremely busy.

Thanks,
Jordi
-- 
Jordi Mallach <jordi@debian.org>
Debian Project

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [alsa-devel] ABI breakage in alsa-lib 1.2
  2020-01-10 22:58 [alsa-devel] ABI breakage in alsa-lib 1.2 Jordi Mallach
@ 2020-01-15  8:47 ` Jaroslav Kysela
  0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2020-01-15  8:47 UTC (permalink / raw)
  To: Jordi Mallach, alsa-devel; +Cc: pkg-alsa-maintainers

Dne 10. 01. 20 v 23:58 Jordi Mallach napsal(a):
> [Please Cc me on replies, I'm not currently subscribed to alsa-devel]
> 
> Hello,
> 
> I'm one of the ALSA Debian maintainers, and some weeks ago I looked
> into updating our ALSA packages to 1.2.1.
> 
> I quickly noticed there's been some fundamental change to libasound2,
> one that appears to break ABI and should have warranted an soname bump
> at least.
> 
> With the split of the snd_tplg API to the new libatopology2, libasound2
> has been left missing that part of the API that was part of the
> asound.h header, etc. This could have been a somewhat lesser issue if
> libasound2 linked to libatopology, but unfortunately this goes in the
> other direction, so the ABI and API breakage is not avoided.
> 
> I cannot update alsa-lib in this state. I could hack around and patch
> it to reinstate the missing api in libasound, but this sounds like pain
> and suffering for everyone involved. How should we move forward with
> this?
> 
> I am sorry I only come up with this 2 months after the release when I
> had identified the problem many weeks ago, I've been extremely busy.

It's not a problem at all. Those API/ABI is used only in the alsatplg utility 
from the alsa-utils package which has the specific usage - compilation the 
topology files from the configuration file to the binary form for the driver. 
This tool is used only by the developers. I believe that you have zero users 
for this. No other applications are expected to be touched. I would not do 
this split, if it affects something serious.

					Jaroslav

> 
> Thanks,
> Jordi
> 


-- 
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 22:58 [alsa-devel] ABI breakage in alsa-lib 1.2 Jordi Mallach
2020-01-15  8:47 ` Jaroslav Kysela

Alsa-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/alsa-devel/0 alsa-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 alsa-devel alsa-devel/ https://lore.kernel.org/alsa-devel \
		alsa-devel@alsa-project.org
	public-inbox-index alsa-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.alsa-project.alsa-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git