[gnome-db] vapi update for libgda 4.2



I would like to update vapi file from 4.0 to 4.2 version of GDA. I have the HEAD version for GDA (4.2.4) and for Vala (0.11.5.3-fe751 reported by vapigen --version) from its repositories.

I have created a gi file from sources, but it has been generated wrong because when I run vapigen it finds errors. Exists duplicated definitions on the gi file for Gda.SqlError (I can delete it manually anyway), but for Gda.DataModelImport I can't find the problem. Error messages:

libgda$ vapigen --pkg libxml-2.0 --library libgda-4.0 libgda/libgda-4.0.gi
error: `Gda.SqlError' already contains a definition for `STRUCTURE_CONTENTS_ERROR'
note: previous definition of `STRUCTURE_CONTENTS_ERROR' was here
error: `Gda.SqlError' already contains a definition for `MALFORMED_IDENTIFIER_ERROR'
note: previous definition of `MALFORMED_IDENTIFIER_ERROR' was here
error: `Gda.SqlError' already contains a definition for `MISSING_IDENTIFIER_ERROR'
note: previous definition of `MISSING_IDENTIFIER_ERROR' was here
error: `Gda.SqlError' already contains a definition for `VALIDATION_ERROR'
note: previous definition of `VALIDATION_ERROR' was here
error: `DataModelAccessFlags' already contains a definition for `DELETE'
note: previous definition of `DELETE' was here
error: `MetaStructFeature' already contains a definition for `VIEW_DEPENDENCIES'
note: previous definition of `VIEW_DEPENDENCIES' was here
libgda-4.0.gi:0.0-0.0: error: `Gda.DataModelImport' already contains a definition for `xml_node'
libgda-4.0.gi:0.0-0.0: note: previous definition of `xml_node' was here
libgda-4.0.gi:0.0-0.0: error: `Gda.DataModel' already contains a definition for `reset'
libgda-4.0.gi:0.0-0.0: note: previous definition of `reset' was here
libgda-4.0.gi:0.0-0.0: error: `Gda.DataModel' already contains a definition for `row_inserted'
libgda-4.0.gi:0.0-0.0: note: previous definition of `row_inserted' was here
libgda-4.0.gi:0.0-0.0: error: `Gda.DataModel' already contains a definition for `row_removed'
libgda-4.0.gi:0.0-0.0: note: previous definition of `row_removed' was here
libgda-4.0.gi:0.0-0.0: error: `Gda.DataModel' already contains a definition for `row_updated'
libgda-4.0.gi:0.0-0.0: note: previous definition of `row_updated' was here
Generation failed: 11 error(s), 0 warning(s)

--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)


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