Mir

[regression] unity-system-compositor & qtmir FTBFS with Mir 0.9 source (libmirprotobuf.so.0 not found)

Bug #1388686 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Invalid
Critical
Daniel van Vugt

Bug Description

[regression] unity-system-compositor FTBFS with Mir 0.9 source (r2019)

Linking CXX executable ../bin/unity-system-compositor
/usr/bin/ld: warning: libmirprotobuf.so.0, needed by /home/dan/silo.toy/lib/libmirserver.so, not found (try using -rpath or -rpath-link)
/home/dan/silo.toy/lib/libmirserver.so: undefined reference to `mir::protobuf::DisplayServer::create_surface(google::protobuf::RpcController*, mir::protobuf::SurfaceParameters const*, mir::protobuf::Surface*, google::protobuf::Closure*)'
/home/dan/silo.toy/lib/libmirclient.so: undefined reference to `mir::protobuf::Surface::default_instance_'
/home/dan/silo.toy/lib/libmirserver.so: undefined reference to `mir::protobuf::DisplayServer::next_buffer(google::protobuf::RpcController*, mir::protobuf::SurfaceId const*, mir::protobuf::Buffer*, google::protobuf::Closure*)'
/home/dan/silo.toy/lib/libmirserver.so: undefined reference to `mir::protobuf::Buffer::Buffer()'
/home/dan/silo.toy/lib/libmirclient.so: undefined reference to `mir::protobuf::Connection::default_instance_'
/home/dan/silo.toy/lib/libmirclient.so: undefined reference to `mir::protobuf::Debug_Stub::Debug_Stub(google::protobuf::RpcChannel*)'

...

Related branches

summary: - [regression] unity-system-compositor FTBFS with Mir 0.9 source
+ [regression] unity-system-compositor & qtmir FTBFS with Mir 0.9 source
Changed in mir:
assignee: nobody → Daniel van Vugt (vanvugt)
status: Triaged → In Progress
no longer affects: qtmir
no longer affects: unity-system-compositor
summary: [regression] unity-system-compositor & qtmir FTBFS with Mir 0.9 source
+ (libmirprotobuf.so.0 not found)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.9.0

Changed in mir:
status: In Progress → Fix Committed
Revision history for this message
Kevin DuBois (kdub) wrote :

Trying to build the stack with sbuild I get this error:

cd /«BUILDDIR»/unity-system-compositor-0.0.5+15.04.20141109/obj-arm-linux-gnueabihf/spinner && /usr/bin/cmake -E cmake_link_script CMakeFiles/unity-system-compositor-spinner.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-g++-4.9 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=c++11 -Wall -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/unity-system-compositor-spinner.dir/eglapp.c.o CMakeFiles/unity-system-compositor-spinner.dir/eglspinner.c.o CMakeFiles/unity-system-compositor-spinner.dir/unity-system-compositor-spinner_automoc.cpp.o -o ../bin/unity-system-compositor-spinner -rdynamic -lEGL -lcairo -lglib-2.0 -landroid-properties -lGLESv2 -lmirclient -lmirprotobuf
/usr/bin/ld: cannot find -lmirprotobuf

So the pkg-config flag has made it in, but the libmirprotobuf.so symlink is missing because of its removal in debian/rules
http://bazaar.launchpad.net/~mir-team/mir/development-branch/view/head:/debian/rules#L57
and the build system can't find the library

Kevin DuBois (kdub)
Changed in mir:
status: Fix Committed → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Invalid. The error was my build process finding the wrong version of libmirprotobuf.so.0 (from the system instead of from the local silo).

Changed in mir:
status: In Progress → Invalid
milestone: 0.9.0 → none
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.9.0

Changed in mir:
status: Invalid → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix fully reverted in r2049. Bug remains invalid.

Changed in mir:
status: Fix Committed → Invalid
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.