Public bug reported:
Fails to build due to gstreamer using deprecated g_memdup:
/usr/include/gstreamer-1.0/gst/base/gstbytereader.h: In function ‘guint8*
gst_byte_reader_dup_data_unchecked(GstByteReader*, guint)’:
/usr/include/gstreamer-1.0/gst/base/gstbytereader.h:365:41: error: ‘void*
g_memdup(gconstpointer, guint)’ is deprecated: Use 'g_memdup2' instead
[-Werror=deprecated-declarations]
365 | return (guint8 *) g_memdup (data, size);
| ^
In file included from /usr/include/glib-2.0/glib.h:82,
from /usr/include/gstreamer-1.0/gst/gst.h:27,
from ../src/gstreamer/gstlibcamerasrc.h:12,
from ../src/gstreamer/gstlibcamerasrc.cpp:34:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
257 | gpointer g_memdup (gconstpointer mem,
Fixed in gstreamer upstream:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/b16e96dd878e0c5e7baeb8fad62ca43de1f66982
** Affects: libcamera (Ubuntu)
Importance: Undecided
Status: New
** Tags: update-excuse
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931958
Title:
0~git20200629+e7aa92a-8 is FTFBS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcamera/+bug/1931958/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs