Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318855 - media-plugins/gst-plugins-mpeg2dec-0.10.12 fails to build, needs >= libmpeg2-0.5.1
Summary: media-plugins/gst-plugins-mpeg2dec-0.10.12 fails to build, needs >= libmpeg2-...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 11:28 UTC by Tiago Marques
Modified: 2010-12-28 16:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Marques 2010-05-07 11:28:54 UTC
* Building external plugin ...
make -j1
  CC    gstmpeg2dec.o
In file included from gstmpeg2dec.c:27:
gstmpeg2dec.h:27:19: error: mpeg2.h: No such file or directory
In file included from gstmpeg2dec.c:27:
gstmpeg2dec.h:72: error: expected specifier-qualifier-list before ‘mpeg2dec_t’
gstmpeg2dec.c:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mpeg2_picture_t’
gstmpeg2dec.c: In function ‘gst_mpeg2dec_init’:
gstmpeg2dec.c:236: error: ‘GstMpeg2dec’ has no member named ‘error_count’
gstmpeg2dec.c:237: error: ‘GstMpeg2dec’ has no member named 
...
...
gstmpeg2dec.c:1836: error: ‘GstMpeg2dec’ has no member named ‘decoder’
gstmpeg2dec.c:1837: error: ‘GstMpeg2dec’ has no member named ‘info’
make: *** [libgstmpeg2dec_la-gstmpeg2dec.lo] Error 1
 *
 * ERROR: media-plugins/gst-plugins-mpeg2dec-0.10.12 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2366:  Called gst-plugins-ugly_src_compile
 *             environment, line 1734:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/media-plugins/gst-plugins-mpeg2dec-0.10.12/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/media-plugins/gst-plugins-mpeg2dec-0.10.12/temp/environment'.
 *

>>> Failed to emerge media-plugins/gst-plugins-mpeg2dec-0.10.12, Log file:

>>>  '/tmp/portage/media-plugins/gst-plugins-mpeg2dec-0.10.12/temp/build.log'

 * Messages for package media-plugins/gst-plugins-mpeg2dec-0.10.12:

 *
 * ERROR: media-plugins/gst-plugins-mpeg2dec-0.10.12 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2366:  Called gst-plugins-ugly_src_compile
 *             environment, line 1734:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/media-plugins/gst-plugins-mpeg2dec-0.10.12/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/media-plugins/gst-plugins-mpeg2dec-0.10.12/temp/environment'.
 *
-------------------------------------------------------------------------

This is happening to me with 0.10.12 and 0.10.13.
I bumped libmpeg2 myself up to 0.5.1 from 0.4.1 and now it compiles fine. Please add the version check to the ebuild.

Best regards

Reproducible: Always
Comment 1 Mart Raudsepp gentoo-dev 2010-12-28 16:58:11 UTC
0.10.13 and 0.10.16 compile fine against libmpeg2-0.4.1 for me... hopefully a temporary glitch on your system (not having proper include paths, it seems, as it didn't find mpeg2.h), or fixed since 0.10.13