Bug 231719 - graphics/okular fail to find ECM
Summary: graphics/okular fail to find ECM
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-25 16:02 UTC by bye
Modified: 2018-10-02 14:14 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bye 2018-09-25 16:02:24 UTC
Okular fails to find ECM: https://cgit.kde.org/extra-cmake-modules.git


cmake log: https://pastebin.com/ey57AHbN
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2018-09-25 17:18:29 UTC
Moin moin.

Your installed version of kf5-extra-cmake-modules is outdated, most likely. 

Please check it is up to date.


mfg Tobias
Comment 2 bye 2018-09-25 22:11:15 UTC
(In reply to Tobias C. Berner from comment #1)

That seems to be it, i had version 5.40 but after make deinstall clean and then trying to install I get this error:

===>  License LGPL21 accepted by the user
===>   qt5-gui-5.11.1 depends on file: /usr/local/sbin/pkg - found
=> qtbase-everywhere-src-5.11.1.tar.xz doesn't seem to exist in /usr/ports/distfiles/KDE/Qt/5.11.1.
=> Attempting to fetch https://download.qt.io/official_releases/qt/5.11/5.11.1/submodules//qtbase-everywhere-src-5.11.1.tar.xz
qtbase-everywhere-src-5.11.1.tar.xz           100% of   44 MB 1254 kBps 00m36s
===> Fetching all distfiles required by qt5-gui-5.11.1 for building
===>  Extracting for qt5-gui-5.11.1
=> SHA256 Checksum OK for KDE/Qt/5.11.1/qtbase-everywhere-src-5.11.1.tar.xz.
===>  Patching for qt5-gui-5.11.1
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-configure
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-mkspecs_features_create__cmake.prf
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-mkspecs_features_qt__module.prf
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-mkspecs_common_bsd_bsd.conf
===>  Applying FreeBSD patches for qt5-gui-5.11.1
/usr/bin/sed -i.bak -e "/DEFAULT_LIBDIRS=/ s,\\\\\"\\\\n,\\\\n/usr/local/lib&,"  /usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.11.1/configure
===>   qt5-gui-5.11.1 depends on package: at-spi2-core>=0 - found
===>   qt5-gui-5.11.1 depends on package: pkgconf>=1.3.0_1 - found
===>   qt5-gui-5.11.1 depends on package: xorgproto>=0 - found
===>   qt5-gui-5.11.1 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found
===>   qt5-gui-5.11.1 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found
===>   qt5-gui-5.11.1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   qt5-gui-5.11.1 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   qt5-gui-5.11.1 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found
===>   qt5-gui-5.11.1 depends on file: /usr/local/lib/qt5/bin/moc - found
===>   qt5-gui-5.11.1 depends on file: /usr/local/lib/qt5/bin/qmake - found
===>   qt5-gui-5.11.1 depends on shared library: libdbus-1.so - found (/usr/local/lib/libdbus-1.so)
===>   qt5-gui-5.11.1 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
===>   qt5-gui-5.11.1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   qt5-gui-5.11.1 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so)
===>   qt5-gui-5.11.1 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so)
===>   qt5-gui-5.11.1 depends on shared library: libxcb.so - found (/usr/local/lib/libxcb.so)
===>   qt5-gui-5.11.1 depends on shared library: libxcb-image.so - found (/usr/local/lib/libxcb-image.so)
===>   qt5-gui-5.11.1 depends on shared library: libxcb-keysyms.so - found (/usr/local/lib/libxcb-keysyms.so)
===>   qt5-gui-5.11.1 depends on shared library: libxcb-render-util.so - found (/usr/local/lib/libxcb-render-util.so)
===>   qt5-gui-5.11.1 depends on shared library: libxcb-icccm.so - found (/usr/local/lib/libxcb-icccm.so)
===>   qt5-gui-5.11.1 depends on shared library: libxkbcommon.so - found (/usr/local/lib/libxkbcommon.so)
===>   qt5-gui-5.11.1 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so)
===>   qt5-gui-5.11.1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   qt5-gui-5.11.1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   qt5-gui-5.11.1 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so)
===>   qt5-gui-5.11.1 depends on shared library: libEGL.so - found (/usr/local/lib/libEGL.so)
===>   qt5-gui-5.11.1 depends on shared library: libQt5Core.so - found (/usr/local/lib/qt5/libQt5Core.so)
===>   qt5-gui-5.11.1 depends on shared library: libQt5DBus.so - not found
===>  License LGPL21 accepted by the user
===>   qt5-dbus-5.11.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qt5-dbus-5.11.1 for building
===>  Extracting for qt5-dbus-5.11.1
=> SHA256 Checksum OK for KDE/Qt/5.11.1/qtbase-everywhere-src-5.11.1.tar.xz.
===>  Patching for qt5-dbus-5.11.1
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-configure
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-mkspecs_features_create__cmake.prf
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-mkspecs_features_qt__module.prf
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-mkspecs_common_bsd_bsd.conf
/usr/bin/sed -i.bak -e "/DEFAULT_LIBDIRS=/ s,\\\\\"\\\\n,\\\\n/usr/local/lib&,"  /usr/ports/devel/qt5-dbus/work/qtbase-everywhere-src-5.11.1/configure
===>   qt5-dbus-5.11.1 depends on package: pkgconf>=1.3.0_1 - found
===>   qt5-dbus-5.11.1 depends on file: /usr/local/lib/qt5/bin/moc - found
===>   qt5-dbus-5.11.1 depends on file: /usr/local/lib/qt5/bin/qmake - found
===>   qt5-dbus-5.11.1 depends on shared library: libdbus-1.so - found (/usr/local/lib/libdbus-1.so)
===>   qt5-dbus-5.11.1 depends on shared library: libQt5Core.so - found (/usr/local/lib/qt5/libQt5Core.so)
===>  Configuring for qt5-dbus-5.11.1
/bin/ln -sf /usr/local/lib/qt5/libQt5Core.so /usr/ports/devel/qt5-dbus/work/qtbase-everywhere-src-5.11.1/lib
/bin/mkdir -p /usr/ports/devel/qt5-dbus/work/qtbase-everywhere-src-5.11.1
echo 'CMAKE_MODULE_TESTS = -' > /usr/ports/devel/qt5-dbus/work/qtbase-everywhere-src-5.11.1/.qmake.cache
echo 'QMAKE_LIBDIR_FLAGS = -L/usr/ports/devel/qt5-dbus/work/qtbase-everywhere-src-5.11.1/lib' >> /usr/ports/devel/qt5-dbus/work/qtbase-everywhere-src-5.11.1/.qmake.cache
***Unknown option --
Usage: /usr/ports/devel/qt5-dbus/work/qtbase-everywhere-src-5.11.1/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
                 be built,
                 defaults to *; *; *; *.ts; *.xlf; *.qrc
                 Note: The created .pro file probably will 
                 need to be edited. For example add the QT variable to 
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be     *
   * processed as if it was in [files]. These assignments will be parsed *
   * before [files].                                                     *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -after         All variable assignments after this will be
                 parsed after [files]
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -qtconf file   Use file instead of looking for qt.conf
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]
===>  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/qt5-dbus/work/qtbase-everywhere-src-5.11.1/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/devel/qt5-dbus
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/x11-toolkits/qt5-gui
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/qt5-help
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/kf5-extra-cmake-modules
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/kf5-extra-cmake-modules/

I get the feeling that my qt install is somehow broken.
I think Okular is the only program that I use that brings in Qt.

Can i deinstall all it's dependencies Qt included and [re]install them?
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2018-09-26 04:35:43 UTC
Your qmake is probably also our of sync. What version do you have installed of it?


Mfg Tobias
Comment 4 bye 2018-09-26 05:58:00 UTC
(In reply to Tobias C. Berner from comment #3)
qmake -v
QMake version 3.0
Using Qt version 5.7.1 in /usr/local/lib/qt5
Comment 5 Tobias C. Berner freebsd_committer freebsd_triage 2018-09-26 07:30:31 UTC
I thought so. 5.7.1 is ancient. 

Make sure all your installed packages are up to date.


Mfg Tobias
Comment 6 Adriaan de Groot freebsd_committer freebsd_triage 2018-10-02 14:14:22 UTC
Please update all the qt5 ports *first* (eg. to 5.11), then move on to KDE frameworks and okular. (Closing as "Rejected" because the problem isn't with okular, and can be fixed by updating other ports)