Bug#595252: [Pkg-alsa-devel] Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-09 Thread Fabian Greffrath

Am 08.09.2010 21:18, schrieb Elimar Riesebieter:

Patches applied.


I hope this package will still make it into squeeze. If it does, 
should we patch the error message out of vlc and add "Breaks: 
libasound2 (<< 1.0.23-2)" to the vlc package?


 - Fabian



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: [Pkg-alsa-devel] Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-08 Thread Elimar Riesebieter
tags 595252 pending
thx

* Fabian Greffrath [100908 11:14 +0200]:
> Am 08.09.2010 10:17, schrieb Reinhard Tartler:
> >I think this bug now has enough information for our alsa maintainers to
> >judge if this is something that should go into squeeze, so I'm
> >reassinging to libasound2. Please keep us informed when these patches
> >hit sid/squeeze, we probably should then adapt the error message to
> >include the version of the fixed libasound2 package and this bug number.
> 
> The first commit touches configure.in and thus triggers autoconf,
> which is quite invasive given the outdated autoconf (2.60) the
> upstream tarball uses. Maybe "-DHAVE_USELOCALE" should just be set
> unconditionally in debian/rules, but of course I leave this decision
> to the ALSA maintainers.

Patches applied.

Elimar

-- 
  >what IMHO then?
  IMHO - Inhalation of a Multi-leafed Herbal Opiate ;)
  --posting from alex in debian-user--



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-08 Thread Fabian Greffrath

Am 08.09.2010 10:17, schrieb Reinhard Tartler:

I think this bug now has enough information for our alsa maintainers to
judge if this is something that should go into squeeze, so I'm
reassinging to libasound2. Please keep us informed when these patches
hit sid/squeeze, we probably should then adapt the error message to
include the version of the fixed libasound2 package and this bug number.


The first commit touches configure.in and thus triggers autoconf, 
which is quite invasive given the outdated autoconf (2.60) the 
upstream tarball uses. Maybe "-DHAVE_USELOCALE" should just be set 
unconditionally in debian/rules, but of course I leave this decision 
to the ALSA maintainers.


 - Fabian



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-08 Thread Reinhard Tartler
reassign  595252 libasound2 1.0.23-1
retitle   595252 Please include upstream patches to make setlocale() thread safe
serverity 595252 important
thanks

On Mi, Sep 08, 2010 at 10:06:52 (CEST), Fabian Greffrath wrote:

> Am 08.09.2010 10:01, schrieb Fabian Greffrath:
>> Maybe the Debian alsa maintainers can be convinced to backport the
>> relevant changes from 1.0.23-2-g8d80d5f to the 1.0.23 package so that
>> we can make VLc depend on this specific version.
>
> IIUIC, the "-2" part in the version syntax means the next two commits
> after the 1.0.23 tag, which would be these two patches:
>
> 
> 

Uh, nice.

yes, that sounds pretty promising to me.

I think this bug now has enough information for our alsa maintainers to
judge if this is something that should go into squeeze, so I'm
reassinging to libasound2. Please keep us informed when these patches
hit sid/squeeze, we probably should then adapt the error message to
include the version of the fixed libasound2 package and this bug number.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-08 Thread Fabian Greffrath

Am 08.09.2010 10:01, schrieb Fabian Greffrath:

Maybe the Debian alsa maintainers can be convinced to backport the
relevant changes from 1.0.23-2-g8d80d5f to the 1.0.23 package so that
we can make VLc depend on this specific version.


IIUIC, the "-2" part in the version syntax means the next two commits 
after the 1.0.23 tag, which would be these two patches:





 - Fabian



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-08 Thread Fabian Greffrath

Am 08.09.2010 09:49, schrieb Reinhard Tartler:

It is an error message that occurs on some hardware when libasound2
fails to initialize the hardware. From the upstream commit logs I
understand that upstream themselves cannot really reproduce this probe
error themselves, but users report this to be fixed in the next alsa-lib
release. Moreover, the easy workaround is to the pulseaudio output
module.


Maybe the Debian alsa maintainers can be convinced to backport the 
relevant changes from 1.0.23-2-g8d80d5f to the 1.0.23 package so that 
we can make VLc depend on this specific version.


 - Fabian



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-08 Thread Reinhard Tartler
On Mi, Sep 08, 2010 at 08:43:23 (CEST), Fabian Greffrath wrote:

> Am 08.09.2010 07:33, schrieb Reinhard Tartler:
>> This error message can only occur when using the alsa output module, as
>> the error message is in modules/audio_output/alsa.c. This exact error
>> message is part of the following upstream change:
>
> Is it only a warning or really an error message? In the latter case,
> i.e. if vlc from squeeze *refuses* to work with alsa-lib from squeeze,
> I'd consider this issue RC!

It is an error message that occurs on some hardware when libasound2
fails to initialize the hardware. From the upstream commit logs I
understand that upstream themselves cannot really reproduce this probe
error themselves, but users report this to be fixed in the next alsa-lib
release. Moreover, the easy workaround is to the pulseaudio output
module.

>From the current information I don't consider this issue RC, and
addtionally, not a problem in the vlc package.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-07 Thread Fabian Greffrath

Am 08.09.2010 07:33, schrieb Reinhard Tartler:

This error message can only occur when using the alsa output module, as
the error message is in modules/audio_output/alsa.c. This exact error
message is part of the following upstream change:


Is it only a warning or really an error message? In the latter case, 
i.e. if vlc from squeeze *refuses* to work with alsa-lib from squeeze, 
I'd consider this issue RC!


 - Fabian



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-07 Thread Reinhard Tartler
On Di, Sep 07, 2010 at 21:41:35 (CEST), Christophe Mutricy wrote:

> Le Tue 07 Sep 10 à 16:56 +0200, Fabian Greffrath a écrit :
>> Am 07.09.2010 16:45, schrieb Nigel Horne:
>>> Wouldn't it be less confusing if it said "Please update libasound2..."?
> Well "alsa-lib" is the name upstream and the name of the source package
>
>> Regardless of what it says, do I understand it right that vlc in squeeze 
>> does not work with alsa-lib from squeeze?
>
> rmadison alsa-lib 
>   alsa-lib |   1.0.16-2 |stable | source
>   alsa-lib |   1.0.23-1 |   testing | source
>   alsa-lib |   1.0.23-1 |  unstable | source
>
> If problem there is, it is the same in Sid.

indeed.

> Does it happen every time ? On every media ? Do you use PulseAudio ?
> If it's reproducable, can I have the logs (vlc -vvv ...)

This error message can only occur when using the alsa output module, as
the error message is in modules/audio_output/alsa.c. This exact error
message is part of the following upstream change:

From: Rémi Denis-Courmont 
Date: Wed, 21 Apr 2010 17:37:07 + (+0300)
Subject: ALSA: give a clue that VLC might fail with alsa-lib <= 1.0.23...
X-Git-Tag: 1.1.0-test3~62
X-Git-Url: 
http://git.videolan.org/?p=vlc%2Fvlc-1.1.git;a=commitdiff_plain;h=e2552af97ab56adfd3090bf840d1860da5c0d128

ALSA: give a clue that VLC might fail with alsa-lib <= 1.0.23...

...as reported earlier on vlc-devel (not reproducible by me).
(cherry picked from commit 05c3c71df21fe5aca59f631b3841e70dbd2bd8db)
---

diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c
index ac19bd9..185c56d 100644
--- a/modules/audio_output/alsa.c
+++ b/modules/audio_output/alsa.c
@@ -283,6 +283,18 @@ static void Probe( aout_instance_t * p_aout,
 if( val.i_int <= 0 )
 {
 /* Probe() has failed. */
+#if (SND_LIB_VERSION <= 0x010017)
+# warning Please update alsa-lib to version > 1.0.23.
+var_Create( p_aout->p_libvlc, "alsa-broken", VLC_VAR_BOOL );
+if( !var_GetBool( p_aout->p_libvlc, "alsa-broken" ) )
+{
+var_SetBool( p_aout->p_libvlc, "alsa-broken", true );
+dialog_FatalWait( p_aout, "Potential ALSA version problem",
+"VLC failed to initialize your sound output device (if any).\n"
+"Please update alsa-lib to version 1.0.24 or higher "
+"to try to fix this issue." );
+}
+#endif
 msg_Dbg( p_aout, "failed to find a usable ALSA configuration" );
 var_Destroy( p_aout, "audio-device" );
 GetDevices( VLC_OBJECT(p_aout), NULL );


(a later commit then changes the suggested alsa version to
1.0.23-2-g8d80d5f, which we see in the original report)


> Reading from the Changelog, this has to do with the probing of the sound
> card to see how many channel it supports or rather n reprobing for a
> second media. It has also to do with thread-safety so it might not be
> easy to reproduce

While I don't see that in the Changelog, it seems clear to me that this
issue needs an alsa expert to examine further. I very well imagine that
this happens only on specific hardware and vlc upstream claims it to be
fixed in current alsa-lib development and can be easily avoided by using
pulse instead. I consider this good advice!

I propose to reassign this issue to the libasound2 package and ask its
maintainers to have a look at it.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-07 Thread Christophe Mutricy
Le Tue 07 Sep 10 à 16:56 +0200, Fabian Greffrath a écrit :
> Am 07.09.2010 16:45, schrieb Nigel Horne:
>> Wouldn't it be less confusing if it said "Please update libasound2..."?
Well "alsa-lib" is the name upstream and the name of the source package

> Regardless of what it says, do I understand it right that vlc in squeeze 
> does not work with alsa-lib from squeeze?

rmadison alsa-lib 
  alsa-lib |   1.0.16-2 |stable | source
  alsa-lib |   1.0.23-1 |   testing | source
  alsa-lib |   1.0.23-1 |  unstable | source

If problem there is, it is the same in Sid.


Nigel,

Does it happen every time ? On every media ? Do you use PulseAudio ?
If it's reproducable, can I have the logs (vlc -vvv ...)

Reading from the Changelog, this as to do with the probing of the sound
card to see how many channel it supports or rather n reprobing for a
second media. It has also to do with thread-safety so it might not be
easy to reproduce


-- 
Xtophe



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-07 Thread Fabian Greffrath

Am 07.09.2010 16:45, schrieb Nigel Horne:

Wouldn't it be less confusing if it said "Please update libasound2..."?


Regardless of what it says, do I understand it right that vlc in 
squeeze does not work with alsa-lib from squeeze?


 - Fabian



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-07 Thread Nigel Horne

On 03/09/10 08:05, David Henningsson wrote:

2010-09-02 15:47, Nigel Horne skrev:
   

Package: vlc
Version: 1.1.3-1
Severity: normal

No audio comes out of an audio CD.  I get the mesage

Potential ALSA version problem:
VLC failed to initialize your sound output device (if any).
Please update alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to 
fix this issue.

But when I try "aptitude install alsa-lib", I get

Couldn't find any package whose name or description matched "alsa-lib"
 

Under Debian and derivatives, alsa-lib is called "libasound2".

Wouldn't it be less confusing if it said "Please update libasound2..."?



--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
n...@bandsman.co.uk http://www.bandsman.co.uk




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-03 Thread Reinhard Tartler
On Thu, Sep 02, 2010 at 15:47:03 (CEST), Nigel Horne wrote:

> No audio comes out of an audio CD.  I get the mesage
>
>   Potential ALSA version problem:
>   VLC failed to initialize your sound output device (if any).
>   Please update alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to 
> fix this issue.
>
> But when I try "aptitude install alsa-lib", I get 
>
> Couldn't find any package whose name or description matched "alsa-lib"

Your version of alsa-lib is:
>
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages vlc depends on:
> ii  libasound2  1.0.23-1 shared library for ALSA 
> applicatio

And this is the version that we are going to ship in squeeze.

Does sound work with non-audio cd media like .ogg files or movie files?


-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-03 Thread David Henningsson
2010-09-02 15:47, Nigel Horne skrev:
> Package: vlc
> Version: 1.1.3-1
> Severity: normal
> 
> No audio comes out of an audio CD.  I get the mesage
> 
>   Potential ALSA version problem:
>   VLC failed to initialize your sound output device (if any).
>   Please update alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to 
> fix this issue.
> 
> But when I try "aptitude install alsa-lib", I get 
> 
> Couldn't find any package whose name or description matched "alsa-lib"

Under Debian and derivatives, alsa-lib is called "libasound2".

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595252: vlc: Says "Please update alsa-lib"

2010-09-02 Thread Nigel Horne
Package: vlc
Version: 1.1.3-1
Severity: normal

No audio comes out of an audio CD.  I get the mesage

Potential ALSA version problem:
VLC failed to initialize your sound output device (if any).
Please update alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to 
fix this issue.

But when I try "aptitude install alsa-lib", I get 

Couldn't find any package whose name or description matched "alsa-lib"


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vlc depends on:
ii  libaa1  1.4p5-38 ascii art library
ii  libc6   2.11.2-2 Embedded GNU C Library: Shared lib
ii  libfreetype62.4.2-2  FreeType 2 font engine, shared lib
ii  libfribidi0 0.19.2-1 Free Implementation of the Unicode
ii  libgcc1 1:4.4.4-11   GCC support library
ii  libgl1-mesa-glx [libgl1 7.7.1-4  A free implementation of the OpenG
ii  libqtcore4  4:4.6.3-1Qt 4 core module
ii  libqtgui4   4:4.6.3-1Qt 4 GUI module
ii  libsdl-image1.2 1.2.10-2+b1  image loading library for Simple D
ii  libsdl1.2debian 1.2.14-6 Simple DirectMedia Layer
ii  libstdc++6  4.4.4-11 The GNU Standard C++ Library v3
ii  libtar  1.2.11-6 C library for manipulating tar arc
ii  libvlccore4 1.1.3-1  base library for VLC and its modul
ii  libx11-62:1.3.3-3X11 client-side library
ii  libx11-xcb1 2:1.3.3-3Xlib/XCB interface library
ii  libxcb-keysyms1 0.3.6-1  utility libraries for X C Binding 
ii  libxcb-randr0   1.6-1X C Binding, randr extension
ii  libxcb-shm0 1.6-1X C Binding, shm extension
ii  libxcb-xv0  1.6-1X C Binding, xv extension
ii  libxcb1 1.6-1X C Binding
ii  libxext62:1.1.2-1X11 miscellaneous extension librar
ii  ttf-freefont20090104-7   Freefont Serif, Sans and Mono True
ii  vlc-nox 1.1.3-1  multimedia player and streamer (wi
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages vlc recommends:
pn  vlc-plugin-notify  (no description available)
ii  vlc-plugin-pulse  1.1.3-1PulseAudio plugin for VLC

Versions of packages vlc suggests:
ii  mozilla-plugin-vlc1.1.3-1multimedia plugin for web browsers
ii  videolan-doc  20070626-1 documentation for the VideoLAN str

Versions of packages vlc-nox depends on:
ii  liba52-0.7.40.7.4-14 library for decoding ATSC A/52 str
ii  libasound2  1.0.23-1 shared library for ALSA applicatio
ii  libass4 0.9.9-1  library for SSA/ASS subtitles rend
ii  libavahi-client30.6.27-2 Avahi client library
ii  libavahi-common30.6.27-2 Avahi common library
ii  libavc1394-00.5.3-1+b2   control IEEE 1394 audio/video devi
ii  libavcodec524:0.5.2-3ffmpeg codec library
ii  libavformat52   4:0.5.2-3ffmpeg file format library
ii  libavutil49 4:0.5.2-3ffmpeg utility library
ii  libc6   2.11.2-2 Embedded GNU C Library: Shared lib
ii  libcaca00.99.beta17-1colour ASCII art library
ii  libcddb21.3.2-2  library to access CDDB data - runt
ii  libcdio10   0.81-4   library to read and control CD-ROM
ii  libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii  libdc1394-222.1.2-3  high level programming interface f
ii  libdca0 0.0.5-3  decoding library for DTS Coherent 
ii  libdirac-encoder0   1.0.2-3  open and royalty free high quality
ii  libdvbpsi6  0.1.7-1  library for MPEG TS and DVB PSI ta
ii  libdvdnav4  4.1.3-7  DVD navigation library
ii  libdvdread4 4.1.3-10 library for reading DVDs
ii  libebml00.7.7-3.1access library for the EBML format
ii  libfaad22.7-4freeware Advanced Audio Decoder - 
ii  libflac81.2.1-3  Free Lossless Audio Codec - runtim
ii  libfontconfig1  2.8.0-2.1generic font configuration library
ii  libfreetype62.4.2-2  FreeType 2 font engine, shared lib
ii  libfribidi0 0.19.2-1 Free Implementation of the Unicode
ii  libgcc1 1:4.4.4-11