Can’t install update_rtpmanager.sh in DeepStream 7.0 docker

• Hardware Platform (Jetson)
• DeepStream 7.0
• JetPack 6.0 [L4T 36.3.0]
• Model: NVIDIA Jetson AGX Orin Developer Kit

Command line to start docker:

docker run -itd --name test --net=host --runtime nvidia  -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-7.0 -v /tmp/.X11-unix/:/tmp/.X11-unix -v /data:/work  nvcr.io/nvidia/deepstream:7.0-triton-multiarch

Errors occurred when executing update_rtpmanager.sh in docker:

FAILED: subprojects/gst-plugins-base/tests/check/pipelines_tcp.p/pipelines_tcp.c.o
cc -Isubprojects/gst-plugins-base/tests/check/pipelines_tcp.p -Isubprojects/gst-plugins-base/tests/check -I../subprojects/gst-plugins-base/tests/check -Isubprojects/gst-plugins-base -I../subprojects/gst-plts/gstreamer -I../subprojects/gstreamer -Isubprojects/gstreamer/libs -I../subprojects/gstreamer/libs -Isubprojects/gst-plugins-base/gst-libs -I../subprojects/gst-plugins-base/gst-libs -Isubprojects/orc -I.bprojects/gstreamer/gst -Isubprojects/gst-plugins-base/gst-libs/gst/audio -Isubprojects/gst-plugins-base/gst-libs/gst/tag -Isubprojects/gst-plugins-base/gst-libs/gst/video -Isubprojects/gst-plugins-base/gsubprojects/gst-plugins-base/gst-libs/gst/rtp -Isubprojects/gst-plugins-base/gst-libs/gst/rtsp -Isubprojects/gst-plugins-base/gst-libs/gst/app -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/ilibmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissindant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-AVE_CONFIG_H=1 -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS '-DGST_CHECK_TEST_ENVIRONMENT_BEACON="GST_PLUGIN_LOADING_WHITELIST"' '-DGST_TEST_FILES_PATH="/tmp/gst-1.20.3/gstreamer/subprojects/gst-plugins-base' '-DGST_TEST_FILE="/tmp/gst-1.20.3/gstreamer/subprojects/gst-plugins-base/tests/check/../files/partialframe.mjpeg"' -DGST_USE_UNSTABLE_API -DTEST_GST_GL_ABI_CHECK -MD -MQ subprojects/gst-plugins-base/testp/pipelines_tcp.c.o -MF subprojects/gst-plugins-base/tests/check/pipelines_tcp.p/pipelines_tcp.c.o.d -o subprojects/gst-plugins-base/tests/check/pipelines_tcp.p/pipelines_tcp.c.o -c ../subprojects/gst-plugipelines/tcp.c
In file included from /usr/include/gio-unix-2.0/gio/gunixfdmessage.h:25,
                 from ../subprojects/gst-plugins-base/tests/check/pipelines/tcp.c:31:
/usr/include/glib-2.0/gio/gunixfdlist.h:66:1: error: unknown type name ‘GIO_AVAILABLE_IN_ALL’; did you mean ‘GLIB_AVAILABLE_IN_ALL’?
   66 | GIO_AVAILABLE_IN_ALL
      | ^~~~~~~~~~~~~~~~~~~~
      | GLIB_AVAILABLE_IN_ALL
/usr/include/glib-2.0/gio/gunixfdlist.h:67:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_unix_fd_list_get_type’
   67 | GType                   g_unix_fd_list_get_type                         (void) G_GNUC_CONST;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gunixfdlist.h:68:1: error: unknown type name ‘GIO_AVAILABLE_IN_ALL’; did you mean ‘GLIB_AVAILABLE_IN_ALL’?
   68 | GIO_AVAILABLE_IN_ALL
      | ^~~~~~~~~~~~~~~~~~~~
      | GLIB_AVAILABLE_IN_ALL
/usr/include/glib-2.0/gio/gunixfdlist.h:69:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   69 | GUnixFDList *           g_unix_fd_list_new                              (void);
      |             ^
/usr/include/glib-2.0/gio/gunixfdlist.h:70:1: error: unknown type name ‘GIO_AVAILABLE_IN_ALL’; did you mean ‘GLIB_AVAILABLE_IN_ALL’?
   70 | GIO_AVAILABLE_IN_ALL
      | ^~~~~~~~~~~~~~~~~~~~
      | GLIB_AVAILABLE_IN_ALL
/usr/include/glib-2.0/gio/gunixfdlist.h:71:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   71 | GUnixFDList *           g_unix_fd_list_new_from_array                   (const gint   *fds,
      |             ^
/usr/include/glib-2.0/gio/gunixfdlist.h:74:1: error: unknown type name ‘GIO_AVAILABLE_IN_ALL’; did you mean ‘GLIB_AVAILABLE_IN_ALL’?
   74 | GIO_AVAILABLE_IN_ALL
      | ^~~~~~~~~~~~~~~~~~~~
      | GLIB_AVAILABLE_IN_ALL
/usr/include/glib-2.0/gio/gunixfdlist.h:75:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_unix_fd_list_append’
   75 | gint                    g_unix_fd_list_append                           (GUnixFDList  *list,
      |                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gunixfdlist.h:79:1: error: unknown type name ‘GIO_AVAILABLE_IN_ALL’; did you mean ‘GLIB_AVAILABLE_IN_ALL’?
   79 | GIO_AVAILABLE_IN_ALL
      | ^~~~~~~~~~~~~~~~~~~~
      | GLIB_AVAILABLE_IN_ALL
/usr/include/glib-2.0/gio/gunixfdlist.h:80:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_unix_fd_list_get_length’
   80 | gint                    g_unix_fd_list_get_length                       (GUnixFDList  *list);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gunixfdlist.h:82:1: error: unknown type name ‘GIO_AVAILABLE_IN_ALL’; did you mean ‘GLIB_AVAILABLE_IN_ALL’?
   82 | GIO_AVAILABLE_IN_ALL
      | ^~~~~~~~~~~~~~~~~~~~
      | GLIB_AVAILABLE_IN_ALL
/usr/include/glib-2.0/gio/gunixfdlist.h:83:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_unix_fd_list_get’
   83 | gint                    g_unix_fd_list_get                              (GUnixFDList  *list,
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gunixfdlist.h:87:21: error: expected ‘;’ before ‘const’
   87 | GIO_AVAILABLE_IN_ALL
      |                     ^
      |                     ;
   88 | const gint *            g_unix_fd_list_peek_fds                         (GUnixFDList  *list,
      | ~~~~~
/usr/include/glib-2.0/gio/gunixfdlist.h:91:1: error: unknown type name ‘GIO_AVAILABLE_IN_ALL’; did you mean ‘GLIB_AVAILABLE_IN_ALL’?
   91 | GIO_AVAILABLE_IN_ALL
      | ^~~~~~~~~~~~~~~~~~~~
      | GLIB_AVAILABLE_IN_ALL
/usr/include/glib-2.0/gio/gunixfdlist.h:92:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   92 | gint *                  g_unix_fd_list_steal_fds                        (GUnixFDList  *list,
      |      ^
[2686/4235] Compiling C object subprojects/gst-plugins-base/tests/check/elements_multisocketsink.p/elements_multisocketsink.c.o
[2687/4235] Compiling C++ object subprojects/harfbuzz/src/libharfbuzz-subset.so.0.20801.0.p/hb-subset.cc.o
ninja: build stopped: subcommand failed.
cp: cannot stat 'build/subprojects/gst-plugins-good/gst/rtpmanager/libgstrtpmanager.so': No such file or directory
/tmp/gst-1.20.3 /opt/nvidia/deepstream/deepstream-7.0
/opt/nvidia/deepstream/deepstream-7.0
1 Like

Did you install anything in docker or on the host?

I can’t reproduce the issue on AGX Orin, can you provide more information?

I only installed user_additional_install.sh in docker. It was ok, and then I tried to install update_rtpmanager.sh, but errors occurred。I has tried several times but still cannot install update_rtpmanager.sh

Thanks for sharing, I know how to reproduce the problem, I’m looking into it

This problem is caused by the glib version. The default glib version of ubuntu22.04 is 2.72.4

  1. Install glib-2.76.6
$ git clone https://github.com/GNOME/glib.git
$ cd glib
$ git checkout 2.76.6
$ meson build --prefix=/usr
$ ninja -C build/
$ cd build/
$ ninja install
  1. Comment out apt-get -y install libglib2.0-dev in update_rtpmanager.sh to avoid installing glib-2.72.4
# apt-get -y install libglib2.0-dev

3.Run update_rtpmanager.sh, This problem no longer occurs.

1 Like

It works,thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.