[Pkg-pascal-devel] rebuilding with fpc 3.0.0

Michalis Kamburelis michalis.kambi at gmail.com
Fri Nov 27 23:41:32 UTC 2015


Paul Gevers wrote:
> Thanks for looking into this and thanks for the patch. Looking
> slightly more into the failures on powerpc/ppc64 I get confused. I
> thought I may have been doing something wrong in the packaging, but
> the failure is in your makefile (that I patched) running your
> mk_fonts.pas command. Do the errors make any sense to you?
> 

Not really... I see the error:

  cd src/fonts ;
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/«PKGBUILDDIR»/debian/tmp/tmp
./mk_fonts.sh

  texturefont2pascal: Expected 2 more parameters

... but this should not happen. It certainly works on my system. I
also tested CGE sources from Debian (from "apt-get source
castle-game-engine"), since there's a small modification of
mk_fonts.sh in Debian (to use ttf fonts installed globally in
/usr/share/fonts/truetype/dejavu/...). It all works well here.

But I'm testing on x86_64 (amd64), and this also works according to
https://buildd.debian.org/status/package.php?p=castle-game-engine . So
something is different on powerpc, but I honestly have no idea what:)

Is it possible to get ssh access to a machine running powerpc/ppc64,
for testing? I could probably debug the problem if I could run some tests:

- first, I would change "set -eu" to "set -eux" in mk_fonts.sh to see
what parameters are passed by the shell. Maybe the bash on
powerpc/ppc64 does something weird?

- if the shell parameters are correct, I would modify
examples/fonts/texturefont2pascal.lpr to see what parameters does it
"see". You can simply write the contents of Parameters array to
inspect this. If the params are incorrect, you can check what is
returned by FPC functions ParamCount, ParamStr --- maybe they are
broken on powerpc/ppc64?

Michalis



More information about the Pkg-pascal-devel mailing list