You are not logged in.
Hi All,
Trying to install an eschalon2 pkgbuild from the AUR. I already edited the PKGBUILD for the correct source URL and regenerated the correct MD5's, I'm stuck at the below error though, some help would be much appreciated! Please see my terminal output below:
[user@USER eschalon2]$ yaourt -S eschalon2
==> Downloading eschalon2 PKGBUILD from AUR...
x eschalon2.launcher
x eschalon2.install
x EschalonBook2.png
x PKGBUILD
x eschalon2.desktop
Comment by: Thalic on Thu, 28 Oct 2010 14:19:28 +0000
Fixed
Comment by: hasufell on Sat, 12 Mar 2011 17:11:41 +0000
http://pastebin.com/raw.php?i=TkGf9R0S
Comment by: Abdunur on Wed, 08 Jun 2011 03:35:17 +0000
Available download link
http://pastebin.com/raw.php?i=D4xQw2yM
Comment by: schuay on Sat, 30 Jul 2011 09:59:06 +0000
Disowned due to out of date flag since Feb 21 with no maintainer action. Feel free to adopt and update.
Comment by: Anntoin on Tue, 06 Dec 2011 04:32:01 +0000
The download location has changed to http://www.basiliskgames.com/dl_content/eb2_105_release/eschalon_book_2.tar.gz
Comment by: schuay on Tue, 06 Dec 2011 05:43:09 +0000
Updated, thanks
First Submitted: Wed, 26 May 2010 16:11:38 +0000
eschalon2 1.05-1
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y
Please add $EDITOR to your environment variables
for example:
export EDITOR="vim" (in ~/.bashrc)
(replace vim with your favorite editor)
==> Edit PKGBUILD with: nano
==> eschalon2 dependencies:
- lib32-freetype2 (already installed)
- lib32-libxxf86vm (already installed)
- lib32-mesa (already installed)
- lib32-gcc-libs (already installed)
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> Edit eschalon2.install ? [Y/n] ("A" to abort)
==> ---------------------------------------------
==> n
==> Continue building eschalon2 ? [Y/n]
==> -----------------------------------
==>
==> Building and installing package
==> Making package: eschalon2 1.05-1 (Sun Jul 15 12:13:24 PDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading eschalon_book_2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 41358 0 41358 0 0 11707 0 --:--:-- 0:00:03 --:--:-- 107k
-> Found EschalonBook2.png
-> Found eschalon2.desktop
-> Found eschalon2.launcher
==> Validating source files with md5sums...
eschalon_book_2.tar.gz ... FAILED
EschalonBook2.png ... Passed
eschalon2.desktop ... Passed
eschalon2.launcher ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build eschalon2.
==> Restart building eschalon2 ? [y/N]
==> ----------------------------------
==>
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y
==> eschalon2 dependencies:
- lib32-freetype2 (already installed)
- lib32-libxxf86vm (already installed)
- lib32-mesa (already installed)
- lib32-gcc-libs (already installed)
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> Edit eschalon2.install ? [Y/n] ("A" to abort)
==> ---------------------------------------------
==> n
==> Continue building eschalon2 ? [Y/n]
==> -----------------------------------
==>
==> Building and installing package
==> Making package: eschalon2 1.05-1 (Sun Jul 15 12:14:52 PDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found eschalon_book_2.tar.gz
-> Found EschalonBook2.png
-> Found eschalon2.desktop
-> Found eschalon2.launcher
==> Validating source files with md5sums...
eschalon_book_2.tar.gz ... Passed
EschalonBook2.png ... Passed
eschalon2.desktop ... Passed
eschalon2.launcher ... Passed
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
cp: cannot stat '/tmp/yaourt-tmp-USER/aur-eschalon2/src/eschalon_book_2/*': No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build eschalon2.The revised PKGBUILD is as follows:
# Maintainer: REMOVED
# Contributor: REMOVED
pkgname=eschalon2
pkgver=1.05
pkgrel=1
pkgdesc="Turn-based RPG. Eschalon: Book II is the sequel to 2007’s award winning RPG Eschalon: Book I, although no previous experience is needed to play and enjoy Book II."
arch=('i686' 'x86_64')
url='http://basiliskgames.com/eschalon-book-ii'
license=('custom: "commercial"')
install=eschalon2.install
if [ "$CARCH" = "x86_64" ]; then
depends=('lib32-freetype2' 'lib32-libxxf86vm' 'lib32-mesa' 'lib32-gcc-libs')
else
depends=('freetype2' 'libxxf86vm' 'mesa' 'gcc-libs')
fi
install=eschalon2.install
source=("http://www.gamefront.com/files/20844362/eschalon_book_2.tar.gz"
'EschalonBook2.png'
'eschalon2.desktop'
'eschalon2.launcher')
md5sums=('90bcd453ad20a00686d81d8873e7def3'
'536ccc508dfc14e89cb87c6d6e35a675'
'5f10d62310119e64659c24bc01aa16b9'
'23cbeb1f0c444a48dc5c4a0bf639b21b')
build() {
cd $srcdir
# Create Destination Directory
install -d $pkgdir/opt/Eschalon2
# Install the data
cp -r $srcdir/eschalon_book_2/* $pkgdir/opt/Eschalon2
# Install Icon
install -D -m 644 $srcdir/EschalonBook2.png \
$pkgdir/usr/share/pixmaps/EschalonBook2.png
# Install Launcher
install -D -m 644 $srcdir/eschalon2.desktop \
$pkgdir/usr/share/applications/eschalon2.desktop
# Install Game Launcher
install -D -m 755 $srcdir/eschalon2.launcher \
$pkgdir/usr/bin/eschalon2
# Install License
install -D -m 644 $srcdir/eschalon_book_2/license.txt \
$pkgdir/usr/share/licenses/$pkgname/license.txt
# Set groupship to :games
chown -R :games $pkgdir/opt/Eschalon2
chmod -R g+rwX $pkgdir/opt/Eschalon2
}Best,
C
Offline
The url is wrong. That is not a tarball, it is an html file.
Edit: unless you have a better link, it looks like the source needs to be downloaded manually from the site.
Edit2: after manually downloading the tarball, it "built" fine. I did run into an issue of running out of space on my /tmp partition while compressing it though. The pkg is over 1GB.
Removing the no longer needed tarballs and running `makepkg -ef` fixed that issue.
Also note, that this PKGBUILD should be modified. All the work here should be moved to the "install" function rather than the "build" function as there is nothing to build.
WARNING: after futzing with that I thought I'd install it to see what the game was. It is a "trial version only" of a program that, at least in my case, failed miserably, but only after changing my video mode. Egh, that goes right in the bit bucket.
Last edited by Trilby (2012-07-15 22:08:02)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Trilby,
Wow thank you for your thorough investigation and insight! I hope you at least had some fun solving my mystery. You certainly taught me a few things!
Best,
C
Offline
Yes, I hope I didn't gripe too much. I'm not much of a people person, but I do like tinkering to figure these things out. Reading between the griping, the result was that I was able to build and install it successfully, but only with a manual download. After that it started up fine, and I got an initial window to select a few options. After that though it just froze with no error output.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline