Failed Ports/Compilations [ Learning ]


ekianjo

Hardcore Member
Joined
May 7, 2012
Messages
8,261
Location
神戸市、日本 (Japan)
I'd like to open this thread for sharing / learning purposes. For about every application I upload in the repo, there are probably a dozen I try and which do not work for one reason or another. Sometimes I can find out and fix the issue but most of the times I end up on an Error that i cannot identify or debug. 

Therefore I will report here all my failures when porting and hopefully some more experienced porters will be able to suggest some ways out of my troubles. Feel free to report your failures as well and we can probably help each other. 

On top of that, this could be helpful for new/upcoming porters on Pandora. 
 
Most of the games will fail to run / compile because of the lack of OpenGL (or thereof). Unless Lunchboch's (hehe) GL is implemented of course
 
Last edited by a moderator:
one of my failed ports was soulfu. The game runs, but theres a bug that causes the player character to turn in one direction. I couldnt ever find the issue, i thought it was something in the script engine. There should be a thread about it, but i couldnt dig it up.
 
I will start with something very simple : cpanminus for perl, which is a library to install other perl modules.
 
when I run the script to install it, I get the following error :

cpanm (App::cpanminus) 1.6928 on perl 5.017006 built for armv7l-linux-thread-multi

Work directory is /mnt/utmp/codeblocks/home/.cpanm/work/1374548974.2626
You have make /mnt/utmp/codeblocks/usr/bin/make
You have LWP 6.04
You have /bin/tar: tar (GNU tar) 1.22
Copyright © 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /mnt/utmp/codeblocks/usr/bin/unzip
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.63_02)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.58)
Searching App::cpanminus on cpanmetadb ...
--> Working on App::cpanminus
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.6928.tar.gz
-> OK
Unpacking App-cpanminus-1.6928.tar.gz
Entering App-cpanminus-1.6928
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.63_02)
Configuring App-cpanminus-1.6928
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for App::cpanminus
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.63_02)
Checking if you have Module::Build 0.36 ... Yes (0.4003)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.58)
Checking if you have Test::More 0 ... Yes (0.98)
Building and testing App-cpanminus-1.6928
make: Warning: File `Makefile.PL' has modification time 64571 s in the future
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/mnt/utmp/codeblocks/perl/bin/perl5.17.6 Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for App::cpanminus
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make: *** [Makefile] Error 1
-> FAIL Installing App::cpanminus failed. See /mnt/utmp/codeblocks/home/.cpanm/work/1374548974.2626/build.log for details. Retry with --force to force install it.

Any idea what is going wrong there?
 
irrlamb slowly moves the camera toward the ceiling and freezes when you try to move it yourself.

uplink depends on layered bitmap rendering, which isn't implemented in libgl yet.

defcon is really slow. too many lines drawn?

neverball slows down on physics calculations or something. it's perfectly smooth on replays.

ultimate stunts, trigger rally, stepmania 5, and glaxium just crash

iichantra barfs all over the audio

bitfighter and pax-brittanica have weird lua errors.

arx fatalis is slow and everything looks like peanut butter

crack-attack and motogt flicker between the game and the desktop, making them unplayable.

sauerbraten has a weird sgx tiling bug.

cube uses glReadPixels on the depth buffer to do hit detection, so you can't shoot.

rrootage doesn't let you advance the menu.

daedalus requires me to learn GLSL and GLSL ES.

darwinia was a pain to compile.
 
Last edited by a moderator:
gThumb crash/doesn't works well on the Slidshow only part (native GLES2)

Return to Castle Wolfenstein have a black movies, and missing camera, and just doesn't works, but display very well (GL->GLES1.1 port).

Trigger-rally have a corrupted terrain texture (GL)

Hedgewar crash on menu (native GLES1.1)

BillardGL just hang (GL)

mupen64plus2.0 mainly segfault (native GLES2), only Super Mario 64 looks playable.

Dante (DooM III) has corupted graphics and segfault (using Android port)

Meka 0.80 GUI stay mostly black, whille fullscreen emulator is perfect (Allegro 5.1/GLES1.1)

OGS Mahjong Segfault (and doesn't display anything) starting the level (Ogre3D/GLES2.0)

TileMassacreSHMUP just hang at start (GL)

Q7Basic just Segfault when trying to display something (QT)

To give my current list where the Software compile and seems functionnal, but is not.
 
Last edited by a moderator:
Iichantra maybe just needs a port from fmod to sdl_mixer.


Sebt3 posted a tutorial on that. Maybe I'll have a look at that if you don't want to lunixbochs.


Edit.: It's bass not fmod... according to this, there is already the option to use sdl_mixer though:

https://www.assembla.com/code/iichan-scroller/git/nodes/macos/new_engine


Edit2: seems to be buggy with sdl_mixer though. Did you use the libbass from my pnd?
 
Last edited by a moderator:
I tried it with a couple different libbass. one was buggy and the other was silent.
 
On topic:


I never succeeded on building a D crosscompiler. Luckily MH-T did it though.


I can't wait to play those other abstract shooters on the pandora like torus trooper.
 
On topic:


I never succeeded on building a D crosscompiler. Luckily MH-T did it though.


I can't wait to play those other abstract shooters on the pandora like torus trooper.
once I have a bit more space on developpement SDCard, I'll try to add D on code::blocks ;)
 
-> FAIL Installing App::cpanminus failed. See /mnt/utmp/codeblocks/home/.cpanm/work/1374548974.2626/build.log for details. Retry with --force to force install it.

Is there anything useful in /mnt/utmp/codeblocks/home/.cpanm/work/1374548974.2626/build.log
No, nothing useful unfortunately. There are no more details and it actually shows the exact same log. 
 
On topic:


I never succeeded on building a D crosscompiler. Luckily MH-T did it though.


I can't wait to play those other abstract shooters on the pandora like torus trooper.
Maybe worth asking MH-T how he did it ? 

General question here, but what do you guys do when you have a "Error" without further details during a make ? Do you go back in the Configure and sort things out manually ? What would be your recommendation for a process on how to find and fix compilation failures ? I realize there's no single answer to that but I'd appreciate any tips you have based on your previous works on Pandora.
 
You'll have to dig into the install script itself and make it more verbose or make it ignore some fails.
 
neverball slows down on physics calculations or something. it's perfectly smooth on replays.
Maybe worth contacting the authors to ask for speed-ups/shortcuts in that area ? 

You'll have to dig into the install script itself and make it more verbose or make it ignore some fails.
Which parameter do you use to make more verbose?

defcon is really slow. too many lines drawn?
How many FPS do you get ?
 
neverball slows down on physics calculations or something. it's perfectly smooth on replays.
Maybe worth contacting the authors to ask for speed-ups/shortcuts in that area ?
It'd probably be much easier to just profile and fix myself.

defcon is really slow. too many lines drawn?
How many FPS do you get ?
It was <10fps iirc. Been a while. It hasn't made its way into my GL test suite yet.

Edit: just did a fresh compile of a pure GL version. It works better than the original GLES port, just a bit of slowdown with lots of planes/nukes. Might be worth polishing up.
 
Last edited by a moderator:
I will start with something very simple : cpanminus for perl, which is a library to install other perl modules.


when I run the script to install it, I get the following error :

cpanm (App::cpanminus) 1.6928 on perl 5.017006 built for armv7l-linux-thread-multi


Work directory is /mnt/utmp/codeblocks/home/.cpanm/work/1374548974.2626


You have make /mnt/utmp/codeblocks/usr/bin/make


You have LWP 6.04


You have /bin/tar: tar (GNU tar) 1.22


Copyright © 2009 Free Software Foundation, Inc.


License GPLv3+: GNU GPL version 3 or later .


This is free software: you are free to change and redistribute it.


There is NO WARRANTY, to the extent permitted by law.


Written by John Gilmore and Jay Fenlason.


You have /mnt/utmp/codeblocks/usr/bin/unzip


Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.63_02)


Checking if you have ExtUtils::Install 1.46 ... Yes (1.58)


Searching App::cpanminus on cpanmetadb ...


--> Working on App::cpanminus


Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.6928.tar.gz


-> OK


Unpacking App-cpanminus-1.6928.tar.gz


Entering App-cpanminus-1.6928


Checking configure dependencies from META.json


Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.63_02)


Configuring App-cpanminus-1.6928


Running Makefile.PL


Checking if your kit is complete...


Looks good


Writing Makefile for App::cpanminus


Writing MYMETA.yml and MYMETA.json


-> OK


Checking dependencies from MYMETA.json ...


Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.63_02)


Checking if you have Module::Build 0.36 ... Yes (0.4003)


Checking if you have ExtUtils::Install 1.46 ... Yes (1.58)


Checking if you have Test::More 0 ... Yes (0.98)


Building and testing App-cpanminus-1.6928


make: Warning: File `Makefile.PL' has modification time 64571 s in the future


Makefile out-of-date with respect to Makefile.PL


Cleaning current config before rebuilding Makefile...


make -f Makefile.old clean > /dev/null 2>&1


/mnt/utmp/codeblocks/perl/bin/perl5.17.6 Makefile.PL


Checking if your kit is complete...


Looks good


Writing Makefile for App::cpanminus


Writing MYMETA.yml and MYMETA.json


==> Your Makefile has been rebuilt. <==


==> Please rerun the make command. <==


false


make: *** [Makefile] Error 1


-> FAIL Installing App::cpanminus failed. See /mnt/utmp/codeblocks/home/.cpanm/work/1374548974.2626/build.log for details. Retry with --force to force install it.
Any idea what is going wrong there?
Are the dependencies present? The version of perl we have has been rather, erm, pruned!

Also, where are you installing this to?
 
Back
Top