You are not logged in.
Hi people, I'm experiencing an unusual behavior with yaourt which I believe is somehow due to rsync.
I have two computers which are running Arch Linux. One of them is mostly at home, the other one is at my university. When I try to build packages from source (coreutils in this example) using yaourt everything works fine and smoothly if I'm using my home computer, connected to my home network.
Instead, if I use the one I've at the university the process gets stuck when retrieving the PKGBUILD:
% yaourt -Sbb coreutils
==> Building coreutils from sources.
==> Retrieving PKGBUILD and local sources...The reason why I believe the problem is due to rsync is that when I try
% bash -x yaourt -Sbb coreutilsI get the following output
+ export TEXTDOMAINDIR=/usr/share/locale
+ TEXTDOMAINDIR=/usr/share/locale
+ export TEXTDOMAIN=yaourt
+ TEXTDOMAIN=yaourt
+ NAME=yaourt
+ VERSION=1.7
+ . /usr/lib/yaourt/util.sh
++ SUDONOVERIF=0
++ SUDOINSTALLED=0
++ SUDOREDIRECT=1
++ CLEANUP=()
++ ERROR_PKGS=()
++ LOADEDLIBS=()
++ declare -A LOADEDLIBS
++ type -p sudo
++ SUDOINSTALLED=1
++ type -t gettext
++ A_PS=1
++ A_M=2
++ A_PQ=4
++ A_PC=8
++ A_PKC=16
++ A_CC=32
++ A_PU=64
++ A_PO=128
++ unset PACMAN_S_ARG MAKEPKG_ARG PACMAN_Q_ARG PACMAN_C_ARG PKGQUERY_C_ARG CURL_C_ARG PACMAN_U_ARG PACMAN_O_ARG
++ trap cleanup 0
++ umask 0022
++ . /usr/lib/yaourt/io.sh
++++ tput cols
+++ COLUMNS=211
+++ printf -v P_INDENT '%*s' 211
+++ P_UNDERLINE=-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+++ C0=
+++ C=()
+++ declare -A C
++ . /usr/lib/yaourt/pacman.sh
+++ P=()
+++ declare -A P
++ DBPATH=/var/lib/pacman/
++ LOADEDLIBS+=([util]=1 [io]=1 [pacman]=1)
++ shopt -s extglob
++ AUTOSAVEBACKUPFILE=0
++ DEVELBUILDDIR=
++ DEVELSRCDIR=
++ DEVEL=0
++ FORCEENGLISH=0
++ FORCE=0
++ SUDONOVERIF=0
++ NO_TESTDB=0
++ USE_GIT=0
++ REPOS=()
++ SYNCSERVER=
++ AURURL=https://aur.archlinux.org
++ AURCOMMENT=5
++ AURDEVELONLY=0
++ AURSEARCH=1
++ AURUPGRADE=0
++ AURVOTE=1
++ EXPORT=0
++ EXPORTSRC=0
++ EXPORTDIR=
++ NOCONFIRM=0
++ UP_NOCONFIRM=0
++ BUILD_NOCONFIRM=0
++ PU_NOCONFIRM=0
++ EDITFILES=1
++ NOENTER=1
++ USECOLOR=1
++ USEPAGER=0
++ DETAILUPGRADE=1
++ SHOWORPHANS=1
++ TERMINALTITLE=1
++ DIFFEDITCMD=vimdiff
++ source_config
++ local env_EDITOR=vim
++ local env_VISUAL=
++ [[ -r /etc/yaourtrc ]]
++ source /etc/yaourtrc
++ XDG_YAOURT_DIR=/home/paolo/.config/yaourt
++ [[ -r /home/paolo/.config/yaourt/yaourtrc ]]
++ [[ -r /home/paolo/.yaourtrc ]]
++ source /home/paolo/.yaourtrc
++ [[ -n vim ]]
++ EDITOR=vim
++ [[ -n '' ]]
++ TMPDIR=/tmp
++ check_dir TMPDIR
++ [[ ! -d /tmp ]]
++ [[ ! -w /tmp ]]
++ eval 'TMPDIR="$(readlink -e "${!1}")"'
++++ readlink -e /tmp
+++ TMPDIR=/tmp
++ return 0
+++ id -un
++ YAOURTTMPDIR=/tmp/yaourt-tmp-paolo
++ export PACMAN=pacman
++ PACMAN=pacman
++ export MAKEPKG=makepkg
++ MAKEPKG=makepkg
++ DEVELSRCDIR=
+ unset MAJOR AUR SEARCH BUILD REFRESH SYSUPGRADE CLEAN IGNOREGRP IGNOREPKG CHANGELOG LIST INFO RSORT SORT UNREQUIRED FOREIGN GROUP QUERYTYPE QUIET DEPENDS PRINT AURVOTEINSTALLED CUSTOMIZEPKGINSTALLED PACMAN_CMD NEEDED SPLITOPT
+ [[ -t 1 ]]
+ ARGSANS=("$@")
+ explode_args -Sbb coreutils
+ unset OPTS
+ local arg=-Sbb
+ [[ -n -Sbb ]]
+ [[ -Sbb = \-\- ]]
+ [[ - = \- ]]
+ [[ S != \- ]]
+ OPTS+=("-${arg:1:1}")
+ (( 4 > 2 ))
+ arg=-bb
+ [[ -n -bb ]]
+ [[ -bb = \-\- ]]
+ [[ - = \- ]]
+ [[ b != \- ]]
+ OPTS+=("-${arg:1:1}")
+ (( 3 > 2 ))
+ arg=-b
+ [[ -n -b ]]
+ [[ -b = \-\- ]]
+ [[ - = \- ]]
+ [[ b != \- ]]
+ OPTS+=("-${arg:1:1}")
+ (( 2 > 2 ))
+ shift
+ arg=coreutils
+ [[ -n coreutils ]]
+ [[ coreutils = \-\- ]]
+ [[ c = \- ]]
+ OPTS+=("$arg")
+ shift
+ arg=
+ [[ -n '' ]]
+ set -- -S -b -b coreutils
+ unset OPTS
+ [[ -n -S ]]
+ case "$1" in
+ MAJOR=sync
+ shift
+ [[ -n -b ]]
+ case "$1" in
+ (( BUILD++ ))
+ shift
+ [[ -n -b ]]
+ case "$1" in
+ (( BUILD++ ))
+ shift
+ [[ -n coreutils ]]
+ case "$1" in
+ ARGS+=("$1")
+ shift
+ [[ -n '' ]]
+ program_arg 16 --aur-url https://aur.archlinux.org
+ local dest=16
+ shift
+ (( dest & A_PS ))
+ (( dest & A_M ))
+ (( dest & A_PQ ))
+ (( dest & A_PC ))
+ (( dest & A_PKC ))
+ PKGQUERY_C_ARG+=("$@")
+ (( dest & A_CC ))
+ (( dest & A_PU ))
+ (( dest & A_PO ))
+ init_paths
+ check_dir TMPDIR
+ [[ ! -d /tmp ]]
+ [[ ! -w /tmp ]]
+ eval 'TMPDIR="$(readlink -e "${!1}")"'
+++ readlink -e /tmp
++ TMPDIR=/tmp
+ return 0
++ id -un
+ YAOURTTMPDIR=/tmp/yaourt-tmp-paolo
+ mkdir -p /tmp/yaourt-tmp-paolo
+ (( EXPORT ))
+ parse_pacman_conf
+ PKGS_IGNORED=()
+ declare -a PKGS_IGNORED
++ pacman_parse --debug -T
++ sed -n -e 's/"/\\"/g' -e 's/^[\[\]0-9: ]//' -e 's/^debug: config: \([a-zA-Z]\+\): \(.*\)/P[\1]="${P[\1]}\2 "/p' -e 's/^debug: config: \([a-zA-Z]\+\)$/P[\1]=1/p' -e 's/^debug: option '\''\([a-zA-Z]\+\)'\'' = \(.*\)/P[\1]="\2"/p'
+ eval 'P[HoldPkg]="${P[HoldPkg]}pacman' '"' 'P[HoldPkg]="${P[HoldPkg]}glibc' '"' 'P[arch]="${P[arch]}x86_64' '"' 'P[SigLevel]="${P[SigLevel]}Required' '"' 'P[SigLevel]="${P[SigLevel]}DatabaseOptional' '"' 'P[LocalFileSigLevel]="${P[LocalFileSigLevel]}Optional' '"' 'P[logfile]="/var/log/pacman.log"' 'P[gpgdir]="/etc/pacman.d/gnupg/"' 'P[cachedir]="/var/cache/pacman/pkg/"'
++ P[HoldPkg]='pacman '
++ P[HoldPkg]='pacman glibc '
++ P[arch]='x86_64 '
++ P[SigLevel]='Required '
++ P[SigLevel]='Required DatabaseOptional '
++ P[LocalFileSigLevel]='Optional '
++ P[logfile]=/var/log/pacman.log
++ P[gpgdir]=/etc/pacman.d/gnupg/
++ P[cachedir]=/var/cache/pacman/pkg/
+ [[ -n '' ]]
+ P[dbpath]=/var/lib/pacman/
+ P[lockfile]=/var/lib/pacman//db.lck
+ [[ -n /var/cache/pacman/pkg/ ]]
+ IGNOREPKG+=(${P[IgnorePkg]})
+ PKGS_IGNORED=("${IGNOREPKG[@]}")
+ IGNOREGRP+=(${P[IgnoreGroup]})
+ [[ -n '' ]]
+ P[ignorepkg]=
+ return 0
+ init_color
+ (( !USECOLOR ))
+ (( USECOLOR==2 ))
+ program_arg 128 --color auto
+ local dest=128
+ shift
+ (( dest & A_PS ))
+ (( dest & A_M ))
+ (( dest & A_PQ ))
+ (( dest & A_PC ))
+ (( dest & A_PKC ))
+ (( dest & A_CC ))
+ (( dest & A_PU ))
+ (( dest & A_PO ))
+ PACMAN_O_ARG+=("$@")
+ C0='\033[0m'
+ local 'yaourt_colors=BOLD=1:BLINK=5:RED=1;31:GREEN=1;32:YELLOW=1;33:BLUE=1;34:PURPLE=1;35:CYAN=1;36'
+ local 'pq_colors=no=0:other=1;35:testing=1;31:core=1;31:extra=1;32:local=1;33:nb=7;33:pkg=1:installed=1;33;7:votes=1;33;7:od=1;33;7'
+ export 'PQ_COLORS+=no=0:other=1;35:testing=1;31:core=1;31:extra=1;32:local=1;33:nb=7;33:pkg=1:installed=1;33;7:votes=1;33;7:od=1;33;7:BOLD=1:BLINK=5:RED=1;31:GREEN=1;32:YELLOW=1;33:BLUE=1;34:PURPLE=1;35:CYAN=1;36:'
+ PQ_COLORS+='no=0:other=1;35:testing=1;31:core=1;31:extra=1;32:local=1;33:nb=7;33:pkg=1:installed=1;33;7:votes=1;33;7:od=1;33;7:BOLD=1:BLINK=5:RED=1;31:GREEN=1;32:YELLOW=1;33:BLUE=1;34:PURPLE=1;35:CYAN=1;36:'
+ parse_color_var 'no=0:other=1;35:testing=1;31:core=1;31:extra=1;32:local=1;33:nb=7;33:pkg=1:installed=1;33;7:votes=1;33;7:od=1;33;7:BOLD=1:BLINK=5:RED=1;31:GREEN=1;32:YELLOW=1;33:BLUE=1;34:PURPLE=1;35:CYAN=1;36:'
+ local 'vars=BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN'
+ colors=(${1//:/ })
+ local col key val colors
+ for col in '"${colors[@]}"'
+ [[ no=0 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=no
+ val='\033[0m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ no ]]
+ C[$key]='\033[0m'
+ for col in '"${colors[@]}"'
+ [[ other=1;35 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=other
+ val='\033[1;35m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ other ]]
+ C[$key]='\033[1;35m'
+ for col in '"${colors[@]}"'
+ [[ testing=1;31 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=testing
+ val='\033[1;31m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ testing ]]
+ C[$key]='\033[1;31m'
+ for col in '"${colors[@]}"'
+ [[ core=1;31 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=core
+ val='\033[1;31m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ core ]]
+ C[$key]='\033[1;31m'
+ for col in '"${colors[@]}"'
+ [[ extra=1;32 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=extra
+ val='\033[1;32m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ extra ]]
+ C[$key]='\033[1;32m'
+ for col in '"${colors[@]}"'
+ [[ local=1;33 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=local
+ val='\033[1;33m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ local ]]
+ C[$key]='\033[1;33m'
+ for col in '"${colors[@]}"'
+ [[ nb=7;33 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=nb
+ val='\033[7;33m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ nb ]]
+ C[$key]='\033[7;33m'
+ for col in '"${colors[@]}"'
+ [[ pkg=1 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=pkg
+ val='\033[1m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ pkg ]]
+ C[$key]='\033[1m'
+ for col in '"${colors[@]}"'
+ [[ installed=1;33;7 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=installed
+ val='\033[1;33;7m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ installed ]]
+ C[$key]='\033[1;33;7m'
+ for col in '"${colors[@]}"'
+ [[ votes=1;33;7 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=votes
+ val='\033[1;33;7m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ votes ]]
+ C[$key]='\033[1;33;7m'
+ for col in '"${colors[@]}"'
+ [[ od=1;33;7 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=od
+ val='\033[1;33;7m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ od ]]
+ C[$key]='\033[1;33;7m'
+ for col in '"${colors[@]}"'
+ [[ BOLD=1 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=BOLD
+ val='\033[1m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ BOLD ]]
+ eval 'CBOLD="\033[1m"'
++ CBOLD='\033[1m'
+ for col in '"${colors[@]}"'
+ [[ BLINK=5 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=BLINK
+ val='\033[5m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ BLINK ]]
+ eval 'CBLINK="\033[5m"'
++ CBLINK='\033[5m'
+ for col in '"${colors[@]}"'
+ [[ RED=1;31 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=RED
+ val='\033[1;31m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ RED ]]
+ eval 'CRED="\033[1;31m"'
++ CRED='\033[1;31m'
+ for col in '"${colors[@]}"'
+ [[ GREEN=1;32 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=GREEN
+ val='\033[1;32m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ GREEN ]]
+ eval 'CGREEN="\033[1;32m"'
++ CGREEN='\033[1;32m'
+ for col in '"${colors[@]}"'
+ [[ YELLOW=1;33 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=YELLOW
+ val='\033[1;33m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ YELLOW ]]
+ eval 'CYELLOW="\033[1;33m"'
++ CYELLOW='\033[1;33m'
+ for col in '"${colors[@]}"'
+ [[ BLUE=1;34 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=BLUE
+ val='\033[1;34m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ BLUE ]]
+ eval 'CBLUE="\033[1;34m"'
++ CBLUE='\033[1;34m'
+ for col in '"${colors[@]}"'
+ [[ PURPLE=1;35 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=PURPLE
+ val='\033[1;35m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ PURPLE ]]
+ eval 'CPURPLE="\033[1;35m"'
++ CPURPLE='\033[1;35m'
+ for col in '"${colors[@]}"'
+ [[ CYAN=1;36 =~ ^[A-Za-z]+=[0-9;]+$ ]]
+ key=CYAN
+ val='\033[1;36m'
+ [[ BOLD BLINK RED GREEN YELLOW BLUE PURPLE CYAN =~ CYAN ]]
+ eval 'CCYAN="\033[1;36m"'
++ CCYAN='\033[1;36m'
+ cleanup_add echo -ne '\033[0m'
+ CLEANUP+=("$(printf '%q ' "$@")")
++ printf '%q ' echo -ne '\033[0m'
+ (( TERMINALTITLE ))
+ [[ -n :0 ]]
+ cleanup_add echo -ne '\033]0;xterm-256color\007'
+ CLEANUP+=("$(printf '%q ' "$@")")
++ printf '%q ' echo -ne '\033]0;xterm-256color\007'
+ [[ -n '' ]]
+ [[ -z sync ]]
+ (( ! SYSUPGRADE && UPGRADES ))
+ (( NOCONFIRM ))
+ (( SYSUPGRADE && UP_NOCONFIRM ))
+ (( PU_NOCONFIRM ))
+ (( FORCE ))
+ [[ sync = \s\y\n\c ]]
+ (( REFRESH ))
+ case "$MAJOR" in
+ yaourt_sync
+ local arg
+ (( PRINT && REFRESH ))
+ (( PRINT && !REFRESH ))
+ (( GROUP || LIST || SEARCH ))
+ (( SYSUPGRADE ))
+ [[ ! -n coreutils ]]
+ [[ -n '' ]]
+ (( INFO ))
+ yaourt_install_packages
+ load_lib abs aur misc
+ [[ -n abs ]]
+ (( LOADEDLIBS[abs] ))
+ [[ ! -r /usr/lib/yaourt/abs.sh ]]
+ . /usr/lib/yaourt/abs.sh
+++ type -p rsync
++ RSYNCCMD=/usr/bin/rsync
++ RSYNCOPT='-mrtv --no-motd --no-p --no-o --no-g'
++ ABSCONF=0
++ load_lib alpm_query
++ [[ -n alpm_query ]]
++ (( LOADEDLIBS[alpm_query] ))
++ [[ ! -r /usr/lib/yaourt/alpm_query.sh ]]
++ . /usr/lib/yaourt/alpm_query.sh
++ LOADEDLIBS[$1]=1
++ shift
++ [[ -n '' ]]
++ load_lib pkgbuild
++ [[ -n pkgbuild ]]
++ (( LOADEDLIBS[pkgbuild] ))
++ [[ ! -r /usr/lib/yaourt/pkgbuild.sh ]]
++ . /usr/lib/yaourt/pkgbuild.sh
+++ load_lib alpm_query
+++ [[ -n alpm_query ]]
+++ (( LOADEDLIBS[alpm_query] ))
+++ return 0
+++ Y_MAKEPKG_CHECKDEP=0
+++ source_makepkg_conf
+++ MAKEPKG_CONF=/etc/makepkg.conf
+++ local _BUILDDIR=
+++ local _PKGEXT=
+++ local _PKGDEST=
+++ local _SRCDEST=
+++ local _SRCPKGDEST=
+++ [[ -r /etc/makepkg.conf ]]
+++ 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=native -O2 -pipe -fstack-protector-strong'
++++ CXXFLAGS='-march=native -O2 -pipe -fstack-protector-strong'
++++ LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro
++++ MAKEFLAGS=-j4
++++ DEBUG_CFLAGS=
++++ DEBUG_CXXFLAGS=
++++ 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)
++++ PACKAGER='Paolo Di Giglio <p.digiglio91@gmail.com>'
++++ 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
+++ XDG_PACMAN_DIR=/home/paolo/.config/pacman
+++ [[ -r /home/paolo/.config/pacman/makepkg.conf ]]
+++ [[ -r /home/paolo/.makepkg.conf ]]
+++ [[ !distcc color !ccache check !sign =~ check ]]
+++ Y_MAKEPKG_CHECKDEP=1
+++ export BUILDDIR=
+++ BUILDDIR=
+++ PKGDEST=
+++ SRCDEST=
+++ export PKGDEST=
+++ PKGDEST=
+++ export SRCDEST=
+++ SRCDEST=
+++ SRCPKGDEST=
+++ SRCPKGDEST=
+++ export SRCPKGDEST=
+++ SRCPKGDEST=
+++ export PKGEXT=.pkg.tar.xz
+++ PKGEXT=.pkg.tar.xz
++ LOADEDLIBS[$1]=1
++ shift
++ [[ -n '' ]]
++ unset SP_ARG
+ LOADEDLIBS[$1]=1
+ shift
+ [[ -n aur ]]
+ (( LOADEDLIBS[aur] ))
+ [[ ! -r /usr/lib/yaourt/aur.sh ]]
+ . /usr/lib/yaourt/aur.sh
++ AUR_PKG_URL=https://aur.archlinux.org/packages/
++ AUR_INSTALLED_PKGS=()
++ load_lib abs
++ [[ -n abs ]]
++ (( LOADEDLIBS[abs] ))
++ return 0
++ load_lib pkgbuild
++ [[ -n pkgbuild ]]
++ (( LOADEDLIBS[pkgbuild] ))
++ return 0
+ LOADEDLIBS[$1]=1
+ shift
+ [[ -n misc ]]
+ (( LOADEDLIBS[misc] ))
+ [[ ! -r /usr/lib/yaourt/misc.sh ]]
+ . /usr/lib/yaourt/misc.sh
++ Y_PKG_ORPHANS=/tmp/yaourt-tmp-paolo/orphans.24248
++ Y_PKG_INSTALLED=/tmp/yaourt-tmp-paolo/installed.24248
+ LOADEDLIBS[$1]=1
+ shift
+ [[ -n '' ]]
+ prepare_status_list
+ (( SHOWORPHANS ))
+ pkgquery -Qdtf %n --sort n
+ package-query --aur-url https://aur.archlinux.org -Qdtf %n --sort n
+ cleanup_add rm /tmp/yaourt-tmp-paolo/orphans.24248
+ CLEANUP+=("$(printf '%q ' "$@")")
++ printf '%q ' rm /tmp/yaourt-tmp-paolo/orphans.24248
+ (( AUTOSAVEBACKUPFILE ))
+ SP_ARG=
+ sync_packages coreutils
+ [[ -f coreutils ]]
+ [[ -n coreutils ]]
+ declare -A pkgs_search pkgs_found
+ declare -a repo_pkgs aur_pkgs bin_pkgs
+ _arg=("$@")
+ local _arg _pkg repo pkg target
+ [[ -n '' ]]
+ for _pkg in '"${_arg[@]}"'
+ pkgs_search[$_pkg]=1
+ read repo pkg target
++ pkgquery -f '%r %n %t' -1SAii coreutils
++ package-query --aur-url https://aur.archlinux.org -f '%r %n %t' -1SAii coreutils
+ (( pkgs_search[coreutils] ))
+ unset 'pkgs_search[coreutils]'
+ (( pkgs_found[coreutils] ))
+ pkgs_found[$pkg]=1
+ [[ core != \a\u\r ]]
+ repo_pkgs+=("${repo}/${pkg}")
+ read repo pkg target
+ bin_pkgs=("${!pkgs_search[@]}")
+ for _pkg in '"${repo_pkgs[@]}"'
+ install_from_abs core/coreutils
+ local cwd build_deps
+ pkginfo=($(pkgquery -1Sif "%r %n %v %a" "$1"))
++ pkgquery -1Sif '%r %n %v %a' core/coreutils
++ package-query --aur-url https://aur.archlinux.org -1Sif '%r %n %v %a' core/coreutils
+ declare -a pkginfo
+ (( ! BUILD ))
+ (( BUILD > 1 ))
+ build_deps=1
++ _gettext 'Building %s from sources.' coreutils
++ local 'str=Building %s from sources.'
++ shift
+++ gettext 'Building %s from sources.'
++ printf 'Building %s from sources.' coreutils
+ msg Building coreutils from sources.
+ _show_msg '\033[1;32m' '' 'Building coreutils from sources.\n'
+ echo -en '\033[1;32m==> \033[0m\033[1mBuilding coreutils from sources.\n\033[0m'
==> Building coreutils from sources.
++ _gettext 'Install %s from sources' coreutils
++ local 'str=Install %s from sources'
++ shift
+++ gettext 'Install %s from sources'
++ printf 'Install %s from sources' coreutils
+ title Install coreutils from sources
+ (( ! TERMINALTITLE ))
+ [[ ! -n :0 ]]
+ case $TERM in
+ echo -n -e '\033]0;yaourt: Install' coreutils from 'sources\007'
+ echo
++ gettext 'Retrieving PKGBUILD and local sources...'
+ msg Retrieving PKGBUILD and local sources...
+ _show_msg '\033[1;32m' '' 'Retrieving PKGBUILD and local sources...\n'
+ echo -en '\033[1;32m==> \033[0m\033[1mRetrieving PKGBUILD and local sources...\n\033[0m'
==> Retrieving PKGBUILD and local sources...
++ pwd
+ cwd=/home/paolo/Desktop
+ init_build_dir /tmp/yaourt-tmp-paolo/abs-coreutils
+ local wdir=/tmp/yaourt-tmp-paolo/abs-coreutils
+ [[ -d /tmp/yaourt-tmp-paolo/abs-coreutils ]]
+ rm -rf /tmp/yaourt-tmp-paolo/abs-coreutils
+ mkdir -p /tmp/yaourt-tmp-paolo/abs-coreutils
+ cd /tmp/yaourt-tmp-paolo/abs-coreutils
+ abs_get_pkgbuild core/coreutils x86_64
+ source_abs_conf
+ (( ABSCONF ))
+ ABSCONF=1
+ vars=()
+ local vars
+ local abs_conf
+ [[ ! -n '' ]]
+ vars+=(SYNCSERVER)
+ [[ ! -n '' ]]
+ vars+=(REPOS)
+ [[ -n SYNCSERVER ]]
++ [[ -r /etc/abs.conf ]]
++ source /etc/abs.conf
+++ '[' '' = '' ']'
+++ ABSROOT=/var/abs/
+++ SYNCSERVER=rsync.archlinux.org
+++ ARCH=x86_64
+++ MIRRORLIST=/etc/pacman.d/mirrorlist
+++ REPOS=(core extra community multilib !testing !community-testing !multilib-testing !staging !community-staging !gnome-unstable !kde-unstable)
++ [[ -r /home/paolo/.abs.conf ]]
++ declare -p SYNCSERVER REPOS
++ tr '\n' ';'
+ abs_conf='declare -- SYNCSERVER="rsync.archlinux.org";declare -a REPOS='\''([0]="core" [1]="extra" [2]="community" [3]="multilib" [4]="!testing" [5]="!community-testing" [6]="!multilib-testing" [7]="!staging" [8]="!community-staging" [9]="!gnome-unstable" [10]="!kde-unstable")'\'';'
+ [[ ! -n declare -- SYNCSERVER="rsync.archlinux.org";declare -a REPOS='([0]="core" [1]="extra" [2]="community" [3]="multilib" [4]="!testing" [5]="!community-testing" [6]="!multilib-testing" [7]="!staging" [8]="!community-staging" [9]="!gnome-unstable" [10]="!kde-unstable")'; ]]
+ abs_conf='declare -- _SYNCSERVER="rsync.archlinux.org";declare -a REPOS='\''([0]="core" [1]="extra" [2]="community" [3]="multilib" [4]="!testing" [5]="!community-testing" [6]="!multilib-testing" [7]="!staging" [8]="!community-staging" [9]="!gnome-unstable" [10]="!kde-unstable")'\'';'
+ abs_conf='declare -- _SYNCSERVER="rsync.archlinux.org";declare -a _REPOS='\''([0]="core" [1]="extra" [2]="community" [3]="multilib" [4]="!testing" [5]="!community-testing" [6]="!multilib-testing" [7]="!staging" [8]="!community-staging" [9]="!gnome-unstable" [10]="!kde-unstable")'\'';'
+ eval 'declare -- _SYNCSERVER="rsync.archlinux.org";declare -a _REPOS='\''([0]="core" [1]="extra" [2]="community" [3]="multilib" [4]="!testing" [5]="!community-testing" [6]="!multilib-testing" [7]="!staging" [8]="!community-staging" [9]="!gnome-unstable" [10]="!kde-unstable")'\'';'
++ declare -- _SYNCSERVER=rsync.archlinux.org
++ declare -a '_REPOS=([0]="core" [1]="extra" [2]="community" [3]="multilib" [4]="!testing" [5]="!community-testing" [6]="!multilib-testing" [7]="!staging" [8]="!community-staging" [9]="!gnome-unstable" [10]="!kde-unstable")'
+ SYNCSERVER=rsync.archlinux.org
+ [[ ! -n '' ]]
+ REPOS=(${_REPOS[@]})
+ local repo=core pkg=coreutils arch=x86_64 pkgbase= pkgver=
+ [[ ! -n x86_64 ]]
+ [[ ! -n '' ]]
+ read arch pkgver
++ pkgquery -1Sif '%a %v' core/coreutils
++ package-query --aur-url https://aur.archlinux.org -1Sif '%a %v' core/coreutils
++ get_pkgbase coreutils core 8.24-1
++ local pkgbase pkgname=coreutils repo=core pkgver=8.24-1
++ [[ -z core ]]
++ [[ -z 8.24-1 ]]
+++ bsdtar -xf /var/lib/pacman//sync/core.db -O - coreutils-8.24-1/desc
+++ sed -n '/%BASE%/,/^$/ { /^[^%]/p}'
++ pkgbase=
++ echo coreutils
+ pkgbase=coreutils
+ (( USE_GIT ))
+ [[ -n /usr/bin/rsync ]]
+ [[ -n rsync.archlinux.org ]]
+ [[ core extra community multilib !testing !community-testing !multilib-testing !staging !community-staging !gnome-unstable !kde-unstable =~ core ]]
+ /usr/bin/rsync -mrtv --no-motd --no-p --no-o --no-g rsync.archlinux.org::abs/x86_64/core/coreutils/ .And after a while, when the files are retrieved, the compilation process starts:
./
PKGBUILD
coreutils.install
sent 65 bytes received 1,785 bytes 14.51 bytes/sec
total size is 1,597 speedup is 0.86
+ return 0
+ BUILD=1
+ package_loop coreutils 1
+ local pl_pkgname=coreutils
+ local trust=1
+ local default_answer=1
+ local ret=0 failed=0
+ declare -a PKGBUILD_DEPS PKGBUILD_DEPS_INSTALLED PKGBUILD_CONFLICTS PKGBUILD_VARS
+ custom_pkg coreutils
+ (( CUSTOMIZEPKGINSTALLED ))
+ [[ -f /etc/customizepkg.d/coreutils ]]
+ return 1
++ mktemp -d --tmpdir=/tmp/yaourt-tmp-paolo PKGDEST.XXX
+ local YPKGDEST=/tmp/yaourt-tmp-paolo/PKGDEST.Y0r
+ (( trust ))
+ default_answer=2
+ true
+ edit_pkgbuild 2
+ local default_answer=2
+ local check_dep=1
+ local sum loop=1
+ (( ! EDITFILES ))
+ local iter=1
+ (( loop ))
+ read sum
++ md5sum PKGBUILD
+ run_editor PKGBUILD 2
+ local edit_cmd
+ local file=PKGBUILD
+ local default_answer=2
+ local 'answer_str= YN'
+ local answer=Y
+ (( default_answer ))
++ _gettext 'Edit %s ?' PKGBUILD
++ local 'str=Edit %s ?'
++ shift
+++ gettext 'Edit %s ?'
++ printf 'Edit %s ?' PKGBUILD
++ yes_no 2
++ case $1 in
+++ gettext '[y/N]'
++ echo '[y/N]'
++ gettext '("A" to abort)'
+ prompt 'Edit PKGBUILD ? [y/N] ("A" to abort)'
+ local 't=Edit PKGBUILD ? [y/N] ("A" to abort)'
+ t=36
+ _show_msg '\033[1;33m' '' 'Edit PKGBUILD ? [y/N] ("A" to abort)\n'
+ echo -en '\033[1;33m==> \033[0m\033[1mEdit PKGBUILD ? [y/N] ("A" to abort)\n\033[0m'
==> Edit PKGBUILD ? [y/N] ("A" to abort)
+ _show_msg '\033[1;33m' '' '------------------------------------\n'
+ echo -en '\033[1;33m==> \033[0m\033[1m------------------------------------\n\033[0m'
==> ------------------------------------
+ _show_msg '\033[1;33m'
+ echo -en '\033[1;33m==> \033[0m\033[1m\033[0m'
==> ++ userinput YNA N
++ local _key=YNA
++ local default=N
++ local answer
++ (( NOCONFIRM ))
++ read -en 1I also tried
% time rsync -vvvvv -mrtv --no-motd --no-p --no-o --no-g rsync.archlinux.org::abs/x86_64/core/coreutils/ .and I got
FILE_STRUCT_LEN=24, EXTRA_LEN=4
opening tcp connection to rsync.archlinux.org port 873then, the rest of the output
Connected to rsync.archlinux.org (89.238.67.251)
rsync: failed to connect to rsync.archlinux.org (2a00:1828:2000:547::2): Connection timed out (110)
msg checking charset: UTF-8
sending daemon args: --server --sender -vvvvvvtre.Lsfx . abs/x86_64/core/coreutils/ (5 args)
(Client) Protocol versions: remote=31, negotiated=31
receiving file list ...
Setting --timeout=600 to match server
recv_file_name(.)
recv_file_name(coreutils.install)
recv_file_name(PKGBUILD)
received 3 names
done
[Receiver] flist_eof=1
[Receiver] flist start=0, used=3, low=0, high=2
[Receiver] i=0 0 ./ mode=042755 len=4,096 flags=1005
[Receiver] i=1 1 PKGBUILD mode=0100644 len=1,262 flags=1000
[Receiver] i=2 1 coreutils.install mode=0100644 len=335 flags=1000
recv_file_list done
get_local_name count=3 .
generator starting pid=24421
delta-transmission enabled
recv_generator(.,0)
recv_files(3) starting
set modtime of . to (1447628750) Mon Nov 16 00:05:50 2015
recv_generator(PKGBUILD,1)
recv_generator(coreutils.install,2)
generate_files phase=1
recv_files(.)
./
recv_files(PKGBUILD)
PKGBUILD
data recv 1262 at 0
got file_sum
set modtime of .PKGBUILD.Plos7m to (1447628750) Mon Nov 16 00:05:50 2015
renaming .PKGBUILD.Plos7m to PKGBUILD
recv_files(coreutils.install)
coreutils.install
data recv 335 at 0
got file_sum
set modtime of .coreutils.install.Z4n45W to (1447628750) Mon Nov 16 00:05:50 2015
renaming .coreutils.install.Z4n45W to coreutils.install
recv_files phase=1
generate_files phase=2
recv_files phase=2
recv_files finished
generate_files phase=3
touch_up_dirs: . (0)
set modtime of . to (1447628750) Mon Nov 16 00:05:50 2015
generate_files finished
sent 65 bytes received 1,785 bytes 14.40 bytes/sec
total size is 1,597 speedup is 0.86
[generator] _exit_cleanup(code=0, file=main.c, line=1637): entered
[generator] _exit_cleanup(code=0, file=main.c, line=1637): about to call exit(0)
rsync -vvvvv -mrtv --no-motd --no-p --no-o --no-g . 0.00s user 0.00s system 0% cpu 2:07.62 totalI think there is some configuration in the university network that causes this but I can't figure out what could it be. Any ideas?
Thanks a lot in advance!
Last edited by CheezenOne (2015-11-25 12:05:56)
Offline
Moving to AUR issues
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I managed to solve the issue just by disabling IPv6 as explained in https://wiki.archlinux.org/index.php?ti … sable_IPv6.
Offline