You are not logged in.

#1 2008-01-08 20:03:04

colbert
Member
Registered: 2007-12-16
Posts: 809

Can't get ET to work after building from AUR

I have downloaded Enemy Territory tar from AUR and am trying to build it, here is what I am getting:

bobby@dabox:~/installs/enemy-territory$ ls
enemy-territory.desktop  et-ded    et-pbupdate.sh  PKGBUILD
enemy-territory.install  etded.sh  et.sh
bobby@dabox:~/installs/enemy-territory$ makepkg
==> Entering fakeroot environment
==> Making package: enemy-territory 2.60b-8 (Tue Jan  8 14:44:27 EST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
   -> Downloading et-linux-2.60.x86.run
--14:44:28--  http://ftp.games.skynet.be/pub/wolfenstein/et-linux-2.60.x86.run
           => `et-linux-2.60.x86.run'
Resolving ftp.games.skynet.be... 195.238.1.6
Connecting to ftp.games.skynet.be|195.238.1.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 270,965,248 (258M) [text/plain]

89% [============================================>      ] 241,461,216  458.72K/s    ETA 01:03^100%[==================================================>] 270,965,248  467.87K/s    ETA 00:00

14:54:12 (453.47 KB/s) - `et-linux-2.60.x86.run' saved [270965248/270965248]

   -> Downloading ET-2.60b.zip
--14:54:15--  http://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/et/ET-2.60b.zip
           => `ET-2.60b.zip'
Resolving ftp.gwdg.de... 134.76.12.3
Connecting to ftp.gwdg.de|134.76.12.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,143,401 (4.0M) [application/zip]

100%[==================================================>] 4,143,401    326.94K/s    ETA 00:00

14:54:36 (201.11 KB/s) - `ET-2.60b.zip' saved [4143401/4143401]

   -> Found enemy-territory.desktop in build dir
   -> Found et-ded in build dir
   -> Found et-pbupdate.sh in build dir
   -> Found et.sh in build dir
   -> Found etded.sh in build dir
==> Validating source files with md5sums
    et-linux-2.60.x86.run ... Passed
    ET-2.60b.zip ... Passed
    enemy-territory.desktop ... Passed
    et-ded ... Passed
    et-pbupdate.sh ... Passed
    et.sh ... Passed
    etded.sh ... Passed
==> Extracting Sources...
==> Starting build()...
Creating directory enemy-territory
Verifying archive integrity... All good.
Uncompressing Enemy Territory 2.60 Full Install..............................................................................................................................................................................................................................................................................................................................
[b]cp: cannot stat `Enemy Territory 2.60b/linux/et.x86': No such file or directory
cp: cannot stat `Enemy Territory 2.60b/linux/etded.x86': No such file or directory[/b]
==> Removing info/doc files...
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .FILELIST file...
==> Generating .PKGINFO file...
==> Copying install script...
==> Compressing package...
==> Finished making: enemy-territory  (Tue Ja

I have bolded those 2 lines as when I try to run enemy-territory after finishing, I keep getting this:

bobby@dabox:~$ enemy-territory
/usr/bin/enemy-territory: line 6: /opt/enemy-territory/et.x86: No such file or directory
/usr/bin/enemy-territory: line 6: exec: /opt/enemy-territory/et.x86: cannot execute: No such file or directory
bobby@dabox:~$

???

Offline

#2 2008-01-08 20:20:15

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Can't get ET to work after building from AUR

Well... open the pkg.tar.gz with archiver and see where are those executables which you cannot find.
This is by far the easiest solution...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2008-01-08 20:27:58

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Can't get ET to work after building from AUR

Ok in the .tar.gz I see a "et" but no extension or anything. Could that be the et.x86? Seems like an executable. So I would just extract it to /opt/enemy-territory? I don't want to mess anything up hehe.

Offline

#4 2008-01-09 17:49:49

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Can't get ET to work after building from AUR


1000

Offline

#5 2008-01-09 18:24:28

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Can't get ET to work after building from AUR

So this cannot work since it is trying to use a .zip? But others have gotten this to work, I don't understand?

Offline

#6 2008-01-09 18:31:09

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Can't get ET to work after building from AUR

colbert wrote:

So this cannot work since it is trying to use a .zip? But others have gotten this to work, I don't understand?

It was caused by the upgrade of the file package.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2008-01-09 18:33:37

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Can't get ET to work after building from AUR

^^ What do you mean? Sorry I'm still quite new, hehe.

Offline

#8 2008-01-09 19:58:41

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Can't get ET to work after building from AUR

[2008-01-01 19:18] upgraded file (4.21-3 -> 4.23-1)

The problem was caused by this upgrade. So before that, everything worked fine.
It will be fixed in pacman / makepkg 3.1 anyway, which should be released soon.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#9 2008-01-09 21:05:44

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Can't get ET to work after building from AUR

To fix it right now, run makepkg -o, go to src/where-the-zip-is, unzip it manually, go back to where PKGBUILD is, and run makepkg -e.


1000

Offline

#10 2008-01-10 21:19:41

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Can't get ET to work after building from AUR

Thank you byte! It worked that way, exactly as you instructed. So basically I was just unzipping for the makepkg command since it cannot do it, then it proceeded with the building of the package??

Offline

Board footer

Powered by FluxBB