You are not logged in.

#26 2011-01-21 03:15:51

mangloid
Member
Registered: 2011-01-21
Posts: 4

Re: [SOLVED]fail to build package: no such file or directory error

yaourt even warns you not to run as sudo. It will prompt you when it needs a password.


I think you are also right about the clue you posted. It seems when makepkg can't determine what to do with a packge will continue.

One thing you can do, but it will give a lot of text:

edit /usr/bin/makepkg
( or copy makepkg  to /tmp, edit it, and run from there )

change the first line to this:
#!/bin/bash -ex

(add the x)

Now when you run make package do:

makepkg -s >alotoftext.log 2>&1
( or if you made a tmp copy, point to that one)

You won't see any output on the terminal - everything will go do the log file.
Post that and lets see what we get. Hopefully that will narrow down exactly why its failing from the script side of makepkg.

if you edited the original being lazy like myself to test, make sure you remove the x when you are done.

Last edited by mangloid (2011-01-21 03:18:16)

Offline

#27 2011-01-21 03:25:32

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]fail to build package: no such file or directory error

@aluser,

I'm out of ideas, but I believe that it rules out a number of possibilities.

aluser wrote:

I am beginning to think that maybe running yaourt as sudo is probably a bad idea.

Building packages as root is always a bad idea, running AUR helpers is strongly discouraged for building packages from AUR in general, and yaourt at least had a reputation of being buggy. I highly recommend setting up and building in your own local repos.

Offline

#28 2011-01-21 03:44:33

aluser
Member
Registered: 2011-01-16
Posts: 119

Re: [SOLVED]fail to build package: no such file or directory error

No shit, I've always seen that warning but all I really cared about at that moment was to get the package working without any permission denied errors. I'm new to linux(4 days) so I experiment a lot, and this I didn't expect.

+ export TEXTDOMAIN=pacman
+ TEXTDOMAIN=pacman
+ export TEXTDOMAINDIR=/usr/share/locale
+ TEXTDOMAINDIR=/usr/share/locale
+ export COMMAND_MODE=legacy
+ COMMAND_MODE=legacy
+ myver=3.4.2
+ confdir=/etc
+ BUILDSCRIPT=PKGBUILD
+ startdir=/home/archuser/Desktop/abiword/abiword-light
+ srcdir=/home/archuser/Desktop/abiword/abiword-light/src
+ pkgdir=/home/archuser/Desktop/abiword/abiword-light/pkg
+ packaging_options=('strip' 'docs' 'libtool' 'emptydirs' 'zipman' 'purge')
+ other_options=('ccache' 'distcc' 'makeflags' 'force')
+ splitpkg_overrides=('pkgver' 'pkgrel' 'pkgdesc' 'arch' 'license' 'groups' 'depends' 'optdepends' 'provides' 'conflicts' 'replaces' 'backup' 'options' 'install' 'changelog')
+ readonly -a packaging_options other_options splitpkg_overrides
+ ASROOT=0
+ CLEANUP=0
+ CLEANCACHE=0
+ DEP_BIN=0
+ FORCE=0
+ INFAKEROOT=0
+ GENINTEG=0
+ SKIPINTEG=0
+ INSTALL=0
+ NOBUILD=0
+ NODEPS=0
+ NOEXTRACT=0
+ RMDEPS=0
+ REPKG=0
+ LOGGING=0
+ SOURCEONLY=0
+ IGNOREARCH=0
+ HOLDVER=0
+ BUILDFUNC=0
+ PKGFUNC=0
+ SPLITPKG=0
+ PKGLIST=()
+ FORCE_VER=
+ PACMAN_OPTS=
+ set -E
+ trap clean_up 0
+ trap 'trap_exit "$(gettext "TERM signal caught. Exiting...")"' TERM HUP QUIT
+ trap 'trap_exit "$(gettext "Aborted by user! Exiting...")"' INT
+ trap 'trap_exit "$(gettext "An unknown error has occurred. Exiting...")"' ERR
++ type -t gettext
+ '[' '!' file ']'
+ ARGLIST=("$@")
+ OPT_SHORT=AcCdefFghiLmop:rRsV
+ OPT_LONG=allsource,asroot,ignorearch,clean,cleancache,nodeps
+ OPT_LONG=allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver
+ OPT_LONG=allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver,install,log,nocolor,nobuild,pkg:,rmdeps,repackage,skipinteg
+ OPT_LONG=allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver,install,log,nocolor,nobuild,pkg:,rmdeps,repackage,skipinteg,source,syncdeps,version,config:
+ OPT_LONG=allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver,install,log,nocolor,nobuild,pkg:,rmdeps,repackage,skipinteg,source,syncdeps,version,config:,noconfirm,noprogressbar
++ parse_options AcCdefFghiLmop:rRsV allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver,install,log,nocolor,nobuild,pkg:,rmdeps,repackage,skipinteg,source,syncdeps,version,config:,noconfirm,noprogressbar -s
++ local short_options=AcCdefFghiLmop:rRsV
++ shift
++ local long_options=allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver,install,log,nocolor,nobuild,pkg:,rmdeps,repackage,skipinteg,source,syncdeps,version,config:,noconfirm,noprogressbar
++ shift
++ local ret=0
++ local unused_options=
++ [[ -n -s ]]
++ [[ -s = \-\- ]]
++ [[ - = \- ]]
++ (( i=1 ))
++ (( i<2 ))
++ [[ AcCdefFghiLmop:rRsV =~ s ]]
++ [[ AcCdefFghiLmop:rRsV =~ s: ]]
++ printf ' -%s' s
++ (( i++ ))
++ (( i<2 ))
++ shift
++ [[ -n '' ]]
++ printf ' --'
++ [[ -n '' ]]
++ [[ -n '' ]]
++ printf '\n'
++ return 0
+ OPT_TEMP=' -s --'
+ [[  -s -- = *\P\A\R\S\E\_\O\P\T\I\O\N\S\ \F\A\I\L\E\D* ]]
+ eval set -- ' -s --'
++ set -- -s --
+ unset OPT_SHORT OPT_LONG OPT_TEMP
+ true
+ case "$1" in
+ DEP_BIN=1
+ shift
+ true
+ case "$1" in
+ OPT_IND=0
+ shift
+ break
+ _PKGDEST=
+ _SRCDEST=
+ _SRCPKGDEST=
+ MAKEPKG_CONF=/etc/makepkg.conf
+ [[ -r /etc/makepkg.conf ]]
+ source /etc/makepkg.conf
++ DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u' 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u' 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u' 'rsync::/usr/bin/rsync -z %u %o' 'scp::/usr/bin/scp -C %u %o')
++ CARCH=x86_64
++ CHOST=x86_64-unknown-linux-gnu
++ CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe'
++ CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe'
++ LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
++ BUILDENV=(fakeroot !distcc color !ccache)
++ OPTIONS=(strip docs libtool emptydirs zipman purge)
++ 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})
++ STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
++ PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
++ PKGEXT=.pkg.tar.xz
++ SRCEXT=.src.tar.gz
+ [[ -r /home/archuser/.makepkg.conf ]]
+ PACMAN=pacman
+ unset ALL_OFF BOLD BLUE GREEN RED YELLOW
+ [[ -t 2 ]]
+ readonly ALL_OFF BOLD BLUE GREEN RED YELLOW
+ PKGDEST=
+ PKGDEST=/home/archuser/Desktop/abiword/abiword-light
+ [[ ! -w /home/archuser/Desktop/abiword/abiword-light ]]
+ SRCDEST=
+ SRCDEST=/home/archuser/Desktop/abiword/abiword-light
+ [[ ! -w /home/archuser/Desktop/abiword/abiword-light ]]
+ SRCPKGDEST=
+ SRCPKGDEST=/home/archuser/Desktop/abiword/abiword-light
+ ((  HOLDVER  ))
+ ((  CLEANCACHE  ))
+ ((  ! INFAKEROOT  ))
+ ((  EUID == 0 && ! ASROOT  ))
+ ((  EUID > 0 && ASROOT  ))
++ check_buildenv fakeroot
+++ in_opt_array fakeroot fakeroot '!distcc' color '!ccache'
++++ tr '[:upper:]' '[:lower:]'
+++ local needle=fakeroot
+++ shift
+++ local opt
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=fakeroot
+++ [[ fakeroot = fakeroot ]]
+++ echo y
+++ return
++ echo y
+ [[ y = \y ]]
+ ((  EUID > 0  ))
++ type -p fakeroot
+ '[' '!' /usr/bin/fakeroot ']'
+ ((  ! ( ASROOT || INFAKEROOT ) && ( DEP_BIN || RMDEPS || INSTALL )  ))
++ type -p sudo
+ '[' '!' /usr/bin/sudo ']'
+ unset pkgname pkgbase pkgver pkgrel pkgdesc url license groups provides
+ unset md5sums replaces depends conflicts backup source install changelog build
+ unset makedepends optdepends options noextract
+ BUILDFILE=PKGBUILD
+ [[ ! -f PKGBUILD ]]
++ file PKGBUILD
++ grep -F CRLF
++ true
+ crlftest=
+ [[ -n '' ]]
+ [[ P != \/ ]]
+ BUILDFILE=/home/archuser/Desktop/abiword/abiword-light/PKGBUILD
+ source /home/archuser/Desktop/abiword/abiword-light/PKGBUILD
++ pkgname=abiword-light
++ pkgver=2.8.6
++ pkgrel=2
++ pkgdesc='A fully-featured word processor without some gnome dependencies'
++ arch=(i686 x86_64)
++ license=('GPL')
++ url=http://www.abisource.com
++ depends=('fribidi>=0.10.9' 'wv>=1.2.4' 'libglade>=2.0')
++ makedepends=('pkgconfig')
++ conflicts=('abiword')
++ provides=('abiword')
++ options=('!makeflags' '!libtool')
++ source=(http://www.abisource.com/downloads/abiword/${pkgver}/source/abiword-${pkgver}.tar.gz)
++ md5sums=('f883b0a7f26229a9c66fd6a1a94381aa')
+ ((  GENINTEG  ))
+ check_sanity
+ [[ -z abiword-light ]]
+ [[ -z 2.8.6 ]]
+ [[ -z 2 ]]
+ local name
+ for name in '"${pkgname[@]}"'
+ [[ a = \- ]]
+ [[ '' = \- ]]
+ [[ 2.8.6 != 2.8.6 ]]
+ [[ 2 != 2 ]]
+ [[ i686 != \a\n\y ]]
+ in_array x86_64 i686 x86_64
+ local needle=x86_64
+ shift
+ [[ -z i686 ]]
+ local item
+ for item in '"$@"'
+ [[ i686 = x86_64 ]]
+ for item in '"$@"'
+ [[ x86_64 = x86_64 ]]
+ return 0
+ local provide
+ for provide in '${provides[@]}'
+ [[ abiword != abiword ]]
+ [[ abiword != abiword ]]
+ local file
+ local optdepend
+ local i
+ for i in ''\''changelog'\''' ''\''install'\'''
++ sed -n 's/^[[:space:]]*changelog=//p' /home/archuser/Desktop/abiword/abiword-light/PKGBUILD
+ local filelist=
+ local file
+ for i in ''\''changelog'\''' ''\''install'\'''
++ sed -n 's/^[[:space:]]*install=//p' /home/archuser/Desktop/abiword/abiword-light/PKGBUILD
+ local filelist=
+ local file
+ local valid_options=1
+ local opt known kopt
+ for opt in '${options[@]}'
+ known=0
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = strip ]]
+ [[ !makeflags = \!\s\t\r\i\p ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = docs ]]
+ [[ !makeflags = \!\d\o\c\s ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = libtool ]]
+ [[ !makeflags = \!\l\i\b\t\o\o\l ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = emptydirs ]]
+ [[ !makeflags = \!\e\m\p\t\y\d\i\r\s ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = zipman ]]
+ [[ !makeflags = \!\z\i\p\m\a\n ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = purge ]]
+ [[ !makeflags = \!\p\u\r\g\e ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = ccache ]]
+ [[ !makeflags = \!\c\c\a\c\h\e ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = distcc ]]
+ [[ !makeflags = \!\d\i\s\t\c\c ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = makeflags ]]
+ [[ !makeflags = \!\m\a\k\e\f\l\a\g\s ]]
+ known=1
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = force ]]
+ [[ !makeflags = \!\f\o\r\c\e ]]
+ ((  ! known  ))
+ for opt in '${options[@]}'
+ known=0
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = strip ]]
+ [[ !libtool = \!\s\t\r\i\p ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = docs ]]
+ [[ !libtool = \!\d\o\c\s ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = libtool ]]
+ [[ !libtool = \!\l\i\b\t\o\o\l ]]
+ known=1
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = emptydirs ]]
+ [[ !libtool = \!\e\m\p\t\y\d\i\r\s ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = zipman ]]
+ [[ !libtool = \!\z\i\p\m\a\n ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = purge ]]
+ [[ !libtool = \!\p\u\r\g\e ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = ccache ]]
+ [[ !libtool = \!\c\c\a\c\h\e ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = distcc ]]
+ [[ !libtool = \!\d\i\s\t\c\c ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = makeflags ]]
+ [[ !libtool = \!\m\a\k\e\f\l\a\g\s ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = force ]]
+ [[ !libtool = \!\f\o\r\c\e ]]
+ ((  ! known  ))
+ ((  ! valid_options  ))
+ ((  1 > 1  ))
+ [[ -n '' ]]
+ return 0
+ devel_check
+ newpkgver=
+ ((  HOLDVER || SOURCEONLY || REPKG  ))
+ [[ ! -f /home/archuser/Desktop/abiword/abiword-light/PKGBUILD ]]
+ [[ ! -w /home/archuser/Desktop/abiword/abiword-light/PKGBUILD ]]
+ [[ -z '' ]]
+ oldpkgver=2.8.6
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ devel_update
+ [[ -n '' ]]
+ ((  1 > 1  ))
++ type -t build
+ [[ function = \f\u\n\c\t\i\o\n ]]
+ BUILDFUNC=1
++ type -t package
+ '[' '' = function ']'
++ type -t package_abiword-light
+ '[' 0 -eq 0 -a '' = function ']'
+ pkgbase=abiword-light
+ [[ -n '' ]]
+ ((  ! SPLITPKG  ))
+ [[ -f /home/archuser/Desktop/abiword/abiword-light/abiword-light-2.8.6-2-x86_64.pkg.tar.xz ]]
+ [[ -f /home/archuser/Desktop/abiword/abiword-light/abiword-light-2.8.6-2-any.pkg.tar.xz ]]
+ ((  INFAKEROOT  ))
++ gettext 'Making package: %s'
++ date
+ msg 'Making package: %s' 'abiword-light 2.8.6-2 ([01;32mFri Jan [01;36m21[01;32m [01;36m12[01;32m[01;34m:[01;32m[01;36m34[01;32m[01;34m:[01;32m[01;36m11[01;32m JST [01;36m2011[0m)'
+ local 'mesg=Making package: %s'
+ shift
+ printf '==> Making package: %s\n' 'abiword-light 2.8.6-2 ([01;32mFri Jan [01;36m21[01;32m [01;36m12[01;32m[01;34m:[01;32m[01;36m34[01;32m[01;34m:[01;32m[01;36m11[01;32m JST [01;36m2011[0m)'
==> Making package: abiword-light 2.8.6-2 ([01;32mFri Jan [01;36m21[01;32m [01;36m12[01;32m[01;34m:[01;32m[01;36m34[01;32m[01;34m:[01;32m[01;36m11[01;32m JST [01;36m2011[0m)
+ ((  SOURCEONLY  ))
+ ((  NODEPS || ( (NOBUILD || REPKG) && !DEP_BIN )  ))
++ type -p pacman
+ '[' /usr/bin/pacman ']'
+ ((  RMDEPS  ))
+ deperr=0
++ gettext 'Checking Runtime Dependencies...'
+ msg 'Checking Runtime Dependencies...'
+ local 'mesg=Checking Runtime Dependencies...'
+ shift
+ printf '==> Checking Runtime Dependencies...\n'
==> Checking Runtime Dependencies...
+ resolve_deps 'fribidi>=0.10.9' 'wv>=1.2.4' 'libglade>=2.0'
+ local R_DEPS_SATISFIED=0
+ local R_DEPS_MISSING=1
++ check_deps 'fribidi>=0.10.9' 'wv>=1.2.4' 'libglade>=2.0'
++ ((  3 > 0  ))
++ set +E
++ local ret=0
+++ run_pacman -T 'fribidi>=0.10.9' 'wv>=1.2.4' 'libglade>=2.0'
+++ local cmd
+++ printf -v cmd '%q ' pacman -T 'fribidi>=0.10.9' 'wv>=1.2.4' 'libglade>=2.0'
+++ ((  ! ASROOT  ))
+++ [[ -T != \-\T ]]
+++ eval 'pacman -T fribidi\>=0.10.9 wv\>=1.2.4 libglade\>=2.0 '
++++ pacman -T 'fribidi>=0.10.9' 'wv>=1.2.4' 'libglade>=2.0'
++ pmout=
++ set -E
++ ((  ret == 127  ))
++ ((  ret  ))
+ local deplist=
+ [[ -z '' ]]
+ return 0
++ gettext 'Checking Buildtime Dependencies...'
+ msg 'Checking Buildtime Dependencies...'
+ local 'mesg=Checking Buildtime Dependencies...'
+ shift
+ printf '==> Checking Buildtime Dependencies...\n'
==> Checking Buildtime Dependencies...
+ resolve_deps pkgconfig
+ local R_DEPS_SATISFIED=0
+ local R_DEPS_MISSING=1
++ check_deps pkgconfig
++ ((  1 > 0  ))
++ set +E
++ local ret=0
+++ run_pacman -T pkgconfig
+++ local cmd
+++ printf -v cmd '%q ' pacman -T pkgconfig
+++ ((  ! ASROOT  ))
+++ [[ -T != \-\T ]]
+++ eval 'pacman -T pkgconfig '
++++ pacman -T pkgconfig
++ pmout=
++ set -E
++ ((  ret == 127  ))
++ ((  ret  ))
+ local deplist=
+ [[ -z '' ]]
+ return 0
+ ((  RMDEPS  ))
+ ((  deperr  ))
+ umask 0022
+ mkdir -p /home/archuser/Desktop/abiword/abiword-light/src
+ chmod a-s /home/archuser/Desktop/abiword/abiword-light/src
+ cd /home/archuser/Desktop/abiword/abiword-light/src
+ ((  NOEXTRACT  ))
+ ((  REPKG  ))
+ download_sources
++ gettext 'Retrieving Sources...'
+ msg 'Retrieving Sources...'
+ local 'mesg=Retrieving Sources...'
+ shift
+ printf '==> Retrieving Sources...\n'
==> Retrieving Sources...
+ pushd /home/archuser/Desktop/abiword/abiword-light
+ local netfile
+ for netfile in '"${source[@]}"'
+ local file
++ get_filepath http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
+++ get_filename http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
+++ local filename=http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
+++ echo abiword-2.8.6.tar.gz
++ local file=abiword-2.8.6.tar.gz
++ [[ -f /home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz ]]
++ file=/home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz
++ echo /home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz
+ file=/home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz
++ gettext 'Found %s'
+ msg2 'Found %s' abiword-2.8.6.tar.gz
+ local 'mesg=Found %s'
+ shift
+ printf '  -> Found %s\n' abiword-2.8.6.tar.gz
  -> Found abiword-2.8.6.tar.gz
+ ln -sf /home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz /home/archuser/Desktop/abiword/abiword-light/src/
+ continue
+ popd
+ ((  ! SKIPINTEG  ))
+ check_checksums
+ ((  ! 1  ))
++ type -p openssl
+ '[' '!' /usr/bin/openssl ']'
+ local correlation=0
+ local integ required
+ for integ in md5 sha1 sha256 sha384 sha512
+ integrity_sums=($(eval echo "\${${integ}sums[@]}"))
++ eval echo '${md5sums[@]}'
+++ echo f883b0a7f26229a9c66fd6a1a94381aa
+ local integrity_sums
+ ((  1 == 1  ))
++ gettext 'Validating source files with %s...'
+ msg 'Validating source files with %s...' md5sums
+ local 'mesg=Validating source files with %s...'
+ shift
+ printf '==> Validating source files with %s...\n' md5sums
==> Validating source files with md5sums...
+ correlation=1
+ local errors=0
+ local idx=0
+ local file
+ for file in '"${source[@]}"'
+ local found=1
++ get_filename http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
++ local filename=http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
++ echo abiword-2.8.6.tar.gz
+ file=abiword-2.8.6.tar.gz
+ echo -n '    abiword-2.8.6.tar.gz ... '
    abiword-2.8.6.tar.gz ... ++ get_filepath abiword-2.8.6.tar.gz
+++ get_filename abiword-2.8.6.tar.gz
+++ local filename=abiword-2.8.6.tar.gz
+++ echo abiword-2.8.6.tar.gz
++ local file=abiword-2.8.6.tar.gz
++ [[ -f /home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz ]]
++ file=/home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz
++ echo /home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz
+ file=/home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz
+ ((  1  ))
++ tr '[:upper:]' '[:lower:]'
+ local expectedsum=f883b0a7f26229a9c66fd6a1a94381aa
++ openssl dgst -md5 /home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz
+ local 'realsum=MD5(/home/archuser/Desktop/abiword/abiword-light/abiword-2.8.6.tar.gz)= f883b0a7f26229a9c66fd6a1a94381aa'
+ realsum=f883b0a7f26229a9c66fd6a1a94381aa
+ [[ f883b0a7f26229a9c66fd6a1a94381aa = f883b0a7f26229a9c66fd6a1a94381aa ]]
++ gettext Passed
+ echo Passed
Passed
+ idx=1
+ ((  errors  ))
+ for integ in md5 sha1 sha256 sha384 sha512
+ integrity_sums=($(eval echo "\${${integ}sums[@]}"))
++ eval echo '${sha1sums[@]}'
+++ echo
+ local integrity_sums
+ ((  0 == 1  ))
+ ((  0  ))
+ for integ in md5 sha1 sha256 sha384 sha512
+ integrity_sums=($(eval echo "\${${integ}sums[@]}"))
++ eval echo '${sha256sums[@]}'
+++ echo
+ local integrity_sums
+ ((  0 == 1  ))
+ ((  0  ))
+ for integ in md5 sha1 sha256 sha384 sha512
+ integrity_sums=($(eval echo "\${${integ}sums[@]}"))
++ eval echo '${sha384sums[@]}'
+++ echo
+ local integrity_sums
+ ((  0 == 1  ))
+ ((  0  ))
+ for integ in md5 sha1 sha256 sha384 sha512
+ integrity_sums=($(eval echo "\${${integ}sums[@]}"))
++ eval echo '${sha512sums[@]}'
+++ echo
+ local integrity_sums
+ ((  0 == 1  ))
+ ((  0  ))
+ ((  ! correlation  ))
+ extract_sources
++ gettext 'Extracting Sources...'
+ msg 'Extracting Sources...'
+ local 'mesg=Extracting Sources...'
+ shift
+ printf '==> Extracting Sources...\n'
==> Extracting Sources...
+ local netfile
+ for netfile in '"${source[@]}"'
++ get_filename http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
++ local filename=http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
++ echo abiword-2.8.6.tar.gz
+ file=abiword-2.8.6.tar.gz
+ in_array abiword-2.8.6.tar.gz
+ local needle=abiword-2.8.6.tar.gz
+ shift
+ [[ -z '' ]]
+ return 1
++ file -bizL abiword-2.8.6.tar.gz
+ local 'file_type=[01;36mapplication/x[01;32m-[01;36mtar; charset=binary compressed[01;32m-[01;36mencoding=application/x[01;32m-[01;36mgzip; charset=binary; charset=binary[0m'
+ local ext=gz
+ local cmd=
+ case "$file_type" in
+ continue
+ ((  EUID == 0  ))
+ ((  NOBUILD  ))
+ [[ -d /home/archuser/Desktop/abiword/abiword-light/pkg ]]
+ ((  ! REPKG || PKGFUNC || SPLITPKG  ))
++ gettext 'Removing existing pkg/ directory...'
+ msg 'Removing existing pkg/ directory...'
+ local 'mesg=Removing existing pkg/ directory...'
+ shift
+ printf '==> Removing existing pkg/ directory...\n'
==> Removing existing pkg/ directory...
+ rm -rf /home/archuser/Desktop/abiword/abiword-light/pkg
+ mkdir -p /home/archuser/Desktop/abiword/abiword-light/pkg
+ chmod a-s /home/archuser/Desktop/abiword/abiword-light/pkg
+ cd /home/archuser/Desktop/abiword/abiword-light
++ check_buildenv fakeroot
+++ in_opt_array fakeroot fakeroot '!distcc' color '!ccache'
++++ tr '[:upper:]' '[:lower:]'
+++ local needle=fakeroot
+++ shift
+++ local opt
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=fakeroot
+++ [[ fakeroot = fakeroot ]]
+++ echo y
+++ return
++ echo y
+ [[ y != \y ]]
+ ((  EUID == 0  ))
+ ((  ! REPKG && ( PKGFUNC || SPLITPKG )  ))
++ gettext 'Entering fakeroot environment...'
+ msg 'Entering fakeroot environment...'
+ local 'mesg=Entering fakeroot environment...'
+ shift
+ printf '==> Entering fakeroot environment...\n'
==> Entering fakeroot environment...
+ [[ -n '' ]]
+ fakeroot -- /usr/bin/makepkg -F -s
+ export TEXTDOMAIN=pacman
+ TEXTDOMAIN=pacman
+ export TEXTDOMAINDIR=/usr/share/locale
+ TEXTDOMAINDIR=/usr/share/locale
+ export COMMAND_MODE=legacy
+ COMMAND_MODE=legacy
+ myver=3.4.2
+ confdir=/etc
+ BUILDSCRIPT=PKGBUILD
+ startdir=/home/archuser/Desktop/abiword/abiword-light
+ srcdir=/home/archuser/Desktop/abiword/abiword-light/src
+ pkgdir=/home/archuser/Desktop/abiword/abiword-light/pkg
+ packaging_options=('strip' 'docs' 'libtool' 'emptydirs' 'zipman' 'purge')
+ other_options=('ccache' 'distcc' 'makeflags' 'force')
+ splitpkg_overrides=('pkgver' 'pkgrel' 'pkgdesc' 'arch' 'license' 'groups' 'depends' 'optdepends' 'provides' 'conflicts' 'replaces' 'backup' 'options' 'install' 'changelog')
+ readonly -a packaging_options other_options splitpkg_overrides
+ ASROOT=0
+ CLEANUP=0
+ CLEANCACHE=0
+ DEP_BIN=0
+ FORCE=0
+ INFAKEROOT=0
+ GENINTEG=0
+ SKIPINTEG=0
+ INSTALL=0
+ NOBUILD=0
+ NODEPS=0
+ NOEXTRACT=0
+ RMDEPS=0
+ REPKG=0
+ LOGGING=0
+ SOURCEONLY=0
+ IGNOREARCH=0
+ HOLDVER=0
+ BUILDFUNC=0
+ PKGFUNC=0
+ SPLITPKG=0
+ PKGLIST=()
+ FORCE_VER=
+ PACMAN_OPTS=
+ set -E
+ trap clean_up 0
+ trap 'trap_exit "$(gettext "TERM signal caught. Exiting...")"' TERM HUP QUIT
+ trap 'trap_exit "$(gettext "Aborted by user! Exiting...")"' INT
+ trap 'trap_exit "$(gettext "An unknown error has occurred. Exiting...")"' ERR
++ type -t gettext
+ '[' '!' file ']'
+ ARGLIST=("$@")
+ OPT_SHORT=AcCdefFghiLmop:rRsV
+ OPT_LONG=allsource,asroot,ignorearch,clean,cleancache,nodeps
+ OPT_LONG=allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver
+ OPT_LONG=allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver,install,log,nocolor,nobuild,pkg:,rmdeps,repackage,skipinteg
+ OPT_LONG=allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver,install,log,nocolor,nobuild,pkg:,rmdeps,repackage,skipinteg,source,syncdeps,version,config:
+ OPT_LONG=allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver,install,log,nocolor,nobuild,pkg:,rmdeps,repackage,skipinteg,source,syncdeps,version,config:,noconfirm,noprogressbar
++ parse_options AcCdefFghiLmop:rRsV allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver,install,log,nocolor,nobuild,pkg:,rmdeps,repackage,skipinteg,source,syncdeps,version,config:,noconfirm,noprogressbar -F -s
++ local short_options=AcCdefFghiLmop:rRsV
++ shift
++ local long_options=allsource,asroot,ignorearch,clean,cleancache,nodeps,noextract,force,forcever:,geninteg,help,holdver,install,log,nocolor,nobuild,pkg:,rmdeps,repackage,skipinteg,source,syncdeps,version,config:,noconfirm,noprogressbar
++ shift
++ local ret=0
++ local unused_options=
++ [[ -n -F ]]
++ [[ -F = \-\- ]]
++ [[ - = \- ]]
++ (( i=1 ))
++ (( i<2 ))
++ [[ AcCdefFghiLmop:rRsV =~ F ]]
++ [[ AcCdefFghiLmop:rRsV =~ F: ]]
++ printf ' -%s' F
++ (( i++ ))
++ (( i<2 ))
++ shift
++ [[ -n -s ]]
++ [[ -s = \-\- ]]
++ [[ - = \- ]]
++ (( i=1 ))
++ (( i<2 ))
++ [[ AcCdefFghiLmop:rRsV =~ s ]]
++ [[ AcCdefFghiLmop:rRsV =~ s: ]]
++ printf ' -%s' s
++ (( i++ ))
++ (( i<2 ))
++ shift
++ [[ -n '' ]]
++ printf ' --'
++ [[ -n '' ]]
++ [[ -n '' ]]
++ printf '\n'
++ return 0
+ OPT_TEMP=' -F -s --'
+ [[  -F -s -- = *\P\A\R\S\E\_\O\P\T\I\O\N\S\ \F\A\I\L\E\D* ]]
+ eval set -- ' -F -s --'
++ set -- -F -s --
+ unset OPT_SHORT OPT_LONG OPT_TEMP
+ true
+ case "$1" in
+ INFAKEROOT=1
+ shift
+ true
+ case "$1" in
+ DEP_BIN=1
+ shift
+ true
+ case "$1" in
+ OPT_IND=0
+ shift
+ break
+ _PKGDEST=
+ _SRCDEST=
+ _SRCPKGDEST=
+ MAKEPKG_CONF=/etc/makepkg.conf
+ [[ -r /etc/makepkg.conf ]]
+ source /etc/makepkg.conf
++ DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u' 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u' 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u' 'rsync::/usr/bin/rsync -z %u %o' 'scp::/usr/bin/scp -C %u %o')
++ CARCH=x86_64
++ CHOST=x86_64-unknown-linux-gnu
++ CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe'
++ CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe'
++ LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
++ BUILDENV=(fakeroot !distcc color !ccache)
++ OPTIONS=(strip docs libtool emptydirs zipman purge)
++ 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})
++ STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
++ PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
++ PKGEXT=.pkg.tar.xz
++ SRCEXT=.src.tar.gz
+ [[ -r /home/archuser/.makepkg.conf ]]
+ PACMAN=pacman
+ unset ALL_OFF BOLD BLUE GREEN RED YELLOW
+ [[ -t 2 ]]
+ readonly ALL_OFF BOLD BLUE GREEN RED YELLOW
+ PKGDEST=
+ PKGDEST=/home/archuser/Desktop/abiword/abiword-light
+ [[ ! -w /home/archuser/Desktop/abiword/abiword-light ]]
+ SRCDEST=
+ SRCDEST=/home/archuser/Desktop/abiword/abiword-light
+ [[ ! -w /home/archuser/Desktop/abiword/abiword-light ]]
+ SRCPKGDEST=
+ SRCPKGDEST=/home/archuser/Desktop/abiword/abiword-light
+ ((  HOLDVER  ))
+ ((  CLEANCACHE  ))
+ ((  ! INFAKEROOT  ))
+ [[ -z 1626204680 ]]
+ ((  ! ( ASROOT || INFAKEROOT ) && ( DEP_BIN || RMDEPS || INSTALL )  ))
+ unset pkgname pkgbase pkgver pkgrel pkgdesc url license groups provides
+ unset md5sums replaces depends conflicts backup source install changelog build
+ unset makedepends optdepends options noextract
+ BUILDFILE=PKGBUILD
+ [[ ! -f PKGBUILD ]]
++ file PKGBUILD
++ grep -F CRLF
++ true
+ crlftest=
+ [[ -n '' ]]
+ [[ P != \/ ]]
+ BUILDFILE=/home/archuser/Desktop/abiword/abiword-light/PKGBUILD
+ source /home/archuser/Desktop/abiword/abiword-light/PKGBUILD
++ pkgname=abiword-light
++ pkgver=2.8.6
++ pkgrel=2
++ pkgdesc='A fully-featured word processor without some gnome dependencies'
++ arch=(i686 x86_64)
++ license=('GPL')
++ url=http://www.abisource.com
++ depends=('fribidi>=0.10.9' 'wv>=1.2.4' 'libglade>=2.0')
++ makedepends=('pkgconfig')
++ conflicts=('abiword')
++ provides=('abiword')
++ options=('!makeflags' '!libtool')
++ source=(http://www.abisource.com/downloads/abiword/${pkgver}/source/abiword-${pkgver}.tar.gz)
++ md5sums=('f883b0a7f26229a9c66fd6a1a94381aa')
+ ((  GENINTEG  ))
+ check_sanity
+ [[ -z abiword-light ]]
+ [[ -z 2.8.6 ]]
+ [[ -z 2 ]]
+ local name
+ for name in '"${pkgname[@]}"'
+ [[ a = \- ]]
+ [[ '' = \- ]]
+ [[ 2.8.6 != 2.8.6 ]]
+ [[ 2 != 2 ]]
+ [[ i686 != \a\n\y ]]
+ in_array x86_64 i686 x86_64
+ local needle=x86_64
+ shift
+ [[ -z i686 ]]
+ local item
+ for item in '"$@"'
+ [[ i686 = x86_64 ]]
+ for item in '"$@"'
+ [[ x86_64 = x86_64 ]]
+ return 0
+ local provide
+ for provide in '${provides[@]}'
+ [[ abiword != abiword ]]
+ [[ abiword != abiword ]]
+ local file
+ local optdepend
+ local i
+ for i in ''\''changelog'\''' ''\''install'\'''
++ sed -n 's/^[[:space:]]*changelog=//p' /home/archuser/Desktop/abiword/abiword-light/PKGBUILD
+ local filelist=
+ local file
+ for i in ''\''changelog'\''' ''\''install'\'''
++ sed -n 's/^[[:space:]]*install=//p' /home/archuser/Desktop/abiword/abiword-light/PKGBUILD
+ local filelist=
+ local file
+ local valid_options=1
+ local opt known kopt
+ for opt in '${options[@]}'
+ known=0
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = strip ]]
+ [[ !makeflags = \!\s\t\r\i\p ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = docs ]]
+ [[ !makeflags = \!\d\o\c\s ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = libtool ]]
+ [[ !makeflags = \!\l\i\b\t\o\o\l ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = emptydirs ]]
+ [[ !makeflags = \!\e\m\p\t\y\d\i\r\s ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = zipman ]]
+ [[ !makeflags = \!\z\i\p\m\a\n ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = purge ]]
+ [[ !makeflags = \!\p\u\r\g\e ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = ccache ]]
+ [[ !makeflags = \!\c\c\a\c\h\e ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = distcc ]]
+ [[ !makeflags = \!\d\i\s\t\c\c ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = makeflags ]]
+ [[ !makeflags = \!\m\a\k\e\f\l\a\g\s ]]
+ known=1
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !makeflags = force ]]
+ [[ !makeflags = \!\f\o\r\c\e ]]
+ ((  ! known  ))
+ for opt in '${options[@]}'
+ known=0
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = strip ]]
+ [[ !libtool = \!\s\t\r\i\p ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = docs ]]
+ [[ !libtool = \!\d\o\c\s ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = libtool ]]
+ [[ !libtool = \!\l\i\b\t\o\o\l ]]
+ known=1
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = emptydirs ]]
+ [[ !libtool = \!\e\m\p\t\y\d\i\r\s ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = zipman ]]
+ [[ !libtool = \!\z\i\p\m\a\n ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = purge ]]
+ [[ !libtool = \!\p\u\r\g\e ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = ccache ]]
+ [[ !libtool = \!\c\c\a\c\h\e ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = distcc ]]
+ [[ !libtool = \!\d\i\s\t\c\c ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = makeflags ]]
+ [[ !libtool = \!\m\a\k\e\f\l\a\g\s ]]
+ for kopt in '${packaging_options[@]}' '${other_options[@]}'
+ [[ !libtool = force ]]
+ [[ !libtool = \!\f\o\r\c\e ]]
+ ((  ! known  ))
+ ((  ! valid_options  ))
+ ((  1 > 1  ))
+ [[ -n '' ]]
+ return 0
+ devel_check
+ newpkgver=
+ ((  HOLDVER || SOURCEONLY || REPKG  ))
+ [[ ! -f /home/archuser/Desktop/abiword/abiword-light/PKGBUILD ]]
+ [[ ! -w /home/archuser/Desktop/abiword/abiword-light/PKGBUILD ]]
+ [[ -z '' ]]
+ oldpkgver=2.8.6
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ devel_update
+ [[ -n '' ]]
+ ((  1 > 1  ))
++ type -t build
+ [[ function = \f\u\n\c\t\i\o\n ]]
+ BUILDFUNC=1
++ type -t package
+ '[' '' = function ']'
++ type -t package_abiword-light
+ '[' 0 -eq 0 -a '' = function ']'
+ pkgbase=abiword-light
+ [[ -n '' ]]
+ ((  ! SPLITPKG  ))
+ [[ -f /home/archuser/Desktop/abiword/abiword-light/abiword-light-2.8.6-2-x86_64.pkg.tar.xz ]]
+ [[ -f /home/archuser/Desktop/abiword/abiword-light/abiword-light-2.8.6-2-any.pkg.tar.xz ]]
+ ((  INFAKEROOT  ))
+ ((  ! SPLITPKG  ))
+ ((  ! PKGFUNC  ))
+ ((  ! REPKG  ))
+ ((  BUILDFUNC  ))
+ run_build
++ check_buildenv distcc
+++ in_opt_array distcc fakeroot '!distcc' color '!ccache'
++++ tr '[:upper:]' '[:lower:]'
+++ local needle=distcc
+++ shift
+++ local opt
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=fakeroot
+++ [[ fakeroot = distcc ]]
+++ [[ fakeroot = \!\d\i\s\t\c\c ]]
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt='!distcc'
+++ [[ !distcc = distcc ]]
+++ [[ !distcc = \!\d\i\s\t\c\c ]]
+++ echo n
+++ return
++ echo n
+ [[ n = \y ]]
++ check_option distcc
+++ in_opt_array distcc '!makeflags' '!libtool'
++++ tr '[:upper:]' '[:lower:]'
+++ local needle=distcc
+++ shift
+++ local opt
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt='!makeflags'
+++ [[ !makeflags = distcc ]]
+++ [[ !makeflags = \!\d\i\s\t\c\c ]]
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt='!libtool'
+++ [[ !libtool = distcc ]]
+++ [[ !libtool = \!\d\i\s\t\c\c ]]
+++ echo '?'
++ local 'ret=?'
++ [[ ? != \? ]]
+++ in_opt_array distcc strip docs libtool emptydirs zipman purge
++++ tr '[:upper:]' '[:lower:]'
+++ local needle=distcc
+++ shift
+++ local opt
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=strip
+++ [[ strip = distcc ]]
+++ [[ strip = \!\d\i\s\t\c\c ]]
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=docs
+++ [[ docs = distcc ]]
+++ [[ docs = \!\d\i\s\t\c\c ]]
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=libtool
+++ [[ libtool = distcc ]]
+++ [[ libtool = \!\d\i\s\t\c\c ]]
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=emptydirs
+++ [[ emptydirs = distcc ]]
+++ [[ emptydirs = \!\d\i\s\t\c\c ]]
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=zipman
+++ [[ zipman = distcc ]]
+++ [[ zipman = \!\d\i\s\t\c\c ]]
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=purge
+++ [[ purge = distcc ]]
+++ [[ purge = \!\d\i\s\t\c\c ]]
+++ echo '?'
++ ret='?'
++ [[ ? != \? ]]
++ echo '?'
+ [[ ? = \n ]]
++ check_buildenv ccache
+++ in_opt_array ccache fakeroot '!distcc' color '!ccache'
++++ tr '[:upper:]' '[:lower:]'
+++ local needle=ccache
+++ shift
+++ local opt
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=fakeroot
+++ [[ fakeroot = ccache ]]
+++ [[ fakeroot = \!\c\c\a\c\h\e ]]
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt='!distcc'
+++ [[ !distcc = ccache ]]
+++ [[ !distcc = \!\c\c\a\c\h\e ]]
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt=color
+++ [[ color = ccache ]]
+++ [[ color = \!\c\c\a\c\h\e ]]
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt='!ccache'
+++ [[ !ccache = ccache ]]
+++ [[ !ccache = \!\c\c\a\c\h\e ]]
+++ echo n
+++ return
++ echo n
+ [[ n = \y ]]
+ run_function build
+ [[ -z build ]]
+ pkgfunc=build
++ check_option makeflags
+++ in_opt_array makeflags '!makeflags' '!libtool'
++++ tr '[:upper:]' '[:lower:]'
+++ local needle=makeflags
+++ shift
+++ local opt
+++ for opt in '"$@"'
++++ tr '[:upper:]' '[:lower:]'
+++ opt='!makeflags'
+++ [[ !makeflags = makeflags ]]
+++ [[ !makeflags = \!\m\a\k\e\f\l\a\g\s ]]
+++ echo n
+++ return
++ local ret=n
++ [[ n != \? ]]
++ echo n
++ return
+ [[ n = \n ]]
+ MAKEFLAGS=
++ gettext 'Starting %s()...'
+ msg 'Starting %s()...' build
+ local 'mesg=Starting %s()...'
+ shift
+ printf '==> Starting %s()...\n' build
==> Starting build()...
+ cd /home/archuser/Desktop/abiword/abiword-light/src
+ export CFLAGS CXXFLAGS LDFLAGS MAKEFLAGS CHOST
++ shopt -p
+ local 'shellopts=shopt -u autocd
shopt -u cdable_vars
shopt -u cdspell
shopt -u checkhash
shopt -u checkjobs
shopt -u checkwinsize
shopt -s cmdhist
shopt -u compat31
shopt -u compat32
shopt -u compat40
shopt -u dirspell
shopt -u dotglob
shopt -u execfail
shopt -u expand_aliases
shopt -u extdebug
shopt -u extglob
shopt -s extquote
shopt -u failglob
shopt -s force_fignore
shopt -u globstar
shopt -u gnu_errfmt
shopt -u histappend
shopt -u histreedit
shopt -u histverify
shopt -s hostcomplete
shopt -u huponexit
shopt -s interactive_comments
shopt -u lithist
shopt -u login_shell
shopt -u mailwarn
shopt -u no_empty_cmd_completion
shopt -u nocaseglob
shopt -u nocasematch
shopt -u nullglob
shopt -s progcomp
shopt -s promptvars
shopt -u restricted_shell
shopt -u shift_verbose
shopt -s sourcepath
shopt -u xpg_echo'
+ local ret=0
+ ((  LOGGING  ))
++ trap -p ERR
+ restoretrap='trap -- '\''trap_exit "$(gettext "An unknown error has occurred. Exiting...")"'\'' ERR'
+ trap error_function ERR
+ build
+ cd /home/archuser/Desktop/abiword/abiword-light/src/abiword-2.8.6/
+ ./configure --prefix=/usr --with-libxml2 --disable-gucharmap --disable-spellcheck --disable-printing
/home/archuser/Desktop/abiword/abiword-light/PKGBUILD: line 17: ./configure: No such file or directory
++ error_function
++ [[ -p '' ]]
++ ((  ! BASH_SUBSHELL  ))
+++ gettext Aborting...
++ plain Aborting...
++ local mesg=Aborting...
++ shift
++ printf '    Aborting...\n'
    Aborting...
++ remove_deps
++ ((  ! RMDEPS  ))
++ return
++ exit 2
+ clean_up
+ local EXIT_CODE=2
+ ((  INFAKEROOT  ))
+ return
+ exit 2
+ clean_up
+ local EXIT_CODE=2
+ ((  INFAKEROOT  ))
+ ((  ! EXIT_CODE && CLEANUP  ))
+ remove_deps
+ ((  ! RMDEPS  ))
+ return

Offline

#29 2011-01-21 03:50:16

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: [SOLVED]fail to build package: no such file or directory error

Ah and there's your issue: "local 'file_type=[01;36mapplication/x[01;32m-[01;36mtar; charset=binary compressed[01;32m-[01;36mencoding=application/x[01;32m-[01;36mgzip; charset=binary; charset=binary[0m'"

For some reason, the 'file' utility is colourising its output.

Offline

#30 2011-01-21 03:56:45

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED]fail to build package: no such file or directory error

excellent catch tavianator


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#31 2011-01-21 03:57:09

aluser
Member
Registered: 2011-01-16
Posts: 119

Re: [SOLVED]fail to build package: no such file or directory error

tavianator wrote:

Ah and there's your issue: "local 'file_type=[01;36mapplication/x[01;32m-[01;36mtar; charset=binary compressed[01;32m-[01;36mencoding=application/x[01;32m-[01;36mgzip; charset=binary; charset=binary[0m'"

For some reason, the 'file' utility is colourising its output.

Now that you mention it, I did install a package that colorizes the output in the terminal called cwrapper.

Last edited by aluser (2011-01-21 04:25:56)

Offline

#32 2011-01-21 04:28:45

aluser
Member
Registered: 2011-01-16
Posts: 119

Re: [SOLVED]fail to build package: no such file or directory error

I'd just like to thank everyone for helping me fix this . I have cleaned both my.zshrc .bashrc because i do remember putting some code to also colorize the man output and stuff like that. It is working fine now, but it seems to compile a lot slower than usual or maybe its just me so i may have to make a new thread about that. Thanks again.

Last edited by aluser (2011-01-21 04:37:46)

Offline

#33 2011-01-21 04:40:50

mangloid
Member
Registered: 2011-01-21
Posts: 4

Re: [SOLVED]fail to build package: no such file or directory error

glad to hear its working

Offline

#34 2011-01-21 04:45:35

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: [SOLVED]fail to build package: no such file or directory error

Awesome, good to hear.  That's one of the weirder bugs I've heard of recently.  Please mark the thread as [SOLVED], thanks.

Offline

Board footer

Powered by FluxBB