previous definition of `PanelConnector' was here (building 0.6 bzr)

Bug #583546 reported by Graham Rogers on 2010-05-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I am attempting to build awn from the 0.6 branch and came upon this error:

awn-panel-connector.vapi:6.2-6.46: error: `Awn' already contains a definition for `PanelConnector'
 public interface PanelConnector : GLib.Object {
awn-panel-connector.vala:23.3-23.41: note: previous definition of `PanelConnector' was here
  public interface PanelConnector: Object
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [awn-panel-connector.c] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Looking in the two files, it seems there is a mismatch in the definition of the interace 'PanelConnector'. In awn-panel-connector.vapi it is "public interface PanelConnector : GLib.Object", however in awn-panel-connector.vala it is "public interface PanelConnector : Object"

Changing the second definition to use GLib.Object allowed me to finish the build.

Michal Hruby (mhr3) wrote :

0.6 branch doesn't like parallel build, I think that's the issue you're actually seeing... Still what vala version are you using?

Changed in awn:
status: New → Incomplete
Graham Rogers (grogers3-14) wrote :

It seems to be fixed now. Maybe in a recent revision, I'm not sure. My vala version is 0.8.1, though it is probably not required now.

Changed in awn:
status: Incomplete → Fix Released
Michal Hruby (mhr3) wrote :

It's not fixed, as I said it's a problem in the build system, sometimes it'll work, other times not, we need to fix it.

Changed in awn:
status: Fix Released → Triaged
Graham Rogers (grogers3-14) wrote :

Your right see - sometimes it works, sometimes it doesn't.

I have just looked in the branch and it does seem that the difference is there i.e. GLib.Object in the .vapi and Object in the .vala. Are they meant to be different, or does one of them need to be changed?

Michal Hruby (mhr3) wrote :

The vala code is fine, build system is screwed...

Still, 0.6 branch is highly experimental, (mostly) stable development is still going on in 0.4/trunk branch. Making 0.6 packages/aur is not a good idea at this point.

Povilas Kanapickas (p12) on 2013-11-05
Changed in awn:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers