[Bug 796009] New: Cerbero builds debian packages containing incorrect paths.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 10 17:29:54 UTC 2018


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

            Bug ID: 796009
           Summary: Cerbero builds debian packages containing incorrect
                    paths.
    Classification: Platform
           Product: GStreamer
           Version: 1.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: cerbero
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ding at panopto.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

This is a bug that might be fixed by documentation alone (by adding stuff to
the README file on cerbero git repo) following Matthew Thyer's solution
(described below).

I noticed a problem with the *.deb files that I generated
using Cerbero 1.12.4.  I build the files on Lubuntu 16.04, Python 2.7.12:

------------
git clone https://github.com/GStreamer/cerbero.git -b 1.12
cd cerbero
git checkout 1.12.4
./cerebro-uninstalled bootstrap \
 && ./cerebro-uninstalled package gstreamer-1.0

# *.deb files appear after a few hours
------------

When I crack open one of the deb files using the  `ar -x $filename` command,
the file contains a folder structure that seems wrong.  For example, when I
crack open the file ...

gstreamer-1.0-editing-dev_1.12.4-1_amd64.deb

... I see a folder structure that mimics the folder structure from my machine
when the files were first created.  For example, some of the files it contains
are like this:

------------
./home/ding/dev/github/gstreamer/cerbero/build/dist/linux_x86_64/lib/libges-1.0.a
./home/ding/dev/github/gstreamer/cerbero/build/dist/linux_x86_64/lib/
libges-1.0.la
./home/ding/dev/github/gstreamer/cerbero/build/dist/linux_x86_64/lib/
libges-1.0.so
------------

Also, I can see the same path inside of the gst-editing-services-1.0.pc file

------------
prefix=/home/ding/dev/github/gstreamer/cerbero/build/dist/linux_x86_64
exec_prefix=${prefix}
libdir=/home/ding/dev/github/gstreamer/cerbero/build/dist/linux_x86_64/lib
includedir=${prefix}/include/gstreamer-1.0

Name: gst-editing-services
Description: GStreamer Editing Services
Version: 1.12.4
Requires: gstreamer-1.0 gstreamer-base-1.0 gstreamer-controller-1.0
gstreamer-pbutils-1.0
Libs: -L${libdir} -lges-1.0
Cflags: -I${includedir}
--------------

Matthew has demonstrates a working solution related to custom.cbc file.
https://lists.freedesktop.org/archives/gstreamer-devel/2018-May/067805.html

Other relevant email threads:
https://lists.freedesktop.org/archives/gstreamer-devel/2018-April/067562.html
https://lists.freedesktop.org/archives/gstreamer-devel/2018-May/067754.html

This may be related to another bug about PKG_CONFIG_PATH on Debian (I'm not
sure)  https://bugzilla.gnome.org/show_bug.cgi?id=766833

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