Public bug reported:

Midori fails to build from source with vala 0.36 which is generally
included with GNOME 3.24.

Ubuntu 17.10 Alpha recently got vala 0.36.

One error was this:

/<<PKGBUILDDIR>>/extensions/apps.vala:268.47-268.50: error: Argument 1: Cannot 
pass value to reference or output parameter
                                store.remove (iter);
                                              ^^^^
Compilation failed: 1 error(s), 0 warning(s)

I believe that particular error can be fixed by using "ref iter" instead
of "iter" but that won't work with older versions of vala. There are a
lot of iters used in the code.

rev. 7159 in the bazaar branch lp:midori fixes another problem.

** Affects: midori
     Importance: Undecided
         Status: New

** Affects: midori (Ubuntu)
     Importance: High
         Status: Triaged


** Tags: artful ftbfs

** Also affects: midori (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: midori (Ubuntu)
   Importance: Undecided => High

** Changed in: midori (Ubuntu)
       Status: New => Triaged

** Description changed:

  Midori fails to build from source with vala 0.36 which is generally
  included with GNOME 3.24.
  
  Ubuntu 17.10 Alpha recently got vala 0.36.
  
  One error was this:
  
  /<<PKGBUILDDIR>>/extensions/apps.vala:268.47-268.50: error: Argument 1: 
Cannot pass value to reference or output parameter
-                                 store.remove (iter);
-                                               ^^^^
+                                 store.remove (iter);
+                                               ^^^^
  Compilation failed: 1 error(s), 0 warning(s)
  
  I believe that particular error can be fixed by using "ref iter" instead
  of "iter" but that won't work with older versions of vala. There are a
  lot of iters used in the code.
+ 
+ rev. 7159 in the bazaar branch lp:midori fixes another problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698483

Title:
  Midori fails to build from source with vala 0.36

To manage notifications about this bug go to:
https://bugs.launchpad.net/midori/+bug/1698483/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to