[nexus7] dpkg-shlibdeps error for libGLESv2.so.2 when building xbmc
Steve Payne
launchpad at iamsrp.com
Fri Nov 23 17:08:41 UTC 2012
Hi,
I'm trying to build xbmc for the Nexus7, using GLES instead of GL,
using dpkg-buildpackage with the files obtained using 'apt-get
source'. After a bit of tweaking of the debian/rules file it seems to
get most of the way through but dies just before the finish line with
the following (reproduced using a sub-command with debugging enabled):
==
ubuntu at dexter:~/src/xbmc-deb/xbmc-11.0~git20120510.82388d5$
dpkg-shlibdeps -v -v -v -Tdebian/xbmc-bin.substvars
debian/xbmc-bin/usr/lib/xbmc/xbmc.bin
>> Scanning debian/xbmc-bin/usr/lib/xbmc/xbmc.bin (for Depends field)
Library libsmbclient.so.0 found in
/usr/lib/arm-linux-gnueabihf/libsmbclient.so.0
Library libavahi-client.so.3 found in
/usr/lib/arm-linux-gnueabihf/libavahi-client.so.3
[...]
Initialize dependency (libstdc++6 #MINVER#) with minimal version (4.1.1)
Using symbols file /var/lib/dpkg/info/libhal-storage1.symbols for
libhal-storage.so.1
Initialize dependency (libhal-storage1 #MINVER#) with minimal
version (0.5.8.1)
Using shlibs+objdump for libGLESv2.so.2 (file /usr/lib/libGLESv2.so.2)
dpkg-shlibdeps: warning: /usr/lib/libGLESv2.so.2 has an unexpected
SONAME (libGLESv2.so)
Looking up shlibs dependency of libGLESv2.so.2 provided by 'nvidia-tegra3'
Found nothing
dpkg-shlibdeps: error: no dependency information found for
/usr/lib/libGLESv2.so.2 (used by debian/xbmc-bin/usr/lib/xbmc/xbmc.bin)
==
I've had a quick trawl through the source and the results of stracing
the command but didn't spot anything obvious. Since my dpkg kung-fu is
merely yellow-belt status, if that, I figured I would ask here before
trying to delve deeper.
(If someone wants to try to reproduce this completely I've appended
the 'rules' diff. The resultant binary seems to work but is a little
confused about the screen dimensions in that it thinks the display
portrait rather than landscape.)
Thanks,
srp
==
ubuntu at dexter:~/src/xbmc-deb/xbmc-11.0~git20120510.82388d5$ diff -u
../../xbmc-deb-orig/xbmc-11.0~git20120510.82388d5/debian/rules
debian/rules
--- ../../xbmc-deb-orig/xbmc-11.0~git20120510.82388d5/debian/rules
2012-05-10 14:56:35.000000000 -0700
+++ debian/rules 2012-11-22 11:46:23.149096004 -0800
@@ -29,11 +29,15 @@
ARCH_SPECIFIC_LIB_RECOMMENDS = -lcrystalhd
endif
-# Enable gles for armel
+# Enable gles for arm
ifeq (,$(filter armel,$(DEB_HOST_ARCH)))
-GL_CONFIG_OPTIONS = --enable-gl --disable-gles
+ ifeq (,$(filter armhf,$(DEB_HOST_ARCH)))
+ GL_CONFIG_OPTIONS = --enable-gl --disable-gles --enable-vdpau
+ else
+ GL_CONFIG_OPTIONS = --disable-vaapi --disable-vdpau --disable-gl
--enable-gles
+ endif
else
-GL_CONFIG_OPTIONS = --disable-gl --enable-gles
+ GL_CONFIG_OPTIONS = --disable-gl --enable-gles
endif
# Various environment variables to set
@@ -47,7 +51,6 @@
--prefix=/usr --docdir=/usr/share/doc/xbmc \
$(DEBUG_OPTIONS) \
$(GL_CONFIG_OPTIONS) \
- --enable-vdpau \
--disable-vdadecoder \
--disable-vtbdecoder \
--disable-openmax \
ubuntu at dexter:~/src/xbmc-deb/xbmc-11.0~git20120510.82388d5$
More information about the ubuntu-devel
mailing list