If patch is not found, install patch. The error message really does say it all.
]]>Hello all,
*snip*PKGBUILD: line 32: patch: command not found
==> ERROR: Build Failed.
Aborting...*snip*
It looks like you might not have patch installed. What happens when you type
pacman -Q patch
?
If you get an error that the patch package is not found, install base-devel.
]]>Well I am getting the above error when running the makepkg -c as user in my local abs tree i am using
[devnull@myhell chromium]$ makepkg -c
==> Making package: chromium 0.9.12-6 (Sun Mar 30 01:43:39 EDT 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found chromium-src-0.9.12.tar.gz in build dir
-> Found chromium-data-0.9.12.tar.gz in build dir
-> Found 0.9.12-gcc3-gentoo.patch in build dir
-> Found 0.9.12-freealut.patch in build dir
-> Found 0.9.12-configure.patch in build dir
-> Found 0.9.12-png.patch in build dir
-> Found chromium.sh in build dir
-> Found chromium.png in build dir
-> Found chromium.desktop in build dir
==> Validating source files with md5sums...
chromium-src-0.9.12.tar.gz ... Passed
chromium-data-0.9.12.tar.gz ... Passed
0.9.12-gcc3-gentoo.patch ... Passed
0.9.12-freealut.patch ... Passed
0.9.12-configure.patch ... Passed
0.9.12-png.patch ... Passed
chromium.sh ... Passed
chromium.png ... Passed
chromium.desktop ... Passed
==> Extracting Sources...
-> bsdtar -x -f chromium-src-0.9.12.tar.gz
-> bsdtar -x -f chromium-data-0.9.12.tar.gz
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
PKGBUILD: line 32: patch: command not found
==> ERROR: Build Failed.
Aborting...
Here is a cut from PKBUILD file line 32:
build(){
cd $startdir/src/Chromium-0.9
patch -p0 -i ../0.9.12-gcc3-gentoo.patch || return 1 <--- This is line 32 from pkbuild file
patch -p0 -i ../0.9.12-freealut.patch || return 1
#patch -p0 -i ../0.9.12-configure.patch || return 1
patch -p0 -i ../0.9.12-png.patch || return 1
Thanks you in advance for all your help
]]>