Mailinglist Archive: opensuse-bugs (3334 mails)

< Previous Next >
[Bug 977967] New: global package's gtag command cannot work with the option '--gtagslabel=pygments'
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 02 May 2016 06:36:26 +0000
  • Message-id: <bug-977967-21960@http.bugzilla.opensuse.org/>
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@xxxxxxxxxxxxxxxxxxxxxx
Reporter: goto.inct@xxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
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'.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
Follow Ups