Skip to content

Instantly share code, notes, and snippets.

@lucc
Created January 14, 2016 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucc/962fe13d6fb50606ce08 to your computer and use it in GitHub Desktop.
Save lucc/962fe13d6fb50606ce08 to your computer and use it in GitHub Desktop.
pacaur debugging output
+ version=4.4.3
+ LC_COLLATE=C
+ TEXTDOMAIN=pacaur
+ TEXTDOMAINDIR=/usr/share/locale
+ [[ -n '' ]]
+ configdir=/etc/xdg/pacaur
+ userconfigdir=/home/luc/.config/pacaur
+ userpacmandir=/home/luc/.config/pacman
+ [[ -r '' ]]
+ source /etc/makepkg.conf
++ DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' 'scp::/usr/bin/scp -C %u %o')
++ VCSCLIENTS=('bzr::bzr' 'git::git' 'hg::mercurial' 'svn::subversion')
++ CARCH=x86_64
++ CHOST=x86_64-unknown-linux-gnu
++ CPPFLAGS=-D_FORTIFY_SOURCE=2
++ CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong'
++ CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong'
++ LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro
++ DEBUG_CFLAGS='-g -fvar-tracking-assignments'
++ DEBUG_CXXFLAGS='-g -fvar-tracking-assignments'
++ BUILDENV=(!distcc color !ccache check !sign)
++ OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
++ INTEGRITY_CHECK=(md5)
++ STRIP_BINARIES=--strip-all
++ STRIP_SHARED=--strip-unneeded
++ STRIP_STATIC=--strip-debug
++ MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
++ DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
++ PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
++ COMPRESSGZ=(gzip -c -f -n)
++ COMPRESSBZ2=(bzip2 -c -f)
++ COMPRESSXZ=(xz -c -z -)
++ COMPRESSLRZ=(lrzip -q)
++ COMPRESSLZO=(lzop -q)
++ COMPRESSZ=(compress -c -f)
++ PKGEXT=.pkg.tar.xz
++ SRCEXT=.src.tar.gz
+ [[ -r /home/luc/.config/pacman/makepkg.conf ]]
+ [[ -r /home/luc/.makepkg.conf ]]
+ tmpdir=/tmp/pacaurtmp-luc
+ clonedir=/tmp/pacaurtmp-luc
+ editor=nvim
+ displaybuildfiles=full
+ fallback=true
+ silent=false
+ sortby=popularity
+ sudoloop=false
+ pacmanbin=pacman
+ aururl=aur.archlinux.org
+ aurrpc='/rpc.php?type=multiinfo&v=4'
+ source /etc/xdg/pacaur/config
+ [[ -r /home/luc/.config/pacaur/config ]]
+ source /home/luc/.config/pacaur/config
++ clonedir=/home/luc/.cache/pacaur/src
+ [[ ! -d /tmp/pacaurtmp-luc ]]
+ [[ ! -d /home/luc/.cache/pacaur/src ]]
+ trap Cancel INT
+ args=($@)
+ for i in '"${args[@]}"'
+ [[ -S =~ ^-[a-zA-Z0-9] ]]
+ opts+=($i)
+ for i in '"${args[@]}"'
+ [[ --devel =~ ^-[a-zA-Z0-9] ]]
+ for i in '"${args[@]}"'
+ [[ rolo-git =~ ^-[a-zA-Z0-9] ]]
+ count=0
+ [[ -n -S ]]
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ pacmanarg+=("-$OPT")
+ case "$OPT" in
+ pacS=1
+ operation=sync
+ coweropts+=("-f")
+ [[ -S =~ w ]]
+ installpkg=true
+ [[ -S =~ g ]]
+ [[ -S =~ l ]]
+ [[ -S =~ p ]]
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ pacmanarg+=("-$OPT")
+ case "$OPT" in
+ case "$OPTARG" in
+ devel=true
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ [[ -z rolo-git ]]
+ pkgs+=(${!OPTIND})
+ shift 3
+ OPTIND=1
+ [[ -n '' ]]
++ grep '^Color' /etc/pacman.conf
+ [[ -n Color ]]
+ [[ '' != \n\e\v\e\r ]]
+ [[ '' = \a\l\w\a\y\s ]]
+ coweropts+=("--color=auto")
+ reset='\e[0m'
+ colorR='\e[1;31m'
+ colorG='\e[1;32m'
+ colorY='\e[1;33m'
+ colorB='\e[1;34m'
+ colorM='\e[1;35m'
+ colorW='\e[1;39m'
+ pacmanarg=(${pacmanarg[@]/--/})
+ pacmanarg=(${pacmanarg[@]/-r/})
+ pacmanarg=(${pacmanarg[@]/-a/})
+ [[ sync = sync ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ [[ 1000 -eq 0 ]]
+ [[ -n 1 ]]
+ pacmanarg=(${pacmanarg[@]/-e/})
+ [[ -n 1 ]]
+ [[ -n '' ]]
+ [[ -n 1 ]]
+ [[ -n '' ]]
+ [[ ! -n nvim ]]
+ [[ sync = sync ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ [[ full = diff ]]
+ [[ ! -w /home/luc/.cache/pacaur/src ]]
+ [[ -z rolo-git ]]
+ [[ -n '' ]]
+ case $operation in
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -z rolo-git ]]
+ ClassifyPkgs rolo-git
+ [[ true = true ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ unset noaurpkgs
+ for i in '"${pkgs[@]}"'
+ [[ rolo-git == aur/* ]]
+ noaurpkgs+=($i)
+ [[ -n rolo-git ]]
+ norepopkgs=($(LANG=C $pacmanbin -Sp ${noaurpkgs[@]} 2>&1 >/dev/null | awk '{print $NF}'))
++ LANG=C
++ pacman -Sp rolo-git
++ awk '{print $NF}'
+ for i in '"${norepopkgs[@]}"'
+ [[ ! rolo-git =~ [a-zA-Z0-9.+-]+/rolo-git[^a-zA-Z0-9.+-] ]]
+ aurpkgs+=($i)
+ repopkgs=($(LC_COLLATE=C comm -23 <(tr ' ' '\n' <<< ${noaurpkgs[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${aurpkgs[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -23 /dev/fd/63 /dev/fd/62
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+ [[ -n '' ]]
+ [[ -n rolo-git ]]
+ [[ -n '' ]]
+ [[ true = true ]]
+ [[ ! -n '' ]]
+ Note w 'Package(s) \e[1;39mrolo-git\e[0m not found in repositories, trying \e[1;35mAUR\e[0m...'
+ case "$1" in
+ echo -e '\e[1;33m::\e[0m Package(s) \e[1;39mrolo-git\e[0m not found in repositories, trying \e[1;35mAUR\e[0m...'
:: Package(s) rolo-git not found in repositories, trying AUR...
+ Core rolo-git
+ GetIgnoredPkgs
+ ignoredpkgs+=($(grep '^IgnorePkg' '/etc/pacman.conf' | awk -F '=' '{print $NF}' | tr -d "'\""))
++ grep '^IgnorePkg' /etc/pacman.conf
++ awk -F = '{print $NF}'
++ tr -d ''\''"'
+ [[ -e /home/luc/.config/cower/config ]]
+ ignoredpkgs=(${ignoredpkgs[@]//,/ })
+ [[ -n '' ]]
+ IgnoreChecks
+ [[ -z '' ]]
+ return
+ DepsSolver
+ Note i 'resolving dependencies...'
+ case "$1" in
+ echo -e '\e[1;34m::\e[0m resolving dependencies...'
:: resolving dependencies...
+ (( i=0 ))
+ (( i<1 ))
++ awk -F '>|<|=' '{print $1}'
+ aurpkgs[$i]=rolo-git
+ (( i++ ))
+ (( i<1 ))
+ deps+=(${aurpkgs[@]})
++ DownloadJson rolo-git
++ urlencodedpkgs=($(sed 's/+/%2b/g;s/@/%40/g' <<< $@))
+++ sed 's/+/%2b/g;s/@/%40/g'
+++ printf '&arg[]=%s' rolo-git
++ urlargs='&arg[]=rolo-git'
++ [[ 15 -lt 8125 ]]
++ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=4&arg[]=rolo-git'
+ json='{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}'
+ aurpkgsproviders=($(GetJson "array" "$json" "Provides"))
++ GetJson array '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' Provides
++ json_verify -q
++ case "$1" in
++ json_reformat
++ tr -d ', '
++ tr -d '\n'
++ sed -e '/^"Provides"/,/]/!d'
++ tr -d '[]"'
++ cut '-d ' -f 2-
++ sed 's/] /]\n/g'
++ tr -d '\"'
++ tr '\n' ' '
+ [[ -n '' ]]
+ [[ -z '' ]]
+ foreignpkgs=($($pacmanbin -Qmq))
++ pacman -Qmq
+ FindDepsAur rolo-git
+ [[ -n '' ]]
+ [[ -z '' ]]
+ depspkgsaur=(${aurpkgs[@]})
++ DownloadJson rolo-git
++ urlencodedpkgs=($(sed 's/+/%2b/g;s/@/%40/g' <<< $@))
+++ sed 's/+/%2b/g;s/@/%40/g'
+++ printf '&arg[]=%s' rolo-git
++ urlargs='&arg[]=rolo-git'
++ [[ 15 -lt 8125 ]]
++ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=4&arg[]=rolo-git'
+ json='{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}'
+ [[ -z '' ]]
+ errdeps+=($(LC_COLLATE=C comm -3 <(tr ' ' '\n' <<< $(GetJson "var" "$json" "Name") | sort -u) <(tr ' ' '\n' <<< ${aurpkgs[@]} | sort -u)))
++ LC_COLLATE=C
++ comm -3 /dev/fd/63 /dev/fd/62
+++ tr ' ' '\n'
+++ sort -u
+++ tr ' ' '\n'
+++ sort -u
++++ GetJson var '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' Name
++++ json_verify -q
++++ case "$1" in
++++ awk -F '#' '{print $2}'
++++ json_reformat
++++ tr -d '", '
++++ grep -Po 'Name:.*'
++++ sed -r s/Name:/Name#/g
+ [[ -n '' ]]
+ depspkgs=($(GetJson "array" "$json" "Depends"))
++ GetJson array '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' Depends
++ json_verify -q
++ case "$1" in
++ json_reformat
++ tr -d ', '
++ tr -d '\n'
++ sed -e '/^"Depends"/,/]/!d'
++ tr -d '[]"'
++ cut '-d ' -f 2-
++ sed 's/] /]\n/g'
++ tr -d '\"'
++ tr '\n' ' '
+ [[ ! -n '' ]]
+ depspkgs+=($(GetJson "array" "$json" "MakeDepends"))
++ GetJson array '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' MakeDepends
++ json_verify -q
++ case "$1" in
++ json_reformat
++ tr -d ', '
++ tr -d '\n'
++ sed -e '/^"MakeDepends"/,/]/!d'
++ tr -d '[]"'
++ cut '-d ' -f 2-
++ sed 's/] /]\n/g'
++ tr -d '\"'
++ tr '\n' ' '
+ depspkgs+=($(GetJson "array" "$json" "CheckDepends"))
++ GetJson array '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' CheckDepends
++ json_verify -q
++ case "$1" in
++ json_reformat
++ tr -d '[]"'
++ cut '-d ' -f 2-
++ tr -d '\n'
++ sed 's/] /]\n/g'
++ tr '\n' ' '
++ tr -d '\"'
++ sed -e '/^"CheckDepends"/,/]/!d'
++ tr -d ', '
+ [[ ! -n '' ]]
+ [[ ! -n true ]]
+ (( i=0 ))
+ (( i<3 ))
++ awk -F '>|<|=' '{print $1}'
+ depspkgs[$i]=ncurses
+ unset j
++ expac -Qs %n '^ncurses$'
+ j=ncurses
+ [[ -n ncurses ]]
+ depspkgs[$i]=ncurses
+ (( i++ ))
+ (( i<3 ))
++ awk -F '>|<|=' '{print $1}'
+ depspkgs[$i]=libvc-git
+ unset j
++ expac -Qs %n '^libvc-git$'
+ j=
+ [[ -n '' ]]
+ foreignpkgs+=(${depspkgs[$i]})
+ (( i++ ))
+ (( i<3 ))
++ awk -F '>|<|=' '{print $1}'
+ depspkgs[$i]=autoconf
+ unset j
++ expac -Qs %n '^autoconf$'
+ j=autoconf
+ [[ -n autoconf ]]
+ depspkgs[$i]=autoconf
+ (( i++ ))
+ (( i<3 ))
+ [[ -n true ]]
+ unset vcsdepspkgs
+ (( i=0 ))
+ (( i<3 ))
++ grep -E '\-(cvs|svn|git|hg|bzr|darcs|nightly.*)$'
+ [[ -n '' ]]
+ (( i++ ))
+ (( i<3 ))
++ grep -E '\-(cvs|svn|git|hg|bzr|darcs|nightly.*)$'
+ [[ -n libvc-git ]]
+ vcsdepspkgs+=(${depspkgs[$i]})
+ (( i++ ))
+ (( i<3 ))
++ grep -E '\-(cvs|svn|git|hg|bzr|darcs|nightly.*)$'
+ [[ -n '' ]]
+ (( i++ ))
+ (( i<3 ))
+ [[ ! -n '' ]]
+ depspkgs=($($pacmanbin -T ${depspkgs[@]} | sort -u))
++ pacman -T ncurses libvc-git autoconf
++ sort -u
+ depspkgs=($(LC_COLLATE=C comm -3 <(tr ' ' '\n' <<< ${depspkgs[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${vcsdepspkgs[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -3 /dev/fd/63 /dev/fd/62
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+ [[ -n '' ]]
+ unset depspkgsaur
+ [[ -n '' ]]
+ unset depspkgs
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
++ DownloadJson rolo-git
++ urlencodedpkgs=($(sed 's/+/%2b/g;s/@/%40/g' <<< $@))
+++ sed 's/+/%2b/g;s/@/%40/g'
+++ printf '&arg[]=%s' rolo-git
++ urlargs='&arg[]=rolo-git'
++ [[ 15 -lt 8125 ]]
++ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=4&arg[]=rolo-git'
+ json='{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}'
+ depsAname=($(GetJson "var" "$json" "Name"))
++ GetJson var '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' Name
++ json_verify -q
++ case "$1" in
++ json_reformat
++ awk -F '#' '{print $2}'
++ tr -d '", '
++ grep -Po 'Name:.*'
++ sed -r s/Name:/Name#/g
+ depsAver=($(GetJson "var" "$json" "Version"))
++ GetJson var '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' Version
++ json_verify -q
++ case "$1" in
++ json_reformat
++ tr -d '", '
++ grep -Po 'Version:.*'
++ sed -r s/Version:/Version#/g
++ awk -F '#' '{print $2}'
+ depsAood=($(GetJson "var" "$json" "OutOfDate"))
++ GetJson var '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' OutOfDate
++ json_verify -q
++ case "$1" in
++ json_reformat
++ awk -F '#' '{print $2}'
++ sed -r s/OutOfDate:/OutOfDate#/g
++ grep -Po 'OutOfDate:.*'
++ tr -d '", '
+ (( i=0 ))
+ (( i<1 ))
++ expac -Qs %v '^rolo-git$'
+ depsQver[$i]=
+ [[ -z '' ]]
+ depsQver[$i]='#'
++ grep -E '\-(cvs|svn|git|hg|bzr|darcs|nightly.*)$'
+ [[ -n rolo-git ]]
+ depsAver[$i]=latest
+ (( i++ ))
+ (( i<1 ))
+ [[ -n '' ]]
+ FindDepsRepo
+ [[ -z '' ]]
+ return
+ IgnoreDepsChecks
+ [[ -z '' ]]
+ return
+ ProviderChecks
+ [[ -z '' ]]
+ return
+ ConflictChecks
+ Note i 'looking for inter-conflicts...'
+ case "$1" in
+ echo -e '\e[1;34m::\e[0m looking for inter-conflicts...'
:: looking for inter-conflicts...
+ allQprovides=($(expac -Q '%n'))
++ expac -Q %n
+ allQprovides+=($(expac -Q '%S'))
++ expac -Q %S
+ allQconflicts=($(expac -Q '%C'))
++ expac -Q %C
+ Aprovides=(${depsAname[@]})
+ Aprovides+=($(GetJson "array" "$json" "Provides"))
++ GetJson array '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' Provides
++ json_verify -q
++ case "$1" in
++ json_reformat
++ cut '-d ' -f 2-
++ sed 's/] /]\n/g'
++ tr -d '\n'
++ tr -d '[]"'
++ tr '\n' ' '
++ tr -d '\"'
++ sed -e '/^"Provides"/,/]/!d'
++ tr -d ', '
+ Aconflicts=($(GetJson "array" "$json" "Conflicts"))
++ GetJson array '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' Conflicts
++ json_verify -q
++ case "$1" in
++ json_reformat
++ cut '-d ' -f 2-
++ tr -d '\n'
++ tr -d '[]"'
++ sed 's/] /]\n/g'
++ tr -d '\"'
++ tr '\n' ' '
++ sed -e '/^"Conflicts"/,/]/!d'
++ tr -d ', '
+ (( i=0 ))
+ (( i<1 ))
++ awk -F '>|<|=' '{print $1}'
+ Aprovides[$i]=rolo-git
+ (( i++ ))
+ (( i<1 ))
+ (( i=0 ))
+ (( i<0 ))
+ aurconflicts+=($(LC_COLLATE=C comm -12 <(tr ' ' '\n' <<< ${Aprovides[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${allQconflicts[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -12 /dev/fd/63 /dev/fd/62
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+ aurconflicts+=($(LC_COLLATE=C comm -12 <(tr ' ' '\n' <<< ${Aconflicts[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${allQprovides[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -12 /dev/fd/63 /dev/fd/62
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+ aurconflicts=($(tr ' ' '\n' <<< ${aurconflicts[@]} | LC_COLLATE=C sort -u))
++ tr ' ' '\n'
++ LC_COLLATE=C
++ sort -u
+ NothingToDo rolo-git
+ [[ -z rolo-git ]]
+ return 0
+ [[ -n '' ]]
+ ReinstallChecks
+ depsAtmp=(${depsAname[@]})
+ (( i=0 ))
+ (( i<1 ))
+ [[ ! -n '' ]]
+ [[ ! rolo-git =~ rolo-git ]]
+ [[ =~ rolo-git ]]
+ [[ -z # ]]
+ [[ # = \# ]]
+ continue
+ (( i++ ))
+ (( i<1 ))
+ [[ -n '' ]]
+ NothingToDo rolo-git
+ [[ -z rolo-git ]]
+ return 0
+ OutofdateChecks
+ (( i=0 ))
+ (( i<1 ))
+ [[ null -gt 0 ]]
+ (( i++ ))
+ (( i<1 ))
+ Prompt
+ [[ -n '' ]]
+ (( i=0 ))
+ (( i<1 ))
+ [[ ! -n '' ]]
+ break
++ grep '^VerbosePkgLists' /etc/pacman.conf
+ [[ -n '' ]]
+ (( i=0 ))
+ (( i<1 ))
+ depsver='rolo-git-latest '
+ (( i++ ))
+ (( i<1 ))
+ (( i=0 ))
+ (( i<0 ))
+ printf '\n\e[1;33m%-17s\e[0m %s\n' 'AUR Packages (1):' 'rolo-git-latest '
AUR Packages (1): rolo-git-latest
+ [[ -n '' ]]
+ [[ -n '' ]]
+ echo
+ [[ ! -n '' ]]
+ [[ -n true ]]
+ action=installation
+ Proceed y 'Proceed with installation?'
++ gettext pacman Y
+ Y=Y
+ y=y
++ gettext pacman N
+ N=N
+ n=n
+ case "$1" in
+ printf '\e[1;34m%s\e[0m \e[1;39m%s\e[0m' :: 'Proceed with installation? [Y/n] '
:: Proceed with installation? [Y/n] + read -n 1 answer
+ echo
+ case $answer in
+ return 0
+ MakePkgs
+ DownloadPkgs rolo-git
+ Note i '\e[1;39mRetrieving package(s)...\e[0m'
+ case "$1" in
+ echo -e '\e[1;34m::\e[0m \e[1;39mRetrieving package(s)...\e[0m'
:: Retrieving package(s)...
+ GetPkgbase rolo-git
++ DownloadJson rolo-git
++ urlencodedpkgs=($(sed 's/+/%2b/g;s/@/%40/g' <<< $@))
+++ sed 's/+/%2b/g;s/@/%40/g'
+++ printf '&arg[]=%s' rolo-git
++ urlargs='&arg[]=rolo-git'
++ [[ 15 -lt 8125 ]]
++ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=4&arg[]=rolo-git'
+ json='{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}'
+ for i in '"$@"'
+ pkgsbase+=($(GetJson "varvar" "$json" "PackageBase" "$i"))
++ GetJson varvar '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' PackageBase rolo-git
++ json_verify -q
++ case "$1" in
++ json_reformat
++ awk -F '#' '{print $2}'
++ sed -r s/PackageBase:/PackageBase#/g
++ grep -Po 'PackageBase:.*'
++ tr -d '"'
++ sed -e '/"Name":"rolo-git"/,/}/!d'
++ tr -d ', '
+ for i in '"${pkgsbase[@]}"'
+ [[ =~ rolo-git ]]
+ basepkgs+=($i)
+ cd /home/luc/.cache/pacaur/src
+ for i in '${basepkgs[@]}'
+ [[ ! -d rolo-git ]]
+ cd /home/luc/.cache/pacaur/src/rolo-git
+ git reset --hard HEAD
+ [[ -e .git/FETCH_HEAD ]]
+ [[ full = diff ]]
+ git pull
Already up-to-date.
+ cd /home/luc/.cache/pacaur/src
+ EditPkgs rolo-git
+ [[ -n '' ]]
+ for i in '"$@"'
+ [[ =~ rolo-git ]]
+ cd /home/luc/.cache/pacaur/src/rolo-git
+ unset timestamp
+ GetInstallScripts rolo-git
+ [[ ! -d /home/luc/.cache/pacaur/src/rolo-git ]]
+ unset installscriptspath installscripts
+ installscriptspath=($(find "$clonedir/$1/" -maxdepth 1 -name "*.install"))
++ find /home/luc/.cache/pacaur/src/rolo-git/ -maxdepth 1 -name '*.install'
+ [[ -n '' ]]
+ [[ ! -n '' ]]
+ [[ ! full = none ]]
+ [[ -e .git/FETCH_HEAD.prev ]]
+ Proceed y 'View rolo-git PKGBUILD?'
++ gettext pacman Y
+ Y=Y
+ y=y
++ gettext pacman N
+ N=N
+ n=n
+ case "$1" in
+ printf '\e[1;34m%s\e[0m \e[1;39m%s\e[0m' :: 'View rolo-git PKGBUILD? [Y/n] '
:: View rolo-git PKGBUILD? [Y/n] + read -n 1 answer
+ echo
+ case $answer in
+ return 1
+ [[ -n '' ]]
+ oldorphanpkgs=($($pacmanbin -Qdtq))
++ pacman -Qdtq
+ sudo -v
+ (( i=0 ))
+ (( i<1 ))
+ (( j=0 ))
+ (( j<1 ))
+ [[ rolo-git = \r\o\l\o\-\g\i\t ]]
+ [[ ! =~ rolo-git ]]
+ pkgsdeps+=(${deps[$j]})
+ (( j++ ))
+ (( j<1 ))
+ pkgsdeps+=("#")
+ (( i++ ))
+ (( i<1 ))
+ pkgsdeps=($(sed 's/ # /\n/g' <<< ${pkgsdeps[@]} | tr -d '#' | sed '/^ $/d' | tr ' ' ',' | sed 's/^,//g;s/,$//g'))
+ [[ false = true ]]
++ sed 's/^,//g;s/,$//g'
++ sed '/^ $/d'
++ tr -d '#'
++ sed 's/ # /\n/g'
++ tr ' ' ,
+ basepkgs=($(awk '{for (i=NF;i>=1;i--) print $i}' <<< ${basepkgs[@]} | awk -F "\n" '{print}'))
++ awk '{for (i=NF;i>=1;i--) print $i}'
++ awk -F '\n' '{print}'
+ pkgsdeps=($(awk '{for (i=NF;i>=1;i--) print $i}' <<< ${pkgsdeps[@]} | awk -F "\n" '{print}'))
++ awk '{for (i=NF;i>=1;i--) print $i}'
++ awk -F '\n' '{print}'
+ (( i=0 ))
+ (( i<1 ))
+ pkgsdepslist=($(awk -F "," '{for (k=1;k<=NF;k++) print $k}' <<< ${pkgsdeps[$i]}))
++ awk -F , '{for (k=1;k<=NF;k++) print $k}'
+ unset builtpkg
++ grep -E '\-(bzr|git|hg|svn)$'
+ [[ -z rolo-git ]]
++ awk -F - '{print $NF}'
+ vcspkg=git
+ for j in '"${VCSCLIENTS[@]}"'
+ [[ ! '' =~ git ]]
++ awk -F :: '{print $1}'
+ [[ bzr == \g\i\t ]]
+ for j in '"${VCSCLIENTS[@]}"'
+ [[ ! '' =~ git ]]
++ awk -F :: '{print $1}'
+ [[ git == \g\i\t ]]
++ awk -F :: '{print $NF}'
+ vcsclient=git
+ vcschecked+=($vcspkg)
++ expac -Qs %n '^git$'
+ [[ -z git ]]
+ for j in '"${VCSCLIENTS[@]}"'
+ [[ ! git =~ git ]]
+ for j in '"${VCSCLIENTS[@]}"'
+ [[ ! git =~ git ]]
+ [[ ! -n '' ]]
+ cd /home/luc/.cache/pacaur/src/rolo-git
+ Note i 'Checking \e[1;39mrolo-git\e[0m integrity...'
+ case "$1" in
+ echo -e '\e[1;34m::\e[0m Checking \e[1;39mrolo-git\e[0m integrity...'
:: Checking rolo-git integrity...
+ [[ false = true ]]
+ makepkg -f --verifysource
==> Making package: rolo-git 1-1 (Thu Jan 14 14:01:01 CET 2016)
==> Retrieving sources...
-> Updating rolo git repo...
Fetching origin
==> Validating source files with md5sums...
rolo ... Skipped
+ (( 0 > 0 ))
+ makepkg -od --noprepare --skipinteg
+ (( i++ ))
+ (( i<1 ))
+ [[ -n '' ]]
+ [[ -e /tmp/pacaurtmp-luc/build.lck ]]
+ touch /tmp/pacaurtmp-luc/build.lck
+ [[ -n '' ]]
+ (( i=0 ))
+ (( i<1 ))
+ pkgsdepslist=($(awk -F "," '{for (k=1;k<=NF;k++) print $k}' <<< ${pkgsdeps[$i]}))
++ awk -F , '{for (k=1;k<=NF;k++) print $k}'
+ cd /home/luc/.cache/pacaur/src/rolo-git
+ unset aurdevelpkgsAall
++ grep -E '\-(bzr|git|hg|svn)$'
+ [[ -n rolo-git ]]
++ grep -E '^pkgver[ ]*[(]+[)]+' PKGBUILD
+ [[ -n '' ]]
+ for j in '"${pkgsdepslist[@]}"'
+ unset builtpkg
+ [[ -n '' ]]
++ GetJson varvar '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' Version rolo-git
++ json_verify -q
++ case "$1" in
++ json_reformat
++ tr -d ', '
++ sed -e '/"Name":"rolo-git"/,/}/!d'
++ tr -d '"'
++ grep -Po 'Version:.*'
++ sed -r s/Version:/Version#/g
++ awk -F '#' '{print $2}'
+ depsAver=1-1
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ rolo-git = \# ]]
+ Note i 'Building \e[1;39mrolo-git\e[0m package(s)...'
+ case "$1" in
+ echo -e '\e[1;34m::\e[0m Building \e[1;39mrolo-git\e[0m package(s)...'
:: Building rolo-git package(s)...
+ makeopts=(${makeopts[@]/-r/})
+ [[ ! -n true ]]
+ [[ false = true ]]
+ makepkg -sfc --noconfirm
==> Making package: rolo-git 1-1 (Thu Jan 14 14:01:03 CET 2016)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: libvc-git
==> ERROR: 'pacman' failed to install missing dependencies.
+ (( 1 > 0 ))
+ errmakepkg+=(${pkgsdeps[$i]})
+ unset builtpkgs builtdepspkgs
+ for j in '"${pkgsdepslist[@]}"'
+ unset builtpkg
+ [[ -n '' ]]
++ GetJson varvar '{"version":4,"type":"multiinfo","resultcount":1,"results":[{"ID":234318,"Name":"rolo-git","PackageBaseID":100796,"PackageBase":"rolo-git","Version":"1-1","Description":"Tracks your contacts with vCards and displays them to you with a text-based menu.","URL":"https:\/\/github.com\/yourealwaysbe\/rolo","NumVotes":0,"Popularity":0,"OutOfDate":null,"Maintainer":"yourealwaysbe","FirstSubmitted":1443353242,"LastModified":1443353722,"URLPath":"\/cgit\/aur.git\/snapshot\/rolo-git.tar.gz","Depends":["ncurses","libvc-git"],"MakeDepends":["autoconf"],"License":["GPL"]}]}' Version rolo-git
++ json_verify -q
++ case "$1" in
++ json_reformat
++ tr -d ', '
++ sed -e '/"Name":"rolo-git"/,/}/!d'
++ tr -d '"'
++ awk -F '#' '{print $2}'
++ sed -r s/Version:/Version#/g
++ grep -Po 'Version:.*'
+ depsAver=1-1
+ GetBuiltPkg rolo-git-1-1 /home/luc/.cache/pacaur/src/rolo-git
+ builtpkg=/home/luc/.cache/pacaur/src/rolo-git/rolo-git-1-1-x86_64.pkg.tar.xz
+ [[ ! -f /home/luc/.cache/pacaur/src/rolo-git/rolo-git-1-1-x86_64.pkg.tar.xz ]]
+ builtpkg=/home/luc/.cache/pacaur/src/rolo-git/rolo-git-1-1-any.pkg.tar.xz
+ [[ ! -f /home/luc/.cache/pacaur/src/rolo-git/rolo-git-1-1-any.pkg.tar.xz ]]
+ unset builtpkg
+ [[ =~ rolo-git ]]
+ builtpkgs+=($builtpkg)
+ Note i 'Installing \e[1;39mrolo-git\e[0m package(s)...'
+ case "$1" in
+ echo -e '\e[1;34m::\e[0m Installing \e[1;39mrolo-git\e[0m package(s)...'
:: Installing rolo-git package(s)...
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n true ]]
+ for j in '"${pkgsdepslist[@]}"'
+ [[ ! rolo-git =~ rolo-git ]]
+ [[ =~ --asdeps ]]
+ [[ =~ --asexplicit ]]
+ (( i++ ))
+ (( i<1 ))
+ [[ ! -n true ]]
+ [[ -e /tmp/pacaurtmp-luc/sudov.lck ]]
+ rm /tmp/pacaurtmp-luc/build.lck
+ orphanpkgs=($($pacmanbin -Qdtq))
++ pacman -Qdtq
+ neworphanpkgs=($(LC_COLLATE=C comm -23 <(tr ' ' '\n' <<< ${orphanpkgs[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${oldorphanpkgs[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -23 /dev/fd/63 /dev/fd/62
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+ for i in '"${errmakepkg[@]}"'
+ Note f 'failed to build \e[1;39mrolo-git\e[0m package(s)'
+ case "$1" in
+ echo -e '\e[1;31m::\e[0m failed to build \e[1;39mrolo-git\e[0m package(s)'
:: failed to build rolo-git package(s)
+ [[ -z rolo-git ]]
+ exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment