[Bug 794912] New: gst-libav: configure exits with no error status if configuring internal libav fails

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 2 21:50:45 UTC 2018


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

            Bug ID: 794912
           Summary: gst-libav: configure exits with no error status if
                    configuring internal libav fails
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-libav
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: a.j.buxton at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Here the configure for gst-libav runs the configure for libav:

https://cgit.freedesktop.org/gstreamer/gst-libav/tree/configure.ac#n464

If for some reason the libav configuration fails, the gst-libav configuration
does not return an error status. This means if you are building from a script
or Makefile, then that script will not realise that an error has occured and
will continue to attempt to build gst-libav, with undefined results.

I encountered this in the context of 39df65e8a27496650ea7c36d8d91f48b770ec46a.
If I try to build from the commit prior to this one, libav configure will fail
as it cannot find gas-preprocessor. Despite this, attempting to compile
gst-libav still "succeeds" - in the sense that it also does not return an
error. I have no idea what it actually produces, but my build scripts happily
pack it up and report success.

-- 
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