Created attachment 861773 [details] sci-geosciences:merkaartor-0.19.0:20230515-204738.log > Docks/GeoImageDock.cpp:459:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ > 459 | Exiv2::Image::AutoPtr image; > | ^~~~~~~ > In file included from /usr/include/qt5/QtWebEngineWidgets/QWebEnginePage:1, > from QMapControl/browserimagemanager.h:27, > from MainWindow.cpp:72: > /usr/include/qt5/QtWebEngineWidgets/qwebenginepage.h:384:18: warning: ‘virtual void QWebEnginePage::javaScriptConsoleMessage(JavaScriptConsoleMessageLevel, const QString&, int, const QString&)’ was hidden [-Woverloaded-virtual=] > 384 | virtual void javaScriptConsoleMessage(JavaScriptConsoleMessageLevel level, const QString& message, int lineNumber, const QString& sourceID); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > QMapControl/browserimagemanager.h:45:22: note: by ‘virtual void BrowserWebPage::javaScriptConsoleMessage(const QString&, int, const QString&)’ > 45 | virtual void javaScriptConsoleMessage ( const QString & message, int lineNumber, const QString & sourceID ); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/qt5/QtWebEngineWidgets/qwebenginepage.h:381:18: warning: ‘virtual void QWebEnginePage::javaScriptAlert(const QUrl&, const QString&)’ was hidden [-Woverloaded-virtual=] > 381 | virtual void javaScriptAlert(const QUrl &securityOrigin, const QString& msg); > | ^~~~~~~~~~~~~~~ > QMapControl/browserimagemanager.h:46:22: note: by ‘virtual void BrowserWebPage::javaScriptAlert(const QString&)’ > 46 | virtual void javaScriptAlert ( const QString & msg ) ; > | ^~~~~~~~~~~~~~~ > Docks/GeoImageDock.cpp:548:13: error: ‘image’ was not declared in this scope; did you mean ‘Image’? > 548 | image = Exiv2::ImageFactory::open(file.toStdString()); > | ^~~~~ > | Image > Docks/GeoImageDock.cpp:550:29: warning: catching polymorphic type ‘class Exiv2::Error’ by value [-Wcatch-value=] > 550 | catch (Exiv2::Error error) > | ^~~~~ > Docks/GeoImageDock.cpp:552:13: error: ‘image’ was not declared in this scope; did you mean ‘Image’? > 552 | if (image.get() == 0) > | ^~~~~ > | Image > Docks/GeoImageDock.cpp:555:9: error: ‘image’ was not declared in this scope; did you mean ‘Image’? > 555 | image->readMetadata(); > | ^~~~~ > | Image > Docks/GeoImageDock.cpp: In member function ‘void GeoImageDock::saveImage()’: > Docks/GeoImageDock.cpp:871:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ > 871 | Exiv2::Image::AutoPtr imageIn, imageOut; > | ^~~~~~~ > Docks/GeoImageDock.cpp:874:13: error: ‘imageIn’ was not declared in this scope > 874 | imageIn = Exiv2::ImageFactory::open(usedTrackPoints.at(index).filename.toStdString()); > | ^~~~~~~ > Docks/GeoImageDock.cpp:878:29: warning: catching polymorphic type ‘class Exiv2::Error’ by value [-Wcatch-value=] > 878 | catch (Exiv2::Error error) {} > | ^~~~~ > Docks/GeoImageDock.cpp:882:13: error: ‘imageOut’ was not declared in this scope > 882 | imageOut = Exiv2::ImageFactory::open(fn.toStdString()); > | ^~~~~~~~ > Docks/GeoImageDock.cpp:886:29: warning: catching polymorphic type ‘class Exiv2::Error’ by value [-Wcatch-value=] > 886 | catch (Exiv2::Error error) {} > | ^~~~~ > Docks/GeoImageDock.cpp: In static member function ‘static Coord GeoImageDock::getGeoDataFromImage(const QString&)’: > Docks/GeoImageDock.cpp:895:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ > 895 | Exiv2::Image::AutoPtr image; > | ^~~~~~~ > Docks/GeoImageDock.cpp:904:9: error: ‘image’ was not declared in this scope; did you mean ‘Image’? > 904 | image = Exiv2::ImageFactory::open(file.toStdString()); > | ^~~~~ > | Image > Docks/GeoImageDock.cpp:906:25: warning: catching polymorphic type ‘class Exiv2::Error’ by value [-Wcatch-value=] > 906 | catch (Exiv2::Error error) { > | ^~~~~ > Docks/GeoImageDock.cpp:909:9: error: ‘image’ was not declared in this scope; did you mean ‘Image’? > 909 | if (image.get() == 0) > | ^~~~~ > | Image > Docks/GeoImageDock.cpp:912:5: error: ‘image’ was not declared in this scope; did you mean ‘Image’? > 912 | image->readMetadata(); > | ^~~~~ > | Image > Docks/GeoImageDock.cpp: In static member function ‘static void GeoImageDock::addGeoDataToImage(Coord, const QString&)’: > Docks/GeoImageDock.cpp:935:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ > 935 | Exiv2::Image::AutoPtr image; > | ^~~~~~~ > Docks/GeoImageDock.cpp:938:9: error: ‘image’ was not declared in this scope; did you mean ‘Image’? > 938 | image = Exiv2::ImageFactory::open(file.toStdString()); > | ^~~~~ > | Image > Docks/GeoImageDock.cpp:940:25: warning: catching polymorphic type ‘class Exiv2::Error’ by value [-Wcatch-value=] > 940 | catch (Exiv2::Error error) { > | ^~~~~ > Docks/GeoImageDock.cpp:944:9: error: ‘image’ was not declared in this scope; did you mean ‘Image’? > 944 | if (image.get() == 0) { > | ^~~~~ > | Image > Docks/GeoImageDock.cpp:949:5: error: ‘image’ was not declared in this scope; did you mean ‘Image’? > 949 | image->readMetadata(); > | ^~~~~ > | Image
Fixed in git master: https://github.com/openstreetmap/merkaartor/commit/1e20d2ccd743ea5f8c2358e4ae36fead8b9390fd
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=626bc6256e1834a8199611bec873d68a569d7379 commit 626bc6256e1834a8199611bec873d68a569d7379 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2023-05-28 16:25:34 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2023-05-28 18:28:44 +0000 sci-geosciences/merkaartor: Fix build with >=exiv2-0.28 Closes: https://bugs.gentoo.org/906501 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/merkaartor-0.19.0-exiv2-0.28.patch | 50 ++++++++++++++++++++++ .../merkaartor/merkaartor-0.19.0-r1.ebuild | 5 ++- 2 files changed, 54 insertions(+), 1 deletion(-)