Bug#957271: gfpoken: ftbfs with GCC-10

2020-10-04 Thread Markus Koschany
On Sat, 5 Sep 2020 17:03:15 +0200 Reiner Herrmann 
wrote:
> Hi,
> 
> the GCC 10 build error is easily fixed with the attached patch.
> 
> But the build also fails while generating artwork via a Gimp script
> (art/mktiles):
> 
> > Starting extension: 'extension-script-fu'
> > No batch interpreter specified, using the default 'plug-in-script-fu-eval'.
> > Welcome to TinyScheme, Version 1.40
> > Copyright (c) Dimitrios Souflis
> > 
> > ts>
> 
> It then just hangs in this tinyscheme "shell".
> Unfortunately I don't know enough about Gimp scripting to fix that.

I have pushed a new update with the GCC 10 patch to

https://salsa.debian.org/games-team/gfpoken

When I try to build gfpoken I see a coredump

./art/mkmarbles: line 25: 20560 Aborted (core dumped)
blender -b "`dirname "$0"`"/marbles.blend -o "$BLENDERDIR" -P initdir -a

an

OSError: Python file "/build/gfpoken-1/initdir" could not be opened: No
such file or directory
Unable to open a display

and another GIMP error

but the build succeeds.

Markus






signature.asc
Description: OpenPGP digital signature


Bug#957271: gfpoken: ftbfs with GCC-10

2020-09-05 Thread Reiner Herrmann
Hi,

the GCC 10 build error is easily fixed with the attached patch.

But the build also fails while generating artwork via a Gimp script
(art/mktiles):

> Starting extension: 'extension-script-fu'
> No batch interpreter specified, using the default 'plug-in-script-fu-eval'.
> Welcome to TinyScheme, Version 1.40
> Copyright (c) Dimitrios Souflis
> 
> ts>

It then just hangs in this tinyscheme "shell".
Unfortunately I don't know enough about Gimp scripting to fix that.

Kind regards,
  Reiner
--- a/common.h
+++ b/common.h
@@ -19,7 +19,7 @@
  */
 
 /* Variable Declarations */
-int gamestatus;
+extern int gamestatus;
 extern unsigned int dragbuf[DrNum]; /* Draggable buffer for list on right */
 extern unsigned int bufsize, originalbuf; /* Number of items in buffer */
 extern pos buttonx, buttony; /* Location of button press, in tiles.  */


signature.asc
Description: PGP signature