curlew:/home/mike% freebsd-version -uk 10.1-RELEASE 10.1-RELEASE-p1 Gimp produces the error message /home/mike/.gimp-2.8/plug-ins/xsane: GIMP support missing (gimp:31420): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error But the package claims to have been built with gimp support: ############################################################################## curlew:/home/mike% pkg info xsane xsane-0.999_3 Name : xsane Version : 0.999_3 Installed on : Mon Dec 15 21:16:53 GMT 2014 Origin : graphics/xsane Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : graphics Licenses : GPLv2 Maintainer : koalative@gmail.com WWW : http://www.xsane.org/ Comment : Gtk-based X11 frontend for SANE (Scanner Access Now Easy) Options : DOCS : on GIMP : on NLS : on Shared Libs required: libtiff.so.5 libsane.so.1 libpng15.so.15 libpangoft2-1.0.so.0 libpangocairo-1.0.so.0 libpango-1.0.so.0 liblcms.so.1 libjpeg.so.8 libintl.so.8 libgtk-x11-2.0.so.0 libgobject-2.0.so.0 libglib-2.0.so.0 libgio-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgdk-x11-2.0.so.0 libfreetype.so.6 libfontconfig.so.1 libcairo.so.2 libatk-1.0.so.0 Annotations : repo_type : binary repository : FreeBSD Flat size : 4.69MiB Description : XSANE is a gtk based X11 frontend for SANE (Scanner Access Now Easy). It works either standalone or as a GIMP plugin. WWW: http://www.xsane.org/ ############################################################################## Building from ports cures the problem and produces a different list of shared libs required ############################################################################## curlew:/home/mike% pkg info xsane xsane-0.999_3 Name : xsane Version : 0.999_3 Installed on : Mon Dec 15 21:19:37 GMT 2014 Origin : graphics/xsane Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : graphics Licenses : GPLv2 Maintainer : koalative@gmail.com WWW : http://www.xsane.org/ Comment : Gtk-based X11 frontend for SANE (Scanner Access Now Easy) Options : DOCS : on GIMP : on NLS : on Shared Libs required: libtiff.so.5 libsane.so.1 libpng15.so.15 libpangoft2-1.0.so.0 libpangocairo-1.0.so.0 libpango-1.0.so.0 liblcms.so.1 libjpeg.so.8 libintl.so.8 libgtk-x11-2.0.so.0 libgobject-2.0.so.0 libglib-2.0.so.0 libgio-2.0.so.0 libgimpwidgets-2.0.so.0 libgimpui-2.0.so.0 libgimpmodule-2.0.so.0 libgimpmath-2.0.so.0 libgimpconfig-2.0.so.0 libgimpcolor-2.0.so.0 libgimpbase-2.0.so.0 libgimp-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgdk-x11-2.0.so.0 libfreetype.so.6 libfontconfig.so.1 libcairo.so.2 libatk-1.0.so.0 Annotations : Flat size : 4.71MiB Description : XSANE is a gtk based X11 frontend for SANE (Scanner Access Now Easy). It works either standalone or as a GIMP plugin. WWW: http://www.xsane.org/
Maintainer CC'd
(In reply to Bugzilla Automation from comment #1) > Maintainer CC'd (In reply to Mike Clarke from comment #0) > curlew:/home/mike% freebsd-version -uk > 10.1-RELEASE > 10.1-RELEASE-p1 > > Gimp produces the error message > > /home/mike/.gimp-2.8/plug-ins/xsane: GIMP support missing > (gimp:31420): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error > Hi, I am in the middle of holidays, will take a look in first week of Jan. IRC this does not happen on FreeBSD-9.
(In reply to Dave Shar from comment #2) > Hi, I am in the middle of holidays, will take a look in first week of Jan. > IRC this does not happen on FreeBSD-9. I did have the same problem with 9.3-RELEASE <https://lists.freebsd.org/pipermail/freebsd-ports/2014-September/095300.html> but held back with a bug report until I'd upgraded to 10 in case it went away. It seems to affect xsane installed from the FreeBSD repository or a local poudriere repository but no problem when built directly from ports.
(In reply to Mike Clarke from comment #3) > > I did have the same problem with 9.3-RELEASE > <https://lists.freebsd.org/pipermail/freebsd-ports/2014-September/095300. > html> but held back with a bug report until I'd upgraded to 10 in case it > went away. It seems to affect xsane installed from the FreeBSD repository or > a local poudriere repository but no problem when built directly from ports. This is poudriere related issue since install from ports works. Packages in FreeBSD repositories are built with poudriere or tinderbox and that is why it does not work in your case. I believe the plugin softlink is already there in ~/.gimp-\* I will still check why it does not work and see what can be done.
(In reply to Dave Shar from comment #4) > (In reply to Mike Clarke from comment #3) > I believe the plugin softlink is already there in ~/.gimp-\* Yes it is curlew:/home/mike% ls -l ~/.gimp-2.8/plug-ins/ total 1 lrwxr-xr-x 1 mike mike 20 1 Sep 15:53 xsane@ -> /usr/local/bin/xsane curlew:/home/mike% ls -l /usr/local/bin/xsane -r-xr-xr-x 1 root wheel 620008 15 Dec 21:19 /usr/local/bin/xsane*
Currently, gimp is listed as run dependency. For the plugin to work, gimp has to be available during the build. Otherwise: checking for GIMP - version >= 1.3.23... *** Could not run GIMP test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GIMP is incorrectly installed. *** When gimp-2.0 is not installed but gimp-1.x is installed then you can *** ignore this error message. The problem should also occur if you build xsane from ports when gimp is not yet installed.
Comment #6 correctly identified the problem. Are there any news on this bug?
Created attachment 157407 [details] trivial fix This trivial patch seems to fix the problem.
(In reply to Andriy Gapon from comment #8) Yes, the patch fixes the problem here
A commit references this bug: Author: amdmi3 Date: Thu Jun 25 21:57:49 UTC 2015 New revision: 390603 URL: https://svnweb.freebsd.org/changeset/ports/390603 Log: - Fix dependency on gimp: this is in face lib-depend PR: 196000 Submitted by: jmc-freebsd2@milibyte.co.uk, avg Approved by: maintainer timeout (koalative@gmail.com, 7 months) Changes: head/graphics/xsane/Makefile