[SCM] mpg123/master: Fix the failures to open the modules due to the removal of the .la files.

micove-guest at users.alioth.debian.org micove-guest at users.alioth.debian.org
Fri Mar 30 05:03:00 UTC 2012


The following commit has been merged in the master branch:
commit 486acf50a943febe0679f01830fa879965225056
Author: Miguel Colon <debian.micove at gmail.com>
Date:   Fri Mar 30 00:57:20 2012 -0400

    Fix the failures to open the modules due to the removal of the .la files.
    
    Problem:
    [module.c:142] error: Failed to open module alsa: file not found
    [module.c:142] error: Failed to open module oss: file not found
    [module.c:142] error: Failed to open module jack: file not found
    [module.c:142] error: Failed to open module portaudio: file not found
    [module.c:142] error: Failed to open module pulse: file not found
    [module.c:142] error: Failed to open module nas: file not found
    [module.c:142] error: Failed to open module openal: file not found
    [audio.c:180] error: Unable to find a working output module in this list: alsa,oss,jack,portaudio,pulse,nas,openal
    [audio.c:496] error: Failed to open audio output module.
    [audio.c:540] error: Buffer process didn't initialize!
    [mpg123.c:869] error: Failed to initialize output, goodbye.
    .
    Using -vv and reading src/module.c we see the cause:
    Trying output module alsa.
    Using default module dir: /usr/lib/x86_64-linux-gnu/mpg123
    Module dir: /usr/lib/x86_64-linux-gnu/mpg123
    Module path: ./output_alsa.la
    [module.c:142] error: Failed to open module alsa: file not found
    .
    Since we removed the .la files we need MODULE_FILE_SUFFIX=.so in module.c

diff --git a/debian/rules b/debian/rules
index dc6fa69..bc8a8cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,8 @@ ifeq ($(OS),linux)
 WRAPPER_TARGETS += mpg123-alsa
 endif
 
-CONF_COMMON:=--enable-static=no --enable-shared --enable-lfs-alias
+CONF_COMMON:=--enable-static=no --enable-shared --enable-lfs-alias \
+	--with-module-suffix=.so
 
 CONF_i486:=--with-cpu=x86_dither
 ifeq ($(ARCH),armel)

-- 
mpg123 packaging



More information about the pkg-multimedia-commits mailing list