You are not logged in.
Hi! The wesnoth version in extra is quite old, so I tried to change the PKGBUILD in abs for wesnoth 1.4, the actual version. It doesn't work- even if I replace the variable $pkgver in source=.. with the absolute path (source=(http://heanet.dl.sourceforge.net/sourceforge/wesnoth/wesnoth-1.4.tar.bz2), makepkg adds a ".0", to the source path. Download fails, because there is no http://heanet.dl.sourceforge.net/source … .0.tar.bz2! Has anybody here a solution for removing this "feature"?
Offline
I just tried editing the PKGBUILD and changing the pkgver to 1.4 works for me.
==> Making package: wesnoth 1.4-1 (tis mar 11 18:34:13 CET 2008)
==> Retrieving Sources...
-> Downloading wesnoth-1.4.tar.bz2...
--2008-03-11 18:34:14-- http://heanet.dl.sourceforge.net/sourceforge/wesnoth/wesnoth-1.4.tar.bz2
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
Not for me, funny... I'm running arch-testing, is that the reason for the different behavior of makepkg?
Offline
Could be, I'm just using core/extra/community repositories.
For what it's worth, this is how the top of the PKGBUILD looks to me:
pkgname=wesnoth
pkgver=1.4
pkgrel=1
pkgdesc="A turn-based strategy game on a fantasy world"
arch=(i686 x86_64)
license=('GPL')
url="http://www.wesnoth.org/"
depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'libvorbis' 'fribidi' 'freetype2' 'gcc-libs')
#source=(http://www.wesnoth.org/files/$pkgname-$pkgver.tar.gz)
install=wesnoth.install
source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
I think there is something wrong with the server, at least from some regions of the world. Try http://downloads/sourceforge.net/sourceforge
Offline
There's nothing wrong with the server, makepkg adds a ".0" to the link (look at my first post). vex, my PKGBUILD looks the same, funny..
Last edited by goethe (2008-03-11 18:58:29)
Offline
What is your version of makepkg?
Last edited by Stefan Husmann (2008-03-11 19:23:54)
Offline
It's 3.1.3, I think it's a part of pacman-testing. Maybe someone should write a bug-report- but not me, my english is too bad :-(
Last edited by goethe (2008-03-11 19:40:19)
Offline
I do not use testing, but my makepkg also is 3.1.3, updated last Saturday.
Currently I try to build wesnoth. The download was successfull, so I cannot reproduce your error. But it is still building.
But I used http://downloads/sourceforge.net/sourceforge as source-URL.
Last edited by Stefan Husmann (2008-03-11 20:10:04)
Offline
Makepkg shows: "Fehler beim Download von wesnoth-1.4.0.tar.bz2"
It's german, but you see makepkg is trying to download wesnoth with a wrong filename, my source line in the PKGBUIKLD looks like this:.source=(http://downloads/sourceforge.net/sourceforge/wesnoth/wesnoth-1.4.tar.bz2). First I tried source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2), didn't work, too.
Last edited by goethe (2008-03-11 20:23:15)
Offline
Makepkg shows: "Fehler beim Download von wesnoth-1.4.0.tar.bz2". It's german,
No Problem, I am german, too :.)
Actually I do not know and have no idea how this can happen. It never happend to me, and I do a lot of packaging.
I had a problem with the connect to the heanet server, but it was not a problem that he tried to put a .0 behind the URL but to get a connection at all.
This is really weird.:|
Last edited by Stefan Husmann (2008-03-12 08:51:18)
Offline
It's more than weird: I replaced the source= line with source=(blabla.tar.bz2), saved the file, typed makepkg... and makepkg tried to download wesnoth-1.4.0.tar.bz2!!! Reopening the PKGBUILD showed the correct (nonsensical "blabla") content, does makepkg read a cached content of the PKGBUILD or does it ignore the source=-line completely? Rebooting doesn't help, strange..
Last edited by goethe (2008-03-12 10:06:29)
Offline
Late reply, but I've just found out that Wesnoth 1.4 is in the French Archlinux repository. You might go for that:
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Late reply, but I've just found out that Wesnoth 1.4 is in the French Archlinux repository. You might go for that:
[archlinuxfr] Server = http://repo.archlinux.fr/i686
Thank you! I did not know this repo. And there is on for x86_64, too.
Offline
Yeah, I have discovered it because it's the official Yaourt repository
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
wesnoth is in extra now!
Offline
Yey!
But so what, already had my own PKGBUILD to play the new release and must say: That game rocks, although I'm not really a fan of turn based strategies. But this game is a big exception.
Offline