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: 130
Popularity: 0.016267
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 8 .. 13 Next › Last »

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.

lukethisshit commented on 2020-03-04 19:32 (UTC)

@matbonn you have to add the find command provided from @Static_Rocket inside of the PKGBUILD file, inside the build function one line above the make command. Like this it worked for me.

THX @Static_Rocket for the dirty fix!

matbonn commented on 2020-03-03 19:57 (UTC) (edited on 2020-03-03 20:06 (UTC) by matbonn)

@warsh - So I went to /tmp/trizen-username/ and ran this "sudo find . -exec sed -i -e 's/\#include/#include/g' {} \;" all I got was ..:not a regular file

I ran the above just after it fails and then type "Y" for try again hoping it would use the newly modded files. What did I do wrong? Thanks

To be fair I don't think my error is the same https://pastebin.com/WB8BgW53

k43pxhv commented on 2020-03-01 07:40 (UTC)

@Static_Rocket Can confirm that the quick and dirty slap fixed the compilation issue. Thank you :-)

Static_Rocket commented on 2020-02-28 20:33 (UTC)

Yeah, this package is foobared at the moment. Apparently all the files in the package that are auto-generated by glib-mkenums have include statements preceded by a backslash that will make the compiler go apeshit.

Quick and dirty fix: Slap a find . -exec sed -i -e 's/\\#include/#include/g' {} \; right before the make command in the build function.

Shun_kanji commented on 2020-02-10 07:59 (UTC) (edited on 2020-02-10 08:00 (UTC) by Shun_kanji)

Hi, i'm unable to build gstreamer0.10-base. The build always fail with a bunch of error. I made a pastebin ( https://pastebin.com/8kagmiiW ) , but the step to reproduce are fairly simple :

git clone https://aur.archlinux.org/gstreamer0.10-base && cd gstreamer0.10-base/ && makepkg -si --noconfirm