Summary: | gst-plugins-oss-0.8.0 ebuild fails: no rule to make ../../gst-libs/gst/libgstinterfaces-0.8.la | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | burrelln |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Output of emerge |
Description
burrelln
2004-03-29 09:35:00 UTC
Created attachment 28296 [details]
Output of emerge
It's an ugly fix, but it works. In the gst-plugins.eclass, replace gst-plugins_src+compile() with the following gst-plugins_src_compile() { gst-plugins_src_configure ${@} if ! [ -z ${GST_NEED_INTERFACE} ]; then cd ${S}/gst-libs emake fi gst-plugins_find_plugin_dir mv Makefile Makefile.old cat Makefile.old | sed s/'$(top_builddir)\/gst-libs\/gst\/libgstinterfaces-0.8.la'// | \ sed s/'${top_builddir}\/gst-libs\/gst\/libgstinterfaces-0.8.la'// > Makefile emake || die "compile failure" } actually that doesn't work. a simple one is: gst-plugins_src_compile() { gst-plugins_src_configure ${@} if ! [ -z ${GST_NEED_INTERFACE} ]; then cd ${S}/gst-libs emake fi gst-plugins_find_plugin_dir cp /usr/lib/libgstinterfaces-0.8* ../../gst-libs/gst/ emake -lgstinterfaces-0.8 || die "compile failure" } Though there should be a way to change /usr/lib if things are installed in something like /home/newsys/usr/lib (hope that made more sense than it seemed) this works fine here already, are you sure your eclass is up-to-date ? Your code snippets suggest it isn't. you're right. Apparently you made a new one after I last synced. hmm i never update the eclass without updating the ebuilds if necessary, so it's very unlikely this should ever be out-of-sync on a normal system. Emerge sync this morning still does not work. The gst-plugins eclass I have has this version: # $Header: /home/cvsroot/gentoo-x86/eclass/gst-plugins.eclass,v 1.11 2004/03/29 15:36:16 foser Exp $ Is this the same eclass that you are testing with? @ comment #7 : thats the correct version. You havent been using non-gentoo stuff have you (BMG) ? Guilty as charged. The old gst-plugins.eclass from BMG that I had in one of my overlay directories doesn't appropriately handle the libgstinterface renaming. Building with PORTDIR_OVERLAY="" emerge gst-plugins-oss works correctly. My apologies about wasting your time with a problem of my own causing. In the future, is there any way to tell which eclass file is being used for a particular ebuild? not that i know of at this time... |