Re: problem compiling gnumeric with goject-introspection

Hi Frédéric,

We have comments inside gnumeric code which are not gtk-doc like but
still start with /**. Remove the second * in line 248 and things should
build unless there is another instance later. You probably have a more
recent and more paranoid gobject-introspection than I have.


Le samedi 22 décembre 2012 à 18:45 +0100, Frederic Parrenin a écrit :
Dear all,

I tried to compile the latest gsf, goffice and gnumeric with
gobject-introspection but I encountered an error (see below).

Does somebody know what is going wrong?

Thanks for the help,

Best regards,

Frédéric Parrenin

make[3]: entrant dans le répertoire « /usr/local/gnumeric/src »
  GISCAN Gnm-1.12.gir
In file included from <stdin>:52:0:
/usr/local/gnumeric/src/gnm-style-impl.h:40:2: attention : #warning
TODO use GOFont [-Wcpp]
cell.c:249: Warning: Gnm: ignoring unrecognized GTK-Doc comment block,
identifier not found:
 * gnm_cell_set_expr:  Stores and references the supplied expression
Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 46, in <module>
  File "/usr/lib/gobject-introspection/giscanner/", line
416, in scanner_main
    blocks = ap.parse(ss.get_comments())
  File "/usr/lib/gobject-introspection/giscanner/",
line 541, in parse
    comment_block = self.parse_comment_block(comment)
  File "/usr/lib/gobject-introspection/giscanner/",
line 578, in parse_comment_block
    return self._parse_comment_block(comment_lines, filename, lineno)
  File "/usr/lib/gobject-introspection/giscanner/",
line 858, in _parse_comment_block
    if comment_block.comment:
AttributeError: 'NoneType' object has no attribute 'comment'
make[3]: *** [Gnm-1.12.gir] Erreur 1
make[3]: quittant le répertoire « /usr/local/gnumeric/src »
make[2]: *** [install-recursive] Erreur 1
make[2]: quittant le répertoire « /usr/local/gnumeric/src »
make[1]: *** [install] Erreur 2
make[1]: quittant le répertoire « /usr/local/gnumeric/src »
make: *** [install-recursive] Erreur 1

gnumeric-list mailing list
gnumeric-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]