You are not logged in.

#1 2005-02-25 14:30:57

tranquility
Member
From: Portugal
Registered: 2004-08-06
Posts: 136

makepkg tries to use local copy when there is none

Hi all. Cooked up this PKGBUILD but makepkg tries to use the local copy which does not exist. wget gets the file ok. What keeps appearing in src/ is a 0 byte file with the proper name .Maybe someone can tell what's wrong with this.

# Contributor: tranquility <trankas@gmail.com>

pkgname=timer-applet
pkgver=0.6
pkgrel=1
pkgdesc="A countdown timer applet for the GNOME panel."
url="http://timerapplet.sourceforge.net/"
depends=('gtk2>=2.4' 'gnome-common>=2.6.0')
groups=()
source=(http://dl.sourceforge.net/timerapplet/$pkgname-$pkgver.tar.gz)
md5sums=('f737944f503bcd266528484c928c9b27')
build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/gnome
  make || return 1
  make DESTDIR=$startdir/pkg install
}
==> Making package: timer-applet  (Fri Feb 25 14:32:29 WET 2005)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of timer-applet-0.6.tar.gz
==> Validating source files with MD5sums
    timer-applet-0.6.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

Thanks.

Offline

#2 2005-02-25 16:48:46

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: makepkg tries to use local copy when there is none

Sounds like the source if faulty to me.  Make sure you have not copies of the source anywhere on your drive then try building again if that does not work then I would say contact the project developers because their source or mirrors bad


AKA uknowme

I am not your friend

Offline

#3 2005-02-26 13:50:25

tranquility
Member
From: Portugal
Registered: 2004-08-06
Posts: 136

Re: makepkg tries to use local copy when there is none

Actually the source is ok, when wget is able to download it. Sometimes it gets a nice 404 sad Maybe that's what is causing the error. If I download the source with wget, and run makepkg, it works fine.

Offline

#4 2005-02-26 16:42:03

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: makepkg tries to use local copy when there is none

you could try and clear your cache if you have built the same version before,

€ rm /var/cache/pacman/src/*
€ rm -r ./src/*

arch + gentoo + initng + python = enlisy

Offline

#5 2005-02-28 12:36:21

tranquility
Member
From: Portugal
Registered: 2004-08-06
Posts: 136

Re: makepkg tries to use local copy when there is none

That worked, thanks!

Offline

Board footer

Powered by FluxBB