Missing entry in depends: jasper

Description:

At runtime some functionality is dependent on the jasper package, but jasper is not included as a dependency. gimp being included in makedepends pulls in jasper, so it may be hard to detect the missing dependency when building gimp-nufraw or when gimp is already installed.

Additional info:

  • package version(s): 0.43.3-10
  • config and/or log files:
$ sudo pacman -S gimp-nufraw
resolving dependencies...
looking for conflicting packages...

Packages (4) cfitsio-1:4.5.0-1  gtk2-2.24.33-5  gtkimageview-1.6.4-8  gimp-nufraw-0.43.3-10

Total Installed Size:  44.28 MiB

:: Proceed with installation? [Y/n] 
(4/4) checking keys in keyring                                                                                [#################################################################] 100%
(4/4) checking package integrity                                                                              [#################################################################] 100%
(4/4) loading package files                                                                                   [#################################################################] 100%
(4/4) checking for file conflicts                                                                             [#################################################################] 100%
(4/4) checking available disk space                                                                           [#################################################################] 100%
:: Processing package changes...
(1/4) installing cfitsio                                                                                      [#################################################################] 100%
(2/4) installing gtk2                                                                                         [#################################################################] 100%
Optional dependencies for gtk2
    adwaita-icon-theme: Default icon theme [installed]
    gnome-themes-standard: Default widget theme
    python: gtk-builder-convert [installed]
(3/4) installing gtkimageview                                                                                 [#################################################################] 100%
(4/4) installing gimp-nufraw                                                                                  [#################################################################] 100%
Optional dependencies for gimp-nufraw
    gimp: to use the gimp import plugin for raw images
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Probing GTK2 input method modules...
(3/3) Updating the desktop file MIME type cache...

$ pacman -Q jasper
error: package 'jasper' was not found

$ nufraw-batch --version      
nufraw-batch: error while loading shared libraries: libjasper.so.7: cannot open shared object file: No such file or directory

Steps to reproduce:

  1. On a system without jasper, install gimp-nufraw
  2. Attempt to check the version of nufraw-batch, which is part of gimp-nufraw (pacman -Ql gimp-nufraw | grep nufraw-batch).
Edited by Kyle Hopkins