vala-lang / valadoc-org

Build tools used to generate valadoc.org
https://valadoc.org
GNU Lesser General Public License v2.1
84 stars 25 forks source link

libgitg-ext-1.0 error while building. #98

Closed lsahn-gh closed 4 years ago

lsahn-gh commented 7 years ago

OS : elementary OS 0.4.1 Loki Kernel : 4.8.0-54-generic

===== libgitg-ext-1.0 =====
valadoc --target-glib 2.99 --driver "0.34" --importdir girs --doclet "." -o "tmp/libgitg-ext-1.0" "girs/vala/vapi/libgitg-ext-1.0.vapi" --vapidir "girs/vala/vapi" --girdir "girs/gir-1.0" --pkg libgitg-1.0 --pkg ggit-1.0 --pkg Soup-2.4 --pkg WebKit2-4.0 --pkg gee-0.8 --pkg gtk+-3.0 --use-svg-images --importdir "girs/gir-1.0" --import GitgExt-1.0 --metadatadir documentation/libgitg-ext-1.0 --wiki documentation/libgitg-ext-1.0/wiki
/home/itsme/dev/valadoc-org/girs/gir-1.0/GitgExt-1.0.gir:13.2-13.43: error: unknown child element `attribute' in `namespace'
    <attribute name="ccode.gir-namespace" value="GitgExt"/>
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^               
/home/itsme/dev/valadoc-org/girs/gir-1.0/GitgExt-1.0.gir:14.2-14.55: error: unknown child element `attribute' in `namespace'
    <bitfield name="ExternalChangeHint" c:type="GitgExtExternalChangeHint" glib:type-name="GitgExtExternalChangeHint" glib:get-type="gitg_ext_external_change_hint_get_type">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                     

(valadoc:29148): GLib-CRITICAL **: g_str_has_suffix: assertion 'str != NULL' failed

** (valadoc:29148): CRITICAL **: valadoc_importer_gir_documentation_importer_attach_comment: assertion 'cname != NULL' failed
Failed: 2 error(s), 0 warning(s)

from LOG file.

Anyone could help me to solve this problem please?

tintou commented 7 years ago

Possible fix for this: https://git.gnome.org/browse/valadoc/commit/?h=wip/tintou/annotation&id=8a0b9b2f2688bbaadc5367ea3d0d5da46e6ad4cc

tintou commented 4 years ago

This issue isn't present in master (https://valadoc.org/libgitg-ext-1.0/ ), closing