Summary: | graphics/exiv2: causes error in graphics/gimp 2.10.8: “gimp_wire_read(): error” when opening file | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Vladimir Omelchuk <admin> | ||||||
Component: | Individual Port(s) | Assignee: | Tobias C. Berner <tcberner> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | admin, fbsd-bugzilla, gja822, lumiwa, shoesoft, slayer.dasilva, tcberner, tjlegg, w.schwarzenfeld | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(gnome) |
||||||
Version: | Latest | ||||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Vladimir Omelchuk
2019-03-21 01:25:00 UTC
(In reply to Vladimir Omelchuk from comment #0) Have you updated to exiv2 version 0.27.0? https://gitlab.gnome.org/GNOME/gimp/issues/2703 https://gitlab.gnome.org/GNOME/gexiv2/issues/27 (In reply to tjlegg from comment #1) Of course! root@vladiom:~ # pkg version -v | grep exiv exiv2-0.27.0,1 = up-to-date with index gexiv2-0.10.9_3 = up-to-date with index libkexiv2-18.12.3_2 = up-to-date with index Can confirm that exiv2 upgrade is the problem. After downgrade to exiv2-0.26_1,1 gimp is working again. (In reply to Stefan Ehmann from comment #3) Yes, after downgrade ports exiv2 and gexiv2, and rebuild GIMP, GIMP work is fine!!! root@vladiom:~ # pkg version -v | grep exiv exiv2-0.26_1,1 < needs updating (index has 0.27.0,1) gexiv2-0.10.9_1 < needs updating (index has 0.10.9_3) libkexiv2-18.12.3_2 = up-to-date with index Created attachment 203148 [details] patch disabling -fvisibility=hidden This seems to be a problem with -fvisibility=hidden. The attached patch restores the behavior of 0.26, i.e., all symbols are public. Maybe there's a cleaner fix that works with hidden visibility but I gave up for now. Upstream, there was a similar fix for MacOS: https://github.com/Exiv2/exiv2/commit/e4301637bcd12fa51433dc60368196c04f267de8#diff-410e5c2117ab5cf5568b441bac6140d4 As I understand corect the problem is not in GIMP but update of exiv2 which make GIMP unusable without downgrade? Very likely the same problem is with graphics/cinepaint (In reply to gja822 from comment #7) Proposed patch worked for me for graphics/gimp to open JPEG and PNG etc. files. It happen that graphics/cinepaint has somewhat different problem, I was wrong. For me it do not open only PNG files (JPEG and TIFF work fine). png.c:139 /usr/local/lib/cinepaint/1.0-4/plug-ins/png wire_write: write error 2 ** (process:8637): ERROR (recursed) **: ERROR: gp_proc_run_write failedwire_read: unexpected EOF (plug-in crashed?) I'll look whether this https://github.com/macports/macports-ports/commit/2a50743b0f16b2c0c142df60ee357522cff7f72d#diff-82124bfb1abb7e8f529b84188a45dc0c fixes it. mfg Tobias (In reply to Tobias C. Berner from comment #9) Couldn't get the macports-ports patch to work. That's why I posted the visibility-patch. gimp is somewhat hard to debug, there is a small test program in this comment: https://gitlab.gnome.org/GNOME/gexiv2/issues/27#note_403221 A commit references this bug: Author: tcberner Date: Fri Mar 29 19:07:32 UTC 2019 New revision: 497188 URL: https://svnweb.freebsd.org/changeset/ports/497188 Log: graphics/exiv2: add patch to fix gimp Modify upstrams fix [1] for FreeBSD. PR: 236677 Reported by: Vladimir Omelchuk <admin@vladiom.com.ua> Changes: head/graphics/exiv2/Makefile head/graphics/exiv2/files/ head/graphics/exiv2/files/patch-git_04c9b1 head/graphics/gexiv2/Makefile head/graphics/gimp-app/Makefile Should be working now. Sorry for the breakage. [1] https://github.com/Exiv2/exiv2/commit/04c9b181cc2c7741fcb134ccc43f2bafc1f86f19 (In reply to Tobias C. Berner from comment #12) Now GIMP is working correctly! Thanks! Now on the GIMP 2.10.12 is the same problem. Created attachment 205746 [details]
v1
Moin moin
could you rebuild exiv2 with the attached patch (and probably gimp also).
mfg Tobias
A commit references this bug: Author: tcberner Date: Sat Jul 13 15:52:17 UTC 2019 New revision: 506546 URL: https://svnweb.freebsd.org/changeset/ports/506546 Log: graphics/exiv2: readd visibility patch for graphics/gimp PR: 236677 Reported by: lumiwa@gmail.com, starikarp@dismail.de Changes: head/graphics/exiv2/Makefile head/graphics/exiv2/files/ head/graphics/exiv2/files/patch-cmake_mainSetup.cmake head/graphics/gimp/Makefile |