When compiling with vala-0.18.1 it fails with /usr/bin/vapigen-0.18 \ --library gd-1.0 \ --pkg gtk+-3.0 \ Gd-1.0.gir Gd-1.0.gir:27.11-27.28: error: expected start element of `parameter' <instance-parameter name="self" transfer-ownership="none"> ^^^^^^^^^^^^^^^^^^ Gd-1.0.gir:29.11-29.10: error: expected end element of `parameter' </instance-parameter> Gd-1.0.gir:38.11-38.28: error: expected start element of `parameter' <instance-parameter name="self" transfer-ownership="none"> ^^^^^^^^^^^^^^^^^^ Gd-1.0.gir:40.11-40.10: error: expected end element of `parameter' </instance-parameter> Gd-1.0.gir:48.11-48.28: error: expected start element of `parameter' <instance-parameter name="self" transfer-ownership="none"> ^^^^^^^^^^^^^^^^^^ Gd-1.0.gir:50.11-50.10: error: expected end element of `parameter' </instance-parameter> Gd-1.0.gir:62.11-62.28: error: expected start element of `parameter' <instance-parameter name="self" transfer-ownership="none"> ^^^^^^^^^^^^^^^^^^ [50 other similar errors or so] emerging vala-0.20.0 and setting the VALA_MIN_API_VERSION veriable to "0.20" in the ebuild fixes the issue
*** This bug has been marked as a duplicate of bug 463720 ***