FS#75991 - [graphviz] Warning: Could not load "/usr/lib/graphviz/libgvplugin_gs.so.6" - It was found

Attached to Project: Arch Linux
Opened by John Barks (Zod) - Friday, 23 September 2022, 18:25 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 26 September 2022, 15:11 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Andreas Radke (AndyRTR)
Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 11
Private No

Details

Description:
While updating my system I recieved this warning..
Warning: Could not load "/usr/lib/graphviz/libgvplugin_gs.so.6" - It was found, so perhaps one of its dependents was not. Try ldd.


Additional info:
* package version(s)
graphviz (5.0.1-1 -> 5.0.1-2)
ghostscript (9.56.1-1 -> 10.0.0-1)


* config and/or log files etc.
* link to upstream bug report, if any
https://gitlab.com/graphviz/graphviz/-/issues/2280

Steps to reproduce:

update graphviz from 5.0.1-1 -> 5.0.1-2

   ldd (32.9 KiB)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 26 September 2022, 15:11 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Friday, 23 September 2022, 19:38 GMT
looks similar to  FS#50751 
Comment by Hussam Al-Tayeb (hussam) - Friday, 23 September 2022, 20:36 GMT
Not entirely. In this case, the file is found and the dependencies are not broken, unlike  FS#50751 .
Comment by Antonio Rojas (arojas) - Friday, 23 September 2022, 21:45 GMT
LD_DEBUG shows the actual issue:

/usr/lib/graphviz/libgvplugin_gs.so.6: error: symbol lookup error: undefined symbol: gs_error_names (fatal)

GS now hides non-public API symbols by default:

https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7359f75059bad3216b0a9a886b4c211011a68e05
Comment by helle vaanzinn (glitsj16) - Sunday, 25 September 2022, 05:21 GMT
Cfr. comment from arojas, this is due to the `ghostscript` PKGBUILD. After adding `--disable-hidden-visibility` to the configure step there and rebuilding GS the warning goes away.
Comment by Andreas Radke (AndyRTR) - Sunday, 25 September 2022, 07:34 GMT
We shouldn't revert new upstream behavior just for cosmetics.
Comment by Jake Dane (jakedane) - Sunday, 25 September 2022, 08:16 GMT
Replacing the single use of `gs_error_names ()` in `src/graphviz-5.0.1/plugin/gs/gvloadimage_gs.c` solves this.
Comment by Antonio Rojas (arojas) - Sunday, 25 September 2022, 10:36 GMT
This is not just a cosmetic issue, the plugin doesn't load at all
Comment by Hussam Al-Tayeb (hussam) - Sunday, 25 September 2022, 12:03 GMT
Maybe keep this in testing till it is fixed in graphviz.
Comment by Yuri Cherio (cherio) - Sunday, 25 September 2022, 15:43 GMT
What's the recommendation for Arch users to temporarily fix this? E.g. what packages should be downgraded or instructions otherwise?
Comment by Doug Newgard (Scimmia) - Sunday, 25 September 2022, 15:56 GMT
cherio, if you actually need that plugin, rebuilding ghostscript as glitsj16 said would be a temporary workaround. If you don't need that plugin, ignore it.
Comment by helle vaanzinn (glitsj16) - Monday, 26 September 2022, 11:03 GMT
cherio, here's a patch offering a temporary workaround if you need the affected plugin.
Comment by Andreas Radke (AndyRTR) - Monday, 26 September 2022, 11:40 GMT
Please give 5.0.1-3 a try.
Comment by John Barks (Zod) - Monday, 26 September 2022, 12:11 GMT
Near as I can tell, this is fixed.
Comment by helle vaanzinn (glitsj16) - Monday, 26 September 2022, 12:27 GMT
For me 5.0.1-3 from testing fixed this. The warning is gone and the plugin is there. Thanks!

Loading...