Re: problem compiling gnumeric with goject-introspection



Apparently, removing the second * in src/cell.c:248 is not sufficient:

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]
Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 46, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 416, in scanner_main
    blocks = ap.parse(ss.get_comments())
  File "/usr/lib/gobject-introspection/giscanner/annotationparser.py", line 541, in parse
    comment_block = self.parse_comment_block(comment)
  File "/usr/lib/gobject-introspection/giscanner/annotationparser.py", line 578, in parse_comment_block
    return self._parse_comment_block(comment_lines, filename, lineno)
  File "/usr/lib/gobject-introspection/giscanner/annotationparser.py", 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



2012/12/22 Frederic Parrenin <parrenin gmail com>
Hi Jean,

Thank you for your message.
I am missing an information: in which file should I delete the second * in line 248?

Best regards,

Frédéric




2012/12/22 Jean Brefort <jean brefort normalesup org>
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.

Cheers,
Jean

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>
>     sys.exit(scanner_main(sys.argv))
>   File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line
> 416, in scanner_main
>     blocks = ap.parse(ss.get_comments())
>   File "/usr/lib/gobject-introspection/giscanner/annotationparser.py",
> line 541, in parse
>     comment_block = self.parse_comment_block(comment)
>   File "/usr/lib/gobject-introspection/giscanner/annotationparser.py",
> line 578, in parse_comment_block
>     return self._parse_comment_block(comment_lines, filename, lineno)
>   File "/usr/lib/gobject-introspection/giscanner/annotationparser.py",
> 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
>
>
>
>
> --
> http://parrenin.frederic.free.fr/
> _______________________________________________
> gnumeric-list mailing list
> gnumeric-list gnome org
> https://mail.gnome.org/mailman/listinfo/gnumeric-list





--
http://parrenin.frederic.free.fr/



--
http://parrenin.frederic.free.fr/


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