I am setting up a dockstar with archlinux in order to serve as a squeezebox with a USB flashkey and a USB hard disk.
There is a swap file configured (necessary for other packages installation with pacman or yaourt ).
$this->bbcode_second_pass_code('', 'uname -a
Linux dock1 3.11.6-1-ARCH #1 PREEMPT Fri Oct 18 20:16:36 CDT 2013 armv5tel GNU/Linux
df -t
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.9G 1.7G 2.1G 45% /
devtmpfs 60M 0 60M 0% /dev
tmpfs 60M 0 60M 0% /dev/shm
tmpfs 60M 480K 60M 1% /run
tmpfs 60M 0 60M 0% /sys/fs/cgroup
tmpfs 60M 0 60M 0% /tmp
/dev/sda1 56G 2.8G 54G 6% /media/NTFS
/dev/sdb3 25G 233M 25G 1% /media/ntfs
blkid
/dev/sda1: LABEL="NTFS" UUID="9E58F61758F5EE41" TYPE="ntfs"
/dev/sdb1: UUID="33f572c2-1203-4cd9-9314-699dd793df6f" TYPE="ext3"
/dev/sdb2: LABEL="swap" UUID="b999b244-4ffa-4b52-b9c6-d569084f29ab" TYPE="swap"
/dev/sdb3: LABEL="ntfs" UUID="7939E12F0019B4EC" TYPE="ntfs"
swapon
NAME TYPE SIZE USED PRIO
/dev/sdb2 partition 1004M 21.3M -1')
I have specified in the /etc/makepkg.conf the temporary directory
$this->bbcode_second_pass_code('', 'BUILDIR=/media/NTFS/temp')
I always change in the PKGBUILD the line
arch=('arm' 'i686' 'x86_64')
When I run as user 'nicolas'
I run yaourt with the line
$this->bbcode_second_pass_code('', 'yaourt --tmp /media/NTFS/temp-nicolas squeezeplay')
I get the following error
$this->bbcode_second_pass_code('', '==> Continue building squeezeplay ? [Y/n]
==> -------------------------------------
==>
==> Building and installing package
==> Making package: squeezeplay 7.8.r9704-2 (Thu Nov 14 13:21:23 CET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
chmod: changing permissions of â/media/NTFS/temp/squeezeplay/srcâ: Operation not permitted
==> ERROR: An unknown error has occurred. Exiting...
/usr/lib/yaourt/pkgbuild.sh: line 196: 12175 User defined signal 1 PKGDEST="$YPKGDEST" makepkg "${MAKEPKG_ARG[@]}" -s -f -p ./PKGBUILD
==> ERROR: Makepkg was unable to build squeezeplay.
ls -al /media/NTFS/temp-nicolas
total 4
drwxrwxrwx 1 root root 168 Nov 14 13:20 .
drwxrwxrwx 1 root root 4096 Nov 14 11:38 ..
drwxrwxrwx 1 root root 264 Nov 14 13:21 yaourt-tmp-nicolas')
when I run as root, with
$this->bbcode_second_pass_code('', 'yaourt --tmp /media/NTFS/temp squeezeplay')
I can get up to the tolua++ build OK and then
I get the following error
$this->bbcode_second_pass_code('', 'File "/media/NTFS/temp/squeezeplay/src/squeezeplay/src/tolua++-1.0.92/src/tests/SCsub", line 2, in <module>
scons: done reading SConscript files.
scons: Building targets ...
Install file: "bin/tolua++" as "/media/NTFS/temp/squeezeplay/src/squeezeplay/bin/tolua++"
Install file: "include/tolua++.h" as "/media/NTFS/temp/squeezeplay/src/squeezeplay/include/tolua++.h"
Install file: "lib/libtolua++.a" as "/media/NTFS/temp/squeezeplay/src/squeezeplay/lib/libtolua++.a"
scons: done building targets.
/media/NTFS/temp/yaourt-tmp-root/aur-squeezeplay/./PKGBUILD: line 59: ./configure: Permission denied
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build squeezeplay.
ls -al /media/NTFS/temp
total 4
drwxrwxrwx 1 root root 264 Nov 14 11:39 .
drwxrwxrwx 1 root root 4096 Nov 14 11:38 ..
drwxrwxrwx 1 root root 224 Nov 14 11:39 squeezeplay
drwxrwxrwx 1 root root 264 Nov 14 13:23 yaourt-tmp-root')
Most probably, it is a permission error, isn'it ?