Bug#876494: okular: FTBFS: dh_install reports missing files
Hi,
I had a look at this.
The relevant parts from the build log are probably the following:
~~~
[...]
Setting up libqmobipocket-dev (4:16.08.0-1) ...
[...]
CMake Warning at generators/CMakeLists.txt:85 (find_package):
  Could not find a configuration file for package "QMobipocket" that is
  compatible with requested version "2".
  The following configuration files were considered but not accepted:
    /usr/lib/cmake/QMobipocket/QMobipocketConfig.cmake, version: unknown
[...]
-- The following OPTIONAL packages have not been found:
 * Qt5TextToSpeech
 * QMobipocket (required version >= 2)
[...]
~~~
As can be seen from above, the old version 4:16.08.0-1 of the build 
dependency "libqmobipocket-dev" was used during the build.
The new version 4:17.08.1-1 had been uploaded to experimental only a few 
seconds before uploading the new okular package (s. 
https://tracker.debian.org/news/873145) and was therefore probably not 
available during the build.
I can reproduce the problem when using that old version of 
"libqmobipocket-dev".
The problem goes away when the new version 4:17.08.1-1 of 
libqmobipocket-dev from experimental is installed.
Therefore, a rebuild should basically fix the problem. I think a 
versioned build-dependency should be added.
Regards,
  Michael
Reply to: