Opened 12 months ago
Last modified 12 months ago
#71710 new defect
strigi does not handle dependencies correctly
| Reported by: | barracuda156 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | Cc: | ||
| Port: | strigi |
Description
strigi is supposed to use log4cxx, but does not declare dependency on it.
Also, exiv2 is not found correctly and in result gets disabled.
-- Looking for BZ2_bzCompressInit - found -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST 2025-01-02 04:19:50.728 sw_vers[65067:903] CFPreferences: user home directory at file://localhost/opt/local/var/macports/home/ is unavailable. User domains will be volatile. -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 2025-01-02 04:19:51.006 sw_vers[65077:903] CFPreferences: user home directory at file://localhost/opt/local/var/macports/home/ is unavailable. User domains will be volatile. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- The following REQUIRED packages have been found: * ZLIB, Support for gzip compressed files and data streams, <http://www.zlib.net> * BZip2, Support for BZip2 compressed files and data streams, <http://www.bzip.org> * Iconv * Threads, The thread library of the system -- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.13.5") -- Found CLucene library: /opt/local/lib/libclucene-core.dylib -- Found CLucene include dir: /opt/local/include -- Found CLucene library dir: /opt/local/include -- Found CLucene: /opt/local/lib/libclucene-core.dylib ** CLucene is found. Support for CLucene backend is enabled -- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.29.2") -- Checking for module 'libclucene-core' -- Found libclucene-core, version 2.3.3.4 ** CLucene1 is found. Support for CLucene Version 1+ backend is enabled -- Checking for module 'exiv2' -- Found exiv2, version 0.27.6 -- Could NOT find Exiv2: Found version "..", but required is at least "0.12" (found /opt/local/lib/libexiv2.dylib) ** Exiv2 not found. Support for indexing of EXIF/IPTC metadata is disabled -- Checking for module 'libavcodec' -- Found libavcodec, version 58.134.100 -- Checking for module 'libavformat' -- Found libavformat, version 58.76.100 -- Checking for module 'libavdevice' -- Found libavdevice, version 58.13.100 -- Checking for module 'libavutil' -- Found libavutil, version 56.70.100 -- Checking for module 'libswscale' -- Found libswscale, version 5.9.100 -- Checking for module 'libpostproc' -- Found libpostproc, version 55.9.100 -- Found FFmpeg: /opt/local/lib/libavcodec.dylib;/opt/local/lib/libavformat.dylib;/opt/local/lib/libavutil.dylib;/opt/local/lib/libswscale.dylib ** FFmpeg is found. Support for indexing FFMPEG is enabled -- The following OPTIONAL packages have been found: * CLucene * CLucene1 * PkgConfig * FFmpeg -- The following REQUIRED packages have been found: * ZLIB, Support for gzip compressed files and data streams, <http://www.zlib.net> * BZip2, Support for BZip2 compressed files and data streams, <http://www.bzip.org> * Threads, The thread library of the system * LibXml2, <http://xmlsoft.org> * Iconv -- The following OPTIONAL packages have not been found: * Exiv2 * XAttr -- Checking for module 'dbus-1' -- Found dbus-1, version 1.14.10 -- Found DBUS: /opt/local/lib/libdbus-1.dylib ** DBus is found. Support for dbus inter-process communication is enabled -- NOT Found FAM, disabling it ** FAM not found. Support for efficient file change monitoring system is disabled -- NOT Found log4cxx, disabling it ** Log4cxx not found. Support for advanced logging is disabled -- Ensure your cppunit installed version is at least 1.12.0
Change History (3)
comment:1 Changed 12 months ago by barracuda156
comment:2 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to barracuda156:
exiv2is not found correctly and in result gets disabled.-- Checking for module 'exiv2' -- Found exiv2, version 0.27.6 -- Could NOT find Exiv2: Found version "..", but required is at least "0.12" (found /opt/local/lib/libexiv2.dylib) ** Exiv2 not found. Support for indexing of EXIF/IPTC metadata is disabled
strigi's FindExiv2.cmake tries to extract the exiv2 version number from exiv2's version.hpp header. The components of the version number aren't defined in that header anymore ever since exiv2 0.27. The strigi web site says strigi bugs should be reported here but it doesn't look like anybody has reported anything since 2015. The repository browse link at sourceforge doesn't work. I found a copy of the strigi repository here but it doesn't have any commits after 2016. Wikipedia says strigi has been replaced by recoll.
comment:3 Changed 12 months ago by barracuda156
KDE4 is not developed anymore, so anything which is KDE4-specific is unlikely to get upstream updates. However, a) that’s the only KDE MacPorts has at the moment and b) KDE5 will obviously require Qt5, which is broken on a number of legacy systems (until someone fixes it).

In fact it fails to build with
log4cxxfound with multiple errors, so it rather should be disabled.