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'.