** Changed in: mir/0.21
    Milestone: None => 0.21.1

** Changed in: mir/0.21
       Status: Confirmed => Triaged

** Changed in: mir/0.21
   Importance: High => Low

** Changed in: mir
   Importance: High => Low

** Changed in: mir (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1592691

Title:
  mir fails to build in xenial

Status in Mir:
  Invalid
Status in Mir 0.21 series:
  Triaged
Status in mir package in Ubuntu:
  Triaged

Bug description:
  seen in a xenial test rebuild using ppa:ubuntu-toolchain-r/ppa
  
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20160614-xenial.html

  In file included from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/input/evdev/test_libinput_device.cpp:31:0:
  /«BUILDDIR»/mir-0.21.0+16.04.20160330/include/test/mir/test/event_matchers.h: 
In instantiation of ‘bool mir::test::TouchContactMatcherP4<slot_type, 
action_type, x_type, y_type>::gmock_Impl<arg_type>::MatchAndExplain(arg_type, 
testing::MatchResultListener*) const [with arg_type = MirEvent&; slot_type = 
int; action_type = MirTouchAction; x_type = float; y_type = float]’:
  
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/input/evdev/test_libinput_device.cpp:752:1:
   required from here
  
/«BUILDDIR»/mir-0.21.0+16.04.20160330/include/test/mir/test/event_matchers.h:340:17:
 error: call of overloaded ‘abs(float)’ is ambiguous
       if (std::abs(mir_touch_event_axis_value(tev, slot, mir_touch_axis_x) - 
x) > 0.5f)
                   ^
  In file included from /usr/include/c++/5/cstdlib:72:0,
                   from /usr/include/c++/5/bits/stl_algo.h:59,
                   from /usr/include/c++/5/algorithm:62,
                   from /usr/include/gmock/gmock-actions.h:43,
                   from /usr/include/gmock/gmock.h:58,
                   from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/precompiled.hpp:22:
  /usr/include/stdlib.h:774:12: note: candidate: int abs(int)
   extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
              ^
  In file included from /usr/include/c++/5/bits/stl_algo.h:59:0,
                   from /usr/include/c++/5/algorithm:62,
                   from /usr/include/gmock/gmock-actions.h:43,
                   from /usr/include/gmock/gmock.h:58,
                   from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/precompiled.hpp:22:
  /usr/include/c++/5/cstdlib:166:3: note: candidate: long int std::abs(long int)
     abs(long __i) { return __builtin_labs(__i); }
     ^
  /usr/include/c++/5/cstdlib:174:3: note: candidate: long long int 
std::abs(long long int)
     abs(long long __x) { return __builtin_llabs (__x); }
     ^
  In file included from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/input/evdev/test_libinput_device.cpp:31:0:
  
/«BUILDDIR»/mir-0.21.0+16.04.20160330/include/test/mir/test/event_matchers.h:342:17:
 error: call of overloaded ‘abs(float)’ is ambiguous
       if (std::abs(mir_touch_event_axis_value(tev, slot, mir_touch_axis_y) - 
y) > 0.5f)
                   ^
  In file included from /usr/include/c++/5/cstdlib:72:0,
                   from /usr/include/c++/5/bits/stl_algo.h:59,
                   from /usr/include/c++/5/algorithm:62,
                   from /usr/include/gmock/gmock-actions.h:43,
                   from /usr/include/gmock/gmock.h:58,
                   from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/precompiled.hpp:22:
  /usr/include/stdlib.h:774:12: note: candidate: int abs(int)
   extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
              ^
  In file included from /usr/include/c++/5/bits/stl_algo.h:59:0,
                   from /usr/include/c++/5/algorithm:62,
                   from /usr/include/gmock/gmock-actions.h:43,
                   from /usr/include/gmock/gmock.h:58,
                   from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/precompiled.hpp:22:
  /usr/include/c++/5/cstdlib:166:3: note: candidate: long int std::abs(long int)
     abs(long __i) { return __builtin_labs(__i); }
     ^
  /usr/include/c++/5/cstdlib:174:3: note: candidate: long long int 
std::abs(long long int)
     abs(long long __x) { return __builtin_llabs (__x); }
     ^
  In file included from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/input/evdev/test_libinput_device.cpp:31:0:
  /«BUILDDIR»/mir-0.21.0+16.04.20160330/include/test/mir/test/event_matchers.h: 
In instantiation of ‘bool mir::test::TouchEventMatcherP2<x_type, 
y_type>::gmock_Impl<arg_type>::MatchAndExplain(arg_type, 
testing::MatchResultListener*) const [with arg_type = MirEvent&; x_type = 
float; y_type = float]’:
  
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/input/evdev/test_libinput_device.cpp:752:1:
   required from here
  
/«BUILDDIR»/mir-0.21.0+16.04.20160330/include/test/mir/test/event_matchers.h:324:17:
 error: call of overloaded ‘abs(float)’ is ambiguous
       if (std::abs(mir_touch_event_axis_value(tev, 0, mir_touch_axis_x) - x) > 
0.5f)
                   ^
  In file included from /usr/include/c++/5/cstdlib:72:0,
                   from /usr/include/c++/5/bits/stl_algo.h:59,
                   from /usr/include/c++/5/algorithm:62,
                   from /usr/include/gmock/gmock-actions.h:43,
                   from /usr/include/gmock/gmock.h:58,
                   from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/precompiled.hpp:22:
  /usr/include/stdlib.h:774:12: note: candidate: int abs(int)
   extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
              ^
  In file included from /usr/include/c++/5/bits/stl_algo.h:59:0,
                   from /usr/include/c++/5/algorithm:62,
                   from /usr/include/gmock/gmock-actions.h:43,
                   from /usr/include/gmock/gmock.h:58,
                   from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/precompiled.hpp:22:
  /usr/include/c++/5/cstdlib:166:3: note: candidate: long int std::abs(long int)
     abs(long __i) { return __builtin_labs(__i); }
     ^
  /usr/include/c++/5/cstdlib:174:3: note: candidate: long long int 
std::abs(long long int)
     abs(long long __x) { return __builtin_llabs (__x); }
     ^
  In file included from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/input/evdev/test_libinput_device.cpp:31:0:
  
/«BUILDDIR»/mir-0.21.0+16.04.20160330/include/test/mir/test/event_matchers.h:326:17:
 error: call of overloaded ‘abs(float)’ is ambiguous
       if (std::abs(mir_touch_event_axis_value(tev, 0, mir_touch_axis_y) - y) > 
0.5f)
                   ^
  In file included from /usr/include/c++/5/cstdlib:72:0,
                   from /usr/include/c++/5/bits/stl_algo.h:59,
                   from /usr/include/c++/5/algorithm:62,
                   from /usr/include/gmock/gmock-actions.h:43,
                   from /usr/include/gmock/gmock.h:58,
                   from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/precompiled.hpp:22:
  /usr/include/stdlib.h:774:12: note: candidate: int abs(int)
   extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
              ^
  In file included from /usr/include/c++/5/bits/stl_algo.h:59:0,
                   from /usr/include/c++/5/algorithm:62,
                   from /usr/include/gmock/gmock-actions.h:43,
                   from /usr/include/gmock/gmock.h:58,
                   from 
/«BUILDDIR»/mir-0.21.0+16.04.20160330/tests/unit-tests/precompiled.hpp:22:
  /usr/include/c++/5/cstdlib:166:3: note: candidate: long int std::abs(long int)
     abs(long __i) { return __builtin_labs(__i); }
     ^
  /usr/include/c++/5/cstdlib:174:3: note: candidate: long long int 
std::abs(long long int)
     abs(long long __x) { return __builtin_llabs (__x); }
     ^

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to