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 796009 - Cerbero builds debian packages containing incorrect paths.
Cerbero builds debian packages containing incorrect paths.
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: cerbero
1.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-10 17:29 UTC by David Ing
Modified: 2018-11-03 10:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Ing 2018-05-10 17:29:54 UTC
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
Comment 1 David Ing 2018-05-10 17:32:49 UTC
Note that this has been observed on Cerbero 1.12 and 1.14.

Also, Nicolas Dufresne believes that this is a known longstanding problem with cerbero, and that the core group of gstreamer developers is not planning to fix it anytime soon.
Comment 2 GStreamer system administrator 2018-11-03 10:23:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/56.