http://bugzilla.opensuse.org/show_bug.cgi?id=977967
Bug ID: 977967 Summary: global package's gtag command cannot work with the option '--gtagslabel=pygments' Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Minor Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: goto.inct@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36 Build Identifier:
I installed 'global' package using zypper and typed 'gtags --gtagslabel=pygments' in the terminal, then I get following warning.
gtags: cannot open shared object '/usr/lib/gtags/pygments-parser.la'.
Of course, gtags does not work correctly.
Reproducible: Always
Steps to Reproduce: 1. Install global (# zypper install global) 2. Use gtags (> gtags --gtagslabel-pygments) Actual Results: gtags: cannot open shared object '/usr/lib/gtags/pygments-parser.la'.
Expected Results: Get GPATH, GRTAGS, GTAGS file into current directory without warning.
Solution:
This bug caused by inconsistence between /etc/gtags.conf and the path of 'pygments-parser.la'. 'gtags.conf' assume that 'pygments-parser.la' is in '/usr/lib/gtags/'. But actually, 'pygments-parser.la' is located in '/usr/lib64/gtags/'. Therefore we can fix this problem following commands: 'sudo sed -i -e "s/lib/lib64/g" /etc/gtags.conf'.
http://bugzilla.opensuse.org/show_bug.cgi?id=977967
Andreas Stieger astieger@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tcech@suse.com Found By|--- |Community User Assignee|bnc-team-screening@forge.pr |tcech@suse.com |ovo.novell.com |
http://bugzilla.opensuse.org/show_bug.cgi?id=977967 http://bugzilla.opensuse.org/show_bug.cgi?id=977967#c8
Andreas Stieger astieger@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jnwang@suse.com
--- Comment #8 from Andreas Stieger astieger@suse.com --- *** Bug 984741 has been marked as a duplicate of this bug. ***
http://bugzilla.opensuse.org/show_bug.cgi?id=977967 http://bugzilla.opensuse.org/show_bug.cgi?id=977967#c9
Andreas Stieger astieger@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |astieger@suse.com
--- Comment #9 from Andreas Stieger astieger@suse.com --- Reviewing your submission for maintenance... are you set for a version update to 6.5.4 here? Why not the released 6.5.1 + patch?
http://bugzilla.opensuse.org/show_bug.cgi?id=977967
Tomáš Chvátal tchvatal@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|Leap 42.1 |Leap 42.3
http://bugzilla.opensuse.org/show_bug.cgi?id=977967 http://bugzilla.opensuse.org/show_bug.cgi?id=977967#c17
--- Comment #17 from Tomas Cech sleep_walker@opensuse.org --- I'm afraid I still don't have time for this package.
http://bugzilla.opensuse.org/show_bug.cgi?id=977967 http://bugzilla.opensuse.org/show_bug.cgi?id=977967#c18
Tomas Cech sleep_walker@opensuse.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED OS|openSUSE Factory |All
--- Comment #18 from Tomas Cech sleep_walker@opensuse.org --- It seems that package pygments has fixed its path so gtags.conf and pygments are aligned.