After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 693412 - Caribou doesn't compile due duplicate symbols on vala.
Caribou doesn't compile due duplicate symbols on vala.
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2013-02-08 11:38 UTC by Alejandro Piñeiro Iglesias (IRC: infapi00)
Modified: 2013-02-22 16:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-02-08 11:38:14 UTC
With the current vala master (last commit=8ec9c6e175ce7f08bc63b133fc264420fb35c7c1), if you try to compile caribou you get this error:

libxml-2.0.vapi:340.2-340.20: error: `Xml' already contains a definition for `Buffer'
	public class Buffer {
	^^^^^^^^^^^^^^^^^^^
libxml-2.0.vapi:327.2-327.20: note: previous definition of `Buffer' was here
	public class Buffer {
	^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)


Related with having a libxml symbol duplicate. Anyway, I made a git bisect to see when this starts, and it seems that there are another duplicate symbols, as the first commit causing problems with caribou is:

eac286586f6c11fa29f366cda702749fd010c50e is the first bad commit
commit eac286586f6c11fa29f366cda702749fd010c50e
Author: Evan Nemerson <evan@coeus-group.com>
Date:   Fri Feb 8 00:21:39 2013 -0800

    x11: add Display.list_properties and XA_STRING
    
    Fixes bug 690905.


That causes the next error while compiling caribou:

x11.vapi:1265.2-1265.31: error: `X' already contains a definition for `XA_STRING'
	public const X.Atom XA_STRING;
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
x11.vapi:1249.2-1249.31: note: previous definition of `XA_STRING' was here
	public const X.Atom XA_STRING;
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-02-22 16:54:47 UTC
At this moment don't have this problem anymore, so probably was fixed as a collateral effect of other changes. Closing as OBSOLETE.