You are not logged in.

#1 2008-03-24 15:15:14

grizzeledtop
Member
From: Zurich, Switzerland
Registered: 2006-03-08
Posts: 30

patch: command not found

While trying to build freetype2-lcd with makepkg -c, I keep getting the following error:

wiltell ~/build/freetype2-lcd  $ makepkg -c
==> Making package: freetype2-lcd 2.3.5-3  (Mon Mar 24 17:02:26 CET 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found freetype-2.3.5.tar.bz2 in build dir
  -> Found bytecode.patch in build dir
  -> Found freetype-2.3.0-enable-spr.patch in build dir
  -> Found freetype-2.2.1-enable-valid.patch in build dir
  -> Found freetype-2.2.1-memcpy-fix.patch in build dir
  -> Found freetype-2.2.1-subpixel-disable-quantization.diff in build dir
==> Validating source files with md5sums...
    freetype-2.3.5.tar.bz2 ... Passed
    bytecode.patch ... Passed
    freetype-2.3.0-enable-spr.patch ... Passed
    freetype-2.2.1-enable-valid.patch ... Passed
    freetype-2.2.1-memcpy-fix.patch ... Passed
    freetype-2.2.1-subpixel-disable-quantization.diff ... Passed
==> Extracting Sources...
  -> bsdtar -x -f freetype-2.3.5.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
PKGBUILD: line 29: patch: command not found
==> ERROR: Build Failed.
    Aborting...


You scratch my back, I'll ride on yours

Offline

#2 2008-03-24 15:17:16

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: patch: command not found

pacman -Sy patch?

Offline

#3 2008-03-24 15:17:57

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

Re: patch: command not found

When building packages, ensure you have the entire base-devel group installed:

# pacman -S base-devel

In particular for this specific case, what you want is the 'patch' program: 

# pacman -S patch

- but just install all of base-devel to prevent issues like this in the future.

Offline

#4 2008-03-24 15:23:11

grizzeledtop
Member
From: Zurich, Switzerland
Registered: 2006-03-08
Posts: 30

Re: patch: command not found

magic!! thank you, sometimes........, I tell you!


You scratch my back, I'll ride on yours

Offline

#5 2008-04-01 21:19:08

grizzeledtop
Member
From: Zurich, Switzerland
Registered: 2006-03-08
Posts: 30

Re: patch: command not found

Yeah, and I'll volunteere to do the manpages, sorry, Männerseiten.


You scratch my back, I'll ride on yours

Offline

Board footer

Powered by FluxBB