libgstreamer-plugins-bad1.0-0=1.2.4-1~ubuntu1.1 : undefined symbol: eglDestroyImageKHR

Bug #1668565 reported by RJVB
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gst-plugins-bad1.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Just saw this error on an up-to-date KUbuntu 14.04.5LTS system (with the "lts-xenial" stack):

(gst-plugin-scanner:26486): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsteglglessink.so': /usr/lib/x86_64-linux-gnu/libgstegl-1.0.so.0: undefined symbol: eglDestroyImageKHR

I didn't see any reports of the error affecting gst-scanner when I googled the undefined error (https://www.google.fr/search?q=libgstegl-1.0.so.0%3A+undefined+symbol%3A+eglDestroyImageKHR). The results do show that the issue has been around from before I upgraded to the LTS enablement stack, so it may have nothing to do with that at all.

Possibly the package simply needs to be regenerated.

> apt show libgstreamer-plugins-bad1.0-0
Package: libgstreamer-plugins-bad1.0-0
State: installed
Automatically installed: yes
Multi-Arch: same
Version: 1.2.4-1~ubuntu1.1
Priority: extra
Section: universe/libs
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64

Tags: patch
Revision history for this message
RJVB (rjvbertin) wrote :

Or not:

https://launchpadlibrarian.net/309154570/buildlog_ubuntu-trusty-amd64.gst-plugins-bad1.0_1.2.4-1~ubuntu1.1-rjvb-ppa170228d_BUILDING.txt.gz

/bin/bash ../../../libtool --tag=CC --mode=link /usr/bin/gcc-6 -I../../../gst-libs -I../../../gst-libs -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -I/usr/include/libdrm -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-error -export-symbols-regex ^_?\(gst_\|Gst\|GST_\).* -no-undefined -version-info 204:0:204 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -o libgstegl-1.0.la -rpath /usr/lib/x86_64-linux-gnu libgstegl_1.0_la-egl.lo -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstvideo-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lEGL -lX11
libtool: link: /usr/bin/nm -B .libs/libgstegl_1.0_la-egl.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libgstegl-1.0.exp
libtool: link: /bin/grep -E -e "^_?(gst_|Gst|GST_).*" ".libs/libgstegl-1.0.exp" > ".libs/libgstegl-1.0.expT"
libtool: link: mv -f ".libs/libgstegl-1.0.expT" ".libs/libgstegl-1.0.exp"
libtool: link: echo "{ global:" > .libs/libgstegl-1.0.ver
libtool: link: cat .libs/libgstegl-1.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libgstegl-1.0.ver
libtool: link: echo "local: *; };" >> .libs/libgstegl-1.0.ver
libtool: link: /usr/bin/gcc-6 -shared -fPIC -DPIC .libs/libgstegl_1.0_la-egl.o -Wl,--as-needed -lgstvideo-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lEGL -lX11 -pthread -pthread -O2 -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z -Wl,defs -Wl,-O1 -pthread -Wl,-soname -Wl,libgstegl-1.0.so.0 -Wl,-version-script -Wl,.libs/libgstegl-1.0.ver -o .libs/libgstegl-1.0.so.0.204.0
.libs/libgstegl_1.0_la-egl.o: In function `gst_egl_image_allocator_free_vfunc':
/<<PKGBUILDDIR>>/gst-libs/gst/egl/egl.c:155: undefined reference to `eglDestroyImageKHR'
collect2: error: ld returned 1 exit status
make[5]: *** [libgstegl-1.0.la] Error 1

Revision history for this message
RJVB (rjvbertin) wrote :

This patch allows building the package (v1.2.4) against libegl1-mesa-lts-xenial 11.2.0 (after also disabling opencv support because one of the required dependencies wouldn't install).
See also ppa:rjvbertin/misc .

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "egl_create_destroy_image.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
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.