[Bug 789481] New: gst-plugins-bad fails to build against openjpeg2 2.3.0

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 25 13:20:21 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=789481

            Bug ID: 789481
           Summary: gst-plugins-bad fails to build against openjpeg2 2.3.0
    Classification: Platform
           Product: GStreamer
           Version: 1.12.3
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: florent.thiery at ubicast.eu
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Trying to rebuild gst-plugins-bad on arch using the distro package, and it
doesn't build anymore due to openjpeg2 being at version 2.3.0 instead of the
version gst-plugins-bad apparently expects (2.2):

In file included from gstopenjpegdec.h:29:0,
                 from gstopenjpegdec.c:27:
gstopenjpeg.h:42:12: fatal error: openjpeg-2.2/openjpeg.h: No such file or
directory
 #  include <openjpeg-2.2/openjpeg.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

While patching /ext/openjpeg/gstopenjpeg.h from include
<openjpeg-2.2/openjpeg.h> to include <openjpeg-2.3/openjpeg.h> could work, what
is the proper way to fix this ?

These are all headers included in the openjpeg2 package:

openjpeg2 /usr/include/
openjpeg2 /usr/include/openjpeg-2.3/
openjpeg2 /usr/include/openjpeg-2.3/openjpeg.h
openjpeg2 /usr/include/openjpeg-2.3/opj_config.h
openjpeg2 /usr/include/openjpeg-2.3/opj_stdint.h
openjpeg2 /usr/share/doc/openjpeg2/html/opj__includes_8h.html
openjpeg2 /usr/share/doc/openjpeg2/html/opj__includes_8h_source.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list