Bug#691682: dvbcut fails to build

lee lee at yun.yagibdah.de
Sun Oct 28 16:43:19 UTC 2012


Package: dvbcut
Version: 0.5.4+svn178-2
Severity: minor

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***


   * What led up to the situation?

,----
| apt-get build-dep dvbcut
| apt-get source dvbcut
| cd dvbcut-0.5.4+svn178
| debuild -us -uc
`----


   * What was the outcome of this action?

Building fails with a number of errors:


,----
| [...]
| lavfmuxer.cpp: In constructor ‘lavfmuxer::lavfmuxer(const char*, uint32_t, mpgfile&, const char*)’:
| lavfmuxer.cpp:46:9: error: ‘AVFormatContext’ has no member named ‘preload’
| lavfmuxer.cpp:48:9: error: ‘AVFormatContext’ has no member named ‘mux_rate’
| [...]
| lavfmuxer.cpp:118:36: error: ‘av_set_parameters’ was not declared in this scope
| lavfmuxer.cpp:118:109: error: ‘URL_WRONLY’ was not declared in this scope
| lavfmuxer.cpp:118:119: error: ‘url_fopen’ was not declared in this scope
| lavfmuxer.cpp:123:9: error: ‘AVFormatContext’ has no member named ‘preload’
| lavfmuxer.cpp:125:9: error: ‘AVFormatContext’ has no member named ‘mux_rate’
| lavfmuxer.cpp:128:35: error: ‘dump_format’ was not declared in this scope
| lavfmuxer.cpp:130:23: error: ‘av_write_header’ was not declared in this scope
| lavfmuxer.cpp: In destructor ‘virtual lavfmuxer::~lavfmuxer()’:
| lavfmuxer.cpp:141:28: error: ‘url_fclose’ was not declared in this scope
`----


See also http://lists.debian.org/debian-user/2012/10/msg01190.html

As far as I can see:


,---- [ lavfmuxer.cpp, lines 34--46 ]
| lavfmuxer::lavfmuxer(const char *format, uint32_t audiostreammask, mpgfile &mpg, const char *filename)
|     : muxer(), avfc(0), fileopened(false)
|   {
|   fmt = av_guess_format(format, NULL, NULL);
|   if (!fmt) {
|     return;
|     }
| 
|   avfc=avformat_alloc_context();
|   if (!avfc)
|     return;
| 
|   avfc->preload= (int)(.5*AV_TIME_BASE);
`----


avfc turns up declared as something like AVFormatContext *avfc in
lavfmuxer.h.  When I look at /usr/include/libavformat/avformat.h,
AVFormatContext seems to be a struct the definition of which I can't
find.

So perhaps there's a problem with the dependencies and I'm using a
different version of libavformat than is needed to compile dvbcut.
Having the build-deps installed, that shouldn't happen, I guess.

But then, I have packages from dmo which I have because cinelerra is
not available in Debian and my attempts to compile it failed.
However, see http://lists.debian.org/debian-user/2012/10/msg01203.html


*** End of the template - remove these lines ***


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dvbcut depends on:
ii  liba52-0.7.4       0.7.4-16
ii  libao4             1.1.0-2
ii  libavcodec53       7:0.10.3-dmo1
ii  libavformat53      7:0.10.3-dmo1
ii  libavutil51        7:1.0-dmo1
ii  libc6              2.13-35
ii  libgcc1            1:4.7.1-7
ii  libmad0            0.15.1b-7
ii  libqt4-network     4:4.8.2+dfsg-2
ii  libqt4-qt3support  4:4.8.2+dfsg-2
ii  libqt4-sql         4:4.8.2+dfsg-2
ii  libqt4-xml         4:4.8.2+dfsg-2
ii  libqtcore4         4:4.8.2+dfsg-2
ii  libqtgui4          4:4.8.2+dfsg-2
ii  libstdc++6         4.7.1-7
ii  libswscale2        7:1.0-dmo1

Versions of packages dvbcut recommends:
ii  mplayer2 [mplayer]  1:2.0~git20120817-dmo1

dvbcut suggests no packages.

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list