Package Details: gstreamer0.10-base 0.10.36-13

Git Clone URL: https://aur.archlinux.org/gstreamer0.10-base.git (read-only, click to copy)
Package Base: gstreamer0.10-base
Description: GStreamer Multimedia Framework Base plugin libraries
Upstream URL: http://gstreamer.freedesktop.org/
Licenses: LGPL
Submitter: yurikoles
Maintainer: ava1ar
Last Packager: ava1ar
Votes: 131
Popularity: 0.82
First Submitted: 2017-01-26 13:45 (UTC)
Last Updated: 2020-04-19 04:37 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 13 Next › Last »

freenestor commented on 2020-06-07 14:07 (UTC)

how to fix this?

make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/tmp/yaourt-tmp-aart/aur-gstreamer0.10-base/pkg/gstreamer0.10-base/usr/include/gstreamer-0.10/gst/floatcast' /usr/bin/install -c -m 644 floatcast.h '/tmp/yaourt-tmp-aart/aur-gstreamer0.10-base/pkg/gstreamer0.10-base/usr/include/gstreamer-0.10/gst/floatcast' make[4]: [Makefile:539: install-floatcastincludeHEADERS] Segmentation fault (core dumped) make[4]: Leaving directory '/tmp/yaourt-tmp-aart/aur-gstreamer0.10-base/src/gst-plugins-base-0.10.36/gst-libs/gst/floatcast' make[3]: [Makefile:657: install-am] Error 2 make[3]: Leaving directory '/tmp/yaourt-tmp-aart/aur-gstreamer0.10-base/src/gst-plugins-base-0.10.36/gst-libs/gst/floatcast' make[2]: [Makefile:582: install-recursive] Error 1 make[2]: Leaving directory '/tmp/yaourt-tmp-aart/aur-gstreamer0.10-base/src/gst-plugins-base-0.10.36/gst-libs/gst' make[1]: [Makefile:555: install-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-aart/aur-gstreamer0.10-base/src/gst-plugins-base-0.10.36/gst-libs' make: *** [Makefile:678: install-recursive] Error 1 ==> ERROR: A failure occurred in package_gstreamer0.10-base(). Aborting... ==> ERROR: Makepkg was unable to build gstreamer0.10-base. ==> Restart building gstreamer0.10-base ? [y/N]

ava1ar commented on 2020-04-19 04:38 (UTC)

Static_Rocket thanks for the patch, package updated to use it instead of find&sed

Static_Rocket commented on 2020-04-17 05:34 (UTC)

If anybody doesn't want to use the find command I have a patch that addresses the root cause of the problem: Stripping out the unnecessary escape character in the enum_headers makefile parameters. During preparation this escape character cascades down to the files I outlined earlier (the ones the find command later locates and manipulates). The recent update doesn't implement it so I'm just offering it as a reliable alternative for anyone who wants it.

http://ix.io/2imx

ava1ar commented on 2020-04-17 05:11 (UTC)

Updated, thanks guys!

cable commented on 2020-04-15 22:02 (UTC)

I can confirm tsani's modification works for me! Thanks!

newtoarch commented on 2020-04-08 00:45 (UTC)

I tried following the two fixes (@tsani's and @Static_Rocket's), but unfortunately compiling still fails. Here's the paste: https://pastebin.com/Pm7uZ9es

Here's what my build() function looks after the change: build() { cd ${_pkgname}-${pkgver} NOCONFIGURE=1 ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --enable-experimental --disable-gnome_vfs --disable-gtk-doc find . -type f -exec sed -i -e 's/\#include/#include/g' {} \; make sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile }

tsani commented on 2020-04-01 20:38 (UTC)

I used Static_Rocket's fix as well, but slightly adjusted with -type f. To recap what worked for me: I added the following line to the build function in the PKGBUILD, right before the call to make:

find . -type f -exec sed -i -e 's/\\#include/#include/g' {} \;

Hope this helps others who are stuck until this gets resolved in this package or upstream.

Static_Rocket commented on 2020-03-20 05:17 (UTC)

@nipsky Hey dude, I noticed some people have misinterpreted my quick fix so I narrowed it down and submitted a patch to the package maintainer. Assuming you applied it correctly, please link the full output of makepkg (preferably via a pastebin) and I'll try to help as best I can. Otherwise please wait a few days while the maintainer tests & implements my patch and then give it another shot.

nipsky commented on 2020-03-19 12:33 (UTC)

Hi, I applied Static_Rockets fix, but compiling fails for me now with a different error:

In file included from gstvorbisdec.h:31,
                 from gstvorbisdec.c:43:
gstvorbisdeclib.h:90:3: error: unknown type name ‘ogg_reference’
   90 |   ogg_reference       ref;
      |   ^~~~~~~~~~~~~
gstvorbisdeclib.h:91:3: error: unknown type name ‘ogg_buffer’
   91 |   ogg_buffer          buf;
      |   ^~~~~~~~~~
gstvorbisdeclib.h: In function ‘gst_ogg_packet_data’:
gstvorbisdeclib.h:120:30: error: request for member ‘buffer’ in something not a structure or union
  120 |   return (guint8 *) p->packet->buffer->data;
      |                              ^~
gstvorbisdeclib.h: In function ‘gst_ogg_packet_size’:
gstvorbisdeclib.h:126:19: error: request for member ‘buffer’ in something not a structure or union
  126 |   return p->packet->buffer->size;
      |                   ^~
gstvorbisdeclib.h: In function ‘gst_ogg_packet_wrapper_from_buffer’:
gstvorbisdeclib.h:133:3: error: unknown type name ‘ogg_reference’
  133 |   ogg_reference *ref = &packet->ref;
      |   ^~~~~~~~~~~~~
gstvorbisdeclib.h:134:3: error: unknown type name ‘ogg_buffer’; did you mean ‘oggpack_buffer’?
  134 |   ogg_buffer *buf = &packet->buf;
      |   ^~~~~~~~~~
      |   oggpack_buffer
gstvorbisdeclib.h:136:6: error: request for member ‘data’ in something not a structure or union
  136 |   buf->data = GST_BUFFER_DATA (buffer);
      |      ^~
gstvorbisdeclib.h:137:6: error: request for member ‘size’ in something not a structure or union
  137 |   buf->size = GST_BUFFER_SIZE (buffer);
      |      ^~
gstvorbisdeclib.h:138:6: error: request for member ‘refcount’ in something not a structure or union
  138 |   buf->refcount = 1;
      |      ^~
gstvorbisdeclib.h:139:6: error: request for member ‘ptr’ in something not a structure or union
  139 |   buf->ptr.owner = NULL;
      |      ^~
gstvorbisdeclib.h:140:6: error: request for member ‘ptr’ in something not a structure or union
  140 |   buf->ptr.next = NULL;
      |      ^~
gstvorbisdeclib.h:142:6: error: request for member ‘buffer’ in something not a structure or union
  142 |   ref->buffer = buf;
      |      ^~
gstvorbisdeclib.h:143:6: error: request for member ‘begin’ in something not a structure or union
  143 |   ref->begin = 0;
      |      ^~
gstvorbisdeclib.h:144:6: error: request for member ‘length’ in something not a structure or union
  144 |   ref->length = buf->size;
      |      ^~
gstvorbisdeclib.h:144:20: error: request for member ‘size’ in something not a structure or union
  144 |   ref->length = buf->size;
      |                    ^~
gstvorbisdeclib.h:145:6: error: request for member ‘next’ in something not a structure or union
  145 |   ref->next = NULL;
      |      ^~
gstvorbisdeclib.h:147:25: warning: assignment to ‘unsigned char *’ from incompatible pointer type ‘int *’ [-Wincompatible-pointer-types]
  147 |   packet->packet.packet = ref;
      |                         ^
gstvorbisdeclib.h:148:29: error: request for member ‘length’ in something not a structure or union
  148 |   packet->packet.bytes = ref->length;
      |                             ^~
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from gstvorbisdec.h:29,
                 from gstvorbisdec.c:43:
gstvorbisdec.c: In function ‘vorbis_handle_data_packet’:
gstvorbisdeclib.h:115:44: error: too many arguments to function ‘vorbis_synthesis’
  115 | #define vorbis_synthesis(a, b)             vorbis_synthesis (a, b, 1)
      |                                            ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:928:8: note: in definition of macro ‘_G_BOOLEAN_EXPR’
  928 |    if (expr)                                    \
      |        ^~~~
gstvorbisdec.c:563:7: note: in expansion of macro ‘G_UNLIKELY’
  563 |   if (G_UNLIKELY (vorbis_synthesis (&vd->vb, packet)))
      |       ^~~~~~~~~~
gstvorbisdec.c:563:19: note: in expansion of macro ‘vorbis_synthesis’
  563 |   if (G_UNLIKELY (vorbis_synthesis (&vd->vb, packet)))
      |                   ^~~~~~~~~~~~~~~~
In file included from gstvorbisdeclib.h:82,
                 from gstvorbisdec.h:31,
                 from gstvorbisdec.c:43:
/usr/include/tremor/ivorbiscodec.h:174:17: note: declared here
  174 | extern int      vorbis_synthesis(vorbis_block *vb,ogg_packet *op);
      |                 ^~~~~~~~~~~~~~~~
In file included from gstvorbisdec.h:31,
                 from gstvorbisdec.c:43:
gstvorbisdeclib.h: In function ‘gst_ogg_packet_data’:
gstvorbisdeclib.h:121:1: warning: control reaches end of non-void function [-Wreturn-type]
  121 | }
      | ^
gstvorbisdeclib.h: In function ‘gst_ogg_packet_size’:
gstvorbisdeclib.h:127:1: warning: control reaches end of non-void function [-Wreturn-type]
  127 | }
      | ^

Static_Rocket commented on 2020-03-19 02:01 (UTC)

A little more detective work has allowed me to narrow this problem down to this line in these Makefiles:

./gst-libs/gst/pbutils/Makefile.in:545:enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
./gst-libs/gst/audio/Makefile.in:547:enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
./gst-libs/gst/app/Makefile.in:476:enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
./gst-libs/gst/video/Makefile.in:556:enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
./gst-libs/gst/rtsp/Makefile.in:520:enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
./gst-libs/gst/interfaces/Makefile.in:554:enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
./gst/tcp/Makefile.in:474:enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
./gst/encoding/Makefile.in:496:enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
./gst/playback/Makefile.in:572:enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")

For some reason the escape character is being interpreted as literal in these makefiles so when glib-mkenums makes the required files it carries this invalid character. I suppose this should be reported upstream.