Mir

vivid fails to build Mir as of 2015-03-22: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]

Bug #1435127 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Critical
Alberto Aguirre
0.12
Fix Released
Critical
Alberto Aguirre
mir (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

Just updated vivid and it refuses to build lp:mir now:

Building C object src/CMakeFiles/wrapper.dir/wrapper.c.o
In file included from /usr/include/string.h:25:0,
                 from /home/dan/bzr/mir/dev/src/wrapper.c:19:
/usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^
cc1: all warnings being treated as errors
src/CMakeFiles/wrapper.dir/build.make:54: recipe for target 'src/CMakeFiles/wrapper.dir/wrapper.c.o' failed
make[2]: *** [src/CMakeFiles/wrapper.dir/wrapper.c.o] Error 1
CMakeFiles/Makefile2:993: recipe for target 'src/CMakeFiles/wrapper.dir/all' failed
make[1]: *** [src/CMakeFiles/wrapper.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Related branches

summary: - vivid fails to build Mir as of 2015-03-23: error: #warning "_BSD_SOURCE
+ vivid fails to build Mir as of 2015-03-22: error: #warning "_BSD_SOURCE
and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
Changed in mir:
assignee: Daniel van Vugt (vanvugt) → Alberto Aguirre (albaguirre)
Changed in mir (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
Changed in mir:
status: In Progress → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix committed to lp:mir/0.12 at revision 2305

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mir - 0.12.1+15.04.20150324-0ubuntu1

---------------
mir (0.12.1+15.04.20150324-0ubuntu1) vivid; urgency=medium

  [ Alexandros Frantzis ]
  * New upstream release 0.12.1 (https://launchpad.net/mir/+milestone/0.12.1)
    - Bug fixes:
      . [regression] mali, powervr locks up with around the introduction or
        removal of a third overlay (LP: #1413211)
      . USC - mouse cursor on AMD graphics is drawing incorrectly
        (LP: #1417581)
      . mir_demo_server doesn't emit hover_exit events (LP: #1418569)
      . SessionMediator locks mutexes in one thread and unlocks them in
        another (LP: #1427976)
      . ProtobufResponder::send_response_result race (LP: #1428402)
      . Some protobuf Closure objects can access dead objects (LP: #1433330)
      . DisplayConfigurationOutput.physical_size_mm is undefined/zero
        (LP: #1430315)
      . vivid fails to build Mir as of 2015-03-22: error: #warning
        "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
        [-Werror=cpp] (LP: #1435127)
      . valgrind on armhf fails with with many errors (LP: #1435186)
 -- CI Train Bot <email address hidden> Tue, 24 Mar 2015 16:09:54 +0000

Changed in mir (Ubuntu):
status: Triaged → Fix Released
Changed in mir:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.