src/lm-data-set.gob:52: Error: syntax error before '{'

Bug #541544 reported by Joachim Breitner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Link Monitor Applet
New
Undecided
Unassigned

Bug Description

I am trying to recompile link-monitor-applet from scrach using gob2-2.0.16-1, and I get:

./jb build
building GOB class LM:About:Dialog
building GOB class LM:Applet
building GOB class LM:Bar:Graph
building GOB class LM:Cell:Renderer:Color
building GOB class LM:Data:Set
/usr/bin/gob2 --always-private-header --no-touch --exit-on-warn --output-dir=build/src src/lm-data-set.gob src/lm-data-set.gob:52: Error: syntax error before '{'

The relevant part of the code is:

%{
#include <string.h>
#include "lm-line-graph.h"
#include "lm-applet.h"
#include "lm-preferences-dialog.h"
%}

class LM:Data:Set
{
  private LMApplet *applet;
  property POINTER applet (link, flags = CONSTRUCT_ONLY);

  private GArray *master_data destroy { g_array_free(VAR, TRUE); };

Can anyone tell me what is wrong?

Revision history for this message
Joachim Breitner (nomeata) wrote :

Ok, by replacing the line in question with

class LM:Data:Set from G:Object

the file is parsed, but now gob2 segfaults...

Revision history for this message
Joachim Breitner (nomeata) wrote :

I have taken over maintenance of link-monitor-applet in Debian. I am now removing the shipped build/ directory, to make sure all files are built from source.

I had to moderately patch the .gob sources to build with 2.0.16. You can find the patch currently used at
http://git.nomeata.de/?p=link-monitor-applet.git;a=commitdiff;h=6112eb4d76c60d9b2cb0ba00da8cd6e1630ffb8d

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.