Bug 28639 - libsndfile 1.0.31 bugfix update (also adding missing ogg support)
Summary: libsndfile 1.0.31 bugfix update (also adding missing ogg support)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2021-03-24 21:06 CET by Dennis Griffin
Modified: 2021-03-30 22:10 CEST (History)
5 users (show)

See Also:
Source RPM: libsndfile1-1.0.30-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Dennis Griffin 2021-03-24 21:06:56 CET
Description of problem:  The pulseaudio player, paplay, plays ogg audio files in Mga7 and before but no longer does in Mga8 and cauldron.  Here is the list it plays in Mga7:

[dennis@noob ~]$ paplay --list-file-formats
aiff    AIFF (Apple/SGI)
au      AU (Sun/NeXT)
avr     AVR (Audio Visual Research)
caf     CAF (Apple Core Audio File)
flac    FLAC (Free Lossless Audio Codec)
htk     HTK (HMM Tool Kit)
iff     IFF (Amiga IFF/SVX8/SV16)
mat     MAT4 (GNU Octave 2.0 / Matlab 4.2)
mat     MAT5 (GNU Octave 2.1 / Matlab 5.0)
mpc     MPC (Akai MPC 2k)
oga     OGG (OGG Container format)
paf     PAF (Ensoniq PARIS)
pvf     PVF (Portable Voice Format)
raw     RAW (header-less)
rf64    RF64 (RIFF 64)
sd2     SD2 (Sound Designer II)
sds     SDS (Midi Sample Dump Standard)
sf      SF (Berkeley/IRCAM/CARL)
voc     VOC (Creative Labs)
w64     W64 (SoundFoundry WAVE 64)
wav     WAV (Microsoft)
wav     WAV (NIST Sphere)
wav     WAVEX (Microsoft)
wve     WVE (Psion Series 3)
xi      XI (FastTracker 2)

In Mga8 or cauldron a command like:

paplay /usr/share/sounds/KDE-Im-Connection-Lost.ogg 
will return
Failed to open audio file

There is a Fedora Forum thread that suggests the problem is with libsndfile.  See:
https://forums.fedoraforum.org/showthread.php?325639-(pulseaudio)-paplay-stopped-working&p=1844681


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 David GEIGER 2021-03-25 07:35:46 CET
Assigning to QA now,


Advisory:
========================

Our current libsndfile package doesn't support external FLAC/Ogg/Vorbis/Opus formats anymore because of a missing build requirement during build. If one of the four devel dependency is missing all external support are disable:

configure: WARNING: *** One or more of the external libraries (ie libflac, libogg and
configure: WARNING: *** libvorbis) is either missing (possibly only the development
configure: WARNING: *** headers) or is of an unsupported version.
configure: WARNING: ***
configure: WARNING: *** Unfortunately, for ease of maintenance, the external libs
configure: WARNING: *** are an all or nothing affair.

So this update fixes this issue adding the missing build dependency on opus-devel.


========================

Packages in 8/core/updates_testing:
========================
libsndfile-devel-1.0.31-1.mga8.i586.rpm
libsndfile-progs-1.0.31-1.mga8.i586.rpm
libsndfile1-1.0.31-1.mga8.i586.rpm

lib64sndfile-devel-1.0.31-1.mga8.x86_64.rpm
libsndfile-progs-1.0.31-1.mga8.x86_64.rpm
lib64sndfile1-1.0.31-1.mga8.x86_64.rpm

Source RPM: 
========================
libsndfile-1.0.31-1.mga8.src.rpm

CC: (none) => geiger.david68210
Assignee: bugsquad => qa-bugs

Comment 2 Len Lawrence 2021-03-25 18:58:31 CET
mga8, x64

Before update attempted to use paplay on a flac file and was unable to open it.

$ sndfile-play CherryOBaby.ogg
Playing .....
File contains data in an unimplemented format.
$

Updated the three files.

$ sndfile-metadata-get MatthewLocke.flac
Description            : 
Originator             : 
Origination ref        : 
UMID                   : 
Origination date       : 
Origination time       : 
Loudness value         :   0.00
Loudness range         :   0.00
Max. true peak level   :   0.00
Max. momentary level   :   0.00
Max. short term level  :   0.00
Coding history         : 
Name                   : Track 11
Copyright              : 
Artist                 : Unknown Artist
Comment                : 
Create date            : 
Album                  : Unknown Title
License                : 
$ sndfile-play MatthewLocke.flac
Playing MatthewLocke.flac
<Plays OK>
$ paplay JoyToTheWorld.ogg
<Plays fine>
$ sndfile-info JoyToTheWorld.ogg 
========================================
File : JoyToTheWorld.ogg
Length : 1569245
Ogg stream data : Vorbis
Stream serialno : 446343195
Vorbis library version : Xiph.Org libVorbis 1.3.7
Bitstream is 2 channel, 44100 Hz
Encoded by : Xiph.Org libVorbis I 20070622
PCM offset  : 0
PCM end     : 4050732
End

----------------------------------------
Sample Rate : 44100
Frames      : 4050732
Channels    : 2
Format      : 0x00200060
Sections    : 1
Seekable    : TRUE
Duration    : 00:01:31.853
Signal Max  : 0.359192 (-99.20 dB)

Tried WAVE, PAF, SND and AIFF files with sndfile-play and paplay for completeness sake and all worked.  MP3 is not supported apparently.

Whiteboard: (none) => MGA8-64-OK
CC: (none) => tarazed25

Comment 3 David Walser 2021-03-26 20:47:17 CET
Reference for the update:
https://github.com/libsndfile/libsndfile/releases/tag/1.0.31

Thank you for doing this, this was on my TODO since my freeze push didn't get through.

Summary: paplay no longer plays ogg files => libsndfile 1.0.31 bugfix update (also adding missing ogg support)
Source RPM: (none) => libsndfile1-1.0.30-1.mga8.src.rpm

Comment 4 Thomas Andrews 2021-03-26 23:42:19 CET
Validating. Advisory in Comment 1.

CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update

Aurelien Oudelet 2021-03-30 20:29:13 CEST

Keywords: (none) => advisory
CC: (none) => ouaurelien

Comment 5 Mageia Robot 2021-03-30 22:10:54 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2021-0059.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.