[pkg-lxqt-devel] Bug#950310: re: nomacs ftbfs with libexiv2-27

Alf Gaida agaida at siduction.org
Thu Feb 6 17:40:18 GMT 2020


https://github.com/nomacs/nomacs/issues/429

BTW - The "solution" you suggest don't work, i'm really not willing to
waste my time and re-invent the wheel for things that are already fixed
upstream.

With your "solution" applied - NO! Please, no - even if that means that
nomacs will disappear from testing.

Cheers Alf


In file included from
/home/agaida/work/code/pkg-main/nomacs/nomacs/src/DkCore/DkBasicLoader.cpp:568:
/home/agaida/work/code/pkg-main/nomacs/nomacs/3rdparty/drif/drif_image.h:
In function 'uint8_t* nmc::drifLoadImg(const char*, uint32_t*,
uint32_t*, uint32_t*)':
/home/agaida/work/code/pkg-main/nomacs/nomacs/3rdparty/drif/drif_image.h:171:10:
warning: ignoring return value of 'size_t fread(void*, size_t, size_t,
FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  171 |     fread((void*)buffer, DRIF_FOOTER_SZ, 1, fp);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 42%] Building CXX object CMakeFiles/nomacsCore.dir/src/DkCore/DkMath.cpp.o
/usr/lib/ccache/c++  -DHAVE_EXIV2_HPP -DNDEBUG -DNOMACS_VERSION=\"3.12\"
-DQT5 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB
-DQT_WIDGETS_LIB -DWITH_LIBRAW -DWITH_LIBTIFF -DWITH_OPENCV
-DWITH_QUAZIP -DnomacsCore_EXPORTS
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/obj-x86_64-linux-gnu/nomacsCore_autogen/include
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/obj-x86_64-linux-gnu
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/src
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/src/DkCore
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/src/DkGui
-I/usr/include/quazip5
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/3rdparty/libqpsd
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/3rdparty/drif -isystem
/usr/include/opencv4 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem
/usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt5/QtCore -isystem
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem
/usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem
/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem
/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem
/usr/include/x86_64-linux-gnu/qt5/QtSvg  -g -O2
-fdebug-prefix-map=/home/agaida/work/code/pkg-main/nomacs/nomacs=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -std=c++11 -Wno-unknown-pragmas -O2 -g -DNDEBUG
-fPIC   -DDK_CORE_DLL_EXPORT -DNOMINMAX -fPIC -o
CMakeFiles/nomacsCore.dir/src/DkCore/DkMath.cpp.o -c
/home/agaida/work/code/pkg-main/nomacs/nomacs/src/DkCore/DkMath.cpp
[ 43%] Building CXX object
CMakeFiles/nomacsCore.dir/src/DkCore/DkMessageBox.cpp.o
/usr/lib/ccache/c++  -DHAVE_EXIV2_HPP -DNDEBUG -DNOMACS_VERSION=\"3.12\"
-DQT5 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB
-DQT_WIDGETS_LIB -DWITH_LIBRAW -DWITH_LIBTIFF -DWITH_OPENCV
-DWITH_QUAZIP -DnomacsCore_EXPORTS
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/obj-x86_64-linux-gnu/nomacsCore_autogen/include
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/obj-x86_64-linux-gnu
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/src
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/src/DkCore
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/src/DkGui
-I/usr/include/quazip5
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/3rdparty/libqpsd
-I/home/agaida/work/code/pkg-main/nomacs/nomacs/3rdparty/drif -isystem
/usr/include/opencv4 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem
/usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt5/QtCore -isystem
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem
/usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem
/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem
/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem
/usr/include/x86_64-linux-gnu/qt5/QtSvg  -g -O2
-fdebug-prefix-map=/home/agaida/work/code/pkg-main/nomacs/nomacs=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -std=c++11 -Wno-unknown-pragmas -O2 -g -DNDEBUG
-fPIC   -DDK_CORE_DLL_EXPORT -DNOMINMAX -fPIC -o
CMakeFiles/nomacsCore.dir/src/DkCore/DkMessageBox.cpp.o -c
/home/agaida/work/code/pkg-main/nomacs/nomacs/src/DkCore/DkMessageBox.cpp
/home/agaida/work/code/pkg-main/nomacs/nomacs/src/DkCore/DkImageStorage.cpp:
In static member function 'static void nmc::DkImage::tinyPlanet(QImage&,
double, double, QSize, bool)':
/home/agaida/work/code/pkg-main/nomacs/nomacs/src/DkCore/DkImageStorage.cpp:1508:27:
error: cannot convert 'cv::Point2d' {aka 'cv::Point_<double>'} to
'CvPoint2D32f'
 1508 |  logPolar(mImg, mImg, cv::Point2d(mImg.cols*0.5, mImg.rows*0.5),
scaleLog, angle);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           |
      |                           cv::Point2d {aka cv::Point_<double>}
/home/agaida/work/code/pkg-main/nomacs/nomacs/src/DkCore/DkImageStorage.cpp:1427:71:
note:   initializing argument 3 of 'static void
nmc::DkImage::logPolar(const cv::Mat&, cv::Mat&, CvPoint2D32f, double,
double, double)'
 1427 | void DkImage::logPolar(const cv::Mat& src, cv::Mat& dst,
CvPoint2D32f center, double scaleLog, double angle, double scale) {
      |                                                         
~~~~~~~~~~~~~^~~~~~
make[3]: *** [CMakeFiles/nomacsCore.dir/build.make:530:
CMakeFiles/nomacsCore.dir/src/DkCore/DkImageStorage.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
'/home/agaida/work/code/pkg-main/nomacs/nomacs/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:111: CMakeFiles/nomacsCore.dir/all]
Error 2
make[2]: Leaving directory
'/home/agaida/work/code/pkg-main/nomacs/nomacs/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:155: all] Error 2
make[1]: Leaving directory
'/home/agaida/work/code/pkg-main/nomacs/nomacs/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8
"INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2
debuild: fatal error at line 1182:



More information about the pkg-lxqt-devel mailing list