Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#72434 - [ctags] Universal Ctags Compile Options Not Provided

Attached to Project: Community Packages
Opened by Robin Choudhury (br0tatos) - Friday, 15 October 2021, 22:24 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Universal ctags doesn't appear to work with the community provided provided package of global.
https://bbs.archlinux.org/viewtopic.php?pid=1989170#p1989170

Additional info:
global - 6.6.7-1
ctags 1:5.9.20210905.0-1

Steps to reproduce:
1. Set your .globalrc to use
2. Execute gtags -v

```
$ gtags -v 13:34:22
[Sun Aug 22 13:34:31 PDT 2021] Gtags started.
Using configuration file '/home/robin/.globalrc'.
Using configuration label 'default'.
Using plug-in parser.
[Sun Aug 22 13:34:31 PDT 2021] Creating 'GTAGS' and 'GRTAGS'.
[1] extracting tags of foo.py
[2] extracting tags of main.c
gtags: Universal Ctags not found. Please see ./configure --help

```

Compiling the packages with the below diffs results in being able to use universal ctags:

```ctags:
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 0e720c5..2c36a8d 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -32,11 +32,12 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --libexecdir=/usr/lib
+ --libexecdir=/usr/lib \
+ --enable-etags
make
}
```

```global
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index d243819..f1d1a7f 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -32,7 +32,8 @@ build() {
autoreconf -fi
./configure \
--prefix=/usr \
- --with-exuberant-ctags=/usr/bin/ctags \
+ --with-universal-ctags=/usr/bin/ctags \
+ --with-exuberant-ctags=/usr/bin/etags \
--with-sqlite3
make
}
```
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:02 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/ctags/issues/1
Comment by Alexander F. Rødseth (xyproto) - Friday, 22 October 2021, 15:01 GMT
Thanks for reporting. The updated "global" package will appear in [community] shortly.

Loading...