Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - global

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: global 6.5.6-1

Git Clone URL: https://aur-dev.archlinux.org/global.git (read-only)
Package Base: global
Description: A source code tag system
Upstream URL: http://www.gnu.org/software/global/
Licenses: GPL
Submitter: None
Maintainer: ptrv
Last Packager: ptrv
Votes: 108
Popularity: 1.975614
First Submitted: 2007-03-05 00:02
Last Updated: 2017-01-07 10:07

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

hav3lock commented on 2015-01-16 13:25

@naquad:

Hey, no problem. :)

About python: run `pacman -Ql gtags | grep py` and you'll see that you might need to add `python` as a depend.

As far as the `reconf.sh` stuff: that's your call, but it feels weird, and the package seems to build and install just fine when using the good ole:

./configure --prefix=/usr
make
make DESTDIR="$pkgdir"

Also, about your patch: I went ahead and wrote quick sed script that'll do the exact same thing _without_ you having to do something as unorthodox as exporting a variable:

sed -i '/mkdir -p ${gtagsdir}/s/\${/$(DESTDIR)${/' $srcdir/global-$pkgver/gozilla/Makefile.am

Also, just because weird stuff like `reconf.sh` just doesn't sit right with me, I went ahead and built two versions of the package: one with the original PKGBUILD, and another with a modified one that didn't use `reconf.sh`.

I then decompressed the `.tar.xz` files using `xz` and then extracted one of them. Then using

tar --diff -f gtags-6.3.3-2-x86_64.pkg.tar usr | sed '/Uid/d; /Gid/d; /Mod time/d'

I checked to see what the differences were; here they are:

usr/lib/gtags/exuberant-ctags.so: Contents differ
usr/lib/gtags/pygments-parser.so: Contents differ
usr/bin/htags: Contents differ
usr/bin/global: Contents differ
usr/bin/gtags: Contents differ
usr/var/gtags: Mode differs
usr/share/gtags/BUILD_TOOLS: Size differs

So it's still up to you; given that a couple *.so files have different contents... I'd be included to just stick with `reconf.sh`, lulz.

Anyway, sorry, I feel like I'm being kind of a dick here, being super nit-picky, I mean.

naquad commented on 2015-01-16 12:01

@hav3lock:

Thank you for your comments, I've fixed most of the issues with the gtags build (except python, looks like its more a namcap issue).

Regarding `reconf.sh`: it is used in official installation documentation (http://www.gnu.org/software/global/download.html) and I would like it to keep it this way. There are no exotic dependencies for it so it doesn't require any extra stuff.

hav3lock commented on 2015-01-16 04:57

The `reconf.sh' utility script, which may be unnecessary (I don't know, but it feels off), uses gperf, bison, and flex. Please add these to the makedepends.

Also please use `namcap' on both the PKGBUILD and the resulting PKG.tar.xz file.

torpesco commented on 2014-12-17 01:55

6.3.3 is working fine for me so far. I know I'd like someone to take on the maintainer role for global...

triforce commented on 2014-12-16 08:55

I can take this on if you are happy using those?

torpesco commented on 2014-12-05 22:19

This seems to work for me.

PKGBUILD: http://pastie.org/9763401
.AURINFO: http://pastie.org/9763403
fix-gozilla-makefile.patch: http://pastie.org/9763405

torpesco commented on 2014-12-05 21:52

I took a stab at updating the PKGBUILD for myself and it seems there may be a problem in 6.3.3's "make install":

[...]
make install-data-hook
make[3]: Entering directory '/tmp/yaourt-tmp-james/aur-global/src/global-6.3.3/gozilla'
mkdir -p /usr/var/gtags
mkdir: cannot create directory ‘/usr/var’: Permission denied
Makefile:737: recipe for target 'install-data-hook' failed
make[3]: *** [install-data-hook] Error 1
[...]

Looks like the culprit is in gozilla/Makefile.am. The following was added between 6.3.2 and 6.3.3:

# for osx-default
gtagsdir = ${localstatedir}/gtags
install-data-hook:
mkdir -p ${gtagsdir}
chmod 777 ${gtagsdir}

I'm not well-versed in automake or makepkg/PKGBUILD, and I don't have time to investigate further at this point. I can't say I like the look of that chmod. Also, I don't even have a /usr/var directory.

migrev commented on 2014-12-05 09:58

I'll disown this package, as I don't actually use it and surely someone will be able of giving it more love than I can.

bladtman commented on 2014-11-17 12:57

I can't seem to get it working with pygments. My latest attempt was simply to install pygments (as well as ctags) before building global.
I've tried using gtags and global in both a ruby and haskell project without luck.
Any pointers?

eagletmt commented on 2014-11-02 12:48

@migrev: 'python2' must be included in makedepends.