Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 245237
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gstreamer Herd <gstreamer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mart Raudsepp <leio@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gst-plugins-gio-0.10.21.ebuild gst-plugins-gio-0.10.21.ebuild text/plain Samuli Suominen 2008-12-06 00:19 0000 421 bytes Details
gst-plugins-base.eclass.patch /usr/portage/eclass/gst-plugins-base.eclass patch to fix bug patch Brad Allen 2008-12-07 18:34 0000 530 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 245237 depends on: Show dependency tree
Bug 245237 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-11-02 07:38 0000
I get this from gst-inspect-0.10:

(gst-inspect-0.10:523): GStreamer-WARNING **: Failed to load plugin
'/usr/lib64/gstreamer-0.10/libgstgio.so':
/usr/lib64/gstreamer-0.10/libgstgio.so: undefined symbol: g_input_stream_read

There is no DT_NEEDED on libgio in that plugin .so file

------- Comment #1 From Samuli Suominen 2008-12-05 23:10:44 0000 -------
(In reply to comment #0)
> I get this from gst-inspect-0.10:
> 
> (gst-inspect-0.10:523): GStreamer-WARNING **: Failed to load plugin
> '/usr/lib64/gstreamer-0.10/libgstgio.so':
> /usr/lib64/gstreamer-0.10/libgstgio.so: undefined symbol: g_input_stream_read
> 
> There is no DT_NEEDED on libgio in that plugin .so file
> 

Same problem here.

------- Comment #2 From Samuli Suominen 2008-12-06 00:16:09 0000 -------
Hmm,

ssuominen@unique ~ $ gst-inspect-0.10 | grep gio
gio:  giostreamsrc: GIO stream source
gio:  giostreamsink: GIO stream sink
gio:  giosrc: GIO source
gio:  giosink: GIO sink

ssuominen@unique ~ $ qlist -CIv gst-plugins-gio
media-plugins/gst-plugins-gio-0.10.21

But I've got attached ebuild installed atm.

------- Comment #3 From Samuli Suominen 2008-12-06 00:19:22 0000 -------
Created an attachment (id=174375) [details]
gst-plugins-gio-0.10.21.ebuild

I'm not sure if testing this, while trying to figure out the problem has
anything to do with the result it is working now.

NFC.

------- Comment #4 From Samuli Suominen 2008-12-06 06:56:31 0000 -------
(In reply to comment #3)
> Created an attachment (id=174375) [edit] [details]
> gst-plugins-gio-0.10.21.ebuild
> 
> I'm not sure if testing this, while trying to figure out the problem has
> anything to do with the result it is working now.
> 
> NFC.
> 

And now again, it's not working. How can it even be random?

------- Comment #5 From Samuli Suominen 2008-12-06 07:18:09 0000 -------
(In reply to comment #4)
> (In reply to comment #3)
> > Created an attachment (id=174375) [edit] [details]
> > gst-plugins-gio-0.10.21.ebuild
> > 
> > I'm not sure if testing this, while trying to figure out the problem has
> > anything to do with the result it is working now.
> > 
> > NFC.
> > 
> 
> And now again, it's not working. How can it even be random?
> 

To reply myself, once you load Totem once it starts working.

------- Comment #6 From Brad Allen 2008-12-07 04:28:03 0000 -------
> To reply myself, once you load Totem once it starts working.

I have a non-Gnome system, so I don't have totem, yet I have almost every
gst-plugin installed, yet I get the same error message.

I don't know yet how it's supposed to work, since it has never worked.

------- Comment #7 From Xake 2008-12-07 17:14:11 0000 -------
I just hit this too.
It seems that invoking 
GIO_LIBS="`pkg-config --libs gio-2.0`" emerge gst-plugins-gio
works for me, so afaics there is something wrong with configure.ac makeing it
not link libgstgio to libgio.

------- Comment #8 From Xake 2008-12-07 17:49:25 0000 -------
And the winner is:

eclass/gst-plugins-base

Becouse that eclass does not pass --enable-experimental to configure the
gio-part of configure is never run, leaving libgstgio built with an an
incomplete configuration.

this change made it work for me:

--- /var/portage/eclass/gst-plugins-base.eclass 2008-06-29 17:05:59.000000000
+0200
+++ /usr/local/portage/mine/eclass/gst-plugins-base.eclass      2008-12-07
18:42:47.738831698 +0100
@@ -69,7 +69,7 @@
        done

        cd ${S}
-       econf ${@} --with-package-name="Gentoo GStreamer Ebuild"
--with-package-origin="http://www.gentoo.org" ${gst_conf} || die "./configure
failure"
+       econf ${@} --with-package-name="Gentoo GStreamer Ebuild"
--with-package-origin="http://www.gentoo.org" --enable-experimental ${gst_conf}
|| die "./configure failure"

 }

------- Comment #9 From Brad Allen 2008-12-07 18:32:41 0000 -------
(In reply to comment #8)
> And the winner is:

Bingo.  Please commit.

> eclass/gst-plugins-base
> 
> Becouse that eclass does not pass --enable-experimental to configure the
> gio-part of configure is never run, leaving libgstgio built with an an
> incomplete configuration.
> 
> this change made it work for me:
> 
[I hand-applied this patch omitted]

After patching /usr/portage/eclass/gst-plugins-base.eclass as indicated, and
rebuilt (paludis install) media-plugins/gst-plugins-gio-0.10.20:0.10::gentoo,
and bingo, it worked.  (i.e., emerge gst-plugins-gio).

Please install the fix,

P.S., How do I tell Paludis to use eclass other than /usr/portage?  (Since
/usr/portage gets resynced, my changes lost.)  Of course, when they comit this
fix to the portage tree, then everything will be ok.

P.P.S., I'm posting a copy of Xake's patch from comment #8 as an attachment.

------- Comment #10 From Brad Allen 2008-12-07 18:34:04 0000 -------
Created an attachment (id=174585) [details]
/usr/portage/eclass/gst-plugins-base.eclass patch to fix bug

copied from Xake's comment

------- Comment #11 From Samuli Suominen 2008-12-21 17:36:21 0000 -------
+*gst-plugins-gio-0.10.21-r1 (21 Dec 2008)
+
+  21 Dec 2008; <ssuominen@gentoo.org> +gst-plugins-gio-0.10.21-r1.ebuild:
+  Pass --enable-experimental to link against libgio-2.0.so wrt #245237.
+

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug