Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268654 - media-video/vlc-0.9.8a can not be compiled with media-libs/x264-0.0.20090502 because some options were renamed or removed
Summary: media-video/vlc-0.9.8a can not be compiled with media-libs/x264-0.0.20090502 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-04 19:41 UTC by Nikoli
Modified: 2009-05-04 21:03 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 Nikoli 2009-05-04 19:41:30 UTC
vlc 0.9.8a and the latest x264 1145 are not compatible 

Reproducible: Always




/bin/sh ../../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99 `top_builddir="../.." ../../vlc-config --cflags plugin libadpcm_plugin.la` -march=core2 -O2 -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -rpath '/usr/lib64/vlc/codec' -avoid-version -module -no-undefined -export-symbol-regex ^vlc_entry -shrext .so `top_builddir="../.." ../../vlc-config --ldflags plugin libadpcm_plugin.la` -Wl,-O1 -o libadpcm_plugin.la  libadpcm_plugin_la-adpcm.lo  `top_builddir="../.." ../../vlc-config -libs plugin libadpcm_plugin.la` ../../src/libvlccore.la                                                                                                                           
x264.c: В функции ‘Open’:                                                                                                                                     
x264.c:962: ошибка: ‘x264_param_t’ не содержит элемента с именем ‘b_pre_scenecut’                                                                             
x264.c:1127: ошибка: ‘struct <anonymous>’ не содержит элемента с именем ‘i_direct_8x8_inference’                                                              
make[5]: *** [libx264_plugin_la-x264.lo] Ошибка 1                                                                                                             
make[5]: *** Ожидание завершения заданий...                                                                                                                   
x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/liba52_plugin_la-a52.o  -Wl,--rpath -Wl,/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/src/.libs -lpthread ../../src/.libs/libvlccore.so -L/usr/lib64  -march=core2 -Wl,-O1 -Wl,-soname -Wl,liba52_plugin.so -o .libs/liba52_plugin.so       
creating liba52_plugin.la                                                                                                                                     
 x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=theora -DMODULE_NAME_IS_theora -DMODULE_STRING=\"theora\" -O0 -march=core2 -O2 -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libtheora_plugin_la-theora.lo -MD -MP -MF .deps/libtheora_plugin_la-theora.Tpo -c theora.c  -fPIC -DPIC -o .libs/libtheora_plugin_la-theora.o                   
theora.c: В функции ‘theora_CopyPicture’:                                                                                                                     
theora.c:559: предупреждение: параметр ‘p_dec’ не используется                                                                                                
x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libadpcm_plugin_la-adpcm.o  -Wl,--rpath -Wl,/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/src/.libs -lpthread ../../src/.libs/libvlccore.so -L/usr/lib64  -march=core2 -Wl,-O1 -Wl,-soname -Wl,libadpcm_plugin.so -o .libs/libadpcm_plugin.so                                                                                                                                                             
(cd .libs && rm -f liba52_plugin.la && ln -s ../liba52_plugin.la liba52_plugin.la)                                                                            
creating libadpcm_plugin.la                                                                                                                                   
mv -f .deps/libtheora_plugin_la-theora.Tpo .deps/libtheora_plugin_la-theora.Plo                                                                               
(cd .libs && rm -f libadpcm_plugin.la && ln -s ../libadpcm_plugin.la libadpcm_plugin.la)                                                                      
make[5]: Leaving directory `/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/modules/codec'                                        
make[4]: *** [all-recursive] Ошибка 1                                                                                                                         
make[4]: Leaving directory `/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/modules/codec'                                        
make[3]: *** [all] Ошибка 2                                                                                                                                   
make[3]: Leaving directory `/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/modules/codec'                                        
make[2]: *** [all-recursive] Ошибка 1                                                                                                                         
make[2]: Leaving directory `/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/modules'                                              
make[1]: *** [all-recursive] Ошибка 1                                                                                                                         
make[1]: Leaving directory `/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a'                                                      
make: *** [all] Ошибка 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-04 19:50:47 UTC
You may want to do:
LC_ALL=C emerge -1 vlc
and post the output from that. My Russian is a bit rusty: Za zdorovie, Tovarisch!
Comment 2 Nikoli 2009-05-04 20:05:04 UTC
:) started emerging, the problem is in changing this options:
diff x264-longhelp_1*
1c1
< x264 core:65 r0+1057 5f8a149
---
> x264 core:67 r1145M d2e1e1c
20a21
>       --no-scenecut           Disable adaptive I-frame decision
22,23d22
<       --pre-scenecut          Faster, less precise scenecut detection.
<                                   Required and implied by multi-threading.
75c74,76
<       --qpfile <string>       Force frametypes and QPs
---
>       --qpfile <string>       Force frametypes and QPs for some or all frames
>                               Format of each line: framenumber frametype QP
>                               QP of -1 lets x264 choose. Frametypes: I,i,P,B,b.
85,88d85
<       --direct-8x8 <-1|0|1>   Direct prediction size [1]
<                                   -  0: 4x4
<                                   -  1: 8x8
<                                   - -1: smallest possible according to level
Comment 3 Nikoli 2009-05-04 20:05:40 UTC
/bin/sh ../../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99 `top_builddir="../.." ../../vlc-config --cflags plugin libaraw_plugin.la` -march=core2 -O2 -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -rpath '/usr/lib64/vlc/codec' -avoid-version -module -no-undefined -export-symbol-regex ^vlc_entry -shrext .so `top_builddir="../.." ../../vlc-config --ldflags plugin libaraw_plugin.la` -Wl,-O1 -o libaraw_plugin.la  libaraw_plugin_la-araw.lo  `top_builddir="../.." ../../vlc-config -libs plugin libaraw_plugin.la` ../../src/libvlccore.la                                                                                                                                 
x264.c: In function 'Open':                                                                                                                                   
x264.c:962: error: 'x264_param_t' has no member named 'b_pre_scenecut'                                                                                        
x264.c:1127: error: 'struct <anonymous>' has no member named 'i_direct_8x8_inference'                                                                         
make[5]: *** [libx264_plugin_la-x264.lo] Error 1                                                                                                              
make[5]: *** Waiting for unfinished jobs....                                                                                                                  
x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/liba52_plugin_la-a52.o  -Wl,--rpath -Wl,/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/src/.libs -lpthread ../../src/.libs/libvlccore.so -L/usr/lib64  -march=core2 -Wl,-O1 -Wl,-soname -Wl,liba52_plugin.so -o .libs/liba52_plugin.so       
creating liba52_plugin.la                                                                                                                                     
x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libadpcm_plugin_la-adpcm.o  -Wl,--rpath -Wl,/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/src/.libs -lpthread ../../src/.libs/libvlccore.so -L/usr/lib64  -march=core2 -Wl,-O1 -Wl,-soname -Wl,libadpcm_plugin.so -o .libs/libadpcm_plugin.so                                                                                                                                                             
creating libadpcm_plugin.la                                                                                                                                   
(cd .libs && rm -f liba52_plugin.la && ln -s ../liba52_plugin.la liba52_plugin.la)                                                                            
x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libaraw_plugin_la-araw.o  -Wl,--rpath -Wl,/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/src/.libs -lpthread ../../src/.libs/libvlccore.so -L/usr/lib64  -march=core2 -Wl,-O1 -Wl,-soname -Wl,libaraw_plugin.so -o .libs/libaraw_plugin.so   
creating libaraw_plugin.la                                                                                                                                    
(cd .libs && rm -f libadpcm_plugin.la && ln -s ../libadpcm_plugin.la libadpcm_plugin.la)                                                                      
(cd .libs && rm -f libaraw_plugin.la && ln -s ../libaraw_plugin.la libaraw_plugin.la)                                                                         
make[5]: Leaving directory `/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/modules/codec'                                        
make[4]: *** [all-recursive] Error 1                                                                                                                          
make[4]: Leaving directory `/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/modules/codec'                                        
make[3]: *** [all] Error 2                                                                                                                                    
make[3]: Leaving directory `/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/modules/codec'                                        
make[2]: *** [all-recursive] Error 1                                                                                                                          
make[2]: Leaving directory `/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a/modules'                                              
make[1]: *** [all-recursive] Error 1                                                                                                                          
make[1]: Leaving directory `/mnt/data/Media/temp/portage/portage/media-video/vlc-0.9.8a/work/vlc-0.9.8a'                                                      
make: *** [all] Error 2
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-04 21:03:24 UTC
Changed the dep in 0.9.8a to be <media-libs/x264-0.0.20090502 0.9.9a builds with media-libs/x264-0.0.20090502, no problems.

+  04 May 2009; Peter Alfredsen <loki_val@gentoo.org> vlc-0.9.8a.ebuild:
+  Adjust deps for x264 for bug 268654. Require <media-libs/x264-0.0.20090502
+  for USE=x264
+