Bug 243939 - strigi-analyzer (from kdegraphics 4.4.5) fails to build
Summary: strigi-analyzer (from kdegraphics 4.4.5) fails to build
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 13:05 UTC by angel.tsankov
Modified: 2011-02-08 19:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description angel.tsankov 2010-07-08 13:05:31 UTC
Version:           unspecified
OS:                Linux

kdegraphics-4.4.5/strigi-analyzer/tiff/tiffendanalyzer.cpp does not compile unless I replace uint32 with uint32_t.  Build output: http://pastebin.com/JLpqJ2nR (will expire in 24 hours)

Reproducible: Always
Comment 1 Christoph Feck 2010-07-08 14:43:06 UTC
Are you using libtiff 4.0.0 beta or libtiff 3.9.x?
Comment 2 Christoph Feck 2010-07-08 14:45:16 UTC
And using a paste that expires in 24 hours really sucks. Either attach the information, paste it inline, or use a permanent paste.

relevant section from comment #0:

/etc/pupm/home/kdegraphics/tmp.p59/kdegraphics-4.4.5/strigi-analyzer/tiff/tiffendanalyzer.cpp: In function 'void<unnamed>::readTiffTagUint32(TIFF*, ttag_t, Strigi::AnalysisResult&, const Strigi::RegisteredField*)':
/etc/pupm/home/kdegraphics/tmp.p59/kdegraphics-4.4.5/strigi-analyzer/tiff/tiffendanalyzer.cpp:98: error: call of overloaded 'addValue(const Strigi::RegisteredField*&, uint32&)' is ambiguous
/usr/include/strigi/analysisresult.h:142: note: candidates are: void Strigi::AnalysisResult::addValue(const Strigi::RegisteredField*, const std::string&) <near match>
/usr/include/strigi/analysisresult.h:164: note:                 void Strigi::AnalysisResult::addValue(const Strigi::RegisteredField*, uint32_t)
/usr/include/strigi/analysisresult.h:174: note:                 void Strigi::AnalysisResult::addValue(const Strigi::RegisteredField*, int32_t)
/usr/include/strigi/analysisresult.h:184: note:                 void Strigi::AnalysisResult::addValue(const Strigi::RegisteredField*, double)
make[2]: *** [strigi-analyzer/tiff/CMakeFiles/tiff.dir/tiffendanalyzer.o] Error 1
Comment 3 angel.tsankov 2010-07-08 14:49:59 UTC
(In reply to comment #1)
> Are you using libtiff 4.0.0 beta or libtiff 3.9.x?

I'm using libtiff 3.7.3 from here: ftp://ftp.remotesensing.org/pub/libtiff/old/tiff-3.7.3.tar.gz.  Is it too old?  The compiler is GCC 4.4.4.
Comment 4 angel.tsankov 2010-07-08 14:52:41 UTC
(In reply to comment #2)
> And using a paste that expires in 24 hours really sucks. Either attach the
> information, paste it inline, or use a permanent paste.

Sorry for this!
Comment 5 angel.tsankov 2010-07-12 08:48:12 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Are you using libtiff 4.0.0 beta or libtiff 3.9.x?
> 
> I'm using libtiff 3.7.3 from here:
> ftp://ftp.remotesensing.org/pub/libtiff/old/tiff-3.7.3.tar.gz.  Is it too old? 
> The compiler is GCC 4.4.4.

With tiff 3.9.4 I do not have this problem.
Comment 6 Karsten König 2011-02-08 17:47:18 UTC
Can this be closed then?
Comment 7 angel.tsankov 2011-02-08 19:00:16 UTC
(In reply to comment #6)
> Can this be closed then?

I'll close this issue but, please, document the minimum requirements or enforce them via the build system.
Comment 8 Karsten König 2011-02-08 19:36:42 UTC
This is part of the kdegraphics package, I have no idea where this minimum check would need to be added, if already for kdegraphics or just for the tiff analyzer, my cheap bet would be around
macro_optional_find_package(TIFF) 
in http://websvn.kde.org/trunk/KDE/kdegraphics/strigi-analyzer/CMakeLists.txt?view=markup

So if you reassign to kdegraphics it might reach somebody in charge about this stuff.