After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 782716 - Openh264 build failed using cerbero build for android-universal
Openh264 build failed using cerbero build for android-universal
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.2.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-17 01:54 UTC by Kim Jonathan
Modified: 2018-05-07 15:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kim Jonathan 2017-05-17 01:54:12 UTC
openh264 build failed while compiling for android-universal recipe using cerbero.
error logs are:
yasm -DX86_32 -f elf -I./codec/common/x86/   -o codec/common/x86/cpuid.o codec/common/x86/cpuid.asm
yasm -DX86_32 -f elf -I./codec/common/x86/   -o codec/common/x86/dct.o codec/common/x86/dct.asm
codec/common/x86/dct.asm:897: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:897: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:900: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:900: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:903: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:903: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:906: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:906: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:951: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:951: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:954: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:954: error: invalid combination of opcode and operands
make: *** [codec/common/x86/dct.o] Error 1
make: *** Waiting for unfinished jobs....

Recipe 'openh264' failed at the build step 'compile'
Comment 1 Sebastian Dröge (slomo) 2017-05-17 07:22:37 UTC
Which version of cerbero are you using, do you have any custom configuration, and which Android NDK?
Comment 2 Kim Jonathan 2017-05-17 14:19:51 UTC
I am not using any custom configuration and Android NDK version is:android-ndk-r13b. the command I used for build is below:
./cerbero-uninstalled -c config/android-universal.cbs package gstreamer-1.0
Comment 3 Kim Jonathan 2017-05-19 03:43:46 UTC
Any update on this ??
Comment 4 Nicolas Dufresne (ndufresne) 2017-05-19 06:48:29 UTC
That is strange, I have done this build from scratch few days ago and didn't had this issue. Did you run bootstrap without config first ? What Linux distribution is this running on ? (If Linux, what OS version otherwise)
Comment 5 Kim Jonathan 2017-05-19 14:52:46 UTC
(In reply to Nicolas Dufresne (stormer) from comment #4)
> That is strange, I have done this build from scratch few days ago and didn't
> had this issue. Did you run bootstrap without config first ? What Linux
> distribution is this running on ? (If Linux, what OS version otherwise)

I am using Ububtu 14.04 LTS 64bit distribution. Steps I followed is:
./cerbero-uninstalled -c config/cross-android-universal.cbc bootstrap
./cerbero-uninstalled -c config/android-universal.cbc package gstreamer-1.0

if wrong, can you please tell me right steps ??
Comment 6 Jan Schmidt 2017-05-19 15:24:00 UTC
you should use the same android config (cross-android-universal.cbc) for both commands
Comment 7 Kim Jonathan 2017-05-19 15:47:30 UTC
(In reply to Jan Schmidt from comment #6)
> you should use the same android config (cross-android-universal.cbc) for
> both commands

ohh. that is a typing mistake. there is nothing like android-universal.cbc, actually I used same config for both commands.
Comment 8 Jan Schmidt 2017-05-20 09:10:21 UTC
Confirming that I was able to complete this build fine today on Fedora 25, so I suspect it's related to the underlying distro, but I'm not sure how that could be interacting here.
Comment 9 Kim Jonathan 2017-05-20 13:33:23 UTC
(In reply to Jan Schmidt from comment #8)
> Confirming that I was able to complete this build fine today on Fedora 25,
> so I suspect it's related to the underlying distro, but I'm not sure how
> that could be interacting here.

Please give me steps from scratch to build on Fedora 25. By the time, I am trying
to build on Ubuntu 16.04 64 bit (Virtual machine)here. The steps I am using is:
  git clone git://anongit.freedesktop.org/gstreamer/cerbero (Done)
  git checkout Gstreamer version 1.12 (Done)
  ./cerbero-uninstall bootstrap (Done)
  ./cerbero-uninstall -c config/cross-android-universal.cbc bootstrap (Running)
  ./cerbero-uninstall -c config/cross-android-universal.cbc package gstreamer-1.0
Comment 10 Jan Schmidt 2017-05-20 14:04:16 UTC
Yes, those.
Comment 11 Kim Jonathan 2017-05-21 04:49:39 UTC
It took whole night and build completed SUCCESSFULLY with following warning messages. I modified config to support minimum android version is JELLY_BEAN.
------------
WARNING: No specific packager available for the distro version android_jelly_bean, using generic packager for distro android
-----> Creating package for gstreamer-1.0
WARNING: Some libraries weren't found while searching!
libvpx
WARNING: Some libraries weren't found while searching!
libgnutlsxx
-----> Package successfully created in 
/home/~/cerbero/gstreamer-1.0-android-universal-1.12.0.1-runtime.tar.bz2 
/home/~/cerbero/gstreamer-1.0-android-universal-1.12.0.1.tar.bz2
-------------------
Comment 12 Jan Schmidt 2017-05-22 14:39:00 UTC
If anyone has any idea how the underlying distro might result in the error above, that'd be good to know.
Comment 13 Sebastian Dröge (slomo) 2018-05-07 15:55:28 UTC
it sounds like this is not happening anymore? Please reopen otherwise with more details about the environment where it happens and how to reproduce