Mesa armhf builds don't depend on libmirclient

Bug #1194002 reported by Robert Ancell on 2013-06-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)

Bug Description

Have a look at the libegl1-mesa package built for armhf - it doesn't depend on libmirclient:

$ dpkg -I libegl1-mesa_9.2~git20130611.761320b1-0ubuntu0+mir3-jenkins81saucy0_armhf.deb
Depends: libc6 (>= 2.4), libdrm2 (>= 2.4.25), libgbm1 (>= 7.11~1), libudev1 (>= 183), libwayland-client0 (>= 1.0.2), libwayland-server0 (>= 1.0.2), libx11-6, libx11-xcb1, libxcb-dri2-0 (>= 1.8), libxcb-xfixes0, libxcb1

This causes armhf builds to fail that don't depend on libmirclient, e.g.:
/usr/bin/c++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=c++11 -Wall -O2 -g -DNDEBUG -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/unity-system-compositor.dir/main.cpp.o CMakeFiles/unity-system-compositor.dir/dm_connection.cpp.o CMakeFiles/unity-system-compositor.dir/system_compositor.cpp.o -o ../bin/unity-system-compositor -rdynamic -lmirserver -lpthread -lboost_chrono -lboost_date_time -lboost_filesystem -lboost_system -lboost_thread -lboost_program_options -lboost_regex -lpthread
/usr/lib/arm-linux-gnueabihf/ undefined reference to `mir_egl_mesa_display_is_valid'
collect2: error: ld returned 1 exit status
make[3]: *** [bin/unity-system-compositor] Error 1

This works correctly on i386 and amd64.

Could be related in some was to bug 1168989?

Robert Ancell (robert-ancell) wrote :

From an armhf build [1]:

dh_shlibdeps -s
dpkg-shlibdeps: warning: symbol mir_egl_mesa_display_is_valid used by debian/libegl1-mesa/usr/lib/arm-linux-gnueabihf/ found in none of the libraries

So dpkg is not picking up the dependency correctly.

Does not occur in an amd64 build [2].


Robert Ancell (robert-ancell) wrote :

Fix committed to mesa to workaround this issue by explicitly depending on libmirclient-dev (which depends on libmirclient1)

Changed in mir:
status: Triaged → Fix Committed
status: Fix Committed → Triaged
Alexandros Frantzis (afrantzis) wrote :

Is this still a valid issue?

affects: mir → mesa (Ubuntu)
tags: added: egl-platform-mir
Changed in mesa (Ubuntu):
importance: High → Medium
assignee: Chris Halse Rogers (raof) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers