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: 123
Popularity: 0.018766
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 »

carlosnewmusic commented on 2024-11-15 15:56 (UTC)

build error https://pastebin.com/9JDFDG2w

mi_pl commented on 2024-11-12 15:23 (UTC) (edited on 2024-11-12 15:28 (UTC) by mi_pl)

Had to install flex. Then, had to install glib2-devel. Then, I got the same errors as NeWolf and marroq. Following nicki419's advice is underway… (thanks!)

nicki419 commented on 2024-09-07 19:58 (UTC)

@marroq @NeWolf I managed to install by editing the PKGBUILD file such that the make and make install commands have the -i option, to ignore errors. Is that a good idea? Probably not. Did I manage to install gstreamer0.10 and *-base and resolve the dependencies of the app I originally wanted to install? yes.

marroq commented on 2024-08-29 05:05 (UTC)

i have the same issues as NeWolf i need to install glib2-devel but i also get error: implicit declaration of function ‘gst_init’; did you mean ‘g_test_init’? [-Wimplicit-function-declaration]

NeWolf commented on 2024-06-24 15:35 (UTC)

I get an error when trying to build


gstelement.h:545:3: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations]
  545 |   GStaticRecMutex      *state_lock;
      |   ^~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:161:8: note: declared here
  161 | struct _GStaticRecMutex
      |        ^~~~~~~~~~~~~~~~
  CCLD     libgstreamer-0.10.la
  GEN      Gst-0.10.gir
/home/newolf/lib32-gstreamer0.10/gstreamer0.10/src/gstreamer-0.10.36/gst/tmp-introspectd10tr20g/Gst-0.10.c: In function ‘main’:
/home/newolf/lib32-gstreamer0.10/gstreamer0.10/src/gstreamer-0.10.36/gst/tmp-introspectd10tr20g/Gst-0.10.c:789:3: error: implicit declaration of function ‘gst_init’; did you mean ‘g_test_init’? [-Wimplicit-function-declaration]
  789 |   gst_init(NULL, NULL);
      |   ^~~~~~~~
      |   g_test_init
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 185, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn
    spawn(cmd, dry_run=self.dry_run, **kwargs)
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/spawn.py", line 70, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 104, in <module>
    sys.exit(scanner_main(sys.argv))
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 606, in scanner_main
    shlibs = create_binary(transformer, options, args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 430, in create_binary
    binary = compile_introspection_binary(options,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 294, in compile_introspection_binary
    return dc.run()
           ^^^^^^^^
  File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 163, in run
    introspection_obj = self._compile(c_path)
                        ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 189, in _compile
    return self._compiler.compile(cflags,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/gobject-introspection/giscanner/ccompiler.py", line 354, in compile
    return self.compiler.compile(sources=source,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 187, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
make[4]: *** [Makefile:2035: Gst-0.10.gir] Error 1
make[4]: Leaving directory '/home/newolf/lib32-gstreamer0.10/gstreamer0.10/src/gstreamer-0.10.36/gst'
make[3]: *** [Makefile:1573: all-recursive] Error 1
make[3]: Leaving directory '/home/newolf/lib32-gstreamer0.10/gstreamer0.10/src/gstreamer-0.10.36/gst'
make[2]: *** [Makefile:910: all] Error 2
make[2]: Leaving directory '/home/newolf/lib32-gstreamer0.10/gstreamer0.10/src/gstreamer-0.10.36/gst'
make[1]: *** [Makefile:753: all-recursive] Error 1
make[1]: Leaving directory '/home/newolf/lib32-gstreamer0.10/gstreamer0.10/src/gstreamer-0.10.36'
make: *** [Makefile:657: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

plg commented on 2024-06-21 10:31 (UTC)

This needs glib2-devel as makedep (for the two missing commands glib-mkenums and glib-genmarshal).

Then there's still a compiler error: implicit declaration of gst_init (-Wimplicit-function-declaration) which I'm not experienced enough to fix.

txtsd commented on 2024-06-16 13:08 (UTC)

Fails to build in chroot with pkgctl build

/bin/sh: line 1: glib-genmarshal: command not found
/bin/sh: line 2: glib-mkenums: command not found
/bin/sh: line 4: glib-genmarshal: command not found

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.