Bug 360473 - Fails to build
Summary: Fails to build
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-13 13:07 UTC by Rex Dieter
Modified: 2023-05-19 07:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rex Dieter 2016-03-13 13:07:59 UTC
Seems to be conflicting expected type of KIPI::RawProcessor::decodeRawImage (uint vs bool):

/builddir/build/BUILD/digikam-5.0.0-beta4/core/utilities/kdesupport/kipi/kipiinterface.cpp:584:10: error: conflicting return type specified for 'virtual uint Digikam::KipiInterfaceRawProcessor::decodeRawImage(const QUrl&, QByteArray&, int&, int&, int&)'
     uint decodeRawImage(const QUrl& url, QByteArray& imageData, int& width, int& height, int& rgbmax)
          ^~~~~~~~~~~~~~
In file included from /usr/include/KF5/KIPI/KIPI/Interface:1:0,
                 from /builddir/build/BUILD/digikam-5.0.0-beta4/core/utilities/kdesupport/kipi/kipiinterface.h:41,
                 from /builddir/build/BUILD/digikam-5.0.0-beta4/core/utilities/kdesupport/kipi/kipiinterface.cpp:26:
/usr/include/KF5/KIPI/kipi/interface.h:182:18: error:   overriding 'virtual bool KIPI::RawProcessor::decodeRawImage(const QUrl&, QByteArray&, int&, int&, int&)'
     virtual bool decodeRawImage(const QUrl& url, QByteArray& imageData, int& width, int& height, int& rgbmax) = 0;
                  ^~~~~~~~~~~~~~
core/utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/build.make:137: recipe for target 'core/utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/kipiinterface.cpp.o' failed
make[2]: Leaving directory '/builddir/build/BUILD/digikam-5.0.0-beta4/x86_64-redhat-linux-gnu'

Reproducible: Always
Comment 1 Rex Dieter 2016-03-13 13:13:19 UTC
Does this mean beta4 (and newer) relies on an unreleased/newer libkipi ?

kde-apps 16.03.80 (16.04 beta) is scheduled for Mar 23, fwiw
Comment 2 caulier.gilles 2016-03-13 14:51:24 UTC
yes it is. libkipi is not yet released offcially and i'm currently clean all KIPI API.

Gilles Caulier
Comment 3 caulier.gilles 2016-03-27 09:58:13 UTC
*** Bug 361033 has been marked as a duplicate of this bug. ***
Comment 4 Rex Dieter 2016-04-01 17:32:30 UTC
Fwiw, beta4 doesn't seem to build against recent libkipi-16.03.80 either.  guess I'll wait longer