Re: Re: [RPM] cooker contrib/release avidemux-2.5.6-1

Andrey Bondrov <[email protected]>
Newsgroups gmane.linux.mandrake.cooker.devel
Message-ID <[email protected]>
20.01.2012 03:05, Per Øyvind Karlsen пишет:
> Den 19:10 18. januar 2012 skrev Andrey Bondrov<[email protected]>  følgende:
>> Name        : avidemux                     Relocations: (not relocatable)
>> Version     : 2.5.6                             Vendor: Mandriva
>> Release     : 1                             Build Date: Wed Jan 18 18:45:52 2012
>> Install Date: (not installed)               Build Host: n8.mandriva.com
>> Group       : Video                         Source RPM: (none)
>> Size        : 19919771      License: GPLv2+
>> Signature   : DSA/SHA1, Wed Jan 18 18:45:52 2012, Key ID 56594e3d4521d97f
>> Packager    : Andrey Bondrov<[email protected]>
>> URL         : http://fixounet.free.fr/avidemux
>> Summary     : A free video editor
>> Description :
>> Avidemux is a free video editor designed for simple cutting,
>> filtering and encoding tasks.It supports many file types, including
>> AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of
>> codecs. Tasks can be automated using projects, job queue and
>> powerful scripting capabilities.
>>
>> Andrey Bondrov<[email protected]>  2.5.6-1mdv2012.0:
>> + Revision: 762188
>> - Don't use parallel build
>> - Update BuildRequires due to library Provides changes in Cooker
>> - Build with internal ffmpeg 0.9.1 instead of 0.9, use patch 8 for that
> Why?

With 0.9 it fails to build for me:

-------------
[ 36%] Building CXX object avidemux/CMakeFiles/avidemux2_cli.dir/main.cpp.o
[ 36%] Building CXX object 
avidemux/CMakeFiles/avidemux2_cli.dir/gui_action.cpp.o
Linking CXX executable avidemux2_cli
ADM_infoExtractor/libADM_infoExtractor_cli.a(ADM_infoextractor_h264.cpp.o): 
In function `get_se_golomb':
/rpmbuild/BUILD/avidemux_2.5.6/avidemux/ADM_libraries/ffmpeg/libavcodec/golomb.h:183: 
undefined reference to `ff_se_golomb_vlc_code'
collect2: ld returned 1 exit status
make[2]: *** [avidemux/avidemux2_cli] Error 1
make[1]: *** [avidemux/CMakeFiles/avidemux2_cli.dir/all] Error 2
make: *** [all] Error 2
-------------

I didn't find why. Makefiles look fine but the linkage fails, golomb.o 
is not properly added or something like that. After wasting whole 
evening I switched to 0.9.1 and the problem was solved. Now the packages 
are backported to MIB repos for testing.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.