xbmc compile fail with DllAvFormat
#1
esa1966 Wrote:Hi,

XBMC is running fine on my system.

But when I do a "emerge -auDNv world" xbmc fails to compile.

I don't know if this is the cause, but I give some changes that has been done on my system

1) I have deactived the global thread use flag in make.conf.
2) Perl has also been upgraded : perl-5.12.4-r1 to perl-5.16.3

An emerge --resume have succesfully compiled 233 packages.
at the end all packages are compiled except xbmc.

emerge -av xbmc gives :

Code:
Calculating dependencies... done!
[ebuild   R    ] media-tv/xbmc-12.2-r1  USE="X alsa cec mysql opengl pvr rtmp sdl sse sse2 usb vdpau webserver xrandr -airplay (-altivec) -avahi -bluetooth -bluray -caps -css -debug -gles -goom -java -joystick -midi (-neon) -nfs -profile -projectm -pulseaudio -rsxs -samba -sftp -udisks% -upnp -upower% -vaapi (-udev%*)" PYTHON_SINGLE_TARGET="python2_7 (-python2_6%)" PYTHON_TARGETS="python2_7 (-python2_6%)" 0 kB


CC      lib/libhts/net_posix.o
libXDAAP.c: In function ‘DAAP_ClientHost_AsyncGetAudioFile’:
libXDAAP.c:1678:33: warning: passing argument 1 of ‘CP_ThreadPool_QueueWorkItem’ from incompatible pointer type [enabled by default]
                                 (void*)pCHThis, (void*)pGetFile);
                                 ^
In file included from libXDAAP.c:62:0:
threadpool.h:48:6: note: expected ‘struct CP_SThreadPool *’ but argument is of type ‘struct CP_SThreadPool *’
void CP_ThreadPool_QueueWorkItem(CP_SThreadPool *pTPThis,
      ^
libXDAAP.c: In function ‘DAAP_ClientHost_AsyncWaitUpdate’:
libXDAAP.c:1833:37: warning: passing argument 1 of ‘CP_ThreadPool_QueueWorkItem’ from incompatible pointer type [enabled by default]
                                     (void*)pCHThis->parent->update_watch, NULL);
                                     ^
In file included from libXDAAP.c:62:0:
threadpool.h:48:6: note: expected ‘struct CP_SThreadPool *’ but argument is of type ‘struct CP_SThreadPool *’
void CP_ThreadPool_QueueWorkItem(CP_SThreadPool *pTPThis,
      ^
libXDAAP.c:1846:33: warning: passing argument 1 of ‘CP_ThreadPool_QueueWorkItem’ from incompatible pointer type [enabled by default]
                                 (void*)pCHThis, NULL);
                                 ^
In file included from libXDAAP.c:62:0:
threadpool.h:48:6: note: expected ‘struct CP_SThreadPool *’ but argument is of type ‘struct CP_SThreadPool *’
void CP_ThreadPool_QueueWorkItem(CP_SThreadPool *pTPThis,
      ^
CC      lib/libhts/sha1.o
AR      lib/libhts/libhts.a
CC      xbmc/cores/DllLoader/mmap_anon.o
CC      lib/libXDAAP/threadpool.o
CC      xbmc/cores/DllLoader/ldt_keeper.o
CC      lib/libXDAAP/Authentication/hasher.o
CC      lib/libXDAAP/Authentication/md5.o
AR      xbmc/cores/DllLoader/dllloader.a
CPP     lib/libsquish/alpha.o
CPP     lib/libsquish/clusterfit.o
AR      lib/libXDAAP/libxdaap.a
CC      lib/xbmc-dll-symbols/DllAvFormat.o
CPP     lib/libsquish/colourblock.o
DllAvFormat.c: In function ‘av_read_frame_flush’:
DllAvFormat.c:113:11: error: ‘AVStream’ has no member named ‘reference_dts’
         st->reference_dts = AV_NOPTS_VALUE;
           ^
make[1]: *** [DllAvFormat.o] Error 1
make: *** [lib/xbmc-dll-symbols/dll-symbols.a] Error 2
Complete build is here : http://pastebin.com/PJrNaEfL

I also check : equery hasuse threads
Code:
* Searching for USE flag threads ...
[IP-] [  ] app-arch/xz-utils-5.0.5-r1:0
[IP-] [  ] app-crypt/mit-krb5-1.12.1-r1:0
[IP-] [  ] dev-lang/php-5.5.14:5.5
[IP-] [  ] dev-lang/python-2.7.8-r1000:2.7
[IP-] [  ] dev-lang/python-3.2.5-r1000:3.2
[IP-] [  ] dev-lang/python-3.3.5-r1000:3.3
[IP-] [  ] dev-libs/boost-1.53.0-r1000:0/1.53.0
[IP-] [  ] dev-libs/elfutils-0.158:0
[IP-] [  ] dev-libs/libevent-2.0.21-r1:0
[IP-] [  ] dev-libs/libverto-0.2.5-r1:0
[I--] [??] dev-scheme/guile-1.8.8-r2:12
[IP-] [  ] dev-vcs/git-1.8.5.5:0
[IP-] [  ] media-libs/x264-0.0.20140308:0/142
[IP-] [  ] media-libs/xvid-1.3.3:0
[IP-] [  ] media-video/ffmpeg-2.2.4:0/52.55.55
[IP-] [  ] net-misc/curl-7.37.0:0
[IP-] [  ] net-print/cups-1.7.4-r1:0
[IP-] [  ] sci-libs/fftw-3.3.3-r2:3.0
[IP-] [  ] sci-libs/hdf5-1.8.10:0
[IP-] [  ] virtual/ffmpeg-9-r1:0
[IP-] [  ] www-servers/apache-2.4.9-r3:2
[IP-] [  ] x11-misc/x11vnc-0.9.13:
media-video/ffmpeg is also concerning with this flag.

But, I realize that two packages are installed concerning ffmpeg :
virtual/ffmpeg-9-r1
media-video/ffmpeg

And the two packages are refering to xbmc :

Code:
equery depends virtual/ffmpeg
* These packages depend on virtual/ffmpeg:
media-tv/xbmc-12.2-r1 (>=virtual/ffmpeg-0.6[encode])
                      (virtual/ffmpeg[vdpau])


Code:
equery depends media-video/ffmpeg
* These packages depend on media-video/ffmpeg:
media-tv/xbmc-12.2-r1 (media-video/ffmpeg:0)
virtual/ffmpeg-9-r1 (>=media-video/ffmpeg-1.0:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,X?,encode?,gsm?,jpeg2k?,mp3?,opus?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?])

Nvidia Drivers has been done a few weeks ago :x11-drivers/nvidia-drivers-337.25 [334.21-r3]

Can you help me ?

Best Regards
Reply
#2
Not our bug ... gentoo patches out or internal ffmpeg, complain with them.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc compile fail with DllAvFormat0