rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.79k stars 12.77k forks source link

Build failure in gst-plugins-rs Subproject with meson 0.61.2-1 on Intel N100 CPU #125376

Closed fti-sfuke closed 1 month ago

fti-sfuke commented 6 months ago

I'm experiencing a build failure in the gst-plugins-rs subproject when building GStreamer on an Intel N100 CPU. The same build software environment works flawlessly on an Intel Core 11th Gen CPU. Here are the details of the issue

Describe the bug Trying to setting up a Rust environment and configuring a Meson build.

Meson Build Configuration in Shell:

    rustup default stable

    # bash completion is not supported in meson above 0.62
    run meson setup . ../gstreamer \
        --buildtype release --unity off --strip \
        --prefix=/opt/test \
        --libdir=/opt/test/lib \
        --default-library shared \
        --wrap-mode=nofallback \
        -Dorc-source=system \
        -Dgpl=enabled \
        -Drs=enabled \
        -Dcpp_args="-std=c++20" \
        -Dexamples=disabled -Dtests=enabled -Dgtk_doc=disabled \
        -Dpackage-origin="https://github.com/GStreamer" -Dvaapi=enabled \
        "$@"
    }

    ____BUILD_PHASE____

    run install -d "/opt/test/include"
    time run ninja -l $AD_HW_CORES all

AD_HW_CORES=4 On Intel N100 CPU

The execution logs of above script:

# rustup default stable
----------------------------------------
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2024-05-02, rust version 1.78.0 (9b00956e5 2024-04-29)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
 15.1 MiB /  15.1 MiB (100 %)  11.0 MiB/s in  1s ETA:  0s
info: downloading component 'rust-std'
 24.3 MiB /  24.3 MiB (100 %)  11.0 MiB/s in  2s ETA:  0s
info: downloading component 'rustc'
 63.7 MiB /  63.7 MiB (100 %)  10.5 MiB/s in  6s ETA:  0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
 15.1 MiB /  15.1 MiB (100 %)   3.4 MiB/s in  4s ETA:  0s
info: installing component 'rust-std'
 24.3 MiB /  24.3 MiB (100 %)  13.5 MiB/s in  1s ETA:  0s
info: installing component 'rustc'
 63.7 MiB /  63.7 MiB (100 %)  14.1 MiB/s in  4s ETA:  0s
info: installing component 'rustfmt'
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu installed - rustc 1.78.0 (9b00956e5 2024-04-29)
----------------------------------------
 meson setup . ../gstreamer --buildtype release --unity off --strip --prefix=/opt/test --libdir=/opt/test/lib --default-library shared --wrap-mode=nofallback -Dorc-source=system -Dgpl=enabled -Drs=enabled -Dcpp_args=-std=c++20 -Dexamples=disabled -Dtests=enabled -Dgtk_doc=disabled -Dpackage-origin=https://github.com/GStreamer/gstreamer

----------------------------------------
The Meson build system
Version: 1.4.0
Source dir: /mnt/gstreamer
Build dir: /mnt/gstreamer.build
Build type: native build
Project name: gstreamer-full
Project version: 1.24.0
C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/opt/miniconda/bin/python3.11)
Program gitlint found: NO
Message: gitlint not found or too old, please install it with your package manager or `python3 -m pip install gitlint` to enable the commit message hook
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency orc-0.4 found: YES 0.4.33

Following all Subproject finished.

Executing subproject gstreamer 

gstreamer| Project name: gstreamer
gstreamer| Project version: 1.24.0
gstreamer| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gstreamer| Subproject gstreamer finished.
Executing subproject gst-plugins-base 

gst-plugins-base| Project name: gst-plugins-base
gst-plugins-base| Project version: 1.24.0
gst-plugins-base| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-base| C linker for the host machine: cc ld.bfd 2.38
gst-plugins-base| C++ compiler for the host machine: c++ (gcc 12.3.0 "c++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-base| Subproject gst-plugins-base finished.
Executing subproject gst-plugins-good 

gst-plugins-good| Project name: gst-plugins-good
gst-plugins-good| Project version: 1.24.0
gst-plugins-good| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-good| C linker for the host machine: cc ld.bfd 2.38
gst-plugins-good| Subproject gst-plugins-good finished.
Executing subproject libnice 

libnice| Project name: libnice
libnice| Project version: 0.1.21.1
libnice| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
libnice| C linker for the host machine: cc ld.bfd 2.38
libnice| Subproject libnice finished.

../gstreamer/meson.build:208: WARNING: DEPRECATED use of the `plugins` variable in libnice.
../gstreamer/meson.build:209: WARNING: The variable should now be called `gst_plugins` and use:
../gstreamer/meson.build:210: WARNING: `declare_dependency( link_with: <plugin_target>, variable: {'full_path': <plugin_target>.full_path()})` instead

Executing subproject gst-plugins-bad 

gst-plugins-bad| Project name: gst-plugins-bad
gst-plugins-bad| Project version: 1.24.0
gst-plugins-bad| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-bad| C linker for the host machine: cc ld.bfd 2.38
gst-plugins-bad| C++ compiler for the host machine: c++ (gcc 12.3.0 "c++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-bad| Message: Hotdoc not found, not building the documentation
gst-plugins-bad| Build targets in project: 1186
gst-plugins-bad| Subproject gst-plugins-bad finished.
Executing subproject gst-plugins-ugly
gst-plugins-ugly| Project name: gst-plugins-ugly
gst-plugins-ugly| Project version: 1.24.0
gst-plugins-ugly| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-ugly| C linker for the host machine: cc ld.bfd 2.38
gst-plugins-ugly| C++ compiler for the host machine: c++ (gcc 12.3.0 "c++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-ugly| Configuring config.h using configuration
gst-plugins-ugly| Build targets in project: 1246
gst-plugins-ugly| Subproject gst-plugins-ugly finished.
Executing subproject  gst-libav
gst-libav| Project name: gst-libav
gst-libav| Project version: 1.24.0
gst-libav| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-libav| C linker for the host machine: cc ld.bfd 2.38
gst-libav| Message: Package release date: 2024-03-04
gst-libav| Configuring config.h using configuration
gst-libav| Build targets in project: 1254
gst-libav| Subproject gst-libav finished.
Executing subproject gst-rtsp-server
gst-rtsp-server| Project name: gst-rtsp-server
gst-rtsp-server| Project version: 1.24.0
gst-rtsp-server| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-rtsp-server| C linker for the host machine: cc ld.bfd 2.38
gst-rtsp-server| Dependency gio-2.0 found: YES 2.72.4 (cached)
gst-rtsp-server| Configuring config.h using configuration
gst-rtsp-server| Build targets in project: 1275
gst-rtsp-server| Subproject gst-rtsp-server finished.
Executing subproject gst-devtools 
gst-devtools| Project name: gst-devtools
gst-devtools| Project version: 1.24.0
gst-devtools| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-devtools| Program /mnt/gstreamer.build/subprojects/gst-devtools/validate/tools/gst-validate-launcher found: YES (/mnt/gstreamer.build/subprojects/gst-devtools/validate/tools/gst-validate-launcher)
gst-devtools| Program hotdoc skipped: feature doc disabled
gst-devtools| Message: Hotdoc not found, not building the documentation
gst-devtools| Build targets in project: 1301
gst-devtools| Subproject gst-devtools finished.
Executing subproject gst-editing-services 

gst-editing-services| Project name: gst-editing-services
gst-editing-services| Project version: 1.24.0
gst-editing-services| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-editing-services| Build targets in project: 1335
gst-editing-services| Subproject gst-editing-services finished.

Subproject gstreamer-vaapi : skipped: feature vaapi disabled
Subproject gstreamer-sharp : skipped: feature sharp disabled
Run-time dependency pygobject-3.0 found: YES 3.42.1
Executing subproject gst-examples 

gst-examples| Project name: gst-examples
gst-examples| Project version: 1.24.0
gst-examples| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-examples| C linker for the host machine: cc ld.bfd 2.38

gst-examples| Program configure_test_check.py found: YES (/opt/miniconda/bin/python3.11 /mnt/gstreamer/subprojects/gst-examples/webrtc/check/configure_test_check.py)
gst-examples| Build targets in project: 1347
gst-examples| Subproject gst-examples finished.

Its failing Executing subproject gst-plugins-rs

Executing subproject gst-plugins-rs 

gst-plugins-rs| Project name: gst-plugins-rs
gst-plugins-rs| Project version: 0.12.2
gst-plugins-rs| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-rs| C linker for the host machine: cc ld.bfd 2.38
gst-plugins-rs| Rust compiler for the host machine: rustc -C linker=cc (rustc 1.78.0)
gst-plugins-rs| Rust linker for the host machine: rustc -C linker=cc ld.bfd 2.38
gst-plugins-rs| Program python3 (tomllib) found: YES (/opt/miniconda/bin/python3.11) modules: tomllib
gst-plugins-rs| Program cargo found: YES 1.78.0 1.78.0 (/opt/scorer/bin/cargo)
gst-plugins-rs| Program cargo_wrapper.py found: YES (/opt/miniconda/bin/python3.11 /mnt/gstreamer/subprojects/gst-plugins-rs/cargo_wrapper.py)
gst-plugins-rs| Program cargo-cbuild found: YES 0.9.32 0.9.32 (/opt/scorer/bin/cargo-cbuild)
gst-plugins-rs| Dependency glib-2.0 found: YES 2.72.4 (cached)
gst-plugins-rs| Dependency gstreamer-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| Dependency gstreamer-app-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| Dependency gstreamer-audio-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| Dependency gstreamer-base-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| Dependency gstreamer-video-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| Dependency gstreamer-rtp-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| Dependency gstreamer-webrtc-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| Dependency gstreamer-sdp-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| Dependency gstreamer-check-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| Dependency gstreamer-gl-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| WARNING: Variable 'gst_gl_dep' in the subproject 'subprojects/gst-plugins-base' is not found
gst-plugins-rs| Dependency gstreamer-net-1.0 found: YES 1.24.0 (overridden)
gst-plugins-rs| Program nasm found: YES (/usr/local/bin/nasm)
gst-plugins-rs| Dependency openssl found: YES 3.3.0 (cached)
gst-plugins-rs| Dependency pangocairo found: YES 1.50.6 (cached)
gst-plugins-rs| Dependency pango found: YES 1.50.6 (cached)
gst-plugins-rs| Dependency pangocairo found: YES 1.50.6 (cached)
gst-plugins-rs| Dependency cairo-gobject found: YES 1.16.0 (cached)
gst-plugins-rs| Run-time dependency dav1d found: NO (tried pkgconfig and cmake)
gst-plugins-rs| Dependency cairo-gobject found: YES 1.16.0 (cached)
gst-plugins-rs| Run-time dependency libwebpdemux found: YES 1.2.2
gst-plugins-rs| Run-time dependency gtk4 found: NO (tried pkgconfig and cmake)
gst-plugins-rs| Program pkg-config found: YES (/usr/bin/pkg-config)
gst-plugins-rs| Run-time dependency gmodule-2.0 found: YES 2.72.4
gst-plugins-rs| Dependency gobject-2.0 found: YES 2.72.4 (cached)
gst-plugins-rs| Run-time dependency libsodium found: YES 1.0.18
gst-plugins-rs| Program hotdoc skipped: feature doc disabled
gst-plugins-rs| Message: Hotdoc not found, not building the documentation
gst-plugins-rs| Build targets in project: 1351
gst-plugins-rs| Subproject gst-plugins-rs finished.

Dependency glib-2.0 found: YES 2.72.4 (cached)
Program scripts/update-girs.py found: YES (/mnt/gstreamer/scripts/update-girs.py)
Program hotdoc skipped: feature doc disabled
Message: Not building documentation as hotdoc was not found
Configuring GstDocumentedSubprojects with command
Program scripts/generate_plugins_path.py found: YES (/opt/miniconda/bin/python3.11 /mnt/gstreamer/scripts/generate_plugins_path.py)
Configuring GstPluginsPath.json with command
Message: Building subprojects: gstreamer, gst-plugins-base, gst-plugins-good, libnice, gst-plugins-bad, gst-plugins-ugly, gst-libav, gst-rtsp-server, gst-devtools, gst-integration-testsuites, gst-editing-services, gst-python, gst-examples, gst-plugins-rs
Program gst-env.py found: YES (/mnt/gstreamer/gst-env.py)
Run-time dependency gstreamer-full-1.0 found: NO (tried pkgconfig and cmake)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Program python3 found: YES (/opt/miniconda/bin/python3.11)
Message: No kernel image path specified, skipping virtme tests
Program dotnet-format found: NO
Build targets in project: 1354

gst-devtools 1.24.0

    Plugins: validatetracer

gst-editing-services 1.24.0

    Plugins: nle, ges

gst-plugins-bad 1.24.0

    Plugins               : accurip, adpcmdec, adpcmenc, aiff, asfmux,
                            audiobuffersplit, audiofxbad, audiomixmatrix,
                            audiolatency, audiovisualizers, autoconvert, bayer,
                            camerabin, codecalpha, codectimestamper,
                            coloreffects, debugutilsbad, dvbsubenc,
                            dvbsuboverlay, dvdspu, faceoverlay, festival,
                            fieldanalysis, freeverb, frei0r, gaudieffects, gdp,
                            geometrictransform, id3tag, insertbin, inter,
                            interlace, ivfparse, ivtc, jp2kdecimator,
                            jpegformat, rfbsrc, midi, mpegpsdemux, mpegpsmux,
                            mpegtsdemux, mpegtsmux, mse, mxf, netsim, rtponvif,
                            pcapparse, pnm, proxy, legacyrawparse,
                            removesilence, rist, rtmp2, rtpmanagerbad, sdpelem,
                            segmentclip, siren, smooth, speed, subenc,
                            switchbin, timecode, transcode, unixfd,
                            videofiltersbad, videoframe_audiolevel,
                            videoparsersbad, videosignal, vmnc, y4mdec, bluez,
                            decklink, dvb, fbdevsink, ipcpipeline, kms,
                            nvcodec, shm, uvch264, v4l2codecs, uvcgadget, aes,
                            analyticsoverlay, assrender, bs2b, bz2,
                            closedcaption, codec2json, colormanagement, curl,
                            dash, dc1394, directfb, dtls, dtsdec, faad, flite,
                            fluidsynthmidi, gme, gsm, hls, ladspa, lv2,
                            modplug, musepack, neonhttpsrc, openal, openexr,
                            openh264, openjpeg, opusparse, resindvd, rsvg,
                            rtmp, sbc, sctp, smoothstreaming, sndfile,
                            soundtouch, spandsp, srtp, teletext, ttmlsubs,
                            voaacenc, voamrwbenc, webrtc, webp, wildmidi, x265
    (A)GPL license allowed: true

gst-plugins-base 1.24.0

    GL api     : gles2, gl
    GL platform: egl, glx
    GL winsys  : egl, surfaceless, wayland, x11, gbm
    Plugins    : adder, app, audioconvert, audiomixer, audiorate,
                 audioresample, audiotestsrc, compositor, dsd, basedebug,
                 encoding, gio, overlaycomposition, pbtypes, playback,
                 rawparse, subparse, tcp, typefindfunctions, videoconvertscale,
                 videorate, videotestsrc, volume, alsa, cdparanoia, opengl,
                 libvisual, ogg, opus, pango, theora, vorbis, ivorbisdec,
                 ximagesink, xvimagesink

gst-plugins-good 1.24.0

    Plugins: alpha, alphacolor, apetag, audiofx, audioparsers, auparse,
             autodetect, avi, cutter, navigationtest, debug, deinterlace, dtmf,
             effectv, equalizer, flv, flxdec, goom, goom2k1, icydemux,
             id3demux, imagefreeze, interleave, isomp4, alaw, mulaw, level,
             matroska, monoscope, multifile, multipart, replaygain, rtp,
             rtpmanager, rtsp, shapewipe, smpte, spectrum, udp, videobox,
             videocrop, videofilter, videomixer, wavenc, wavparse, xingmux,
             y4menc, ossaudio, oss4, video4linux2, ximagesrc, aasink,
             adaptivedemux2, amrnb, amrwbdec, cairo, flac, gdkpixbuf, gtk,
             jack, jpeg, lame, cacasink, dv, png, mpg123, 1394, pulseaudio,
             shout2, soup, speex, taglib, twolame, vpx, wavpack

gst-plugins-rs 0.12.2

    Plugins: rsaudiofx, claxon, lewton, spotify, rsfile, threadshare, rsinter,
             mp4, fmp4, aws, hlssink3, ndi, rsonvif, raptorq, reqwest, rsrtsp,
             rsrtp, webrtchttp, rswebrtc, textahead, json, regex, textwrap,
             rstracers, uriplaylistbin, cdg, rsclosedcaption, ffv1, rsflv, gif,
             hsv, rspng, rav1e, rsvideofx, fallbackswitch, livesync,
             togglerecord, rswebp, sodium

gst-plugins-ugly 1.24.0

    Plugins               : asf, dvdlpcmdec, dvdsub, realmedia, a52dec, cdio,
                            dvdread, mpeg2dec, sid
    (A)GPL license allowed: true

gst-rtsp-server 1.24.0

    Plugins: rtspclientsink

gstreamer 1.24.0

    Plugins: coreelements, coretracers

gstreamer-full 1.24.0

  Build options
    gstreamer-full library     : NO
    gstreamer-full target type : shared_library
    Tools                      : gst-inspect  gst-stats  gst-typefind
                                 gst-launch  gst-device-monitor
                                 gst-discoverer  gst-play  gst-transcoder
                                 gst-validate  gst-validate-media-check
                                 gst-validate-images-check
                                 gst-validate-rtsp-server
                                 gst-validate-transcoding  ges-launch
    Helpers                    : gst-plugin-scanner  gst-completion-helper
    Libraries                  : gst-editing-services-1.0
    Tests and examples disabled: NO

  Subprojects
    gst-devtools               : YES
    gst-editing-services       : YES
    gst-examples               : YES
    gst-integration-testsuites : YES
    gst-libav                  : YES
    gst-plugins-bad            : YES
    gst-plugins-base           : YES
    gst-plugins-good           : YES
    gst-plugins-rs             : YES 1 warnings
    gst-plugins-ugly           : YES
    gst-python                 : YES
    gst-rtsp-server            : YES
    gstreamer                  : YES 3 warnings
    gstreamer-sharp            : NO Feature 'sharp' disabled
    gstreamer-vaapi            : NO Feature 'vaapi' disabled
    libnice                    : YES

  User defined options
    buildtype                  : release
    default_library            : shared
    libdir                     : /opt/scorer/lib
    prefix                     : /opt/scorer
    strip                      : true
    unity                      : off
    wrap_mode                  : nofallback
    cpp_args                   : -std=c++20
    examples                   : disabled
    gpl                        : enabled
    gtk_doc                    : disabled
    orc-source                 : system
    package-origin             : https://github.com/GStreamer/gstreamer
    rs                         : enabled
    tests                      : enabled

Found ninja-1.12.1 at /opt/miniconda/bin/ninja

@@@@ PRP: { elapsed: 206.199, user: 178.820, system: 45.574, percent: 108.82 } @@@@

----------------------------------------
[ OK ]

#0300/200-17 | install -d /opt/scorer/include
----------------------------------------
----------------------------------------
[ OK ]
# ninja -l 4 all
----------------------------------------
[1/4122] Generating subprojects/gstreamer/gst/parse/parselex with a custom command
[2/4122] Compiling C object subprojects/gstreamer/gst/printf/libgstprintf.a.p/asnprintf.c.o
[3/4122] Generating subprojects/gstreamer/gst/parse/parsegrammar with a custom command
[4/4122] Compiling C object subprojects/gstreamer/gst/printf/libgstprintf.a.p/printf-args.c.o
[5/4122] Compiling C object subprojects/gstreamer/gst/printf/libgstprintf.a.p/printf-parse.c.o
[6/4122] Compiling C object subprojects/gstreamer/gst/printf/libgstprintf.a.p/printf.c.o
[7/4122] Compiling C object subprojects/gstreamer/gst/printf/libgstprintf.a.p/printf-extension.c.o
[8/4122] Generating GObject enum file subprojects/gstreamer/gst/gstenumtypes.h (wrapped by meson because command contains newlines, to capture 

warning: `gst-plugin-flavors` (lib) generated 2 warnings
warning: `gst-plugin-webrtc` (lib) generated 2 warnings
error: could not compile `gst-plugin-webrtc` (lib); 2 warnings emitted

Caused by:
  process didn't exit successfully: `rustc --crate-name gstrswebrtc --edition=2021 net/webrtc/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type staticlib --crate-type cdylib --emit=dep-info,link -C opt-level=3 -C lto -C debuginfo=2 -C link-arg=-Wl,-soname,libgstrswebrtc.so --cfg cargo_c --print native-static-libs --cfg 'feature="capi"' --cfg 'feature="default"' --cfg 'feature="v1_22"' -C metadata=5d224245e6db48c0 --out-dir /mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/release/deps --extern anyhow=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libanyhow-410892a88ac9fe30.rlib --extern async_recursion=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/release/deps/libasync_recursion-ac08422c78fc98d6.so --extern async_tungstenite=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libasync_tungstenite-064cda7aff46eb4f.rlib --extern aws_config=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libaws_config-b126a275f7f444f7.rlib --extern aws_credential_types=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libaws_credential_types-b4fc8835d6cb7f10.rlib --extern aws_sdk_kinesisvideo=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libaws_sdk_kinesisvideo-8f351a924c775c48.rlib --extern aws_sdk_kinesisvideosignaling=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libaws_sdk_kinesisvideosignaling-e0b7d76f59ee2a66.rlib --extern aws_sigv4=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libaws_sigv4-ac110b5d2489a69e.rlib --extern aws_smithy_http=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libaws_smithy_http-f7af1cddf81c78df.rlib --extern aws_smithy_types=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libaws_smithy_types-f3039839abe1cca7.rlib --extern aws_types=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libaws_types-3db9d6827bdf512c.rlib --extern chrono=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libchrono-dc43b550c37e9b58.rlib --extern crossbeam_channel=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libcrossbeam_channel-045ac51ece06d0df.rlib --extern data_encoding=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libdata_encoding-6bfdb9ec016723f9.rlib --extern fastrand=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libfastrand-c742238a3492b84f.rlib --extern futures=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libfutures-56c2331ca3031562.rlib --extern gst_plugin_webrtc_protocol=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libgst_plugin_webrtc_signalling_protocol-083bf2e5e3985d42.rlib --extern gst=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libgstreamer-a57b655159ccebd0.rlib --extern gst_app=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libgstreamer_app-3b968d88020c276a.rlib --extern gst_base=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libgstreamer_base-c2e902723d85b318.rlib --extern gst_rtp=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libgstreamer_rtp-04bf23a937f0ce3c.rlib --extern gst_sdp=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libgstreamer_sdp-5abb966de5c3ca92.rlib --extern gst_utils=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libgstreamer_utils-32493b7d3035ace9.rlib --extern gst_video=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libgstreamer_video-c9b6a49f623b3f72.rlib --extern gst_webrtc=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libgstreamer_webrtc-bd8124bc4564d319.rlib --extern http=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libhttp-43d0c13c99d090f3.rlib --extern human_bytes=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libhuman_bytes-27f39bb95ddd631e.rlib --extern livekit_api=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/liblivekit_api-f69284cddd536524.rlib --extern livekit_protocol=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/liblivekit_protocol-0eee26772cf27457.rlib --extern once_cell=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libonce_cell-49e6fcb22e949221.rlib --extern parse_link_header=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libparse_link_header-cf02898dbe18f583.rlib --extern rand=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/librand-8a65b7833aa15341.rlib --extern regex=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libregex-fa74c1a47477d1b0.rlib --extern reqwest=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libreqwest-9e7a73b86edfc609.rlib --extern serde=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libserde-1314a670cccac899.rlib --extern serde_json=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-7f5722d868f50806.rlib --extern thiserror=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libthiserror-9e97dd83cc8c8f7a.rlib --extern tokio=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libtokio-ecb66dc4ec2f5508.rlib --extern tokio_native_tls=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libtokio_native_tls-0df28b900e79da5a.rlib --extern tokio_stream=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libtokio_stream-6ee9205ac906a134.rlib --extern url=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/liburl-2df9b70f387206d5.rlib --extern url_escape=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/liburl_escape-6a6617b7ae186830.rlib --extern uuid=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libuuid-7aeb08b6cf4d3dfd.rlib --extern warp=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/deps/libwarp-bf323d10ac8aadc8.rlib -C linker=cc -L native=/opt/miniconda/lib -L native=/mnt/gstreamer.build/subprojects/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/build/ring-ca78f9aa28d1acd3/out -L native=/mnt/gstreamer.build/subprojects/gstreamer/gst -L native=/mnt/gstreamer.build/subprojects/gst-plugins-base/gst-libs/gst/app -L native=/mnt/gstreamer.build/subprojects/gstreamer/libs/gst/base -L native=/mnt/gstreamer.build/subprojects/gstreamer/gst -L native=/mnt/gstreamer.build/subprojects/gstreamer/libs/gst/base -L native=/mnt/gstreamer.build/subprojects/gstreamer/gst -L native=/mnt/gstreamer.build/subprojects/gst-plugins-base/gst-libs/gst/rtp -L native=/mnt/gstreamer.build/subprojects/gstreamer/libs/gst/base -L native=/mnt/gstreamer.build/subprojects/gstreamer/gst -L native=/mnt/gstreamer.build/subprojects/gst-plugins-base/gst-libs/gst/sdp -L native=/mnt/gstreamer.build/subprojects/gstreamer/gst -L native=/mnt/gstreamer.build/subprojects/gst-plugins-base/gst-libs/gst/video -L native=/mnt/gstreamer.build/subprojects/gstreamer/libs/gst/base -L native=/mnt/gstreamer.build/subprojects/gstreamer/gst -L native=/mnt/gstreamer.build/subprojects/gst-plugins-bad/gst-libs/gst/webrtc -L native=/mnt/gstreamer.build/subprojects/gstreamer/libs/gst/base -L native=/mnt/gstreamer.build/subprojects/gstreamer/gst` (signal: 9, SIGKILL: kill)
warning: build failed, waiting for other jobs to finish...
Error: CliError { error: Some(1 job failed), exit_code: 101 }
FAILED: subprojects/gst-plugins-rs/libgstrsaudiofx.so subprojects/gst-plugins-rs/libgstclaxon.so subprojects/gst-plugins-rs/libgstlewton.so subprojects/gst-plugins-rs/libgstspotify.so subprojects/gst-plugins-rs/libgstrsfile.so subprojects/gst-plugins-rs/libgstthreadshare.so subprojects/gst-plugins-rs/libgstrsinter.so subprojects/gst-plugins-rs/libgstmp4.so subprojects/gst-plugins-rs/libgstfmp4.so subprojects/gst-plugins-rs/libgstaws.so subprojects/gst-plugins-rs/libgsthlssink3.so subprojects/gst-plugins-rs/libgstndi.so subprojects/gst-plugins-rs/libgstrsonvif.so subprojects/gst-plugins-rs/libgstraptorq.so subprojects/gst-plugins-rs/libgstreqwest.so subprojects/gst-plugins-rs/libgstrsrtsp.so subprojects/gst-plugins-rs/libgstrsrtp.so subprojects/gst-plugins-rs/libgstwebrtchttp.so subprojects/gst-plugins-rs/libgstrswebrtc.so subprojects/gst-plugins-rs/libgsttextahead.so subprojects/gst-plugins-rs/libgstjson.so subprojects/gst-plugins-rs/libgstregex.so subprojects/gst-plugins-rs/libgsttextwrap.so subprojects/gst-plugins-rs/libgstrstracers.so subprojects/gst-plugins-rs/libgsturiplaylistbin.so subprojects/gst-plugins-rs/libgstcdg.so subprojects/gst-plugins-rs/libgstrsclosedcaption.so subprojects/gst-plugins-rs/libgstffv1.so subprojects/gst-plugins-rs/libgstrsflv.so subprojects/gst-plugins-rs/libgstgif.so subprojects/gst-plugins-rs/libgsthsv.so subprojects/gst-plugins-rs/libgstrspng.so subprojects/gst-plugins-rs/libgstrav1e.so subprojects/gst-plugins-rs/libgstrsvideofx.so subprojects/gst-plugins-rs/libgstfallbackswitch.so subprojects/gst-plugins-rs/libgstlivesync.so subprojects/gst-plugins-rs/libgsttogglerecord.so subprojects/gst-plugins-rs/libgstrswebp.so subprojects/gst-plugins-rs/libgstsodium.so 
env NASM=/usr/local/bin/nasm PKG_CONFIG=/usr/bin/pkg-config PKG_CONFIG_PATH=/opt/scorer/lib/pkgconfig:/opt/miniconda/lib/pkgconfig:/opt/miniconda/share/pkgconfig 'RUSTC=rustc -C linker=cc' /opt/miniconda/bin/python3.11 /mnt/gstreamer/subprojects/gst-plugins-rs/cargo_wrapper.py build /mnt/gstreamer.build/subprojects/gst-plugins-rs /mnt/gstreamer/subprojects/gst-plugins-rs /mnt/gstreamer.build release /opt/scorer lib --packages gst-plugin-audiofx gst-plugin-claxon gst-plugin-lewton gst-plugin-spotify gst-plugin-file gst-plugin-threadshare gst-plugin-inter gst-plugin-mp4 gst-plugin-fmp4 gst-plugin-aws gst-plugin-hlssink3 gst-plugin-ndi gst-plugin-onvif gst-plugin-raptorq gst-plugin-reqwest gst-plugin-rtsp gst-plugin-rtp gst-plugin-webrtchttp gst-plugin-webrtc gst-plugin-textahead gst-plugin-json gst-plugin-regex gst-plugin-textwrap gst-plugin-tracers gst-plugin-uriplaylistbin gst-plugin-cdg gst-plugin-closedcaption gst-plugin-ffv1 gst-plugin-flavors gst-plugin-gif gst-plugin-hsv gst-plugin-png gst-plugin-rav1e gst-plugin-videofx gst-plugin-fallbackswitch gst-plugin-livesync gst-plugin-togglerecord gst-plugin-webp gst-plugin-sodium --depfile subprojects/gst-plugins-rs/gst-plugins-rs.dep --lib-suffixes so --features glib/v2_72 gio/v2_72 gst-plugin-rav1e/asm gst/v1_22 gst-video/v1_22 gst-sdp/v1_22 gst-app/v1_22 gst-rtp/v1_22 gst-webrtc/v1_22 gst/v1_22 clap gst/v1_20 serde serde_json clap --disable-doc
ninja: build stopped: subcommand failed.
----------------------------------------
[ ERROR(1) ]

To Reproduce Please include your meson.build files, preferably as a minimal toy example showing the issue. You may need to create simple source code files (don't include private/proprietary code). Rust environment_build_logs.log

System parameters

Kernel

uname -a
Linux DEB-HYPERV-3b058ba093d 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux

CPU

root@DEB-HYPERV-3b058ba093d:# lscpu 
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Vendor ID:               GenuineIntel
  BIOS Vendor ID:        Intel(R) Corporation
  Model name:            Intel(R) N100
    BIOS Model name:     Intel(R) N100 None CPU @ 2.8GHz
    BIOS CPU family:     1
    CPU family:          6
    Model:               190
    Thread(s) per core:  1
    Core(s) per socket:  4
    Socket(s):           1
    Stepping:            0
    BogoMIPS:            1612.79

Observations:

tesuji commented 6 months ago

AFAICT this is not a bug in the compiler. Please fire the issue on gst-plugins-rs instead. Also from the build log, the build seems to fall because rustc didn't not exit with status 0. But rustc in that case only generated 2 warnings. You might check that your meson build doesn't deny warnings or whatever.

@rustbot label -needs-triage

8051Enthusiast commented 6 months ago

The log says that rustc was killed by (signal: 9, SIGKILL: kill). Have you checked your kernel logs whether it was killed by the OOM killer/there was some event that caused the kernel to kill the process?

fti-sfuke commented 1 month ago

Closing as a Platform specific issue. Build succeeded for gst-plugins-rs Subproject with meson 0.61.2-1 on another Intel N100 CPU