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 770698 - video-orc.orc doesn't compile with orc 0.4.23
video-orc.orc doesn't compile with orc 0.4.23
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.9.1
Other Linux
: Normal minor
: 1.9.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-01 09:36 UTC by Jonathan Miles
Modified: 2016-09-30 07:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonathan Miles 2016-09-01 09:36:29 UTC
Building a recent gst-plugins-base (fb9bddd81e08925b329430a0ede9f8e2ef8a0bc5) fails with:

orcc --compat 0.4.23 --implementation --include glib.h -o tmp-orc.c gst-libs/gst/video/video-orc.orc
| ORC: ERROR: orc-0.4.23/orc/orcbytecode.c(251): bytecode_append_int(): assertion failed: value >= 0
| In function video_orc_convert_I420_BGRA:
| error: variable "(null)" used before being written
| In function video_orc_convert_I420_ARGB:
| error: variable "(null)" used before being written
| Failed to compile no orc for 'video_orc_convert_I420_BGRA'
| Failed to compile backup code for 'video_orc_convert_I420_BGRA'

The offending instruction appears to be 'x4 addb argb, x, c4128', which was introduced in: a12f51c video-converter: add more fastpaths for I420 -> RGB
  
Upgrading to orc 0.4.25 fixes the problem.
Comment 1 Sebastian Dröge (slomo) 2016-09-01 09:39:06 UTC
Should be one of the .24 changes that is needed here. Thanks for reporting.

commit 6f9fedd8577459212e7a1659349cf567b358a4c1
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Thu Sep 1 12:38:14 2016 +0300

    configure: Require orc >= 0.4.24
    
    Needed for being able to compile video.orc
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770698