[kde-freebsd] KDE 4.11.0 from area51 nepomuk-core build errors

Alex V. Petrov alexvpetrov at gmail.com
Mon Aug 19 10:40:24 UTC 2013


В письме от 19 августа 2013 11:26:02 пользователь Schaich Alonso написал:
> On Mon, 19 Aug 2013 16:51:58 +0800
> 
> "Alex V. Petrov" <alexvpetrov at gmail.com> wrote:
> > I try build KDE-4.11.0 from area51
> > (freebsd 9-stable r254436 amd64)
> > 
> > build errors in nepomuk-core:
> > 
> > with standart gcc:
> > [ 43%] Building CXX object
> > services/storage/CMakeFiles/nepomukstorage.dir/repository.cpp.o
> > /usr/ports/sysutils/nepomuk-core/work/nepomuk-core-4.11.0/services/storage
> > /repository.cpp: In member function 'void Nepomuk2::Repository::open()':
> > /usr/ports/sysutils/nepomuk-core/work/nepomuk-core-4.11.0/services/storage
> > /repository.cpp:197: error: unknown escape sequence '\.'
> > /usr/ports/sysutils/nepomuk-core/work/nepomuk-core-4.11.0/services/storage
> > /repository.cpp:197: error: unknown escape sequence '\.'
> > *** [services/storage/CMakeFiles/nepomukstorage.dir/repository.cpp.o]
> > Error
> > code 1
> > 
> > Stop in /usr/ports/sysutils/nepomuk-core/work/.build.
> > *** [services/storage/CMakeFiles/nepomukstorage.dir/all] Error code 1
> > 
> > with clang:
> > 
> > [ 82%] Building CXX object
> > services/fileindexer/indexer/CMakeFiles/nepomukffmpegextractor.dir/ffmpege
> > xtractor.cpp.o clang: warning: argument unused during compilation:
> > '-fno-check-new'
> > /usr/ports/sysutils/nepomuk-core/work/nepomuk-core-4.11.0/services/filein
> > dexer/indexer/ffmpegextractor.cpp:219:5:> 
> > error:
> >       use of undeclared identifier 'avformat_close_input'
> >     
> >     avformat_close_input(&fmt_ctx);
> >     ^
> > 
> > 1 error generated.
> > ***
> > [services/fileindexer/indexer/CMakeFiles/nepomukffmpegextractor.dir/ffmpeg
> > extractor.cpp.o] Error code 1
> > 
> > Stop in /usr/ports/sysutils/nepomuk-core/work/.build.
> > ***
> > [services/fileindexer/indexer/CMakeFiles/nepomukffmpegextractor.dir/all]
> > Error code 1
> > 
> > Stop in /usr/ports/sysutils/nepomuk-core/work/.build.
> > *** [all] Error code 1
> > 
> > Stop in /usr/ports/sysutils/nepomuk-core/work/.build.
> > *** [do-build] Error code 1
> 
> I can reproduce the gcc but not the clang behaviour using 9-stable r254456.
> Are the other ports on your system up to date (especially ffmpeg)?
> 
> I committed a fix for the gcc issue to area51 in r9458.
> 
> Alonso

Ports is up to date:
pkg version -v | grep ffmp
ffmpeg-0.7.15,1                    =   up-to-date with port
ffmpeg1-1.2.2                      =   up-to-date with port
gstreamer-ffmpeg-0.10.13           =   up-to-date with port
kdemultimedia-ffmpegthumbs-4.10.5  <   needs updating (port has 4.11.0)

After update from area51 and reinstall ffmpeg-0.7.15,1 and ffmpeg1-1.2.2 same error with 
gcc:

[ 82%] Building CXX object 
services/fileindexer/indexer/CMakeFiles/nepomukffmpegextractor.dir/ffmpegextractor.cpp.o
In file included from /usr/ports/sysutils/nepomuk-core/work/nepomuk-
core-4.11.0/services/fileindexer/indexer/ffmpegextractor.cpp:37:
/usr/local/include/libavformat/avformat.h:158: warning: 'AVMetadata' is deprecated (declared 
at /usr/local/include/libavformat/avformat.h:131)
/usr/ports/sysutils/nepomuk-core/work/nepomuk-
core-4.11.0/services/fileindexer/indexer/ffmpegextractor.cpp: In member function 'virtual 
Nepomuk2::SimpleResourceGraph Nepomuk2::FFmpegExtractor::extract(const QUrl&, const 
QUrl&, const QString&)':
/usr/ports/sysutils/nepomuk-core/work/nepomuk-
core-4.11.0/services/fileindexer/indexer/ffmpegextractor.cpp:219: error: 
'avformat_close_input' was not declared in this scope
*** 
[services/fileindexer/indexer/CMakeFiles/nepomukffmpegextractor.dir/ffmpegextractor.cpp.o] 
Error code 1

Stop in /usr/ports/sysutils/nepomuk-core/work/.build.
*** [services/fileindexer/indexer/CMakeFiles/nepomukffmpegextractor.dir/all] Error code 1

After deinstall ffmpeg-0.7.15,1 (need for other ports) nepomuk-core build successfully!

Need dependence for ffmpeg1?

-- 
-----
Alex V. Petrov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20130819/725717bd/attachment-0001.html>


More information about the kde-freebsd mailing list