Author Topic: gentoo ebuild for 0.3.017  (Read 8263 times)

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
gentoo ebuild for 0.3.017
« on: November 19, 2006, 05:18:54 pm »
Hello,
i put a little post, i'm looking for tester for the gentoo ebuild i have made, be very cool it's my first ebuilds Smiley
I made crystalspace (release 1.1-r25803) / cel (release 1.1-r2369) / planeshift ( release 0.3.017 2006-11-19)
to use it you have to make an overlay (me is in /usr/local/portage) with an option in make.conf for it

-> modification of /etc/make.conf, add a line :
PORTDIR_OVERLAY=/usr/local/portage

-> create an overlay directory
mkdir /usr/local/portage
cd /usr/local/portage
wget http://loux.thefuture.free.fr/portage.tar.bz2
tar xjvf portage.tar.bz2

-> unmask it, in /etc/portage/package.keywords
media-libs/cal3d ~x86
dev-games/cel ~x86
dev-games/crystalspace ~x86
games-rpg/planeshift ~x86

/etc/portage/package.unmask
games-rpg/planeshift

and then :
emerge crystalspace (should be version 1.1-r25803)
and try cd /opt/crystal/bin ; ./walktest

emerge cel (should be version 1.1-r2369)
and try cd /opt/crystal/bin ; ./walktut

emerge planeshift (should be version 0.3.017)
and try cd /opt/planeshift/bin ; ./updater --auto ; ./pssetup ; ./psclient

please give me back every trouble you get
thanks a lot
loux
PS : to make a log file for me use : nohup emerge planeshift &
and send me the nohup.out file
« Last Edit: November 19, 2006, 05:33:10 pm by loux »

KTA

  • Traveller
  • *
  • Posts: 26
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #1 on: November 19, 2006, 07:26:26 pm »
Hello,

sorry crystalspace does not install, with similar errors as the last ebuild. I'll see about a log. Maybe we should get some help from the gentoo boards...

KTA

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #2 on: November 19, 2006, 08:26:10 pm »
Hello,
this is not strange at all, i have the same error with FEATURES="sandbox" but not with FEATURES="-sandbox",
i'm looking at a way to fix that :)
okay it's seems that sandbox doesn't like the way 'jam install' put documentation directly in the folder /usr
so i'm trying env variable to tell jam to install that in the good folder
thanks
loux
« Last Edit: November 20, 2006, 10:04:10 am by loux »

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #3 on: November 20, 2006, 12:13:02 pm »
Hello again,
i have update the portage ebuilds for crystalspace and cel to take care of sandbox protection,
may you try new ebuilds ? it should be no more ACCESS DENIED :)
thanks
loux

KTA

  • Traveller
  • *
  • Posts: 26
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #4 on: November 20, 2006, 03:08:22 pm »
Ok, I give it another try right now - let's keep our fingers crossed ;)

KTA

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #5 on: November 20, 2006, 05:06:58 pm »
KTA points to me an mistake in my ebuilds for CS/CEL, so i'm making change,
-> jam install try to place cfg files directly in /etc/crystalspace which sandbox deny so i change this behaviour
OK ! i have update the ebuilds to take care of the last KTA errors :)
may you try the new one !
thanks
loux
PS: i thanks a lot KTA for taking time to try my ebuilds
« Last Edit: November 20, 2006, 06:01:44 pm by loux »

KTA

  • Traveller
  • *
  • Posts: 26
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #6 on: November 20, 2006, 09:22:46 pm »
 \\o// :) This time it did compile and install fine! :thumbup:

Running tests now...

KTA

KTA

  • Traveller
  • *
  • Posts: 26
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #7 on: November 20, 2006, 09:56:15 pm »
 :oops:

Code: [Select]
# cd /opt/crystal/bin
 # ./walktest
DEBUG: Sound System Software Renderer Initializing...

crystalspace.engine.warning:
  Lightmaps are not up to date (no 'lm_precalc_info' found in cache).
  Use -relight cmd option to calc lighting.
  Couldn't load cached lighting for 1 object(s):
      Cube.012
  Use -relight cmd option to refresh lighting.
WARNING! Object 'Cylinder.231' is not closed!
WARNING! Object 'Cylinder.025' is not closed!
WARNING! Object 'Cube.581' is not closed!
WARNING! Object 'Cube.579' is not closed!
WARNING! Object 'Cube.577' is not closed!
WARNING! Object 'Cube.483' is not closed!
...

crystalspace.pluginmgr.loadplugin:
  could not load plugin 'crystalspace.graphics3d.shader.glcg'
  could not load plugin 'crystalspace.graphics3d.shader.glcg'
  could not load plugin 'crystalspace.graphics3d.shader.glcg'
  could not load plugin 'crystalspace.graphics3d.shader.glcg'
  could not load plugin 'crystalspace.graphics3d.shader.glcg'
  could not load plugin 'crystalspace.graphics3d.shader.glcg'
Total level load time: 10.854 seconds

 # ./walktut

crystalspace.pluginmgr.loadplugin:
  could not load plugin 'cel.physicallayer'
Segmentation fault

 # ./updater --auto

--> SNIP <--

Please wait while saving files..
==== Update complete ====


 # ./pssetup
Mounting skin: /planeshift/art/apps.zip
Skipping 'YesNo' because it's already loaded

planeshift.setup.application:
  Application initialized successfully.


 # ./psclient
DEBUG: Sound System Software Renderer Initializing...

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  1.1dev [Unix-x86-GCC]
LOG_ANY flag deactivated with no filter.
LOG_WEATHER flag deactivated with no filter.
LOG_SPAWN flag deactivated with no filter.
LOG_CELPERSIST flag deactivated with no filter.
LOG_PAWS flag deactivated with no filter.
LOG_GROUP flag deactivated with no filter.
LOG_CHEAT flag deactivated with no filter.
LOG_LINMOVE flag deactivated with no filter.
LOG_SPELLS flag deactivated with no filter.
LOG_NEWCHAR flag deactivated with no filter.
LOG_SUPERCLIENT flag deactivated with no filter.
LOG_EXCHANGES flag deactivated with no filter.
LOG_ADMIN flag deactivated with no filter.
LOG_STARTUP flag deactivated with no filter.
LOG_CHARACTER flag deactivated with no filter.
LOG_CONNECTIONS flag deactivated with no filter.
LOG_CHAT flag deactivated with no filter.
LOG_NET flag deactivated with no filter.
LOG_LOAD flag deactivated with no filter.
LOG_NPC flag deactivated with no filter.
LOG_TRADE flag deactivated with no filter.
LOG_SOUND flag deactivated with no filter.
LOG_COMBAT flag deactivated with no filter.
LOG_SKILLXP flag deactivated with no filter.
LOG_QUESTS flag deactivated with no filter.
LOG_SCRIPT flag deactivated with no filter.
LOG_MARRIAGE flag deactivated with no filter.
LOG_MESSAGES flag deactivated with no filter.
LOG_CACHE flag deactivated with no filter.
LOG_PETS flag deactivated with no filter.
LOG_USER flag deactivated with no filter.
LOG_LOOT flag deactivated with no filter.
LOG_DUELS flag deactivated with no filter.
LOG_TRIBES flag deactivated with no filter.
All LOGS are off.
Mounting skin: /this/art/skins/cvs.zip
Skipping 'InfoButton' because it's already loaded
Skipping 'InfoButton_over' because it's already loaded
Skipping 'InfoButton_active' because it's already loaded
Mounting skin: /planeshift/art/skins/base/client_base.zip
Skipping 'Standard Mouse Pointer' because it's already loaded
Skipping 'Splash Background' because it's already loaded
Skipping 'Login Background' because it's already loaded
Skipping 'Credits Background' because it's already loaded
Skipping 'Charpick Background' because it's already loaded
Skipping 'charborder' because it's already loaded
Skipping 'mainfemale' because it's already loaded
Skipping 'Charbirth Background' because it's already loaded
Skipping 'Charparents Background' because it's already loaded
Skipping 'Childhood Background' because it's already loaded
Skipping 'Lifeevent Background' because it's already loaded
Skipping 'Summary Background' because it's already loaded
Skipping 'Paths Background' because it's already loaded
Skipping 'Down Arrow' because it's already loaded
Skipping 'Up Arrow' because it's already loaded
Skipping 'Left Arrow' because it's already loaded
Skipping 'Right Arrow' because it's already loaded
Skipping 'ScrollBar Thumb' because it's already loaded
Skipping 'ScrollBar Thumb Moving' because it's already loaded
Skipping 'YesNo' because it's already loaded
Skipping 'OkBackground' because it's already loaded
Skipping 'glyph_arrow_icon.dds' because it's already loaded
Skipping 'glyph_door_icon.dds' because it's already loaded
Skipping 'glyph_energy_icon.dds' because it's already loaded
Skipping 'glyph_faith_icon.dds' because it's already loaded
Skipping 'glyph_light_icon.dds' because it's already loaded
Skipping 'glyph_sight_icon.dds' because it's already loaded
Skipping 'glyph_air_icon.dds' because it's already loaded
Skipping 'glyph_bond_icon.dds' because it's already loaded
Skipping 'glyph_dome_icon.dds' because it's already loaded
Skipping 'glyph_fly_icon.dds' because it's already loaded
Skipping 'glyph_gas_icon.dds' because it's already loaded
Skipping 'glyph_humanoid_icon.dds' because it's already loaded
Skipping 'glyph_mind_icon.dds' because it's already loaded
Skipping 'glyph_sleep_icon.dds' because it's already loaded
Skipping 'glyph_sound_icon.dds' because it's already loaded
Skipping 'glyph_chaos_icon.dds' because it's already loaded
Skipping 'glyph_fire_icon.dds' because it's already loaded
Skipping 'glyph_meteor_icon.dds' because it's already loaded
Skipping 'glyph_might_icon.dds' because it's already loaded
Skipping 'glyph_vortex_icon.dds' because it's already loaded
Skipping 'glyph_weapon_icon.dds' because it's already loaded
Skipping 'glyph_blindness_icon.dds' because it's already loaded
Skipping 'glyph_deamon_icon.dds' because it's already loaded
Skipping 'glyph_darknes_icon.dds' because it's already loaded
Skipping 'glyph_death_icon.dds' because it's already loaded
Skipping 'glyph_entroyp_icon.dds' because it's already loaded
Skipping 'glyph_illness_icon.dds' because it's already loaded
Skipping 'glyph_negative_icon.dds' because it's already loaded
Skipping 'glyph_weakness_icon.dds' because it's already loaded
Skipping 'glyph_animal_icon.dds' because it's already loaded
Skipping 'glyph_armor_icon.dds' because it's already loaded
Skipping 'glyph_creature_icon.dds' because it's already loaded
Skipping 'glyph_earth_icon.dds' because it's already loaded
Skipping 'glyph_rock_icon.dds' because it's already loaded
Skipping 'glyph_summon_icon.dds' because it's already loaded
Skipping 'glyph_tree_icon.dds' because it's already loaded
Skipping 'glyph_wall_icon.dds' because it's already loaded
Skipping 'glyph_weight_icon.dds' because it's already loaded
Skipping 'glyph_cold_icon.dds' because it's already loaded
Skipping 'glyph_divination_icon.dds' because it's already loaded
Skipping 'glyph_key_icon.dds' because it's already loaded
Skipping 'glyph_object_icon.dds' because it's already loaded
Skipping 'glyph_poision_icon.dds' because it's already loaded
Skipping 'glyph_purify_icon.dds' because it's already loaded
Skipping 'glyph_sphere_icon.dds' because it's already loaded
Skipping 'glyph_water_icon.dds' because it's already loaded
Skipping '/planeshift/potions/potion01a_icon.dds' because it's already loaded
Skipping '/planeshift/potions/potion01b_icon.dds' because it's already loaded
Skipping '/planeshift/weapons/jug01a_icon.dds' because it's already loaded
Skipping '/planeshift/weapons/doubleaxe01a_icon.dds' because it's already loadedSkipping '/planeshift/weapons/doubleaxe02a_icon.dds' because it's already loadedSkipping '/planeshift/weapons/broadsword01a_icon.dds' because it's already loaded
Skipping '/planeshift/weapons/claymore01a_icon.dds' because it's already loaded
Skipping '/planeshift/weapons/falchion01a_icon.dds' because it's already loaded
Skipping '/planeshift/weapons/falchion01b_icon.dds' because it's already loaded
Skipping '/planeshift/weapons/falchion01c_icon.dds' because it's already loaded
Skipping '/planeshift/weapons/galkard01a_icon.dds' because it's already loaded
Skipping '/planeshift/weapons/longsword01a_icon.dds' because it's already loadedSkipping '/planeshift/weapons/normalaxe01a_icon.dds' because it's already loadedSkipping '/planeshift/weapons/sabre01a_icon.dds' because it's already loaded
Skipping 'Minigame Tile Black' because it's already loaded
Skipping 'Minigame Tile White' because it's already loaded
Skipping 'Loading Background' because it's already loaded
  psEngine initialized.

crystalspace.pluginmgr.loadplugin:
  could not load plugin 'cel.physicallayer'
Couldn't load plugin for PlLayer.

<src/client/psengine.cpp:510 Initialize>:
  FATAL ERROR: Couldn't init Cel Manager.

Any thoughts?

KTA

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #8 on: November 20, 2006, 10:40:42 pm »
excellent KTA  \\o//
for the error ( could not load plugin 'cel.physicallayer' ) i had it lots of times :)
try export CEL=/opt/crystal/lib/cel
before running ./psclient
i will fix it in /etc/env.d/90crystalspace
tell me if it's good
loux

Leon

  • Guest
Re: gentoo ebuild for 0.3.017
« Reply #9 on: November 21, 2006, 02:14:29 am »
Hi, i tried your ebuild also,
 i got no errors from installing but when trying to run  ./walktest
Code: [Select]
# ./walktest
WARNING: could not load plugin 'crystalspace.kernel.vfs'
 * This likely means that the plugins could not be found.
 If you're a user: Check the working directory the application starts from -
  usually, it is the same as the directory with the executable.
  If in doubt, contact the vendor.
 If you're a developer: Check if the CRYSTAL environment var points to the
  correct location - usually the directory CS was built in.
Failed to initialize config!
 (A common cause is the CRYSTAL environment variable not being set correctly.)
Error initializing system!
Cleaning up...
Error saving configuration '/config/walktest.cfg'.

and when trying to run   ./walktut

Code: [Select]
# ./walktut
WARNING: could not load plugin 'crystalspace.kernel.vfs'
 * This likely means that the plugins could not be found.
 If you're a user: Check the working directory the application starts from -
  usually, it is the same as the directory with the executable.
  If in doubt, contact the vendor.
 If you're a developer: Check if the CRYSTAL environment var points to the
  correct location - usually the directory CS was built in.
WARNING: could not load plugin 'crystalspace.kernel.vfs'
WARNING: could not load plugin 'crystalspace.graphics3d.opengl'
WARNING: could not load plugin 'crystalspace.engine.3d'
WARNING: could not load plugin 'crystalspace.font.server.default'
WARNING: could not load plugin 'crystalspace.graphic.image.io.multiplexer'
WARNING: could not load plugin 'crystalspace.level.loader'
WARNING: could not load plugin 'crystalspace.utilities.reporter'
WARNING: could not load plugin 'crystalspace.utilities.stdrep'
WARNING: failed to initialize plugin 'cel.physicallayer'
WARNING: could not load plugin 'crystalspace.collisiondetection.opcode'
Segmentation fault

EDIT:

I found this on i think the crystalspace forums

Quote
I solved the problem in a ugly way. I think that the VFS wasn't reading the local vfs.cfg of my app, so it couldn't find nothing. I removed the lines that asked for a configuration file (what wouldn't change a thing, because, for now, the conf file is a dummy file...) and added in the root vfs.cfg a line for my map directory and executed my compiled app, and everything worked... I think I'll do it right later...

 i did not follow that method a few re-merges got it up and running same errors as KTA untill i run the updater
Code: [Select]
# ./updater --auto
Warning, can't find paths for win or mac or linux updater application! (Server only)
File omitting rules node (<omit>) not found (Server only)
System file rules (<system>) not found! Without this the updater may remove it's own critical files! Please fix!
Critical files (<critical>) not found (Server only)
NOTIFY: psUpdaterEngine initialized.
Checking registry version...
Server error 404 (http://www.psmirror.org/psupdater/version.dat)
Couldn't connect to mirror mir2!
Trying mirror mir1..
Downloading registry...
0%....25%....50%....75%....100% (1 KB/s)
Server error 404 (http://planeshift.mirror.thumbnail.cz/psupdater/repository.zip)
Couldn't connect to mirror mir1!
Trying mirror backup..
0%....25%....50%....75%....100% (1 KB/s)
Server error 404 (http://laanx.fragnetics.com/updater_hidden/repository.zip)
Ran out of mirrors! Game cannot be updated.

 and trying to run the setup also fails. it loads but with no skin on the interface, and some options are missing or just invisible

Code: [Select]
# ./pssetup

crystalspace.canvas.openglcommon:
  Could not open driver database file '/config/gldrivers.xml'

crystalspace.engine.warning:
  Shader /shader/std_lighting.xml not available
  Shader /shader/std_lighting_portal.xml not available
Mounting skin: /planeshift/art/apps.zip
Skipping 'YesNo' because it's already loaded

planeshift.setup.application:
  Application initialized successfully.


« Last Edit: November 21, 2006, 08:14:25 am by Leon »

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #10 on: November 21, 2006, 07:54:24 am »
Hello Leon,
seems strange, have you execute "env-update" "etc-update" "source /etc/profile"
what give you "echo $CRYSTAL" and "echo $CEL" ?
thanks
loux

Leon

  • Guest
Re: gentoo ebuild for 0.3.017
« Reply #11 on: November 21, 2006, 08:23:12 am »
Hello Leon,
seems strange, have you execute "env-update" "etc-update" "source /etc/profile"
Yes i have done that
Quote
what give you "echo $CRYSTAL" and "echo $CEL" ?

# echo $CRYSTAL
/opt/crystal

and # echo $CEL gives nothing back just a blank line


KTA

  • Traveller
  • *
  • Posts: 26
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #12 on: November 21, 2006, 08:41:43 am »
After a reboot I get the same error as Leon - so I guess some variables are messed up...
strangely # echo $CRYSTAL gives me an empty line back and # echo $CEL returns /opt/crystal...
@Leon: are you sure it is not like this?

KTA

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #13 on: November 21, 2006, 08:43:30 am »
Hello Leon,
i found some news on the IRC channel, so my source planeshift-0.3.017.tar.bz2 were not good, i have upload newer
so you should erase your download file in /usr/portage/distfiles/planeshift-0.3.017.tar.bz2, emerge -C planeshift and emerge it back, sorry for all the trouble
CRYSTAL=/opt/crystal is good
make a
export CEL=/opt/crystal/lib/cel before running anything in /opt/planeshift like ./updater

next to run ./pssetup or ./psclient you must have a good update, so let's make ./updater works first but they are some trouble with the mirror for now

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuild for 0.3.017
« Reply #14 on: November 21, 2006, 08:50:31 am »
OK i got the server again :)
but the source have not good data and art folder so ./pssetup will not run fine and ./psclient too,
i have took the old one from 0.3.016 but it's not enough :) you have to download the official client for now (torrent and download are open) and copy folder data and art into /opt/planeshift/bin !
loux
PS : i will ask to Talad for permission to put new data and art directly into the sources
« Last Edit: November 21, 2006, 09:04:07 am by loux »