Bug#720691: clam-chordata: FTBFS: error: cannot allocate an object of abstract type 'CLAM::Segmentation'

Daniel Schepler dschepler at gmail.com
Sat Aug 24 15:23:57 UTC 2013


Source: clam-chordata
Version: 1.0.0-2
Severity: serious

>From my pbuilder build log, using a version of clam with #701257 fixed:

...
== Compiling C++ src/MainWindow.cxx
In file included from /usr/include/c++/4.8/vector:64:0,
                 from /usr/include/qt4/QtCore/qvector.h:52,
                 from /usr/include/qt4/QtGui/qbrush.h:47,
                 from /usr/include/qt4/QtGui/qpalette.h:47,
                 from /usr/include/qt4/QtGui/qwidget.h:50,
                 from /usr/include/qt4/QtGui/qaction.h:47,
                 from /usr/include/qt4/QtGui/QAction:1,
                 from src/generated/ui_MainWindow.hxx:13,
                 from src/MainWindow.hxx:20,
                 from src/MainWindow.cxx:17:
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of 'class std::vector<CLAM::Segmentation, std::allocator<CLAM::Segmentation> >':
/usr/include/CLAM/PhantomBuffer.hxx:88:18:   required from 'class CLAM::PhantomBuffer<CLAM::Segmentation>'
/usr/include/CLAM/StreamImpl.hxx:165:23:   required from 'class CLAM::StreamImpl<CLAM::Segmentation, CLAM::PhantomBuffer>'
/usr/include/CLAM/WritingRegion.hxx:104:16:   required from 'class CLAM::WritingRegion<CLAM::Segmentation, CLAM::PhantomBuffer>'
/usr/include/CLAM/OutPort.hxx:116:22:   required from 'class CLAM::OutPort<CLAM::Segmentation>'
src/MainWindow.cxx:437:143:   required from here
/usr/include/c++/4.8/bits/stl_vector.h:704:7: error: cannot allocate an object of abstract type 'CLAM::Segmentation'
       resize(size_type __new_size, value_type __x = value_type())
       ^
In file included from /usr/include/CLAM/qtmonitors/SegmentationDataSource.hxx:27:0,
                 from src/PoolSegmentationDataSource.hxx:25,
                 from src/MainWindow.hxx:28,
                 from src/MainWindow.cxx:17:
/usr/include/CLAM/Segmentation.hxx:14:8: note:   because the following virtual functions are pure within 'CLAM::Segmentation':
  class Segmentation : public Component 
        ^
/usr/include/CLAM/Segmentation.hxx:38:20: note:         virtual unsigned int CLAM::Segmentation::insert(double)
   virtual unsigned insert(double timePosition)=0;
                    ^
/usr/include/CLAM/Segmentation.hxx:45:16: note:         virtual void CLAM::Segmentation::remove(unsigned int)
   virtual void remove(unsigned segment)=0;
                ^
/usr/include/CLAM/Segmentation.hxx:52:20: note:         virtual unsigned int CLAM::Segmentation::pickOffset(double, double) const
   virtual unsigned pickOffset(double timePosition, double tolerance) const=0;
                    ^
/usr/include/CLAM/Segmentation.hxx:59:20: note:         virtual unsigned int CLAM::Segmentation::pickOnset(double, double) const
   virtual unsigned pickOnset(double timePosition, double tolerance) const=0;
                    ^
/usr/include/CLAM/Segmentation.hxx:63:20: note:         virtual unsigned int CLAM::Segmentation::pickSegmentBody(double) const
   virtual unsigned pickSegmentBody(double timePosition) const=0;
                    ^
/usr/include/CLAM/Segmentation.hxx:69:16: note:         virtual void CLAM::Segmentation::dragOnset(unsigned int, double)
   virtual void dragOnset(unsigned segment, double newTimePosition)=0;
                ^
/usr/include/CLAM/Segmentation.hxx:75:16: note:         virtual void CLAM::Segmentation::dragOffset(unsigned int, double)
   virtual void dragOffset(unsigned segment, double newTimePosition)=0;
                ^
/usr/include/CLAM/Segmentation.hxx:77:16: note:         virtual void CLAM::Segmentation::fillArray(CLAM::DataArray&) const
   virtual void fillArray(DataArray& segmentation) const =0;
                ^
/usr/include/CLAM/Segmentation.hxx:81:16: note:         virtual void CLAM::Segmentation::takeArray(const TData*, const TData*)
   virtual void takeArray(const TData * begin, const TData * end) =0;
                ^
scons: *** [src/generated/MainWindow.o] Error 1
scons: building terminated because of errors.
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/tmp/buildd/clam-chordata-1.0.0'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



More information about the pkg-multimedia-maintainers mailing list