Package Details: gstreamer0.10 0.10.36-20

Git Clone URL: https://aur.archlinux.org/gstreamer0.10.git (read-only, click to copy)
Package Base: gstreamer0.10
Description: GStreamer Multimedia Framework
Upstream URL: https://gstreamer.freedesktop.org
Licenses: LGPL
Submitter: yurikoles
Maintainer: ava1ar
Last Packager: Matr1x-101
Votes: 124
Popularity: 0.92
First Submitted: 2017-01-26 13:42 (UTC)
Last Updated: 2022-05-20 18:22 (UTC)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

ajacocks commented on 2023-12-12 19:28 (UTC) (edited on 2023-12-12 19:28 (UTC) by ajacocks)

And this simple patch seems to fix the issue:

$ cat xmlsave.patch 
diff -Naur gstreamer-0.10.36-orig/gst/gstxml.c gstreamer-0.10.36/gst/gstxml.c
--- gstreamer-0.10.36-orig/gst/gstxml.c 2011-12-11 13:45:56.000000000 -0500
+++ gstreamer-0.10.36/gst/gstxml.c  2023-12-12 14:21:54.296690060 -0500
@@ -48,6 +48,7 @@
 #ifdef GST_DISABLE_DEPRECATED
 #if !defined(GST_DISABLE_LOADSAVE) && !defined(GST_REMOVE_DEPRECATED)
 #include <libxml/parser.h>
+#include <libxml/xmlsave.h>
 xmlNodePtr gst_object_save_thyself (const GstObject * object,
     xmlNodePtr parent);
 GstObject *gst_object_load_thyself (xmlNodePtr parent);

And here's the updated PKGBUILD:

$ git diff PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index badbc42..3c88c10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,15 +15,18 @@ depends=('libxml2' 'glib2')
 makedepends=('intltool' 'gobject-introspection' 'python3')
 source=("https://gstreamer.freedesktop.org/src/gstreamer/${_pkgname}-${pkgver}.tar.xz"
         'tests-remove-silly-test_fail_abstract_new-check.patch'
+       'xmlsave.patch'
         'bison3.patch')
 sha256sums=('9151aa108c177054387885763fa0e433e76780f7c5655c70a5390f2a6c6871da'
             'd3d3f4f04453831fdb4244bfe174a38c4e6f9f4da5c8c9050dcfa1a6097aad52'
+            '0ff1148a654af6666bf29bd8ab00ccdb1dda256337726f3e7bd99e146a2d07c5'
             'ed154e280abf59b24d98a8ab0fe868b449b26aa61f7ae3813fab8ac615fcaefa')

 prepare() {
   cd ${_pkgname}-${pkgver}
   patch -Np1 -i ../tests-remove-silly-test_fail_abstract_new-check.patch
   patch -Np1 -i ../bison3.patch
+  patch -Np1 -i ../xmlsave.patch
   sed -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' -i configure.ac
   sed -e 's/static volatile gsize gonce_data/static gsize gonce_data/g' -i gst/gstutils.h
 }

ajacocks commented on 2023-12-12 18:02 (UTC) (edited on 2023-12-12 18:02 (UTC) by ajacocks)

There is a new error when building gstreamer0.10:

gstxml.c: In function 'gst_xml_write_file':
gstxml.c:264:12: error: 'xmlIndentTreeOutput' undeclared (first use in this function)
  264 |   indent = xmlIndentTreeOutput;
      |            ^~~~~~~~~~~~~~~~~~~
gstxml.c:264:12: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [Makefile:1456: libgstreamer_0.10_la-gstxml.lo] Error 1

gerson commented on 2023-04-27 18:47 (UTC)

@jaysee... I had a similar problem when I was running pamac build with my conda env active. After a conda deactivate, it all went fine.

I didn't know that the conda env propagates to the build when you run pamac build... but that seems to be the case.

Maybe that's your issue as well.

kirillnow commented on 2021-09-17 04:08 (UTC) (edited on 2021-09-17 04:08 (UTC) by kirillnow)

Bug in this package causes compilation errors for gstreamer0.10-good on GCC 11.

To fix it, please add following line to prepare():

sed -e 's/static volatile gsize gonce_data/static gsize gonce_data/g' -i gst/gstutils.h

ava1ar commented on 2021-07-11 19:52 (UTC)

@weberval bison is a part of base-devel, which assumed to be installed if you are using makepkg and/or using AUR. It should not be added to the makedepends explicitely.

weva commented on 2021-07-11 19:06 (UTC)

Please add bison as make dependency.

jaysee commented on 2019-03-17 16:36 (UTC)

Missing dependency python. Cannot build in a chroot.

make[1]: Entering directory '/build/lib32-gstreamer0.10/src/gstreamer'                                       
Making all in pkgconfig              
make[2]: Entering directory '/build/lib32-gstreamer0.10/src/gstreamer/pkgconfig'                             
  CP     gstreamer-check-0.10.pc         
  CP     gstreamer-0.10.pc                                                                                   
  CP     gstreamer-base-0.10.pc                 
  CP     gstreamer-controller-0.10.pc                                                                        
  CP     gstreamer-dataprotocol-0.10.pc      
  CP     gstreamer-net-0.10.pc              
  CP     gstreamer-0.10-uninstalled.pc   
  CP     gstreamer-base-0.10-uninstalled.pc                                                                  
  CP     gstreamer-controller-0.10-uninstalled.pc
  CP     gstreamer-dataprotocol-0.10-uninstalled.pc
  CP     gstreamer-check-0.10-uninstalled.pc
  CP     gstreamer-net-0.10-uninstalled.pc                                                                   
make[2]: Leaving directory '/build/lib32-gstreamer0.10/src/gstreamer/pkgconfig'                              
Making all in gst                                                                                            
make[2]: Entering directory '/build/lib32-gstreamer0.10/src/gstreamer/gst'                                   
  GEN      gstenumtypes.h                                                                                    
  GEN      gstmarshal.h                                                                                      
/usr/bin/env: /usr/bin/env: ‘python3’‘python3’: No such file or directory                                    
: No such file or directory                                                                                  
  GEN      gstenumtypes.c                                                                                    
  GEN      gstmarshal.c                                              
make[2]: *** [Makefile:1988: gstmarshal.h] Error 127       
make[2]: *** Waiting for unfinished jobs....                                                                 
make[2]: *** [Makefile:1999: gstenumtypes.h] Error 127
/usr/bin/env: ‘python3’: No such file or directory/usr/bin/env: ‘python3’: No such file or directory         

make[2]: *** [Makefile:1992: gstmarshal.c] Error 127                                                         
make[2]: *** [Makefile:2007: gstenumtypes.c] Error 127                                                       
make[2]: Leaving directory '/build/lib32-gstreamer0.10/src/gstreamer/gst'                                    
make[1]: *** [Makefile:751: all-recursive] Error 1
make[1]: Leaving directory '/build/lib32-gstreamer0.10/src/gstreamer'                                        
make: *** [Makefile:655: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/build/aur-builder/chroot/538617/build/build
Error executing command: makechrootpkg -c -r /home/build/aur-builder/chroot/538617

ava1ar commented on 2019-03-16 03:41 (UTC) (edited on 2019-03-16 03:42 (UTC) by ava1ar)

kinetik,

You are installing wrong archive: gstreamer-0.10.36.tar.xz is an archive with source code, you need to install gstreamer0.10-0.10.36-17-x86_64.pkg.tar.xz, which is package being built.

kinetik commented on 2019-03-15 18:15 (UTC)

makepkg -s goes without any issues, but when I try to finish the installation I get the following:

loading packages...
error: missing package metadata in gstreamer-0.10.36.tar.xz
error: 'gstreamer-0.10.36.tar.xz': invalid or corrupted package

Any suggestions?

andreas_baumann commented on 2018-06-30 07:23 (UTC)

On 32-bit I get:

/usr/lib/gcc/i686-pc-linux-gnu/7.3.1/include/xmmintrin.h:785:1: error: inlining failed in call to always_inline ‘_mm_movehl_ps’: target specific option mismatch
 _mm_movehl_ps (__m128 __A, __m128 __B)
 ^~~~~~~~~~~~~

Disabling _USE_SSE and _USE_SSE2 in gst/audioresample/speex_resampler_double.c and gst/audioresample/speex_resampler_float.c made it compile, but it feels like not the right fix.