Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2184 - gst-plugins-musepack

Attached to Project: Arch Linux
Opened by Matt Hewitt (rudefyet) - Friday, 11 February 2005, 20:57 GMT
Last edited by Dale Blount (dale) - Friday, 11 February 2005, 21:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

This package fails to build via ABS.

Also when installing the precompiled package, gst-register fails to recognize the plugin rendering it useless.

The compile error is as follows:

PIC -DPIC -o .libs/libgstmusepack_la-gstmusepackdec.o
In file included from gstmusepackdec.cpp:24:
gstmusepackdec.h:25:30: musepack/mpc_dec.h: No such file or directory
In file included from gstmusepackdec.h:26,
from gstmusepackdec.cpp:24:
gstmusepackreader.h:26: error: expected class-name before '{' token
gstmusepackreader.h:31: error: `mpc_int32_t' does not name a type
gstmusepackreader.h:32: error: `mpc_int32_t' has not been declared
gstmusepackreader.h:32: error: ISO C++ forbids declaration of `offset' with
ype
gstmusepackreader.h:33: error: `mpc_int32_t' does not name a type
gstmusepackreader.h:34: error: `mpc_int32_t' does not name a type
In file included from gstmusepackdec.cpp:24:
gstmusepackdec.h:51: error: ISO C++ forbids declaration of `MPC_decoder' wi
type
gstmusepackdec.h:51: error: expected `;' before '*' token
gstmusepackdec.cpp: In function `void gst_musepackdec_init(GstMusepackDec*)
gstmusepackdec.cpp:136: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp: In function `gboolean gst_musepackdec_src_query(GstPad*
QueryType, GstFormat*, gint64*)':
gstmusepackdec.cpp:276: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp: In function `gboolean gst_musepackdec_src_convert(GstPa
stFormat, gint64, GstFormat*, gint64*)':
gstmusepackdec.cpp:305: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp: In function `gboolean gst_musepack_stream_init(GstMusep
c*)':
gstmusepackdec.cpp:364: error: `StreamInfo' undeclared (first use this func
gstmusepackdec.cpp:364: error: (Each undeclared identifier is reported only
for each function it appears in.)
gstmusepackdec.cpp:364: error: expected `;' before "si"
gstmusepackdec.cpp:367: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:368: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:371: error: `si' undeclared (first use this function)
gstmusepackdec.cpp:371: error: `ERROR_CODE_OK' undeclared (first use this f
on)
gstmusepackdec.cpp:377: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:377: error: `MPC_decoder' has not been declared
gstmusepackdec.cpp:378: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:385: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:388: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:389: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:400: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:401: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp: In function `void gst_musepackdec_loop(GstElement*)':
gstmusepackdec.cpp:421: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:430: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:447: error: `MPC_decoder' has not been declared
gstmusepackdec.cpp:447: error: `DecodeBufferLength' undeclared (first use t
unction)
gstmusepackdec.cpp:448: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:448: error: `MPC_SAMPLE_FORMAT' undeclared (first use th
nction)
gstmusepackdec.cpp:448: error: expected primary-expression before ')' token
gstmusepackdec.cpp: In function `GstElementStateReturn gst_musepackdec_chan
ate(GstElement*)':
gstmusepackdec.cpp:483: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:485: error: 'struct _GstMusepackDec' has no member named
'
gstmusepackdec.cpp:486: error: 'struct _GstMusepackDec' has no member named
'
make: *** [libgstmusepack_la-gstmusepackdec.lo] Error 1
==> ERROR: Build Failed. Aborting...


I rely on musepack for all my audio, so please fix this.


This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 11 February 2005, 22:33 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Not a bug in arch, when gst-plugins is updated the libmusepack maintainer will get an ok from me, or I will upgrade it myself.
Comment by Jan de Groot (JGC) - Friday, 11 February 2005, 21:05 GMT
Hmm, I asked the musepack maintainer to keep the lib on hold, no we have a broken gst-plugins-musepack.
This will get fixed with the next gst-plugins release, nothing sooner, because the musepack library has been ported to pure C and all backwards compatibility is b0rken.
Comment by Matt Hewitt (rudefyet) - Friday, 11 February 2005, 21:31 GMT
I pretty sure i know the cause now

I've created a newer libmusepack (1.1) package via ABS since the procompiled one was outdated (1.0.3.1).

The newer libmusepack doesn't have the mpc_dec.h file, the headers are completely different, therefore causing that error :/

I'll test and see if the mpp_dec.h was just renamed to something else, other than that I'll have to wait for the next gst-plugins release

Loading...