You are not logged in.

#1 2004-04-25 10:09:03

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

common problem (tar: *: Cannot stat)

tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors

I sometimes end up with this error. This is supposed to say to me, that I can't find files to tar.

here is my PKGBUILD:

pkgname=premake
pkgver=1.8
pkgrel=1
pkgdesc="Premake is a build script generator"
depends=(gcc lua)
md5sums=('ea41420a9c77bdfe48ad21cb6a53c60a')
source=(http://heanet.dl.sourceforge.net/sourceforge/premake/premake-src-1.8.zip
)
url="http://premake.sf.net"

build() {
  cd $startdir/src/Premake-$pkgver
  make || return 1
  /bin/install -o root -g users -m 755 premake /usr/bin
}

plz help me understand this. I'm trying to make a pkg for premake, and then I will try to make a pkg for wxNET

Offline

#2 2004-04-25 17:46:01

orelien
Forum Fellow
From: France
Registered: 2002-12-05
Posts: 220
Website

Re: common problem (tar: *: Cannot stat)

makepkg tries to tar the content of the directory $startdir/pkg:
But, your PKGBUILD doesn't install any destination file in this  directory.
Try with that:

<   /bin/install -o root -g users -m 755 premake /usr/bin
---
>   install -o root -g users -m 755 premake $startdir/pkg/usr/bin

Offline

Board footer

Powered by FluxBB