nirbheek / cerbero-old Goto Github PK
View Code? Open in Web Editor NEWFork of the GStreamer SDK with support for building OpenWebRTC
License: GNU Lesser General Public License v2.1
Fork of the GStreamer SDK with support for building OpenWebRTC
License: GNU Lesser General Public License v2.1
Downloading http://optimate.dl.sourceforge.net/project/openjpeg.mirror/1.5.2/openjpeg-1.5.2.tar.gz
Running command 'curl -L -k http://optimate.dl.sourceforge.net/project/openjpeg.mirror/1.5.2/openjpeg-1.5.2.tar.gz -o /Users/stefan/cerbero/sources/local/openjpeg-1.5.2/openjpeg-1.5.2.tar.gz '
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:46 --:--:-- 0curl: (56) Recv failure: Operation timed out
Traceback (most recent call last):
File "./cerbero-uninstalled", line 9, in <module>
main()
File "./cerbero/main.py", line 130, in main
Main(sys.argv[1:])
File "./cerbero/main.py", line 55, in __init__
self.run_command()
File "./cerbero/main.py", line 105, in run_command
res = commands.run(command, self.config, self.args)
File "./cerbero/commands/__init__.py", line 78, in run
return _commands[command].run(config, args)
File "./cerbero/commands/fetch.py", line 92, in run
args.reset_rdeps, args.full_reset)
File "./cerbero/commands/fetch.py", line 53, in fetch
recipe.fetch()
File "./cerbero/build/source.py", line 106, in fetch
shell.download(self.url, self.download_path, check_cert=False)
File "./cerbero/utils/shell.py", line 279, in download_curl
os.remove(destination)
OSError: [Errno 2] No such file or directory: '/Users/stefan/cerbero/sources/local/openjpeg-1.5.2/openjpeg-1.5.2.tar.gz'
Hi there,
Here are the following steps that ended up in a build failure:
/Users/patrick.hetroy/cerbero/sources/android_armv7/gettext-0.18.3.2/gettext-runtime': configure: error: C compiler cannot create executables See
config.log' for more detailsRecipe 'gettext' failed at the build step 'configure'
Do you know why the C compiler breaks this with the latest code?
Thanks a lot!
Trying to build it with cerebro on a mac 10.9, got a failure message:
/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -DG_LOG_DOMAIN="GLib" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -xobjective-c -D_REENTRANT -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/kerwinma/cerbero/build-tools/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/kerwinma/cerbero/build-tools/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DHAVE_STRNDUP -MT libglib_2_0_la-gmain.lo -MD -MP -MF .deps/libglib_2_0_la-gmain.Tpo -c -o libglib_2_0_la-gmain.lo test -f 'gmain.c' || echo './'
gmain.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -DG_LOG_DOMAIN="GLib" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -xobjective-c -D_REENTRANT -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/kerwinma/cerbero/build-tools/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/kerwinma/cerbero/build-tools/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DHAVE_STRNDUP -MT libglib_2_0_la-gmain.lo -MD -MP -MF .deps/libglib_2_0_la-gmain.Tpo -c gmain.c -fno-common -DPIC -o .libs/libglib_2_0_la-gmain.o
gmain.c:5980:40: error: use of undeclared identifier 'NSEventSubtype'; did you mean 'NSEventType'?
subtype: GMAIN_COCOA_EVENT_SUBTYPE_EVENTLOOP
^
gmain.c:507:47: note: expanded from macro 'GMAIN_COCOA_EVENT_SUBTYPE_EVENTLOOP'
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:56:20: note: 'NSEventType' declared here
typedef NSUInteger NSEventType;
^
gmain.c:6316:26: error: use of undeclared identifier 'NSEventSubtype'; did you mean 'NSEventType'?
[event subtype] == GMAIN_COCOA_EVENT_SUBTYPE_EVENTLOOP)
^
gmain.c:507:47: note: expanded from macro 'GMAIN_COCOA_EVENT_SUBTYPE_EVENTLOOP'
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:56:20: note: 'NSEventType' declared here
typedef NSUInteger NSEventType;
^
2 errors generated.
make[4]: *** [libglib_2_0_la-gmain.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Running command 'make'
Recipe 'glib' failed at the build step 'compile'
Select an action to proceed:
Trying to build it for Android on ubuntu 14.04 server, get the following error. I tried to find the 'typeinfo' file as specified '-I/home/kerwin/cerbero/android-ndk-r10d/platforms/android-9/arch-arm/usr/include', no such file. Is it the known issue? Seems there is someone has successfully complied OpenwebRTC for android.
make[1]: Entering directory /home/kerwin/cerbero/sources/android_armv7/icu/source/common' arm-linux-androideabi-g++ ... ustrenum.cpp In file included from ustrenum.cpp:11:0: utypeinfo.h:28:45: fatal error: typeinfo: No such file or directory #include <typeinfo> // for 'typeid' to work ^ compilation terminated. *** Failed compilation command follows: ---------------------------------------------------------- arm-linux-androideabi-g++ -fuse-ld=gold --sysroot=/home/kerwin/cerbero/android-ndk-r10d/platforms/android-9/arch-arm -I/home/kerwin/cerbero/android-ndk-r10d/platforms/android-9/arch-arm/usr/include -DANDROID -DPIC -D__ARM_ARCH_7A__ -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_STD_STRING=0 -DU_HAVE_ATOMIC=0 -DU_DISABLE_RENAMING=1 -I. -DDEFAULT_ICU_PLUGINS="/home/kerwin/cerbero/dist/android_armv7/lib/icu" -DU_ATTRIBUTE_DEPRECATED= -DU_COMMON_IMPLEMENTATION -Wall -g -Os --sysroot=/home/kerwin/cerbero/android-ndk-r10d/platforms/android-9/arch-arm -I/home/kerwin/cerbero/android-ndk-r10d/platforms/android-9/arch-arm/usr/include -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -fPIC -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -DANDROID -DPIC -D__ARM_ARCH_7A__ -Wa,--noexecstack -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long --std=c++0x -c -o ustrenum.ao ustrenum.cpp --- ( rebuild with "make VERBOSE=1 all" to show all parameters ) -------- make[1]: *** [ustrenum.ao] Error 1 make[1]: Leaving directory
/home/kerwin/cerbero/sources/android_armv7/icu/source/common'
make: *** [all-recursive] Error 2
Running command 'make'
I get the following error when running ./cerbero-uninstalled -c config/cross-ios-universal.cbc package openwebrtc
with 2b6b7ae:
[(31/33) openwebrtc-gst-plugins -> configure ]
...
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_library_init in -lssl... no
configure: error: You need OpenSSL for the build
Running command 'mkdir -p m4 && autoreconf -fiv'
Running command './configure --prefix /Users/justin/cerbero/dist/ios_universal --libdir /Users/justin/cerbero/dist/ios_universal/lib --enable-shared --enable-static --disable-debug --disable-static-plugins --disable-android-plugins --disable-osx-plugins --disable-linux-plugins --disable-colorspace-converter --disable-maintainer-mode --disable-silent-rules --disable-introspection --host=arm-apple-darwin10 --disable-maintainer-mode --disable-silent-rules --disable-introspection --host=arm-apple-darwin10'
***** Error running 'package' command:
Recipe 'openwebrtc-gst-plugins' failed at the build step 'configure'
I am stopped with last step and trying to figure out the reason now. Please advise if you had the same issue before.
I got the error on ubuntu server 14.10 64bit when build openwebrtc cerbero.
~/cerbero$ ./cerbero-uninstalled package openwebrtc
dpkg-shlibdeps: error: no dependency information found for /home/kerwin/cerbero/dist/linux_x86_64/lib/libusrsctp.so.1 (used by debian/openwebrtc-base/home/kerwin/cerbero/dist/linux_x86_64/lib/gstreamer-1.0/libgstsctp.so)
[(30/33) libusrsctp -> fetch ]
-----> Step done
[(30/33) libusrsctp -> extract ]
-----> Step done
[(30/33) libusrsctp -> configure ]
Recipe 'libusrsctp' failed at the build step 'configure'
Traceback (most recent call last):
File "./cerbero/build/oven.py", line 143, in _cook_recipe
stepfunc()
File "./cerbero/build/recipe.py", line 266, in
setattr(cls, step, lambda self, name=step: step_func(self, name))
File "./cerbero/build/recipe.py", line 411, in _do_step
stepfunc()
File "/Users/kerwin.ma/cerbero/recipes/libusrsctp.recipe", line 42, in configure
os.path.join(usrsctplib_path, "platform/net"))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 171, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '/Applications/Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/net'
Hi there,
Still going through the steps in this documentation:
https://github.com/EricssonResearch/openwebrtc/wiki/Building-OpenWebRTC-with-Cerbero
I just tried a clean build and running this command, I get the recipe 'openwebrtc' failed message:
./cerbero-uninstalled -c config/cross-android-armv7.cbc package openwebrtc
Do you know if there's any additional steps I may have to do?
Thanks!
Recipe 'openwebrtc' failed at the build step 'configure'
Traceback (most recent call last):
File "./cerbero/build/oven.py", line 143, in _cook_recipe
stepfunc()
File "/Users/phetroy/Workspaces/cerbero/recipes/openwebrtc.recipe", line 130, in configure
os.chdir(gir_file_path)
OSError: [Errno 2] No such file or directory: '/Users/phetroy/cerbero/dist/android_armv7/../darwin_x86_64/share/gir-1.0'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.