Mir

Mir doesn't install cleanly if docs are not built

Bug #1304271 reported by Daniel d'Andrada
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Low
Allison Karlitskaya
mir (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Build Mir with a cmake configuration having -DBUILD_DOXYGEN=NO, like this one (which I used):

cmake ${mir_code_dir} -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOXYGEN=NO -DCMAKE_INSTALL_LIBEXECDIR="lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/mir" -DMIR_PLATFORM=android -DMIR_ENABLE_TESTS=NO

then make.

When you do "make install", you get an error like this:

"""
Install the project...
-- Install configuration: ""
CMake Error at cmake_install.cmake:44 (FILE):
  file INSTALL cannot find
  "/home/phablet/mir/for-qpamirserverNew_build/doc/html".
"""

To work around it, you have to mkdir the missing "doc/html" dir and "make install" again.

Related branches

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This is expected behaviour. The required order is:
    make
    make doc
    make install

Although we could and should just make the install target depend on "doc".

Changed in mir:
importance: Undecided → Low
status: New → Triaged
Changed in mir:
assignee: nobody → Ryan Lortie (desrt)
milestone: none → 0.2.0
status: Triaged → In Progress
Changed in mir:
milestone: 0.2.0 → 0.3.0
Changed in mir:
status: In Progress → Fix Committed
milestone: 0.3.0 → 0.2.0
Changed in mir:
status: Fix Committed → Fix Released
Changed in mir (Ubuntu):
importance: Undecided → Low
status: New → 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.