Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#11585 closed defect (fixed)

libkexiv2 / gwenview does not build with current Exiv2 (hold untit Feb 7)

Reported by: Douglas R. Reno Owned by: Bruce Dubbs
Priority: normal Milestone: 8.4
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

It seems that Exiv2's API changes have broken libkexiv2 (note that Gexiv in the GNOME land required a partial rewrite as well).

CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Exiv2: Found unsuitable version "..", but required is at
  least "0.24" (found /usr/lib/libexiv2.so)
Call Stack (most recent call first):
  /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindExiv2.cmake:76 (find_package_handle_standard_args)
  CMakeLists.txt:87 (find_package)


-- Configuring incomplete, errors occurred!
See also "/sources/libkexiv2-18.12.0/libkexiv2-18.12.0/build/CMakeFiles/CMakeOutput.log".
See also "/sources/libkexiv2-18.12.0/libkexiv2-18.12.0/build/CMakeFiles/CMakeError.log".
5.0 Elasped Time - libkexiv2-18.12.0

Note that 18.12.1 does this as well.

Change History (8)

comment:1 by Douglas R. Reno, 5 years ago

Summary: libkexiv2 does not build with current Exiv2libkexiv2 / gwenview does not build with current Exiv2
Type: enhancementdefect

Gwenview bombs out when compiling:

[ 11%] Building C object lib/CMakeFiles/gwenviewlib.dir/cms/iccjpeg.c.o
[ 11%] Building CXX object lib/CMakeFiles/gwenviewlib.dir/cms/cmsprofile.cpp.o
In file included from /usr/include/exiv2/types.hpp:34,
                 from /usr/include/exiv2/image.hpp:28,
                 from /sources/gwenview-18.12.0/gwenview-18.12.0/lib/cms/cmsprofile.h:33,
                 from /sources/gwenview-18.12.0/gwenview-18.12.0/lib/cms/cmsprofile.cpp:22:
/usr/include/exiv2/slice.hpp: In constructor ‘Exiv2::Internal::SliceBase::SliceBase(size_t, size_t)’:
/usr/include/exiv2/slice.hpp:99:77: error: exception handling disabled, use -fexceptions to enable
                     throw std::out_of_range("Begin must be smaller than end");
                                                                             ^
make[2]: *** [lib/CMakeFiles/gwenviewlib.dir/build.make:115: lib/CMakeFiles/gwenviewlib.dir/cms/cmsprofile.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:669: lib/CMakeFiles/gwenviewlib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
39.1 Elasped Time - gwenview-18.12.0

comment:2 by Bruce Dubbs, 5 years ago

Can we wait until gwenview-18.12.2 which is due February 7?

comment:3 by Bruce Dubbs, 5 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:4 by Bruce Dubbs, 5 years ago

Summary: libkexiv2 / gwenview does not build with current Exiv2libkexiv2 / gwenview does not build with current Exiv2 (hold untit Feb 7)

comment:5 by Douglas R. Reno, 5 years ago

Resolution: fixed
Status: assignedclosed

It looks like Pierre fixed this at r21068

comment:6 by Pierre Labastie, 5 years ago

Sorry, hadn't seen the ticket. I stumbled upon this while trying to test KDE could be built with only Python 3. And I thought next release would be 19.04... I'll have to become more acquainted with the KDE release scheme...

comment:7 by Bruce Dubbs, 5 years ago

https://community.kde.org/Schedules

Provides the dates for new releases. For the -dev book, I only plan on doing updates every three months or so.

comment:8 by Pierre Labastie, 5 years ago

Thanks for the schedule. Don't know if the changes will be included in 18.12.2: they are in the master branch, but not the 18.12 branch.

Note: See TracTickets for help on using tickets.