You are not logged in.

#1 2008-03-29 22:55:00

/devnull.nsb
Member
From: USA
Registered: 2008-03-03
Posts: 10

MAKEPKG -c error <- PKGBUILD: line 32: patch: command not found

Hello all,

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

Offline

#2 2008-03-29 23:17:58

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: MAKEPKG -c error <- PKGBUILD: line 32: patch: command not found

Hello,

/devnull.nsb wrote:

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.

Offline

#3 2008-03-30 19:37:35

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: MAKEPKG -c error <- PKGBUILD: line 32: patch: command not found

http://bbs.archlinux.org/viewtopic.php?id=45933

If patch is not found, install patch.  The error message really does say it all.

Offline

Board footer

Powered by FluxBB