30 Sep
2009
30 Sep
'09
1:53 p.m.
It looks like _pkgname in the PKGBUILD overrides a variable which is internal to db-update and happens to have the same name.
Here are the relevant lines in /arch/db-update: http://pastebin.com/f2b478ad - see my comments on each highlighted line for what I believe is going on and causes it to fail.
I would suggest losing the _pkgname in the PKGBUILD, but there may be a better and more universal solution.
Thanks. I really had no idea what the problem was based on the message. I didn't even consider that it might be due to an overridden variable. Namespace clutter... yet another reason to ditch bash PKGBUILDs :P