couldn't rebuild k3b-1.65.0-1.fc12.src.rpm for F10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/28/2009 03:43 PM, Martin Gansser wrote:
> I tried to rebuild k3b-1.65.0-1.fc12.src.rpm for F10, but it fails with
> the following error message: "didn't find new ffmpegcodecpath"
>
>
> Steps to Reproduce:
> rpmbuild --rebuild --define 'dist .fc10' --define 'fedora 10'
> k3b-1.65.0-1.fc12.src.rpm
>
> Actual results:
> /usr/bin/cmake -E cmake_progress_report
> /usr/src/redhat/BUILD/k3b-1.65.0/i386-redhat-linux-gnu/CMakeFiles 89 [
> 89%] Building CXX object
> plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegdecoder.
> o
> cd
> /usr/src/redhat/BUILD/k3b-1.65.0/i386-redhat-linux-gnu/plugins/decoder/f
> fmpeg
> &&  /usr/lib/ccache/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
> -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -Dk3bffmpegdecoder_EXPORTS -O2 -g
> -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables  -Wnon-virtual-dtor -Wno-long-long -ansi
> -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
> -Wformat-security -fno-exceptions -fno-check-new -fno-common
> -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden
> -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC
> -I/usr/src/redhat/BUILD/k3b-1.65.0/i386-redhat-linux-gnu/plugins/decoder
> /ffmpeg
> -I/usr/src/redhat/BUILD/k3b-1.65.0/plugins/decoder/ffmpeg
> -I/usr/src/redhat/BUILD/k3b-1.65.0/i386-redhat-linux-gnu
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3bdevice
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/core
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/plugin
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/tools
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/tools/qprocess
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/tools/qprocess/private
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/projects
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/projects/audiocd
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/projects/datacd
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/projects/videocd
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/projects/mixedcd
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/jobs
> -I/usr/src/redhat/BUILD/k3b-1.65.0/libk3b/videodvd -I/usr/include/kde4
> -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon
> -I/usr/include/QtXmlPatterns -I/usr/include/QtWebKit
> -I/usr/include/QtHelp -I/usr/include/QtAssistant -I/usr/include/QtDBus
> -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtScript
> -I/usr/include/QtSvg -I/usr/include/QtXml -I/usr/include/QtSql
> -I/usr/include/QtOpenGL -I/usr/include/QtNetwork
> -I/usr/include/QtDesigner -I/usr/include/Qt3Support -I/usr/include/QtGui
> -I/usr/include/QtCore -I/usr/include/Qt
> -I/usr/lib/qt4/mkspecs/default   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -o
> CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegdecoder.o -c
> /usr/src/redhat/BUILD/k3b-1.65.0/plugins/decoder/ffmpeg/k3bffmpegdecoder
> .cpp
> /usr/src/redhat/BUILD/k3b-1.65.0/plugins/decoder/ffmpeg/k3bffmpegdecoder
> .cpp:27:28:
> error: ffmpeg/avcodec.h: No such file or directory
> make[2]: ***
> [plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegdecoder
> .o]
> Error 1
> make[2]: Leaving directory
> `/usr/src/redhat/BUILD/k3b-1.65.0/i386-redhat-linux-gnu'
> make[1]: ***
> [plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/all] Error
> 2
> make[1]: Leaving directory
> `/usr/src/redhat/BUILD/k3b-1.65.0/i386-redhat-linux-gnu'
> make: *** [all] Error 2
>
> Additional info:
>
> # rpm -ql ffmpeg-devel |grep avcodec.h
> /usr/include/ffmpeg/libavcodec/avcodec.h
>
> # rpm -q ffmpeg-devel
> ffmpeg-devel-0.4.9-0.55.20080908.fc10.i386
>
> # rpm -q qt-devel
> qt-devel-4.5.0-14.fc10.i386
>
> Thanks for any help


error: ffmpeg/avcodec.h: No such file or directory

k3b expects to find avcodec.h under /usr/include/ffmpeg

One way around this is:

ln -s /usr/include/ffmpeg/libavcodec/avcodec.h /usr/include/ffmpeg/.


Keep following the same logic until it compiles (5 or 6 symbolic links 
in total). Other way is to fix the code to look in the correct spot.




>
> _______________________________________________
> fedora-kde mailing list
> fedora-kde at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/fedora-kde
> New to KDE4? - get help from http://userbase.kde.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/kde/attachments/20090428/1c636655/attachment.vcf 


[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux