Bug 114372 - multimedia/gstreamer-plugins-mpeg2enc does not build
Summary: multimedia/gstreamer-plugins-mpeg2enc does not build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-multimedia mailing list
Depends on:
Reported: 2007-07-07 07:20 UTC by Dominic Fandrey
Modified: 2008-01-26 02:25 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Fandrey 2007-07-07 07:20:01 UTC
As the subject says, it doesn't build. I strongly suspect something similar to the ivorbis issue or a missing dependency. The error is exactly the same on two 6-Stable machines.

Here's the tail of the output:

 c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/local/include -I/usr/local/include/mjpegtools -I/usr/local/include/mjpegtools/mpeg2enc -I/usr/local/include/mjpegtools/mplex -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/usr/local/include/gstreamer-0.10 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -Wall -g -DGST_DISABLE_DEPRECATED -D_REENTRANT -I/usr/local/include/gstreamer-0.10 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -Wno-non-virtual-dtor -O2 -fno-strict-aliasing -pipe -march=pentium4 -O2 -MT libgstmpeg2enc_la-gstmpeg2encoder.lo -MD -MP -MF .deps/libgstmpeg2enc_la-gstmpeg2encoder.Tpo -c gstmpeg2encoder.cc  -fPIC -DPIC -o .libs/libgstmpeg2enc_la-gstmpeg2encoder.o
gstmpeg2encoder.cc: In member function `gboolean GstMpeg2Encoder::setup()':
gstmpeg2encoder.cc:66: error: cannot allocate an object of type `GstMpeg2EncPictureReader'
gstmpeg2encoder.cc:66: error:   because the following virtual functions are abstract:
/usr/local/include/mjpegtools/mpeg2enc/picturereader.hh:48: error:  virtual bool PictureReader::LoadFrame(ImagePlanes&)
gstmpeg2encoder.cc:75: error: cannot allocate an object of type `GstMpeg2EncStreamWriter'
gstmpeg2encoder.cc:75: error:   because the following virtual functions are abstract:
/usr/local/include/mjpegtools/mpeg2enc/elemstrmwriter.hh:32: error:  virtual void ElemStrmWriter::WriteOutBufferUpto(const uint8_t*, uint32_t)
/usr/local/include/mjpegtools/mpeg2enc/elemstrmwriter.hh:35: error:  virtual uint64_t ElemStrmWriter::BitCount()
gstmpeg2encoder.cc:79: error: `bitrate_controller' was not declared in this scope
gstmpeg2encoder.cc:79: error: `OnTheFlyRateCtl' has not been declared
gstmpeg2encoder.cc:85: error: `MPEG2Coder' has not been declared
gstmpeg2encoder.cc: In member function `void GstMpeg2Encoder::encode()':
gstmpeg2encoder.cc:119: error: 'class SeqEncoder' has no member named 'Encode'
gmake: *** [libgstmpeg2enc_la-gstmpeg2encoder.lo] Error 1
*** Error code 2

Stop in /usr/ports/multimedia/gstreamer-plugins-mpeg2enc.

How-To-Repeat: Just try to build multimedia/gstreamer-plugins-mpeg2enc.
Comment 1 Edwin Groothuis freebsd_committer 2007-07-07 07:20:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-multimedia

Over to maintainer
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2008-01-26 02:25:01 UTC
State Changed
From-To: open->closed

Port has been marked BROKEN, so the maintainers will get nagged about 
it by portsmon.  Thanks for the submission :-)