FS#76005 - [ghostscript] hiding non-public API symbols by default

Attached to Project: Arch Linux
Opened by helle vaanzinn (glitsj16) - Sunday, 25 September 2022, 05:55 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 25 September 2022, 06:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Apparently upstream now hides non-public API symbols by default:
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7359f75059bad3216b0a9a886b4c211011a68e05
This causes graphviz to throw the below warning on install:
Warning: Could not load "/usr/lib/graphviz/libgvplugin_gs.so.6".
See https://bugs.archlinux.org/task/75991.

Out of curiosity I checked configure --help and found `--disable-hidden-visibility`.
Adding to that to the configure step in the PKGBUILD, rebuilding and installing ghostscript works fine. The graphviz warning is no longer there when re-installing it.

Please consider adding this flag to the PKGBUILD.

Additional info:
* package version(s)
$ pacman -Q ghostscript graphviz
ghostscript 10.0.0-1
graphviz 5.0.1-2

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
(1) add `--disable-hidden-visibility` to the ghostscript PKGBUILD
(2) build the package
(3) install the package
(4) re-install graphviz
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 25 September 2022, 06:21 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#75991 

Loading...