Hello,
I had the same issue with GStreamer v1.15, while building direclty on my Raspberry. Looking inside the openssl.recipe, under your cerbero/recipes, I’ve found that a define was added form ARMv7 for the Android platform, but not for Linux in general. Adding a "or self.config.target_platform == Platform.LINUX” in the related check, inside the configure(self) function fixed the build for me: def configure(self):
…
if self.config.target_platform == Platform.ANDROID or self.config.target_platform == Platform.LINUX: if self.config.target_arch == Architecture.ARMv7: # Openssl can't seem to figure this out anymore config_sh += ' -D__ARM_MAX_ARCH__=7 '
Vince _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I’ve given up on Cerbero for Linux builds after Nicolas Dufresne said (in this message https://lists.freedesktop.org/archives/gstreamer-devel/2018-May/067778.html) that the GStreamer project delegates
packaging for Linux builds to the various distributions and that Cerbero is really for non-Linux systems. I’ve now written my own script to build GStreamer as a standard autoconf project that uses pkg-config. I’ve yet to extend this for cross compilation. From: gstreamer-devel <[hidden email]>
On Behalf Of Vincenzo Bono Hello, I had the same issue with GStreamer v1.15, while building direclty on my Raspberry. Looking inside the openssl.recipe, under your cerbero/recipes, I’ve found that a define was added form ARMv7 for the Android platform, but not for Linux in general. Adding a "or self.config.target_platform == Platform.LINUX” in the related check, inside the configure(self) function fixed the build for me: def configure(self):
…
if self.config.target_platform == Platform.ANDROID or self.config.target_platform == Platform.LINUX: if self.config.target_arch == Architecture.ARMv7: # Openssl can't seem to figure this out anymore config_sh += ' -D__ARM_MAX_ARCH__=7 ' Vince _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Fri, Jun 29, 2018 at 11:51 AM Matthew Thyer
<[hidden email]> wrote: > > I’ve given up on Cerbero for Linux builds after Nicolas Dufresne said (in this message https://lists.freedesktop.org/archives/gstreamer-devel/2018-May/067778.html) that the GStreamer project delegates packaging for Linux builds to the various distributions and that Cerbero is really for non-Linux systems. > > I’ve now written my own script to build GStreamer as a standard autoconf project that uses pkg-config. > > I’ve yet to extend this for cross compilation. > Like Nicolas said, the distro-specific packaging output of Cerbero is not correct on Linux and is not supported, but the build output itself (and packaging as tarballs) does work, is tested on our CI, and is supported. However, cross-linux is not tested on our CI so is not very well tested, but should generally work except for minor bugs. As always, patches are welcome, and should be added via a bug on bugzilla: https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer . Sending patches via the mailing list is generally not going to be helpful. Cheers, Nirbheek > From: gstreamer-devel <[hidden email]> On Behalf Of Vincenzo Bono > Sent: Wednesday, 27 June 2018 3:53 AM > To: [hidden email] > Subject: Re: Failure to cross compile GStreamer v1.14 with config/cross-lin-arm.cbc > > > > Hello, > > > > I had the same issue with GStreamer v1.15, while building direclty on my Raspberry. > > > > Looking inside the openssl.recipe, under your cerbero/recipes, I’ve found that a define was added form ARMv7 for the Android platform, but not for Linux in general. > > > > Adding a "or self.config.target_platform == Platform.LINUX” in the related check, inside the configure(self) function fixed the build for me: > > > > def configure(self): > > > > … > > > > if self.config.target_platform == Platform.ANDROID or self.config.target_platform == Platform.LINUX: > > if self.config.target_arch == Architecture.ARMv7: > > # Openssl can't seem to figure this out anymore > > config_sh += ' -D__ARM_MAX_ARCH__=7 ' > > > > Vince > > _______________________________________________ > 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 |
Thanks (,
on the patch, I forgot to say that I sent it as well (see https://bugzilla.gnome.org/show_bug.cgi?id=796684). I noticed that the packaging didn't work, but I was able to get an environment built. My remaining problem on Raspberry Pi is that libgstsoundtouch, libgstvoaacenc and libgstdtls doesn't seem to be built... I'm looking at recipes and didn't find yet anything helpful yet. I tried to build on Raspian x86, and the latest Ubuntu LTS, just to check if these libraries are built, but got stuck in other small issues (I fixed one, will create a bug and patch shortly). Did anyone have any hint on where to check for missing libgstsoundtouch, libgstvoaacenc and libgstdtls? Thanks again, Vince Il giorno 29/06/18, 08:47 "gstreamer-devel per conto di Nirbheek Chauhan" <[hidden email] per conto di [hidden email]> ha scritto: On Fri, Jun 29, 2018 at 11:51 AM Matthew Thyer <[hidden email]> wrote: > > I’ve given up on Cerbero for Linux builds after Nicolas Dufresne said (in this message https://lists.freedesktop.org/archives/gstreamer-devel/2018-May/067778.html) that the GStreamer project delegates packaging for Linux builds to the various distributions and that Cerbero is really for non-Linux systems. > > I’ve now written my own script to build GStreamer as a standard autoconf project that uses pkg-config. > > I’ve yet to extend this for cross compilation. > Like Nicolas said, the distro-specific packaging output of Cerbero is not correct on Linux and is not supported, but the build output itself (and packaging as tarballs) does work, is tested on our CI, and is supported. However, cross-linux is not tested on our CI so is not very well tested, but should generally work except for minor bugs. As always, patches are welcome, and should be added via a bug on bugzilla: https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer . Sending patches via the mailing list is generally not going to be helpful. Cheers, Nirbheek > From: gstreamer-devel <[hidden email]> On Behalf Of Vincenzo Bono > Sent: Wednesday, 27 June 2018 3:53 AM > To: [hidden email] > Subject: Re: Failure to cross compile GStreamer v1.14 with config/cross-lin-arm.cbc > > > > Hello, > > > > I had the same issue with GStreamer v1.15, while building direclty on my Raspberry. > > > > Looking inside the openssl.recipe, under your cerbero/recipes, I’ve found that a define was added form ARMv7 for the Android platform, but not for Linux in general. > > > > Adding a "or self.config.target_platform == Platform.LINUX” in the related check, inside the configure(self) function fixed the build for me: > > > > def configure(self): > > > > … > > > > if self.config.target_platform == Platform.ANDROID or self.config.target_platform == Platform.LINUX: > > if self.config.target_arch == Architecture.ARMv7: > > # Openssl can't seem to figure this out anymore > > config_sh += ' -D__ARM_MAX_ARCH__=7 ' > > > > Vince > > _______________________________________________ > 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 |
On Fri, Jun 29, 2018 at 4:42 PM Vincenzo Bono <[hidden email]> wrote:
> > Thanks (, > > on the patch, I forgot to say that I sent it as well (see https://bugzilla.gnome.org/show_bug.cgi?id=796684). > Sorry that slipped through the cracks. I'm looking at it now. > I noticed that the packaging didn't work, but I was able to get an environment built. > > My remaining problem on Raspberry Pi is that libgstsoundtouch, libgstvoaacenc and libgstdtls doesn't seem to be built... I'm looking at recipes and didn't find yet anything helpful yet. > All those plugins are forced-on, and the dependencies needed are provided by Cerbero, so they should've built successfully. I would check config.log to see if the compiler checks succeeded, then check whether they were enabled successfully and were built, and whether the output names are correct. Cheers, Nirbheek _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |