avstack / gst-meet

Connect GStreamer pipelines to Jitsi Meet conferences
Apache License 2.0
70 stars 25 forks source link

extdisco failed #26

Closed zsinba closed 2 years ago

zsinba commented 2 years ago

image ERROR fatal (in read loop): extdisco failed

jbg commented 2 years ago

This happens when the XMPP server does not support extdisco (used for discovering the details of the STUN/TURN server[s] for the Jitsi Meet instance).

We have already improved compatibility with such servers in latest master. Please check out the git repository and run from there. (e.g. git clone https://github.com/avstack/gst-meet; cd gst-meet; cargo run --release -- --web-socket-url=...)

zsinba commented 2 years ago

This happens when the XMPP server does not support extdisco (used for discovering the details of the STUN/TURN server[s] for the Jitsi Meet instance).

We have already improved compatibility with such servers in latest master. Please check out the git repository and run from there. (e.g. git clone https://github.com/avstack/gst-meet; cd gst-meet; cargo run --release -- --web-socket-url=...)

Sorry, I didn't understand what you mean. I compiled it very hard, using j WSL2.0 (Ubuntu18.04), what do your compilation parameters mean? Can you give me a little more guidance?

jbg commented 2 years ago

I think you used cargo install, which installs a released version (currently 0.2.2). However, this released version is not compatible with XMPP servers that do not support extdisco (like yours). Support for such XMPP servers has been added, but there has not been a new release made yet. Therefore, you should use the pre-release code directly from this Git repository. You can run it directly using the commands I gave above (add the rest of your gst-meet command line instead of ...).

zsinba commented 2 years ago

yes, cargo install it.

I haven't been able to compile it successfully. Still dealing with various errors. Now these are

image

jbg commented 2 years ago

The error tells you clearly what the issue is (one of the last lines) — your gstreamer version is too old.

zsinba commented 2 years ago

how to compile it easier with which one os ?

ubuntu? centos? debian? redhat? or?

jbg commented 2 years ago

It makes no difference which distribution of Linux you are using, because none of them package the prerelease gstreamer version used by our current development code yet. Once GStreamer 1.20 is released (should be a matter of weeks) there will be some binary packages available.

If you use nix, you can use our shell.nix which will build GStreamer for you.

zsinba commented 2 years ago

image

is this nix?

jbg commented 2 years ago

You don't have to install the whole NixOS, only the tool Nix. You can use it on any Linux, or on Mac. Maybe on Windows too.

FYI we are working on a Dockerfile today

zsinba commented 2 years ago

I want to send rtmp to jitsi, does it work with docker?

zsinba commented 2 years ago

You don't have to install the whole NixOS, only the tool Nix. You can use it on any Linux, or on Mac. Maybe on Windows too.

FYI we are working on a Dockerfile today What time zone are you in and are always online when asked.

jbg commented 2 years ago

Sure, RTMP is just a TCP socket, you can use Docker's networking features to get the traffic in and out as needed. You can learn how to use Docker features in the documentation.

zsinba commented 2 years ago

nix-shell --pure can not compile it also.

Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Configuring gstpluginsbaseversion.h using configuration Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Looking for a fallback subproject for the dependency (anonymous) Automatic wrap-based subproject downloading is disabled Subproject gl-headers is buildable: NO (disabling) Dependency (anonymous) from subproject gl-headers found: NO (subproject failed to configure) Run-time dependency opengl found: YES 4.5 Run-time dependency glx found: YES 1.4 Run-time dependency glesv2 found: YES 1.3.4 Has header "GLES3/gl3.h" with dependency glesv2: YES Has header "GLES3/gl3ext.h" with dependency glesv2: YES Run-time dependency egl found: YES 1.3.4 Has header "EGL/egl.h" with dependency egl: YES Has header "EGL/eglext.h" with dependency egl: YES Has header "libdrm/drm_fourcc.h" : NO Run-time dependency wayland-client found: YES 1.19.0 Run-time dependency wayland-cursor found: YES 1.19.0 Run-time dependency wayland-egl found: YES 18.1.0 Run-time dependency wayland-protocols found: YES 1.23 Program wayland-scanner found: YES (/nix/store/aqccrhr8yl2b4784illdwwl6dndwmn7x-wayland-1.19.0-bin/bin/wayland-scanner) Run-time dependency x11-xcb found: YES 1.7.2 Checking for function "glXMakeCurrent" with dependency glx: YES Library nvbuf_utils found: NO Has header "nvbuf_utils.h" : NO Checking for type "GLeglImageOES" with dependencies glesv2, opengl: YES Checking for type "GLchar" with dependencies glesv2, opengl: YES Checking for type "GLsizeiptr" with dependencies glesv2, opengl: YES Checking for type "GLintptr" with dependencies glesv2, opengl: YES Checking for type "GLsync" with dependencies glesv2, opengl: YES Checking for type "GLuint64" with dependencies glesv2, opengl: YES Checking for type "GLint64" with dependencies glesv2, opengl: YES Checking for type "EGLAttrib" with dependencies glesv2, opengl, egl: YES Checking for type "EGLuint64KHR" with dependencies glesv2, opengl, egl: YES Configuring gstglconfig.h using configuration Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program gl_mkenum.py found: YES (/nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/bin/python3.9 /build/gst-plugins-base-1.19.3/gst-libs/gst/gl/gl_mkenum.py)

gst-libs/gst/gl/meson.build:1076:2: ERROR: Could not execute command "/build/gst-plugins-base-1.19.3/scripts/meson-pkg-config-file-fixup.py gstreamer-gl-1.0 gl_platforms gl_winsys gl_apis".

A full log can be found at /build/gst-plugins-base-1.19.3/build/meson-logs/meson-log.txt builder for '/nix/store/7bapxpzfz36szwlkiyvi5iqg6j940ywc-gst-plugins-base-1.19.3.drv' failed with exit code 1 error: build of '/nix/store/42wzrvdvpl5khjgi93c1ivbxqblj0i4f-libnice-0.1.18.drv', '/nix/store/7bapxpzfz36szwlkiyvi5iqg6j940ywc-gst-plugins-base-1.19.3.drv', '/nix/store/a0dkanvf6xnvlzvxh8gigdybndfbkab3-gst-plugins-good-1.19.3.drv', '/nix/store/wsclrfp8xi6qy2bz4szk6d65hjhwhsyf-gst-plugins-bad-1.19.3.drv' failed

[nixos@nixos:~/gst-meet]$ image

jbg commented 2 years ago

gst-libs/gst/gl/meson.build:1076:2: ERROR: Could not execute command "/build/gst-plugins-base-1.19.3/scripts/meson-pkg-config-file-fixup.py gstreamer-gl-1.0 gl_platforms gl_winsys gl_apis".

Are you on Windows? We've never tested any of this on Windows, so I guess some changes would be needed to shell.nix. If you can get it to work please send a PR.

zsinba commented 2 years ago

Sure, RTMP is just a TCP socket, you can use Docker's networking features to get the traffic in and out as needed. You can learn how to use Docker features in the documentation.

yes ,I know.

but the gst-meet don't have the command param demo it.

jbg commented 2 years ago

It's not the job of gst-meet documentation to teach the use of other tools like Docker. You can use the same commands as in the gst-meet examples, just run them within Docker.

zsinba commented 2 years ago

gst-libs/gst/gl/meson.build:1076:2: ERROR: Could not execute command "/build/gst-plugins-base-1.19.3/scripts/meson-pkg-config-file-fixup.py gstreamer-gl-1.0 gl_platforms gl_winsys gl_apis".

Are you on Windows? We've never tested any of this on Windows, so I guess some changes would be needed to shell.nix. If you can get it to work please send a PR.

no, not the windows.

I download the nix ios file, and run it directly by the vmware. it's a new nixos.

zsinba commented 2 years ago

hecking for function "glXMakeCurrent" with dependency glx: YES Library nvbuf_utils found: NO Has header "nvbuf_utils.h" : NO Checking for type "GLeglImageOES" with dependencies glesv2, opengl: YES Checking for type "GLchar" with dependencies glesv2, opengl: YES Checking for type "GLsizeiptr" with dependencies glesv2, opengl: YES Checking for type "GLintptr" with dependencies glesv2, opengl: YES Checking for type "GLsync" with dependencies glesv2, opengl: YES Checking for type "GLuint64" with dependencies glesv2, opengl: YES Checking for type "GLint64" with dependencies glesv2, opengl: YES Checking for type "EGLAttrib" with dependencies glesv2, opengl, egl: YES Checking for type "EGLuint64KHR" with dependencies glesv2, opengl, egl: YES Configuring gstglconfig.h using configuration Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program gl_mkenum.py found: YES (/nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/bin/python3.9 /build/gst-plugins-base-1.19.3/gst-libs/gst/gl/gl_mkenum.py)

gst-libs/gst/gl/meson.build:1076:2: ERROR: Could not execute command "/build/gst-plugins-base-1.19.3/scripts/meson-pkg-config-file-fixup.py gstreamer-gl-1.0 gl_platforms gl_winsys gl_apis".

A full log can be found at /build/gst-plugins-base-1.19.3/build/meson-logs/meson-log.txt builder for '/nix/store/7bapxpzfz36szwlkiyvi5iqg6j940ywc-gst-plugins-base-1.19.3.drv' failed with exit code 1 error: build of '/nix/store/42wzrvdvpl5khjgi93c1ivbxqblj0i4f-libnice-0.1.18.drv', '/nix/store/7bapxpzfz36szwlkiyvi5iqg6j940ywc-gst-plugins-base-1.19.3.drv', '/nix/store/a0dkanvf6xnvlzvxh8gigdybndfbkab3-gst-plugins-good-1.19.3.drv', '/nix/store/wsclrfp8xi6qy2bz4szk6d65hjhwhsyf-gst-plugins-bad-1.19.3.drv' failed

[nixos@nixos:~/gst-meet]$ uname -a Linux nixos 5.10.81 #1-NixOS SMP Sun Nov 21 12:46:37 UTC 2021 x86_64 GNU/Linux

[nixos@nixos:~/gst-meet]$

jbg commented 2 years ago

OK, sure. nix-shell --pure is working here. Please provide the whole output including the exact command you ran. Please use correct Markdown formatting to format it as code (i.e. ``` on a line before and after the output).

zsinba commented 2 years ago

git clone .... cd gst-meet nix-shell --pure

just above

jbg commented 2 years ago

Please provide the whole output including the exact command you ran.

zsinba commented 2 years ago

`[nixos@nixos:~/gst-meet]$ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 800M 0 800M 0% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 4.0G 11M 3.9G 1% /run tmpfs 7.9G 456K 7.9G 1% /run/wrappers tmpfs 7.9G 48M 7.8G 1% / /dev/root 2.0G 2.0G 0 100% /iso tmpfs 7.9G 1.1G 6.8G 14% /nix/.rw-store overlay 7.9G 1.1G 6.8G 14% /nix/store tmpfs 1.6G 72K 1.6G 1% /run/user/1000

[nixos@nixos:~/gst-meet]$ ls Cargo.lock Cargo.toml deny.toml Dockerfile gst-meet lib-gst-meet lib-gst-meet-c LICENSE-APACHE LICENSE-MIT nice-gst-meet nice-gst-meet-sys README.md rustfmt.toml shell.nix xmpp-parsers

[nixos@nixos:~/gst-meet]$ nix-shell --pure these derivations will be built: /nix/store/7bapxpzfz36szwlkiyvi5iqg6j940ywc-gst-plugins-base-1.19.3.drv /nix/store/42wzrvdvpl5khjgi93c1ivbxqblj0i4f-libnice-0.1.18.drv /nix/store/a0dkanvf6xnvlzvxh8gigdybndfbkab3-gst-plugins-good-1.19.3.drv /nix/store/wsclrfp8xi6qy2bz4szk6d65hjhwhsyf-gst-plugins-bad-1.19.3.drv building '/nix/store/7bapxpzfz36szwlkiyvi5iqg6j940ywc-gst-plugins-base-1.19.3.drv'... unpacking sources unpacking source archive /nix/store/c7hpgi06j8v4rvmamvx9wmmql6sa3h0c-gst-plugins-base-1.19.3.tar.xz source root is gst-plugins-base-1.19.3 setting SOURCE_DATE_EPOCH to timestamp 1635954271 of file gst-plugins-base-1.19.3/po/gst-plugins-base-1.0.pot patching sources patching script interpreter paths in common/scangobj-merge.py scripts/extract-release-date-from-doap-file.py find: 'common/scangobj-merge.py': No such file or directory scripts/extract-release-date-from-doap-file.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/bin/python3" configuring meson flags: --buildtype=plain --libdir=/nix/store/gf28jz40mnqdpxpvwrba90ydndc5js56-gst-plugins-base-1.19.3/lib --libexecdir=/nix/store/gf28jz40mnqdpxpvwrba90ydndc5js56-gst-plugins-base-1.19.3/libexec --bindir=/nix/store/gf28jz40mnqdpxpvwrba90ydndc5js56-gst-plugins-base-1.19.3/bin --sbindir=/nix/store/gf28jz40mnqdpxpvwrba90ydndc5js56-gst-plugins-base-1.19.3/sbin --includedir=/nix/store/hhan2fkla9g485dx29wrliyckrfzamqx-gst-plugins-base-1.19.3-dev/include --mandir=/nix/store/gf28jz40mnqdpxpvwrba90ydndc5js56-gst-plugins-base-1.19.3/share/man --infodir=/nix/store/gf28jz40mnqdpxpvwrba90ydndc5js56-gst-plugins-base-1.19.3/share/info --localedir=/nix/store/gf28jz40mnqdpxpvwrba90ydndc5js56-gst-plugins-base-1.19.3/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --prefix=/nix/store/gf28jz40mnqdpxpvwrba90ydndc5js56-gst-plugins-base-1.19.3 -Dexamples=disabled -Ddoc=disabled -Dgl-graphene=disabled -Dgl_winsys=x11,wayland -Dorc=disabled The Meson build system Version: 0.59.4 Source dir: /build/gst-plugins-base-1.19.3 Build dir: /build/gst-plugins-base-1.19.3/build Build type: native build Project name: gst-plugins-base Project version: 1.19.3 C compiler for the host machine: gcc (gcc 10.3.0 "gcc (GCC) 10.3.0") C linker for the host machine: gcc ld.bfd 2.35.2 Host machine cpu family: x86_64 Host machine cpu: x86_64 C++ compiler for the host machine: g++ (gcc 10.3.0 "g++ (GCC) 10.3.0") C++ linker for the host machine: g++ ld.bfd 2.35.2 Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES Compiler for C supports arguments -fvisibility=hidden: YES Compiler for C supports arguments -fno-strict-aliasing: YES Message: Disabling deprecated GLib API Has header "dlfcn.h" : YES Has header "emmintrin.h" : YES Has header "inttypes.h" : YES Has header "memory.h" : YES Has header "netinet/in.h" : YES Has header "netinet/tcp.h" : YES Has header "process.h" : NO Has header "smmintrin.h" : YES Has header "stdint.h" : YES Has header "strings.h" : YES Has header "string.h" : YES Has header "sys/socket.h" : YES Has header "sys/stat.h" : YES Has header "sys/types.h" : YES Has header "sys/wait.h" : YES Has header "unistd.h" : YES Has header "winsock2.h" : NO Has header "xmmintrin.h" : YES Has header "linux/dma-buf.h" : YES Library m found: YES Checking for function "dcgettext" with dependency -lm: YES Checking for function "gmtime_r" with dependency -lm: YES Checking for function "localtime_r" with dependency -lm: YES Checking for function "lrintf" with dependency -lm: YES Checking for function "mmap" with dependency -lm: YES Checking for function "log2" with dependency -lm: YES Checking for size of "char" : 1 Checking for size of "int" : 4 Checking for size of "long" : 8 Checking for size of "short" : 2 Checking for size of "void*" : 8 Compiler for C++ supports arguments -Waggregate-return: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C++ supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wredundant-decls: YES Compiler for C++ supports arguments -Wredundant-decls: YES Compiler for C supports arguments -Wundef: YES Compiler for C++ supports arguments -Wundef: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C++ supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wformat: YES Compiler for C++ supports arguments -Wformat: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C++ supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C++ supports arguments -Wformat-security: YES Compiler for C supports arguments -Winit-self: YES Compiler for C++ supports arguments -Winit-self: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C++ supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Waddress: YES Compiler for C++ supports arguments -Waddress: YES Compiler for C supports arguments -Wno-multichar: YES Compiler for C++ supports arguments -Wno-multichar: YES Compiler for C supports arguments -Wvla: YES Compiler for C++ supports arguments -Wvla: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C++ supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Found pkg-config: /nix/store/zm7d9fw403racbfyprb4hqlwbwz8544n-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2) Run-time dependency x11 found: YES 1.7.2 Run-time dependency glib-2.0 found: YES 2.70.1 Run-time dependency gobject-2.0 found: YES 2.70.1 Run-time dependency gio-2.0 found: YES 2.70.1 Run-time dependency gio-unix-2.0 found: YES 2.70.1 Run-time dependency gmodule-no-export-2.0 found: YES 2.70.1 Dependency gdk-pixbuf-2.0 skipped: feature examples disabled Dependency gtk+-3.0 skipped: feature examples disabled Dependency gtk+-x11-3.0 skipped: feature examples disabled Run-time dependency gstreamer-1.0 found: YES 1.19.3 Run-time dependency gstreamer-base-1.0 found: YES 1.19.3 Run-time dependency gstreamer-net-1.0 found: YES 1.19.3 Run-time dependency gstreamer-check-1.0 found: YES 1.19.3 Run-time dependency gstreamer-controller-1.0 found: YES 1.19.3 Dependency orc-0.4 skipped: feature orc disabled Program orcc skipped: feature orc disabled Message: Orc Compiler not found or disabled, will use backup C code Compiler for C supports arguments -msse: YES Compiler for C supports arguments -msse2: YES Compiler for C supports arguments -msse4.1: YES Message: GStreamer debug system is enabled Checking whether type "struct tcp_info" has member "__tcpi_reordering" : NO Checking whether type "struct tcp_info" has member "tcpi_reordering" : YES Program g-ir-scanner found: YES (/nix/store/5njndanmnlsxkgl5yyrmkfs8a4909cxa-gobject-introspection-1.70.0-dev/bin/g-ir-scanner) Program scripts/meson-pkg-config-file-fixup.py found: YES (/build/gst-plugins-base-1.19.3/scripts/meson-pkg-config-file-fixup.py) Program python3 found: YES (/nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/bin/python3.9) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Run-time dependency iso-codes found: YES 4.6.0 Run-time dependency zlib found: YES 1.2.11 Run-time dependency gobject-introspection-1.0 found: YES 1.70.0 Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached) Program g-ir-scanner found: YES (/nix/store/5njndanmnlsxkgl5yyrmkfs8a4909cxa-gobject-introspection-1.70.0-dev/bin/g-ir-scanner) Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached) Program g-ir-compiler found: YES (/nix/store/5njndanmnlsxkgl5yyrmkfs8a4909cxa-gobject-introspection-1.70.0-dev/bin/g-ir-compiler) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Configuring gstpluginsbaseversion.h using configuration Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Looking for a fallback subproject for the dependency (anonymous) Automatic wrap-based subproject downloading is disabled Subproject gl-headers is buildable: NO (disabling) Dependency (anonymous) from subproject gl-headers found: NO (subproject failed to configure) Run-time dependency opengl found: YES 4.5 Run-time dependency glx found: YES 1.4 Run-time dependency glesv2 found: YES 1.3.4 Has header "GLES3/gl3.h" with dependency glesv2: YES Has header "GLES3/gl3ext.h" with dependency glesv2: YES Run-time dependency egl found: YES 1.3.4 Has header "EGL/egl.h" with dependency egl: YES Has header "EGL/eglext.h" with dependency egl: YES Has header "libdrm/drm_fourcc.h" : NO Run-time dependency wayland-client found: YES 1.19.0 Run-time dependency wayland-cursor found: YES 1.19.0 Run-time dependency wayland-egl found: YES 18.1.0 Run-time dependency wayland-protocols found: YES 1.23 Program wayland-scanner found: YES (/nix/store/aqccrhr8yl2b4784illdwwl6dndwmn7x-wayland-1.19.0-bin/bin/wayland-scanner) Run-time dependency x11-xcb found: YES 1.7.2 Checking for function "glXMakeCurrent" with dependency glx: YES Library nvbuf_utils found: NO Has header "nvbuf_utils.h" : NO Checking for type "GLeglImageOES" with dependencies glesv2, opengl: YES Checking for type "GLchar" with dependencies glesv2, opengl: YES Checking for type "GLsizeiptr" with dependencies glesv2, opengl: YES Checking for type "GLintptr" with dependencies glesv2, opengl: YES Checking for type "GLsync" with dependencies glesv2, opengl: YES Checking for type "GLuint64" with dependencies glesv2, opengl: YES Checking for type "GLint64" with dependencies glesv2, opengl: YES Checking for type "EGLAttrib" with dependencies glesv2, opengl, egl: YES Checking for type "EGLuint64KHR" with dependencies glesv2, opengl, egl: YES Configuring gstglconfig.h using configuration Program glib-mkenums found: YES (/nix/store/5idik4vmd83cnx5z4shg44s53l4n2whj-glib-2.70.1-dev/bin/glib-mkenums) Program gl_mkenum.py found: YES (/nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/bin/python3.9 /build/gst-plugins-base-1.19.3/gst-libs/gst/gl/gl_mkenum.py)

gst-libs/gst/gl/meson.build:1076:2: ERROR: Could not execute command "/build/gst-plugins-base-1.19.3/scripts/meson-pkg-config-file-fixup.py gstreamer-gl-1.0 gl_platforms gl_winsys gl_apis".

A full log can be found at /build/gst-plugins-base-1.19.3/build/meson-logs/meson-log.txt builder for '/nix/store/7bapxpzfz36szwlkiyvi5iqg6j940ywc-gst-plugins-base-1.19.3.drv' failed with exit code 1 error: build of '/nix/store/42wzrvdvpl5khjgi93c1ivbxqblj0i4f-libnice-0.1.18.drv', '/nix/store/7bapxpzfz36szwlkiyvi5iqg6j940ywc-gst-plugins-base-1.19.3.drv', '/nix/store/a0dkanvf6xnvlzvxh8gigdybndfbkab3-gst-plugins-good-1.19.3.drv', '/nix/store/wsclrfp8xi6qy2bz4szk6d65hjhwhsyf-gst-plugins-bad-1.19.3.drv' failed `

jbg commented 2 years ago

Can you upload /build/gst-plugins-base-1.19.3/build/meson-logs/meson-log.txt somewhere?

zsinba commented 2 years ago

can't open this file when I try to accessit . it is because no this file gen.

may be the nix os is livecd

zsinba commented 2 years ago

image I can mkdir /build but there is no other file /folder be created in it

jbg commented 2 years ago

No idea. Probably /build is a local path inside a chroot or container being used for the build. I've never actually used NixOS, we just use the nix tool for reproducible build environments. The logs you've provided don't give enough info to understand why gstreamer doesn't build.

zsinba commented 2 years ago

`Program g-ir-compiler found: YES (/nix/store/mqbify3fap3rv1iz4s8z3jxpb5p57x7s-gobject-introspection-1.70.0-dev/bin/g-ir-compiler) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Configuring gstpluginsbaseversion.h using configuration Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Looking for a fallback subproject for the dependency (anonymous) Automatic wrap-based subproject downloading is disabled Subproject gl-headers is buildable: NO (disabling) Dependency (anonymous) from subproject gl-headers found: NO (subproject failed to configure) Run-time dependency opengl found: YES 4.5 Run-time dependency glx found: YES 1.4 Run-time dependency glesv2 found: YES 1.3.4 Has header "GLES3/gl3.h" with dependency glesv2: YES Has header "GLES3/gl3ext.h" with dependency glesv2: YES Run-time dependency egl found: YES 1.3.4 Has header "EGL/egl.h" with dependency egl: YES Has header "EGL/eglext.h" with dependency egl: YES Has header "libdrm/drm_fourcc.h" : NO Run-time dependency wayland-client found: YES 1.19.0 Run-time dependency wayland-cursor found: YES 1.19.0 Run-time dependency wayland-egl found: YES 18.1.0 Run-time dependency wayland-protocols found: YES 1.23 Program wayland-scanner found: YES (/nix/store/212lgksf9abhjm9xm098mvmpi7rrskj0-wayland-1.19.0-bin/bin/wayland-scanner) Run-time dependency x11-xcb found: YES 1.7.2 Checking for function "glXMakeCurrent" with dependency glx: YES Library nvbuf_utils found: NO Has header "nvbuf_utils.h" : NO Checking for type "GLeglImageOES" with dependencies glesv2, opengl: YES Checking for type "GLchar" with dependencies glesv2, opengl: YES Checking for type "GLsizeiptr" with dependencies glesv2, opengl: YES Checking for type "GLintptr" with dependencies glesv2, opengl: YES Checking for type "GLsync" with dependencies glesv2, opengl: YES Checking for type "GLuint64" with dependencies glesv2, opengl: YES Checking for type "GLint64" with dependencies glesv2, opengl: YES Checking for type "EGLAttrib" with dependencies glesv2, opengl, egl: YES Checking for type "EGLuint64KHR" with dependencies glesv2, opengl, egl: YES Configuring gstglconfig.h using configuration Program glib-mkenums found: YES (/nix/store/xx643xl761fryig8f2pljhhnhdn27k4p-glib-2.70.1-dev/bin/glib-mkenums) Program gl_mkenum.py found: YES (/nix/store/k0z9n599k02hab8qjjp3ljw065iwjcvg-python3-3.9.6/bin/python3.9 /build/gst-plugins-base-1.19.3/gst-libs/gst/gl/gl_mkenum.py)

gst-libs/gst/gl/meson.build:1076:2: ERROR: Could not execute command "/build/gst-plugins-base-1.19.3/scripts/meson-pkg-config-file-fixup.py gstreamer-gl-1.0 gl_platforms gl_winsys gl_apis".

A full log can be found at /build/gst-plugins-base-1.19.3/build/meson-logs/meson-log.txt error: builder for '/nix/store/i0bkwdd9gjap5w4mhqvllc91za1zcxsj-gst-plugins-base-1.19.3.drv' failed with exit code 1 error: build of '/nix/store/66w69mgvnan313gaww90whwzrwvq4brw-gst-plugins-good-1.19.3.drv', '/nix/store/gyfiqr0nibn9qmizr3iznl0znlg5c2r2-libnice-0.1.18.drv', '/nix/store/i0bkwdd9gjap5w4mhqvllc91za1zcxsj-gst-plugins-base-1.19.3.drv', '/nix/store/pbq3hlk4ql464vy2k0ifa81cr106vnyw-gst-plugins-bad-1.19.3.drv' failed user1@user1-ProLiant-DL388-Gen10:/data/gst-meet/gst-meet$ `

zsinba commented 2 years ago

This is an Ubuntu 20.04; I just installed nix and passed: curl -L https://nixos.org/nix/install | sh It installed and ran normally. When compiling, it still reported an error. At the same time, I couldn't find the log file that reported the error, because this file didn't exist at all.

zsinba commented 2 years ago

I think your code configure have some erro. ERROR: Could not execute command "/build/gst-plugins-base-1.19.3/scripts/meson-pkg-config-file-fixup.py gstreamer-gl-1.0 gl_platforms gl_winsys gl_apis".

jbg commented 2 years ago

Please don't just paste the same log over and over.

We will test with nix on Ubuntu 20.04 and report back. But with nix-shell --pure the host OS should not matter much.

jbg commented 2 years ago

I think your code configure have some erro.

This is not our code, it's gstreamer. As previously mentioned, it's a prerelease version, so it may well have some errors, but this issue is more likely related to environment.

zsinba commented 2 years ago

Please don't just paste the same log over and over.

We will test with nix on Ubuntu 20.04 and report back. But with nix-shell --pure the host OS should not matter much.

The two log from different os. The firest one from livecd of nix. The second from ubuntu 20.04 with nix tool.

zsinba commented 2 years ago

nix-shell --pure what the kind of os type you used? I want to have a try again with your os type and version.

jbg commented 2 years ago

We have tested previously on latest Ubuntu, Debian testing, Arch Linux, Alpine and macOS. But the purpose of using Nix is that the host OS does not matter.

zsinba commented 2 years ago

I tried to use nix to compile it under the same system, all with the same error result. image

jbg commented 2 years ago

Just for clarity, what you are doing here is compiling GStreamer (from the rules in shell.nix), not gst-meet. Compiling gst-meet would be the next step, once you get a nix shell open with the dependencies available.

This log is identical to the previous logs, it doesn't contain enough information to understand the issue. I suspect it's caused by the gl-headers error but am not sure without more info.

zsinba commented 2 years ago

waiting for your docker.

jbg commented 2 years ago

Will update #23 when the Dockerfile is updated