Recipe 'glib' failed at the build step 'merge'

Florian Saurs floriansaurs at hotmail.fr
Thu Dec 6 22:10:31 UTC 2018


Hi all, 

I want to publish an app on the IOS AppStore but got :

// 
*Non-public API usage:* 

The app references non-public symbols in Project: 
_getcontext, _makecontext, _setcontext 
// 

I then red the message Brendan Shanks on 
http://gstreamer-devel.966125.n4.nabble.com/iOS-AppStore-non-public-API-usage-td4687120.html
<http://gstreamer-devel.966125.n4.nabble.com/iOS-AppStore-non-public-API-usage-td4687120.html>  
about having a one line change in the cerbero recipe.

I did a "cerbero bootstrap" which worked great and then a 
"cerbero -c config/cross-ios-universal.cbc package gstreamer-1.0" which
fails here is the log :

Building the following recipes: libffi zlib proxy-libintl glib gstreamer-1.0
libxml2 libogg libpng pixman expat bzip2 freetype fontconfig cairo fribidi
harfbuzz pango libvorbis libtheora libvisual orc opus graphene libjpeg-turbo
tremor gst-plugins-base-1.0 gst-shell speex tiff gdk-pixbuf gmp nettle
libtasn1 bionic-fixup gnutls glib-networking libsoup mpg123 lame wavpack
flac taglib libvpx libdv gst-plugins-good-1.0 libass libkate openh264
librtmp libsrtp libdca libmms libnice soundtouch vo-aacenc libcroco librsvg
openjpeg openssl spandsp webrtc-audio-processing sbc ladspa srt libusrsctp
gst-plugins-bad-1.0 a52dec opencore-amr x264 gst-plugins-ugly-1.0
gstreamer-ios-templates json-glib ca-certificates gst-rtsp-server-1.0 ffmpeg
gst-libav-1.0 gst-validate gst-editing-services-1.0
[(1/78) libffi -> already built ]
[(2/78) zlib -> already built ]
[(3/78) proxy-libintl -> already built ]
[(4/78) glib -> fetch ]
-----> Fetching tarball
https://download.gnome.org/sources/glib/2.56/glib-2.56.1.tar.xz to
/Users/Saursinet/.cache/cerbero-sources/glib-2.56.1/glib-2.56.1.tar.xz
File /Users/Saursinet/.cache/cerbero-sources/glib-2.56.1/glib-2.56.1.tar.xz
already downloaded.
[(4/78) glib -> extract ]
-----> Extracting tarball to
/Users/Saursinet/cerbero/build/sources/ios_universal/armv7/glib-2.56.1
Unpacking
/Users/Saursinet/.cache/cerbero-sources/glib-2.56.1/glib-2.56.1.tar.xz in
/Users/Saursinet/cerbero/build/sources/ios_universal/armv7
-----> Extracting tarball to
/Users/Saursinet/cerbero/build/sources/ios_universal/x86/glib-2.56.1
Unpacking
/Users/Saursinet/.cache/cerbero-sources/glib-2.56.1/glib-2.56.1.tar.xz in
/Users/Saursinet/cerbero/build/sources/ios_universal/x86
-----> Extracting tarball to
/Users/Saursinet/cerbero/build/sources/ios_universal/armv7s/glib-2.56.1
Unpacking
/Users/Saursinet/.cache/cerbero-sources/glib-2.56.1/glib-2.56.1.tar.xz in
/Users/Saursinet/cerbero/build/sources/ios_universal/armv7s
[(4/78) glib -> configure ]
[(4/78) glib -> compile ]
[(4/78) glib -> install ]
[(4/78) glib -> post_install ]
[(4/78) glib -> merge ]
Recipe 'glib' failed at the build step 'merge'
Traceback (most recent call last):
  File "./cerbero/build/oven.py", line 145, in _cook_recipe
    stepfunc()
  File "./cerbero/build/recipe.py", line 557, in merge
    generator.merge_files(inputs, dirs)
  File "./cerbero/tools/osxuniversalgenerator.py", line 91, in merge_files
    self.do_merge(f, dirs)
  File "./cerbero/tools/osxuniversalgenerator.py", line 156, in do_merge
    action = self._detect_merge_action(full_filepaths)
  File "./cerbero/tools/osxuniversalgenerator.py", line 130, in
_detect_merge_action
    ftype = self.get_file_type(f)
  File "./cerbero/tools/osxuniversalgenerator.py", line 122, in
get_file_type
    return self._call(cmd)[0:-1] #remove trailing \n
  File "./cerbero/tools/osxuniversalgenerator.py", line 236, in _call
    output = output.decode(sys.stdout.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 187:
invalid continuation byte
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

I am on mac os Mojave 10.14.2 and cannot find any workaround.

Does anyone have any ideas how I may solve this? 

Cheers 
Florian



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list