After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 784154 - GIMP compilation fails In function ‘gimp_mybrush_core_motion’
GIMP compilation fails In function ‘gimp_mybrush_core_motion’
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: General
git master
Other All
: Normal critical
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2017-06-24 08:38 UTC by alilakri
Modified: 2017-07-02 07:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alilakri 2017-06-24 08:38:19 UTC
24.06.2017 - Compilation error:

  CC       gimpinkundo.o
  CC       gimpmybrushcore.o
  CC       gimpmybrushoptions.o
  CC       gimpmybrushsurface.o
  CC       gimppaintcore.o
  CC       gimppaintcore-loops.o
gimpmybrushcore.c: In function ‘gimp_mybrush_core_motion’:
gimpmybrushcore.c:281:11: error: too few arguments to function ‘mypaint_brush_stroke_to’
           mypaint_brush_stroke_to (brush,
           ^~~~~~~~~~~~~~~~~~~~~~~
In file included from gimpmybrushcore.c:26:0:
/usr/include/libmypaint/mypaint-brush.h:44:1: note: declared here
 mypaint_brush_stroke_to(MyPaintBrush *self, MyPaintSurface *surface, float x, float y,
 ^~~~~~~~~~~~~~~~~~~~~~~
gimpmybrushcore.c:317:7: error: too few arguments to function ‘mypaint_brush_stroke_to’
       mypaint_brush_stroke_to (brush,
       ^~~~~~~~~~~~~~~~~~~~~~~
In file included from gimpmybrushcore.c:26:0:
/usr/include/libmypaint/mypaint-brush.h:44:1: note: declared here
 mypaint_brush_stroke_to(MyPaintBrush *self, MyPaintSurface *surface, float x, float y,
 ^~~~~~~~~~~~~~~~~~~~~~~


The error is repeated every time you try to compile.
Comment 1 Jehan 2017-06-24 19:51:32 UTC
Wasn't it the recent problem with libmypaint, hence a duplicate of bug 783936?

I have not followed everything in details, but the bug report on libmypaint side was mentionning stroke_to() API: https://github.com/mypaint/libmypaint/issues/92
Comment 2 Michael Schumacher 2017-06-26 08:00:27 UTC
It is the same issue, but resolving it as a duplicate might be premature if we want to adjust the master branch to the libmypaint-2.0 API later on.

alilakri, for the time being, make sure that you build against libmypaint 1.3.0
Comment 3 alilakri 2017-06-26 14:20:21 UTC
Hi ! ;)
Using libmypaint 1.3.0 compilation runs correctly but this is not a solution for the future as I think...
Regards :)
Comment 4 Michael Natterer 2017-06-28 19:23:18 UTC
libmypaint just versioned all their files in git master, so installing
it doesn't interfere with the previously installed 1.3.0.