Hi Gregory,

Thank you for the bug report.

I can't seem to reproduce the failure you are seeing. See excerpt below -

% echo 'int main(){return 0;}' > main.c
export GTAGSLABEL=pygments
gtags
gtags -d GTAGS | grep -v '^ '
main    1 @n 1 int @n(){return 0;}

What is the output of gtags -v? For reference, I get -

% gtags -v
[Tue Aug 11 21:36:39 JST 2020] Gtags started.
 Using configuration file '/etc/gtags/gtags.conf'.
 Using configuration label 'pygments'.
 Using plug-in parser.
[Tue Aug 11 21:36:39 JST 2020] Creating 'GTAGS' and 'GRTAGS'.
 [1] extracting tags of main.c
[Tue Aug 11 21:36:39 JST 2020] Done.


On Tue, Aug 11, 2020 at 9:03 PM Gregory Heytings <g...@sdf.org> wrote:
>
>
> Package: global
> Version: 6.6.4-4
> Severity: important
> X-Debbugs-Cc: g...@sdf.org
>
> Dear Maintainer,
>
> Version 6.6.4-4 of the package does not index definitions with 
> GTAGSLABEL=pygments.  Version 6.6.4-3 did.  Steps to reproduce the bug:
>
> echo 'int main(){return 0;}' > main.c
> export GTAGSLABEL=pygments
> gtags
> gtags -d GTAGS | grep -v '^ '
>
> The last command displays "main" with 6.6.4-3, and nothing with 6.6.4-4.
>
> -- System Information:
> Debian Release: bullseye/sid
>    APT prefers stable-updates
>    APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
> Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
> LANGUAGE=en_US:en
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages global depends on:
> ii  emacsen-common  3.0.4
> ii  libc6           2.31-2
> ii  libltdl7        2.4.6-14
> ii  libncurses6     6.2-1
> ii  libsqlite3-0    3.32.3-1
> ii  libtinfo6       6.2-1
>
> Versions of packages global recommends:
> ii  python3  3.8.2-3
>
> Versions of packages global suggests:
> pn  doxygen                             <none>
> pn  exuberant-ctags                     <none>
> ii  firefox-esr [www-browser]           68.11.0esr-1
> pn  id-utils                            <none>
> ii  python3-pygments                    2.3.1+dfsg-4
> ii  w3m [www-browser]                   0.5.3-38
>
> -- no debconf information

Reply via email to