Package Details: universal-ctags-git 5.9.20201011.0.r12.g01b9fc86-1

Git Clone URL: https://aur.archlinux.org/universal-ctags-git.git (read-only, click to copy)
Package Base: universal-ctags-git
Description: Generates an index (or tag) file of language objects found in source files
Upstream URL: https://ctags.io
Licenses: GPL
Conflicts: ctags
Provides: ctags
Submitter: VargArch
Maintainer: polyzen
Last Packager: polyzen
Votes: 60
Popularity: 0.86
First Submitted: 2015-07-05 08:05
Last Updated: 2020-10-13 04:10

Required by (60)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

static_n00b commented on 2020-10-20 22:44

@polyzen: strange, I've installed quite a few AUR packages using pacaur

here's a partial log of pacaur -Syu universal-ctags-git (invoked after pacaur Sc):

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 sublime-text is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Package universal-ctags-git not found in repositories, trying AUR...
:: Starting AUR upgrade...
:: resolving dependencies...
:: looking for inter-conflicts...
:: universal-ctags-git latest revision -- fetching

AUR Packages  (1) universal-ctags-git-latest  

:: Proceed with installation? [Y/n] 
:: Retrieving package(s)...
update complete: /home/skrondo/.cache/pacaur/universal-ctags-git
:: Checking universal-ctags-git integrity...
==> Making package: universal-ctags-git 5.9.20201011.0.r12.g01b9fc86-1 (mer 21 ott 2020, 00:33:07)
==> Retrieving sources...
  -> Updating ctags git repo...
Fetching origin
==> Validating source files with b2sums...
    ctags ... Skipped
:: Preparing universal-ctags-git...
==> Making package: universal-ctags-git 5.9.20201011.0.r12.g01b9fc86-1 (mer 21 ott 2020, 00:33:09)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Updating ctags git repo...
Fetching origin
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of ctags git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Updated version: universal-ctags-git 5.9.20201018.0.r4.g663bfb1c-1
==> Sources are ready.
:: Building universal-ctags-git package(s)...
==> Making package: universal-ctags-git 5.9.20201018.0.r4.g663bfb1c-1 (mer 21 ott 2020, 00:33:13)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
... autoreconf seems OK
Universal Ctags, version 5.9.0
Linux 5.9.1-arch1-1 #1 SMP PREEMPT Sat, 17 Oct 2020 13:30:37 +0000 x86_64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
... configure, make, link and check() seem OK
Summary (see CMDLINE.tmp to reproduce without test harness)
------------------------------------------------------------
  #passed:                                1094
  #FIXED:                                 2
        parser-puppetManifest.r/puppet-tag
        parser-puppetManifest.r/puppet-tagged
  #FAILED (broken args.ctags?):           0
  #FAILED (unexpected-exit-status):       0
  #FAILED (unexpected-output):            0
  #TIMED-OUT (10s):                       0
  #skipped (features):                    1
        parser-ant.r/regex-based
  #skipped (languages):                   0
  #known-bugs:                            20
        parser-sql.r/sql-create-table-extra-select
        parser-scheme.r/scheme-string
        parser-scheme.r/scheme-srfi-30-comment
        parser-python.r/newlines-cr
        parser-puppetManifest.r/puppet-virtualresources
        parser-perl.r/curly-bracket
        parser-m4.r/m4-quotestring
        parser-lisp.r/newline-between-tokens
        parser-javascript.r/js-scope-resolution
        parser-java.r/bug1777344.java
        parser-java.r/anonymous-class
        parser-itcl.r/fq-with-namespace
        parser-emacsLisp.r/newline
        parser-elixir.r/elixir-exceptions
        parser-cxx.r/variables-prototypes.cpp
        parser-cxx.r/namespace-and-scope
        parser-cxx.r/cxx-keywords-as-c-identifiers
        parser-c.r/extern_variable.h
        parser-c.r/attr-attached-to-array-failed
        parser-autoconf.r/nested-block.ac
make  check-am
make[1]: Entering directory '/tmp/makepkg/universal-ctags-git/src/ctags'
REPOINFO   main/repoinfo.h
  CCLD     ctags
make[1]: Leaving directory '/tmp/makepkg/universal-ctags-git/src/ctags'
==> Entering fakeroot environment...
chmod: cannot access '/home/skrondo/.cache/pacaur/universal-ctags-git/pkg': No such file or directory
/usr/bin/fakeroot: line 178: 64491 User defined signal 1   FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"
:: failed to build universal-ctags-git package(s)

That's all folks!

polyzen commented on 2020-10-20 22:19

fenuks, I prefer to leave arch=() to the officially supported arch/es, and use makepkg's -A option for the rest.

static_n00b, built fine for me in a container: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot

fenuks commented on 2020-10-19 20:01

@polyzen Could you please add more architectures (I have it running on aarch64).

polyzen commented on 2020-10-13 04:09

Deleted the sources, did a clean build, and now my pkgver has fallen in line ┐(ツ)┌.

btmcg commented on 2020-10-13 02:41

Can confirm I see the exact results as @pepper_chico and @kseistrup.

ctags $ git describe --long --tags
p5.9.20201011.0-12-g01b9fc86
ctags $ git describe --long --tags | sed 's/^p//;s/\([^-]*-g\)/r\1/;s/-/./g'
5.9.20201011.0.r12.g01b9fc86

SolarAquarion commented on 2020-10-13 02:28

there's only one tag https://github.com/universal-ctags/ctags/releases/tag/p5.9.20201011.0

pepper_chico commented on 2020-10-13 01:52

@polyzen just not sure what's happening, except that the git describe/sed result in your machine is one character longer than ours.

polyzen commented on 2020-10-13 00:38

If tag contains a prefix, like v or project name then it should be cut off:

    pkgver() {
      cd "$pkgname"
      # cutting off 'foo-' prefix that presents in the git tag
      git describe --long | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g'
    }

    6.1.r3.gd77e105

pepper_chico commented on 2020-10-12 18:20

Same issue here:

ctags on HEAD (01b9fc8)
❯ git describe --long --tags | sed 's/^p//;s/\([^-]*-g\)/r\1/;s/-/./g'
5.9.20201011.0.r12.g01b9fc86

It seems this git describe/sed command is giving one character longer in the package maintainer's machine. Notice that this sed regex isn't listed in the recommended pkgver guidelines: https://wiki.archlinux.org/index.php/VCS_package_guidelines.

kseistrup commented on 2020-10-12 09:49

That's interesting, because if I do the “git describe” dance I get

5.9.20201011.0.r12.g01b9fc86

and

$ ls -l *.zst
.rw-r--r-- 589.583 kas 12 Oct 11:44 universal-ctags-git-5.9.20201011.0.r12.g01b9fc86-1-x86_64.pkg.tar.zst

which is also the package name I end up with if I install it with yay.

I wonder what is happening here. Any ideas?