Created attachment 1079855 [details] PATCH: Assume shlibs live in lib64/ and s/.la/.so/g Description of problem: When using global to index code using its ctags plugin, the tool exists with an error: gtags: cannot open shared object '/usr/lib/gtags/exuberant-ctags.la'. The same problem probably exists for the other plugin bundled with global, a pygmentize wrapper. Version-Release number of selected component (if applicable): 6.3.3-1 How reproducible: Always Steps to Reproduce: 1. In any directory: "GTAGSLABEL=ctags gtags ." Actual results: exits with: gtags: cannot open shared object '/usr/lib/gtags/exuberant-ctags.la'. Expected results: Should find shlib (which *is* installed in /usr/lib64/gtags/*.so) and run. Additional info: The problem is in gtags.conf.in template which uses insert "$prefix/lib/" instead of "$libdir", and also names the .la files (which the SPEC erases) instead of the .so files. patch attached which fixes the problem, assuming x86_64. The correct fix would be to change gtags.conf.in, but that requires changes to configure.ac and the autoreconf, and versions, and the patch becomes huge. I really can't spend 3 days on this, and good chances this will be ignored anyway as in previous bugs I've reported.
email send bug-global about $libdir not being used. Also note upstream released 6.5.1, Sep 2015.
upstream bug report finally showed up in their ML archive: https://lists.gnu.org/archive/html/bug-global/2015-10/msg00002.html
Upstream maintainer Shigio Yamaguchi has posted patches fixing this issue, see linked thread above. Should be in next released version, but trivially applies to current version as well.
Bump. The default install is broken, Upstream is patched. Please fix.
Bump. Upstream has fixed this.
I am happy to co-maintain this package. Can you approve me on pkgdb? My FAS id is cheeselee.
(In reply to Robin Lee from comment #6) > I am happy to co-maintain this package. Can you approve me on pkgdb? My FAS > id is cheeselee. Done. THanks and enjoy!
(In reply to Pavel Zhukov from comment #7) > (In reply to Robin Lee from comment #6) > > I am happy to co-maintain this package. Can you approve me on pkgdb? My FAS > > id is cheeselee. > > Done. > THanks and enjoy! Great!
global-6.5.1-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-ccbe1a5b07
global-6.5.1-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update global' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-ccbe1a5b07
global-6.5.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.