gst-plugins-bad add faad -> No module named 'mesonbuild.mesonmain'
Hey,
I got an issue while I'm running ./cerbero-uninstalled -c config/cross-ios-universal.cbc package gstreamer-1.0
The thing is that I needed the plugins faad
in gst-plugins-bad
so I changed the content of the gst-plugins-bad.recipe
and added the faad.recipe
the same way as it's implemented in the gstreamer-1.14 (last version with faad).
I ran the command ./cerbero-uninstall -c config/cross-ios-universal.cbc buildone faad
and everything worked. (before any modification I ran this command and it worked)
Then I tried ./cerbero-uninstalled -c config/cross-ios-universal.cbc package gstreamer-1.0
and i get the issue just below.
Building the following arches: arm64 x86_64
Building the following recipes: libffi zlib proxy-libintl glib gstreamer-1.0 libogg libpng pixman expat bzip2 freetype fontconfig cairo fribidi harfbuzz pango libvorbis libtheora orc opus graphene libjpeg-turbo tremor gst-plugins-base-1.0 gst-shell speex tiff gdk-pixbuf libxml2 ca-certificates openssl glib-networking libpsl libsoup mpg123 lame wavpack flac taglib libvpx libdv gst-plugins-good-1.0 libass faad2 libkate openh264 librtmp libsrtp libdca libmms libnice soundtouch vo-aacenc libcroco librsvg openjpeg spandsp webrtc-audio-processing sbc ladspa srt zbar moltenvk gst-plugins-bad-1.0 a52dec opencore-amr x264 gst-plugins-ugly-1.0 ffmpeg gst-libav-1.0 json-glib gst-rtsp-server-1.0 gst-devtools-1.0 gst-editing-services-1.0 gstreamer-ios-templates sqlite3
Building using 4 job(s) with the following job subdivisions: 4 general job(s)
[(1/76) zlib -> already built]
[(2/76) libpng -> already built]
[(3/76) libffi -> already built]
[(4/76) proxy-libintl -> already built]
[(5/76) glib -> already built]
[(6/76) libogg -> already built]
[(7/76) expat -> already built]
[(8/76) pixman -> already built]
[(9/76) ca-certificates -> already built]
[(10/76) openssl -> already built]
[(11/76) bzip2 -> already built]
[(12/76) freetype -> already built]
[(13/76) fontconfig -> already built]
[(14/76) fribidi -> already built]
[(15/76) cairo -> already built]
[(16/76) libjpeg-turbo -> already built]
[(17/76) libvorbis -> already built]
[(18/76) libtheora -> already built]
[(19/76) gstreamer-1.0 -> already built]
[(20/76) opus -> already built]
[(21/76) orc -> already built]
[(22/76) tremor -> already built]
[(23/76) graphene -> already built]
[(24/76) libxml2 -> already built]
[(25/76) harfbuzz -> already built]
[(26/76) pango -> already built]
[(27/76) tiff -> already built]
[(28/76) spandsp -> already built]
[(29/76) gdk-pixbuf -> already built]
[(30/76) libcroco -> already built]
[(31/76) gst-plugins-base-1.0 -> already built]
[(32/76) speex -> already built]
[(33/76) libmms -> already built]
[(34/76) ladspa -> already built]
[(35/76) openjpeg -> already built]
[(36/76) libsrtp -> already built]
[(37/76) sbc -> already built]
[(38/76) libass -> already built]
[(39/76) openh264 -> already built]
[(40/76) soundtouch -> already built]
[(41/76) vo-aacenc -> already built]
[(42/76) zbar -> already built]
[(43/76) librsvg -> already built]
[(44/76) libkate -> already built]
[(45/76) srt -> already built]
[(46/76) libnice -> already built]
[(47/76) librtmp -> already built]
[(48/76) faad2 -> already built]
[(49/76) libdca -> already built]
[(50/76) moltenvk -> already built]
[(51/76) libdv -> already built]
[(52/76) flac -> already built]
[(53/76) webrtc-audio-processing -> already built]
[(54/76) json-glib -> already built]
[(55/76) libpsl -> already built]
[(56/76) glib-networking -> already built]
[(57/76) libsoup -> already built]
[(58/76) opencore-amr -> already built]
[(59/76) wavpack -> already built]
[(60/76) lame -> already built]
[(61/76) mpg123 -> already built]
[(62/76) taglib -> already built]
[(63/76) libvpx -> already built]
[(64/76) gst-plugins-good-1.0 -> already built]
[(65/76) x264 -> already built]
[(66/76) ffmpeg -> already built]
[(67/76) a52dec -> already built]
[(68/76) gst-libav-1.0 -> already built]
[(69/76) gst-plugins-ugly-1.0 -> already built]
[(70/76) gst-shell -> already built]
[(71/76) sqlite3 -> already built]
-----> Contents of /Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/logs/ios_arm64/gst-plugins-bad-1.0-fetch.log:
Running command ['git', 'remote', 'add', 'origin', 'https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git']
fatal: remote origin already exists.
Running command ['git', 'remote', 'set-url', 'origin', 'https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git']
Running command 'git fetch --all'
Fetching origin
Running command 'git fetch --all --tags -f'
Fetching origin
Running command 'git reset --hard origin/master'
HEAD is now at 5c31aeaaa doc: player: mention that get_pipeline method needs unref
Running command ['git', 'submodule', 'init']
Running command 'git submodule sync'
Running command 'git submodule update'
-----> Contents of /Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/logs/ios_arm64/gst-plugins-bad-1.0-configure.log:
Running command '/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/build-tools/bin/meson --prefix=/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/dist/ios_universal/arm64 --libdir=lib -Ddebug=true --default-library=both -Doptimization=s --backend=ninja --wrap-mode=nodownload --cross-file /Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/sources/ios_universal/arm64/gst-plugins-bad-1.0-1.19.0.1/_builddir/meson-cross-file.txt --native-file /Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/sources/ios_universal/arm64/gst-plugins-bad-1.0-1.19.0.1/_builddir/meson-native-file.txt -Dassrender=enabled -Dbz2=enabled -Dclosedcaption=enabled -Ddash=enabled -Ddecklink=enabled -Ddtls=enabled -Ddts=enabled -Dfaad=enabled -Dhls=enabled -Dhls-crypto=openssl -Dkate=enabled -Dladspa=auto -Dlibmms=enabled -Dnvcodec=disabled -Dopenh264=enabled -Dopenjpeg=enabled -Dopus=enabled -Drtmp=enabled -Drtmp2=enabled -Dsbc=enabled -Dsctp=enabled -Dsctp-internal-usrsctp=enabled -Dsoundtouch=enabled -Dsrt=enabled -Dspandsp=enabled -Dsrtp=enabled -Dresindvd=disabled -Drsvg=enabled -Dvoaacenc=enabled -Dvulkan=enabled -Dwebrtc=enabled -Dwebrtcdsp=enabled -Dzbar=enabled -Dcurl=disabled -Dcurl-ssh2=disabled -Ddc1394=disabled -Ddirectfb=disabled -Dfaac=disabled -Dfbdev=disabled -Dfestival=disabled -Dflite=disabled -Dgme=disabled -Dgsm=disabled -Dlibde265=disabled -Dlv2=disabled -Dmodplug=disabled -Dmpeg2enc=disabled -Dmplex=disabled -Dmusepack=disabled -Dneon=disabled -Dofa=disabled -Dopenal=disabled -Dopencv=disabled -Dsndfile=disabled -Dteletext=disabled -Dvoamrwbenc=disabled -Dwildmidi=disabled -Dmsdk=disabled -Dva=disabled -Dmediafoundation=disabled -Dshm=enabled -Dapplemedia=enabled -Dintrospection=disabled -Dexamples=disabled -Db_bitcode=true'
Traceback (most recent call last):
File "/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/build-tools/bin/meson", line 33, in <module>
sys.exit(load_entry_point('meson==0.55.3', 'console_scripts', 'meson')())
File "/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/build-tools/bin/meson", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/local/Cellar/python@3.8/3.8.6/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/local/Cellar/python@3.8/3.8.6/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'mesonbuild.mesonmain'
-----> Contents of /Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/logs/ios_x86_64/gst-plugins-bad-1.0-configure.log:
Running command '/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/build-tools/bin/meson --prefix=/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/dist/ios_universal/x86_64 --libdir=lib -Ddebug=true --default-library=both -Doptimization=s --backend=ninja --wrap-mode=nodownload --cross-file /Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/sources/ios_universal/x86_64/gst-plugins-bad-1.0-1.19.0.1/_builddir/meson-cross-file.txt --native-file /Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/sources/ios_universal/x86_64/gst-plugins-bad-1.0-1.19.0.1/_builddir/meson-native-file.txt -Dassrender=enabled -Dbz2=enabled -Dclosedcaption=enabled -Ddash=enabled -Ddecklink=enabled -Ddtls=enabled -Ddts=enabled -Dfaad=enabled -Dhls=enabled -Dhls-crypto=openssl -Dkate=enabled -Dladspa=auto -Dlibmms=enabled -Dnvcodec=disabled -Dopenh264=enabled -Dopenjpeg=enabled -Dopus=enabled -Drtmp=enabled -Drtmp2=enabled -Dsbc=enabled -Dsctp=enabled -Dsctp-internal-usrsctp=enabled -Dsoundtouch=enabled -Dsrt=enabled -Dspandsp=enabled -Dsrtp=enabled -Dresindvd=disabled -Drsvg=enabled -Dvoaacenc=enabled -Dvulkan=disabled -Dwebrtc=enabled -Dwebrtcdsp=enabled -Dzbar=enabled -Dcurl=disabled -Dcurl-ssh2=disabled -Ddc1394=disabled -Ddirectfb=disabled -Dfaac=disabled -Dfbdev=disabled -Dfestival=disabled -Dflite=disabled -Dgme=disabled -Dgsm=disabled -Dlibde265=disabled -Dlv2=disabled -Dmodplug=disabled -Dmpeg2enc=disabled -Dmplex=disabled -Dmusepack=disabled -Dneon=disabled -Dofa=disabled -Dopenal=disabled -Dopencv=disabled -Dsndfile=disabled -Dteletext=disabled -Dvoamrwbenc=disabled -Dwildmidi=disabled -Dmsdk=disabled -Dva=disabled -Dmediafoundation=disabled -Dshm=enabled -Dapplemedia=enabled -Dintrospection=disabled -Dexamples=disabled'
Traceback (most recent call last):
File "/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/build-tools/bin/meson", line 33, in <module>
sys.exit(load_entry_point('meson==0.55.3', 'console_scripts', 'meson')())
File "/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/build-tools/bin/meson", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/local/Cellar/python@3.8/3.8.6/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/local/Cellar/python@3.8/3.8.6/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'mesonbuild.mesonmain'
Recipe 'gst-plugins-bad-1.0' failed at the build step 'configure'
Command Error: Running ['/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/build-tools/bin/meson', '--prefix=/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/dist/ios_universal/arm64', '--libdir=lib', '-Ddebug=true', '--default-library=both', '-Doptimization=s', '--backend=ninja', '--wrap-mode=nodownload', '--cross-file', '/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/sources/ios_universal/arm64/gst-plugins-bad-1.0-1.19.0.1/_builddir/meson-cross-file.txt', '--native-file', '/Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/sources/ios_universal/arm64/gst-plugins-bad-1.0-1.19.0.1/_builddir/meson-native-file.txt', '-Dassrender=enabled', '-Dbz2=enabled', '-Dclosedcaption=enabled', '-Ddash=enabled', '-Ddecklink=enabled', '-Ddtls=enabled', '-Ddts=enabled', '-Dfaad=enabled', '-Dhls=enabled', '-Dhls-crypto=openssl', '-Dkate=enabled', '-Dladspa=auto', '-Dlibmms=enabled', '-Dnvcodec=disabled', '-Dopenh264=enabled', '-Dopenjpeg=enabled', '-Dopus=enabled', '-Drtmp=enabled', '-Drtmp2=enabled', '-Dsbc=enabled', '-Dsctp=enabled', '-Dsctp-internal-usrsctp=enabled', '-Dsoundtouch=enabled', '-Dsrt=enabled', '-Dspandsp=enabled', '-Dsrtp=enabled', '-Dresindvd=disabled', '-Drsvg=enabled', '-Dvoaacenc=enabled', '-Dvulkan=enabled', '-Dwebrtc=enabled', '-Dwebrtcdsp=enabled', '-Dzbar=enabled', '-Dcurl=disabled', '-Dcurl-ssh2=disabled', '-Ddc1394=disabled', '-Ddirectfb=disabled', '-Dfaac=disabled', '-Dfbdev=disabled', '-Dfestival=disabled', '-Dflite=disabled', '-Dgme=disabled', '-Dgsm=disabled', '-Dlibde265=disabled', '-Dlv2=disabled', '-Dmodplug=disabled', '-Dmpeg2enc=disabled', '-Dmplex=disabled', '-Dmusepack=disabled', '-Dneon=disabled', '-Dofa=disabled', '-Dopenal=disabled', '-Dopencv=disabled', '-Dsndfile=disabled', '-Dteletext=disabled', '-Dvoamrwbenc=disabled', '-Dwildmidi=disabled', '-Dmsdk=disabled', '-Dva=disabled', '-Dmediafoundation=disabled', '-Dshm=enabled', '-Dapplemedia=enabled', '-Dintrospection=disabled', '-Dexamples=disabled', '-Db_bitcode=true'] returned 1
Output in logfile /Users/AAAA/Desktop/BBBB-Work/mytest/cerbero/build/logs/ios_arm64/gst-plugins-bad-1.0-configure.log
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort
4
***** Error running 'package' command: