troubles with gstreamer installation from Cerbero!

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

troubles with gstreamer installation from Cerbero!

Giacomo D
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: troubles with gstreamer installation from Cerbero!

Sebastian Dröge-3
Hi,

did you try doing what git complained about during the build of
libtool?

On Sa, 2015-08-22 at 09:14 -0700, Giacomo D wrote:

>
> /home/giacomo/cerbero/sources/build-tools/libtool-2.4.6/.git/
>
> *** Please tell me who you are.
>
> Run
>
>   git config --global user.email "[hidden email]"
>   git config --global user.name "Your Name"
>
> to set your account's default identity.
> Omit --global to set the identity only in this repository.
>
> fatal: unable to auto-detect email address (got
> 'giacomo@giacomo-X550CC.(none)')
> You need to set your committer info first
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: troubles with gstreamer installation from Cerbero!

Giacomo D
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: troubles with gstreamer installation from Cerbero!

Sebastian Dröge-3
On Di, 2015-08-25 at 09:19 -0700, Giacomo D wrote:
> Thanks Sebastian!
> I solved the "bootstrap" and "package gstreamer1.0" steps. I
> installed all the packages and I'm trying to install base, bad, good
> and ugly plugins from source in cerbero clone...is it correct?
> I have no problems with base and ugly plugins, while, when I try with
> bad and good I get some failures like in the log files:

After "package gstreamer-1.0", you should have some RPM or DEB files
generated which you could then install. Don't install them on your
build machine though.

You can then use the GStreamer that is installed in this custom prefix
(whatever you set as prefix in your cerbero configuration). As with
everything on Linux, you need to ensure that actually those new
libraries are used and not the ones from your system, e.g. by setting
LD_LIBRARY_PATH accordingly. That looks like the problem you're facing
here, the tests seem to use the system libraries instead which are too
old.

You can also use "./cerbero-uninstalled shell" to get an environment
that has everything set up properly.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: troubles with gstreamer installation from Cerbero!

givip
I completely can't understand why description of creating package process is
such unclear.
May be my goal is different from others.

I want to build fresh version of GStreamer (let's say 1.16) and distribute
as a *.deb file(s), as a complete set of libraries, ready to use while
developing applications.

Why I can't install GStreamer on the new machine like this: *$ dpkg -i
gstreamer-1.0_1.16.0*?

Also, I read all docs about creating package with cerbero and have couple
notes:
- By default cerbero create multiple deb files with packed inside data files
with path of current 'build' folder, for example
'home/user/cerbero/build...', not /opt/gstreamer, so the solutions is to set
'LD_LIBRARY_PATH' and 'PATH'. But Where is the guide how to do that
correctly? I don't think, that setting PATH is correct way.
https://stackoverflow.com/a/53730898 <https://stackoverflow.com/a/53730898>  
- For Ubuntu cerbero cant figure out the type of system during bootstrap and
require additionally 'apt-get install flex bison'
- For Nvidia Hardware support many issues during build process, will
describe later.

So the main question, related to this topic is "How create deb files,
installable on other ubuntu machine?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: troubles with gstreamer installation from Cerbero!

David Ing
There is currently a bug related to deb packaging with cerbero.
Traditionally, the maintainers of a given distro have (somehow) created *.deb packages where the version of gstreamer is fixed for the version of the target distro (such that transitive dependencies are versioned in a way which is appropriate for the target distro).  I am not sure if they use cerbero or something else for that.  (Perhaps they have patched cerbero to meet their needs but they have not merged the patch into master.)

On Mon, Oct 7, 2019 at 8:23 AM givip <[hidden email]> wrote:
I completely can't understand why description of creating package process is
such unclear.
May be my goal is different from others.

I want to build fresh version of GStreamer (let's say 1.16) and distribute
as a *.deb file(s), as a complete set of libraries, ready to use while
developing applications.

Why I can't install GStreamer on the new machine like this: *$ dpkg -i
gstreamer-1.0_1.16.0*?

Also, I read all docs about creating package with cerbero and have couple
notes:
- By default cerbero create multiple deb files with packed inside data files
with path of current 'build' folder, for example
'home/user/cerbero/build...', not /opt/gstreamer, so the solutions is to set
'LD_LIBRARY_PATH' and 'PATH'. But Where is the guide how to do that
correctly? I don't think, that setting PATH is correct way.
https://stackoverflow.com/a/53730898 <https://stackoverflow.com/a/53730898
- For Ubuntu cerbero cant figure out the type of system during bootstrap and
require additionally 'apt-get install flex bison'
- For Nvidia Hardware support many issues during build process, will
describe later.

So the main question, related to this topic is "How create deb files,
installable on other ubuntu machine?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: troubles with gstreamer installation from Cerbero!

Matthew Waters
Linux distributions don't use cerbero for packaging GStreamer but have their own scripts.  If you want to package GStreamer for a Linux distro, use their scripts instead.

On 8/10/19 3:16 am, David Ing wrote:
There is currently a bug related to deb packaging with cerbero.
Traditionally, the maintainers of a given distro have (somehow) created *.deb packages where the version of gstreamer is fixed for the version of the target distro (such that transitive dependencies are versioned in a way which is appropriate for the target distro).  I am not sure if they use cerbero or something else for that.  (Perhaps they have patched cerbero to meet their needs but they have not merged the patch into master.)

On Mon, Oct 7, 2019 at 8:23 AM givip <[hidden email]> wrote:
I completely can't understand why description of creating package process is
such unclear.
May be my goal is different from others.

I want to build fresh version of GStreamer (let's say 1.16) and distribute
as a *.deb file(s), as a complete set of libraries, ready to use while
developing applications.

Why I can't install GStreamer on the new machine like this: *$ dpkg -i
gstreamer-1.0_1.16.0*?

Also, I read all docs about creating package with cerbero and have couple
notes:
- By default cerbero create multiple deb files with packed inside data files
with path of current 'build' folder, for example
'home/user/cerbero/build...', not /opt/gstreamer, so the solutions is to set
'LD_LIBRARY_PATH' and 'PATH'. But Where is the guide how to do that
correctly? I don't think, that setting PATH is correct way.
https://stackoverflow.com/a/53730898 <https://stackoverflow.com/a/53730898
- For Ubuntu cerbero cant figure out the type of system during bootstrap and
require additionally 'apt-get install flex bison'
- For Nvidia Hardware support many issues during build process, will
describe later.

So the main question, related to this topic is "How create deb files,
installable on other ubuntu machine?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: troubles with gstreamer installation from Cerbero!

givip
Please, specify, where I can find this scripts? In GStreamer repo or Cerbero
repo or gst-build repo?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re[2]: troubles with gstreamer installation from Cerbero!

Daniel Rossi
In reply to this post by givip
I had to give up on this, checkout all the debian git projects and
repackage them via git-pbuilder. I had it targeted for PI, and updatable
in a custom repository. That was the route I took.

------ Original Message ------
From: "givip" <[hidden email]>
To: [hidden email]
Sent: 10/8/2019 2:12:56 AM
Subject: Re: troubles with gstreamer installation from Cerbero!

>I completely can't understand why description of creating package process is
>such unclear.
>May be my goal is different from others.
>
>I want to build fresh version of GStreamer (let's say 1.16) and distribute
>as a *.deb file(s), as a complete set of libraries, ready to use while
>developing applications.
>
>Why I can't install GStreamer on the new machine like this: *$ dpkg -i
>gstreamer-1.0_1.16.0*?
>
>Also, I read all docs about creating package with cerbero and have couple
>notes:
>- By default cerbero create multiple deb files with packed inside data files
>with path of current 'build' folder, for example
>'home/user/cerbero/build...', not /opt/gstreamer, so the solutions is to set
>'LD_LIBRARY_PATH' and 'PATH'. But Where is the guide how to do that
>correctly? I don't think, that setting PATH is correct way.
>https://stackoverflow.com/a/53730898 <https://stackoverflow.com/a/53730898>
>- For Ubuntu cerbero cant figure out the type of system during bootstrap and
>require additionally 'apt-get install flex bison'
>- For Nvidia Hardware support many issues during build process, will
>describe later.
>
>So the main question, related to this topic is "How create deb files,
>installable on other ubuntu machine?
>
>
>
>--
>Sent from: http://gstreamer-devel.966125.n4.nabble.com/
>_______________________________________________
>gstreamer-devel mailing list
>[hidden email]
>https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: troubles with gstreamer installation from Cerbero!

givip
Currently I have problems even with the build.
In particular, I want to build 1.16.1 with gst-build, but ninja -C fails,
because libpng12 is outdated by some reasons. If I update to libpng16 it’s
not working by another reasons.

Cerbero cannot build gst-plugins-base by some reason

I think this is problem for all people who is unfamiliar with building
process of such complex packages.

Please provide actual info about:
- which build system use: Cerbero, gst-build or other

And what branch is actually buildable?
And on which Linux is actually tested (in particular, I use Ubuntu 16.04)



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: troubles with gstreamer installation from Cerbero!

Nicolas Dufresne-5
Le mardi 08 octobre 2019 à 09:48 -0500, givip a écrit :

> Currently I have problems even with the build.
> In particular, I want to build 1.16.1 with gst-build, but ninja -C fails,
> because libpng12 is outdated by some reasons. If I update to libpng16 it’s
> not working by another reasons.
>
> Cerbero cannot build gst-plugins-base by some reason
>
> I think this is problem for all people who is unfamiliar with building
> process of such complex packages.
>
> Please provide actual info about:
> - which build system use: Cerbero, gst-build or other
>
> And what branch is actually buildable?
> And on which Linux is actually tested (in particular, I use Ubuntu 16.04)
We don't know what everyone in the world uses, so your question is
highly loaded. Let me craft an answer, and then you can carry it the
way you want.

GStreamer CI currently uses Fedora 30 and 31 to build cerbero and gst-
build. That is what we use for per-commit CI on 1.16 and master branch
(and all the up coming stable branches). So this will likely always
work, but at some point we'll move forward the version of Fedora docker
images and active testing of older version will drop.

That being said, we have users on various Ubuntu version and we have
made a great deal of effort making sure the cerbero support there is
stable. But we don't have the bandwidth to revisit all 3 years+
distribution we ever support to make sure it keeps working. We entirely
rely on user report, and that requires a very good quality report to
actually get a fix.

regards,
Nicolas

>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: troubles with gstreamer installation from Cerbero!

David Ing
I had the build working on Ubuntu 18.04 after installing these packages:   https://github.com/Panopto/gst-conan/blob/release/1.16/distros/ubuntu_18_04/debians-build.txt

It is likely that your build would succeed after installing that set of packages (above).  However, since you are at Ubuntu 16.04 there might be some slight incompatibility.

I eventually switched to Fedora 30 (and now Fedora 31) because it seems to be the "first class citizen" if you want to be fully in tune with core development in real time.

On Tue, Oct 8, 2019 at 11:48 AM Nicolas Dufresne <[hidden email]> wrote:
Le mardi 08 octobre 2019 à 09:48 -0500, givip a écrit :
> Currently I have problems even with the build.
> In particular, I want to build 1.16.1 with gst-build, but ninja -C fails,
> because libpng12 is outdated by some reasons. If I update to libpng16 it’s
> not working by another reasons.
>
> Cerbero cannot build gst-plugins-base by some reason
>
> I think this is problem for all people who is unfamiliar with building
> process of such complex packages.
>
> Please provide actual info about:
> - which build system use: Cerbero, gst-build or other
>
> And what branch is actually buildable?
> And on which Linux is actually tested (in particular, I use Ubuntu 16.04)

We don't know what everyone in the world uses, so your question is
highly loaded. Let me craft an answer, and then you can carry it the
way you want.

GStreamer CI currently uses Fedora 30 and 31 to build cerbero and gst-
build. That is what we use for per-commit CI on 1.16 and master branch
(and all the up coming stable branches). So this will likely always
work, but at some point we'll move forward the version of Fedora docker
images and active testing of older version will drop.

That being said, we have users on various Ubuntu version and we have
made a great deal of effort making sure the cerbero support there is
stable. But we don't have the bandwidth to revisit all 3 years+
distribution we ever support to make sure it keeps working. We entirely
rely on user report, and that requires a very good quality report to
actually get a fix.

regards,
Nicolas

>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re[4]: troubles with gstreamer installation from Cerbero!

Daniel Rossi
In reply to this post by givip
It builds and bundles system packages. If you hack this and include in
library path. It conflicts with other software. My git client broke
adding the  path to the tarball location.

Best to use the debain git sources, build in a chroot environment with
git-pbuilder. And it will reference system libraries.

Apart from working inside it's own shell, I don't get the point of that
build system. I wasted 3 weeks with it. And then took me another 2 to
get an automated build working for all the debian projects so they are
built all at once and added to a repository. There is 4 or 5 I needed to
check out. I can run updates to the sources and rebuild packages. I can
customise the configure  for these in the rules config as well to remove
modules I don't need.

My target is both amd64 and armhf and was able to build both on amd64.

I now have  1.16.1 working in RPI where it's version is 1.14 without srt
support I needed.

------ Original Message ------
From: "givip" <[hidden email]>
To: [hidden email]
Sent: 10/9/2019 1:48:30 AM
Subject: Re: Re[2]: troubles with gstreamer installation from Cerbero!

>Currently I have problems even with the build.
>In particular, I want to build 1.16.1 with gst-build, but ninja -C fails,
>because libpng12 is outdated by some reasons. If I update to libpng16 it’s
>not working by another reasons.
>
>Cerbero cannot build gst-plugins-base by some reason
>
>I think this is problem for all people who is unfamiliar with building
>process of such complex packages.
>
>Please provide actual info about:
>- which build system use: Cerbero, gst-build or other
>
>And what branch is actually buildable?
>And on which Linux is actually tested (in particular, I use Ubuntu 16.04)
>
>
>
>--
>Sent from: http://gstreamer-devel.966125.n4.nabble.com/
>_______________________________________________
>gstreamer-devel mailing list
>[hidden email]
>https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: troubles with gstreamer installation from Cerbero!

Nicolas Dufresne-5


Le mar. 8 oct. 2019 22 h 25, Daniel Rossi <[hidden email]> a écrit :
It builds and bundles system packages. If you hack this and include in
library path. It conflicts with other software. My git client broke
adding the  path to the tarball location.

Best to use the debain git sources, build in a chroot environment with
git-pbuilder. And it will reference system libraries.

Apart from working inside it's own shell, I don't get the point of that
build system. I wasted 3 weeks with it. And then took me another 2 to
get an automated build working for all the debian projects so they are
built all at once and added to a repository. There is 4 or 5 I needed to
check out. I can run updates to the sources and rebuild packages. I can
customise the configure  for these in the rules config as well to remove
modules I don't need.

Cerbero is no longer used by GStreamer project to build Linux packages. Instead it's used to produce builds for OS like Windows, OSX, iOS and Android. We believe that distribution specific packages will always yield a better result, and working toward matching these would be a waste of effort. That being said, Debian people in the GStreamer community didn't want to disable that completely (the rpm stuff is already disabled and replace by tarballs). Though, we might end up disabling as no one seems to maintain it, wasting user time apparently.

Nicolas



My target is both amd64 and armhf and was able to build both on amd64.

Debian have long time given up on cross compilation support. Have you consider using debos for your custom RPI distro ?


I now have  1.16.1 working in RPI where it's version is 1.14 without srt
support I needed.

We have done a build of master with SRT support using gst-build only. Though, there was few issues in meson CMake support that we are working through. This is rather spare time, let me know if you would like to carry.


------ Original Message ------
From: "givip" <[hidden email]>
To: [hidden email]
Sent: 10/9/2019 1:48:30 AM
Subject: Re: Re[2]: troubles with gstreamer installation from Cerbero!

>Currently I have problems even with the build.
>In particular, I want to build 1.16.1 with gst-build, but ninja -C fails,
>because libpng12 is outdated by some reasons. If I update to libpng16 it’s
>not working by another reasons.
>
>Cerbero cannot build gst-plugins-base by some reason
>
>I think this is problem for all people who is unfamiliar with building
>process of such complex packages.
>
>Please provide actual info about:
>- which build system use: Cerbero, gst-build or other
>
>And what branch is actually buildable?
>And on which Linux is actually tested (in particular, I use Ubuntu 16.04)
>
>
>
>--
>Sent from: http://gstreamer-devel.966125.n4.nabble.com/
>_______________________________________________
>gstreamer-devel mailing list
>[hidden email]
>https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: troubles with gstreamer installation from Cerbero!

givip
> We have done a build of master with SRT support using gst-build only.
Though, there was few issues in meson CMake support that we are working
through. This is rather spare time, let me know if you would like to carry.

I see, so the the main point is to make specific packages with minimal set
of plugins, for specific purposes.

Anyway I tried gst-build util, it works fine (at least builds), but there
are some weird behaiviour:

If on machine I don't have some dependencies, like x11, some plugins will be
skipped. Even if I mention "enabled" in meson_options.txt

Why? I assume, that should be throwed error.

I created two issues:
https://gitlab.freedesktop.org/gstreamer/gst-build/issues/50
<https://gitlab.freedesktop.org/gstreamer/gst-build/issues/50>  
https://gitlab.freedesktop.org/gstreamer/gst-build/issues/49
<https://gitlab.freedesktop.org/gstreamer/gst-build/issues/49>  





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: troubles with gstreamer installation from Cerbero!

Nicolas Dufresne-5
Le jeudi 10 octobre 2019 à 15:01 -0500, givip a écrit :

> > We have done a build of master with SRT support using gst-build only.
> Though, there was few issues in meson CMake support that we are working
> through. This is rather spare time, let me know if you would like to carry.
>
> I see, so the the main point is to make specific packages with minimal set
> of plugins, for specific purposes.
>
> Anyway I tried gst-build util, it works fine (at least builds), but there
> are some weird behaiviour:
>
> If on machine I don't have some dependencies, like x11, some plugins will be
> skipped. Even if I mention "enabled" in meson_options.txt
>
> Why? I assume, that should be throwed error.

If you modified meson_options.txt file directly you are doing it wrong.
But if you do -Dfeature=enabled, it should fail on missing deps.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: troubles with gstreamer installation from Cerbero!

givip
unfortunately nobody answers me in gst-build gitlab issue

It seems, that this plugin depends from vaapi.

But after
$ meson --prefix=/opt/dd-gstreamer -Dvaapi=enabled build/
$ ninja -C build/
I receive compiling errors:


[4962/4975] Compiling C object
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-display@exe/test-display.c.o'.
FAILED: cc -Isubprojects/gstreamer-vaapi/tests/2bca3b9@@test-display@exe
-Isubprojects/gstreamer-vaapi/tests -I../subprojects/gstreamer-vaapi/tests
-Isubprojects/gstreamer-vaapi -I../subprojects/gstreamer-vaapi
-Isubprojects/gstreamer-vaapi/gst-libs
-I../subprojects/gstreamer-vaapi/gst-libs -Isubprojects/gstreamer
-I../subprojects/gstreamer -Isubprojects/gstreamer/libs
-I../subprojects/gstreamer/libs -Isubprojects/gst-plugins-base/gst-libs
-I../subprojects/gst-plugins-base/gst-libs -Isubprojects/orc
-I../subprojects/orc -Isubprojects/gst-plugins-bad/gst-libs
-I../subprojects/gst-plugins-bad/gst-libs -Isubprojects/gstreamer/gst
-Isubprojects/gst-plugins-base/gst-libs/gst/video -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=always
-pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fvisibility=hidden
-fno-strict-aliasing -pthread -DHAVE_CONFIG_H -MD -MQ
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-display@exe/test-display.c.o'
-MF
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-display@exe/test-display.c.o.d'
-o
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-display@exe/test-display.c.o'
-c ../subprojects/gstreamer-vaapi/tests/test-display.c
../subprojects/gstreamer-vaapi/tests/test-display.c: In function
‘print_profiles’:
../subprojects/gstreamer-vaapi/tests/test-display.c:69:3: error: unknown
type name ‘GstVaapiCodec’
   GstVaapiCodec codec;
   ^
../subprojects/gstreamer-vaapi/tests/test-display.c:76:11: error: unknown
type name ‘GstVaapiProfile’
     const GstVaapiProfile profile =
           ^
In file included from /usr/include/glib-2.0/glib.h:31:0,
                 from ../subprojects/gstreamer/gst/gst.h:27,
                 from
../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/sysdeps.h:34,
                 from
../subprojects/gstreamer-vaapi/tests/test-display.c:26:
../subprojects/gstreamer-vaapi/tests/test-display.c:77:34: error:
‘GstVaapiProfile’ undeclared (first use in this function)
         g_array_index (profiles, GstVaapiProfile, i);
                                  ^
/usr/include/glib-2.0/glib/garray.h:67:38: note: in definition of macro
‘g_array_index’
 #define g_array_index(a,t,i)      (((t*) (void *) (a)->data) [(i)])
                                      ^
../subprojects/gstreamer-vaapi/tests/test-display.c:77:34: note: each
undeclared identifier is reported only once for each function it appears in
         g_array_index (profiles, GstVaapiProfile, i);
                                  ^
/usr/include/glib-2.0/glib/garray.h:67:38: note: in definition of macro
‘g_array_index’
 #define g_array_index(a,t,i)      (((t*) (void *) (a)->data) [(i)])
                                      ^
/usr/include/glib-2.0/glib/garray.h:67:40: error: expected expression before
‘)’ token
 #define g_array_index(a,t,i)      (((t*) (void *) (a)->data) [(i)])
                                        ^
../subprojects/gstreamer-vaapi/tests/test-display.c:77:9: note: in expansion
of macro ‘g_array_index’
         g_array_index (profiles, GstVaapiProfile, i);
         ^
../subprojects/gstreamer-vaapi/tests/test-display.c:79:13: warning: implicit
declaration of function ‘gst_vaapi_profile_get_codec’
[-Wimplicit-function-declaration]
     codec = gst_vaapi_profile_get_codec (profile);
             ^
../subprojects/gstreamer-vaapi/tests/test-display.c:83:18: warning: implicit
declaration of function ‘gst_vaapi_codec_get_name’
[-Wimplicit-function-declaration]
     codec_name = gst_vaapi_codec_get_name (codec);
                  ^
../subprojects/gstreamer-vaapi/tests/test-display.c:83:16: warning:
assignment makes pointer from integer without a cast [-Wint-conversion]
     codec_name = gst_vaapi_codec_get_name (codec);
                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:87:20: warning: implicit
declaration of function ‘gst_vaapi_profile_get_name’
[-Wimplicit-function-declaration]
     profile_name = gst_vaapi_profile_get_name (profile);
                    ^
../subprojects/gstreamer-vaapi/tests/test-display.c:87:18: warning:
assignment makes pointer from integer without a cast [-Wint-conversion]
     profile_name = gst_vaapi_profile_get_name (profile);
                  ^
../subprojects/gstreamer-vaapi/tests/test-display.c: At top level:
../subprojects/gstreamer-vaapi/tests/test-display.c:96:25: error: unknown
type name ‘VAImageFormat’
 print_format_yuv (const VAImageFormat * va_format)
                         ^
../subprojects/gstreamer-vaapi/tests/test-display.c: In function
‘print_format_yuv’:
../subprojects/gstreamer-vaapi/tests/test-display.c:98:35: error: request
for member ‘fourcc’ in something not a structure or union
   const guint32 fourcc = va_format->fourcc;
                                   ^
../subprojects/gstreamer-vaapi/tests/test-display.c: At top level:
../subprojects/gstreamer-vaapi/tests/test-display.c:106:25: error: unknown
type name ‘VAImageFormat’
 print_format_rgb (const VAImageFormat * va_format)
                         ^
../subprojects/gstreamer-vaapi/tests/test-display.c: In function
‘print_format_rgb’:
../subprojects/gstreamer-vaapi/tests/test-display.c:109:16: error: request
for member ‘bits_per_pixel’ in something not a structure or union
       va_format->bits_per_pixel,
                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:110:16: error: request
for member ‘byte_order’ in something not a structure or union
       va_format->byte_order == VA_MSB_FIRST ? "big" : "little");
                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:110:32: error:
‘VA_MSB_FIRST’ undeclared (first use in this function)
       va_format->byte_order == VA_MSB_FIRST ? "big" : "little");
                                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:111:34: error: request
for member ‘alpha_mask’ in something not a structure or union
   g_print (" %s masks", va_format->alpha_mask ? "rgba" : "rgb");
                                  ^
../subprojects/gstreamer-vaapi/tests/test-display.c:113:16: error: request
for member ‘red_mask’ in something not a structure or union
       va_format->red_mask, va_format->green_mask, va_format->blue_mask);
                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:113:37: error: request
for member ‘green_mask’ in something not a structure or union
       va_format->red_mask, va_format->green_mask, va_format->blue_mask);
                                     ^
../subprojects/gstreamer-vaapi/tests/test-display.c:113:60: error: request
for member ‘blue_mask’ in something not a structure or union
       va_format->red_mask, va_format->green_mask, va_format->blue_mask);
                                                            ^
../subprojects/gstreamer-vaapi/tests/test-display.c:114:16: error: request
for member ‘alpha_mask’ in something not a structure or union
   if (va_format->alpha_mask)
                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:115:34: error: request
for member ‘alpha_mask’ in something not a structure or union
     g_print (" 0x%08x", va_format->alpha_mask);
                                  ^
../subprojects/gstreamer-vaapi/tests/test-display.c: In function
‘print_formats’:
../subprojects/gstreamer-vaapi/tests/test-display.c:127:11: error: unknown
type name ‘VAImageFormat’
     const VAImageFormat *va_format;
           ^
../subprojects/gstreamer-vaapi/tests/test-display.c:129:23: warning:
implicit declaration of function ‘gst_vaapi_video_format_to_string’
[-Wimplicit-function-declaration]
     g_print ("  %s:", gst_vaapi_video_format_to_string (format));
                       ^
../subprojects/gstreamer-vaapi/tests/test-display.c:129:14: warning: format
‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’
[-Wformat=]
     g_print ("  %s:", gst_vaapi_video_format_to_string (format));
              ^
../subprojects/gstreamer-vaapi/tests/test-display.c:131:17: warning:
implicit declaration of function ‘gst_vaapi_video_format_to_va_format’
[-Wimplicit-function-declaration]
     va_format = gst_vaapi_video_format_to_va_format (format);
                 ^
../subprojects/gstreamer-vaapi/tests/test-display.c:131:15: warning:
assignment makes pointer from integer without a cast [-Wint-conversion]
     va_format = gst_vaapi_video_format_to_va_format (format);
               ^
../subprojects/gstreamer-vaapi/tests/test-display.c:135:9: warning: implicit
declaration of function ‘gst_vaapi_video_format_is_yuv’
[-Wimplicit-function-declaration]
     if (gst_vaapi_video_format_is_yuv (format))
         ^
../subprojects/gstreamer-vaapi/tests/test-display.c: At top level:
../subprojects/gstreamer-vaapi/tests/test-display.c:144:18: error: unknown
type name ‘GstVaapiDisplay’
 dump_properties (GstVaapiDisplay * display)
                  ^
../subprojects/gstreamer-vaapi/tests/test-display.c:169:12: error: unknown
type name ‘GstVaapiDisplay’
 dump_info (GstVaapiDisplay * display)
            ^
../subprojects/gstreamer-vaapi/tests/test-display.c: In function ‘main’:
../subprojects/gstreamer-vaapi/tests/test-display.c:207:3: error: unknown
type name ‘GstVaapiDisplay’
   GstVaapiDisplay *display;
   ^
../subprojects/gstreamer-vaapi/tests/test-display.c:207:20: warning: unused
variable ‘display’ [-Wunused-variable]
   GstVaapiDisplay *display;
                    ^
../subprojects/gstreamer-vaapi/tests/test-display.c: At top level:
../subprojects/gstreamer-vaapi/tests/test-display.c:55:1: warning:
‘print_value’ defined but not used [-Wunused-function]
 print_value (const GValue * value, const gchar * name)
 ^
../subprojects/gstreamer-vaapi/tests/test-display.c:67:1: warning:
‘print_profiles’ defined but not used [-Wunused-function]
 print_profiles (GArray * profiles, const gchar * name)
 ^
../subprojects/gstreamer-vaapi/tests/test-display.c:119:1: warning:
‘print_formats’ defined but not used [-Wunused-function]
 print_formats (GArray * formats, const gchar * name)
 ^
[4962/4975] Compiling C object
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-windows@exe/test-windows.c.o'.
FAILED: cc -Isubprojects/gstreamer-vaapi/tests/2bca3b9@@test-windows@exe
-Isubprojects/gstreamer-vaapi/tests -I../subprojects/gstreamer-vaapi/tests
-Isubprojects/gstreamer-vaapi -I../subprojects/gstreamer-vaapi
-Isubprojects/gstreamer-vaapi/gst-libs
-I../subprojects/gstreamer-vaapi/gst-libs -Isubprojects/gstreamer
-I../subprojects/gstreamer -Isubprojects/gstreamer/libs
-I../subprojects/gstreamer/libs -Isubprojects/gst-plugins-base/gst-libs
-I../subprojects/gst-plugins-base/gst-libs -Isubprojects/orc
-I../subprojects/orc -Isubprojects/gst-plugins-bad/gst-libs
-I../subprojects/gst-plugins-bad/gst-libs -Isubprojects/gstreamer/gst
-Isubprojects/gst-plugins-base/gst-libs/gst/video -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=always
-pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fvisibility=hidden
-fno-strict-aliasing -pthread -DHAVE_CONFIG_H -MD -MQ
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-windows@exe/test-windows.c.o'
-MF
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-windows@exe/test-windows.c.o.d'
-o
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-windows@exe/test-windows.c.o'
-c ../subprojects/gstreamer-vaapi/tests/test-windows.c
../subprojects/gstreamer-vaapi/tests/test-windows.c: In function ‘main’:
../subprojects/gstreamer-vaapi/tests/test-windows.c:100:3: error: unknown
type name ‘GstVaapiWindow’
   GstVaapiWindow *window;
   ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:107:22: warning: unused
variable ‘win_height’ [-Wunused-variable]
   static const guint win_height = 480;
                      ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:106:22: warning: unused
variable ‘win_width’ [-Wunused-variable]
   static const guint win_width = 640;
                      ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:105:22: warning: unused
variable ‘height’ [-Wunused-variable]
   static const guint height = 240;
                      ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:104:22: warning: unused
variable ‘width’ [-Wunused-variable]
   static const guint width = 320;
                      ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:102:9: warning: unused
variable ‘flags’ [-Wunused-variable]
   guint flags = GST_VAAPI_PICTURE_STRUCTURE_FRAME;
         ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:101:20: warning: unused
variable ‘surface’ [-Wunused-variable]
   GstVaapiSurface *surface;
                    ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:100:19: warning: unused
variable ‘window’ [-Wunused-variable]
   GstVaapiWindow *window;
                   ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:99:20: warning: unused
variable ‘display’ [-Wunused-variable]
   GstVaapiDisplay *display;
                    ^
../subprojects/gstreamer-vaapi/tests/test-windows.c: At top level:
../subprojects/gstreamer-vaapi/tests/test-windows.c:54:1: warning:
‘create_test_surface’ defined but not used [-Wunused-function]
 create_test_surface (GstVaapiDisplay * display, guint width, guint height)
 ^
ninja: build stopped: subcommand failed.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: troubles with gstreamer installation from Cerbero!

givip
In reply to this post by Nicolas Dufresne-5
I have still problems on the compile stage, the problem is that ffmpeg
requires new version of libwebp, but on ubuntu 16.04, the latest is 0.4.4.
So I compiled and installed from sources to /usr/local/
How force gst-build to look up in this folder instead of default?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: troubles with gstreamer installation from Cerbero!

Tim Müller
On Fri, 2019-10-11 at 14:56 -0500, givip wrote:

> I have still problems on the compile stage, the problem is that
> ffmpeg
> requires new version of libwebp, but on ubuntu 16.04, the latest is
> 0.4.4.
> So I compiled and installed from sources to /usr/local/
> How force gst-build to look up in this folder instead of default?

You can do that via

  export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

or somesuch (check the directory exists).

Cheers
 Tim


--
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference! 31 Oct-1 Nov 2019 in Lyon, France

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel