project-navigation
Personal tools

Author Topic: Dev builds  (Read 10026 times)

badkarma

  • Guest
Dev builds
« on: August 04, 2008, 12:31:47 am »
Hi

To start with id just like to say that you guys have an awesome game in the works here, everything is falling into place very nicely.

I have been tinkering with the release version and wanted to try the latest dev builds, although the "nightly builds" seem to be more "ad hoc" according to the guys on irc.

My point is I will most likely be compiling from source once a week and I was wondering if you guys would like the .deb files generated to put on the repository ?

Im running debian etch, on a opteron 185.

(Linux badkarma64 2.6.18-6-k7 #1 SMP Tue Jun 17 22:06:22 UTC 2008 i686 GNU/Linux)

let me know which debs you want generated and where you need me to send them to.

badkarma

  • Guest
Re: Dev builds
« Reply #1 on: August 14, 2008, 10:05:07 pm »
hmm, since  there was no response to this I was just going to build the debs anyway and stick them on tpb.

however I get an error when trying to build the packages


root@badkarma64:# make debbinary
debuild binary-arch
make: debuild: Command not found
make: *** [debbinary] Error 127
root@badkarma64:# make deb
debuild binary
make: debuild: Command not found
make: *** [deb] Error 127

am I missing something here ?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Dev builds
« Reply #2 on: August 14, 2008, 10:32:12 pm »
Yes it seems debuild is missing. In debian (maybe ubuntu too) it's in devscripts package AFAIK.

-geever

badkarma

  • Guest
Re: Dev builds
« Reply #3 on: August 16, 2008, 02:11:02 pm »
hmm, looks like its not possible to build the debs on etch  >:(

installed the devscripts and some other packages, looks like im stuffed with debhelper and libcurl

root@badkarma64:# make debbinary
debuild binary-arch
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 6.0.0) libcurl4-devdebuild: fatal error at line 1192:
You do not appear to have all build dependencies properly met.
If you have the pbuilder package installed, you can run
/usr/lib/pbuilder/pbuilder-satisfydepends as root to install the
required packages, or you can do it manually using dpkg or apt using
the error messages just above this message.
make: *** [debbinary] Error 1

trying the pbuilder command above results in
root@badkarma64:# /usr/lib/pbuilder/pbuilder-satisfydepends
 -> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.29 2006/11/06 20:20:56 lool Exp $
 -> Considering build-dep debhelper (>= 6.0.0)
      Tried versions: 5.0.42
   -> Does not satisfy version, not trying
E: Could not satisfy build-dependency.

looking  up the packages shows that debhelper 5.0.42, and libcurl3 are the latest versions on etch. so I guess im sol here ?




Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Dev builds
« Reply #4 on: August 18, 2008, 03:23:43 pm »
you can try to edit the trunk/debian/control file and just change the version to 5.0.0 - maybe it works - maybe not

badkarma

  • Guest
Re: Dev builds
« Reply #5 on: August 18, 2008, 07:36:16 pm »
aha !

edited the debhelper and libcurl versions to those available in etch.

so debhelper 5 + and libcurl3-dev

also changed the /debian/compat file to read 5 instead of 6

the debbinary package built ok, building the debdata one now  ;D

will test that the debs install/run and post torrent link if all is well


badkarma

  • Guest
Re: Dev builds
« Reply #6 on: August 19, 2008, 05:32:42 pm »
hmm, building the data part fails

make[1]: Leaving directory `/storage/linux-stuff/ufoai-source/trunk'
cd base && ./archives.sh
/bin/sh: ./archives.sh: No such file or directory
make: *** [stamps/build-indep] Error 127
debuild: fatal error at line 1204:
couldn't exec debian/rules:
make: *** [deb] Error 2
root@badkarma64:#

checked in the base directory and there is in fact no archives.sh. there is an archives.bat, but that refers to windows commands.


uthersde

  • Guest
Re: Dev builds
« Reply #7 on: August 26, 2008, 08:27:55 pm »
hmm, building the data part fails

make[1]: Leaving directory `/storage/linux-stuff/ufoai-source/trunk'
cd base && ./archives.sh
/bin/sh: ./archives.sh: No such file or directory
make: *** [stamps/build-indep] Error 127
debuild: fatal error at line 1204:
couldn't exec debian/rules:
make: *** [deb] Error 2
root@badkarma64:#

checked in the base directory and there is in fact no archives.sh. there is an archives.bat, but that refers to windows commands.



try "svn up" this problem should be fixed now!

and you also should replace in src/shared/shared.h the BASEDIRNAME "base" with "" ;)

badkarma

  • Guest
Re: Dev builds
« Reply #8 on: August 29, 2008, 09:19:44 pm »
ok, managed to build the packages ok now

but, when you install them, the game will not run

returns

R_FindImage: Can't find pics/envmaps/envmap_0 (pics/envmaps/envmap_0.tga) - file: src/renderer/r_image.c, line 1751
Wrote keys.cfg
Error: Could not load environment map 0

however the game runs fine from the source code directory, I think something has gone wrong with the package creation/install proccess. now using svn version 14428.

do you want me to put up a torrent of the packages so you can test ?

badkarma

  • Guest
Re: Dev builds
« Reply #9 on: September 21, 2008, 09:27:12 pm »
hmm,

tried a svn update and managed to create new packages last night, getting the same problem though. I can run the game from the source directory, packages install ok. The game crashes on start-up though.

pacakges are on tpb tracker if anyone has time to test them for me. using svn 14428 now.

http://thepiratebay.org/torrent/4407350

looks like just changing versions on required versions of libcurl and debhelper wont do the trick, will try building packages again with lenny when it gets released


Witko

  • Guest
Re: Dev builds
« Reply #10 on: May 24, 2009, 11:21:12 pm »
hmm, building the data part fails

make[1]: Leaving directory `/storage/linux-stuff/ufoai-source/trunk'
cd base && ./archives.sh
/bin/sh: ./archives.sh: No such file or directory
make: *** [stamps/build-indep] Error 127
debuild: fatal error at line 1204:
couldn't exec debian/rules:
make: *** [deb] Error 2
root@badkarma64:#

checked in the base directory and there is in fact no archives.sh. there is an archives.bat, but that refers to windows commands.

Hi i was doing svn checkout->build this afternoon, took me few hours:) and i ended up with same message. Im running archlinux. Installed from yaourt wich is based on svn checkout. I looked at web svn access Revision 24484 and only archives.bat is listed. No archives.sh. Could you help me? I dont want to build it again(cos tmp will be deleted) and wait 3 hours again.
Thanks

moxiewhimsy

  • Guest
Re: Dev builds
« Reply #11 on: July 03, 2009, 02:52:13 am »
I'm quite interested in this topic, because it's my intent to build appropriate x86_64 debs as well.

*topic watched*

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Dev builds
« Reply #12 on: July 03, 2009, 12:16:15 pm »
I'm quite interested in this topic, because it's my intent to build appropriate x86_64 debs as well.

And is it still an issue? The last post was more than a month old.

btw. cd base && ./archives.sh should be replaced with make pk3

-geever

moxiewhimsy

  • Guest
Re: Dev builds
« Reply #13 on: July 04, 2009, 12:38:09 am »
Alas, it is if there are no debs of 2.3 available for x86_64 systems :'(. Since the data packages are available, it feels like it should be possible to have the executable packages as well. If this could be fulfilled on a weekly or even monthly basis, I'm sure it'd satisfy.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Dev builds
« Reply #14 on: July 04, 2009, 12:51:10 am »
@moxiewhimsy: You didn't answer my question.

For a note: trylegaldownloads.de is not our server. It's not the UFO:AI Team who creates those packages. Please don't complain about it! (As far as I know the maintainer of that server doesn't have any x86_64 system to create such builds.)


-geever