You are not logged in.
hi.
as the topic title says i can't build packages anymore. i tried it with several packages (including the opera-beta and pacman-color pkgbuild) but the build process always stops with (translated from german so not the one-to-one makepkg translation):
==> Make package ...
/usr/bin/makepkg: Line 902: * 1024 : Syntax Error: Operator expected. (Error causing character is \"* 1024 \").
==> Stopped make: pacman-color 3.4.0-1 (Di 29. Jun 12:17:50 CEST 2010)
i've got no idea what could have caused the problem; i didn't install new packages in the last time or changed system configuration files (except the xorg.conf.d for my keyboard layout).
the system is up-to-date.
using pacman without color is only half the fun
Last edited by null (2010-06-29 10:56:10)
Offline
Give what you have. To someone, it may be better than you dare to think.
Offline
You have cw installed which provides a coloured version of du which breaks makepkg's package size claculations. It will be fixed in 3.4.1.
Offline
awsome! moving /usr/lib/cw/du to du.bak solved the problem!
tanks a lot!
Offline
awsome! moving /usr/lib/cw/du to du.bak solved the problem!
tanks a lot!
alias du="/bin/du"
would be a better work-around, your current solution could give problems when packages are upgraded/removed.
Offline
guess that's the better way. thanks
Last edited by null (2010-07-03 06:35:01)
Offline
I too have this problem and I don't have cw (whatever that is) installed (that I know of anyway). The only 'du' I have is in /bin/du. That being said, it definitely has to do with color, as if I give makepkg the --nocolor option, it works fine:
$ makepkg
==> ERROR: An unknown error has occurred. Exiting...
$ makepkg --nocolor
==> ERROR: PKGBUILD does not exist.
$ locate -b '\du'
/bin/du
$
Offline
what does
tput setaf 0
echo $?
output? It looks like your terminal does not support colours through tput...
Offline