Re: [opensuse-packaging] Need help fixing gstreamer-0_10-plugins-bad, what is cog?
On 09/04/10 09:28, Dave Plater wrote:
On 04/09/2010 09:47 AM, Dave Plater wrote:
On 04/09/2010 09:31 AM, Toni wrote:
Am Freitag, 9. April 2010 schrieb Dave Plater:
Hi, multimedia:libs gstreamer-0_10-plugins-bad is failing to build libgstcog for everything except 11.2. The ./config output says for factory standard :- configure: *** checking feature: Cog plugin *** configure: *** for plug-ins: cog *** checking for COG... no no configure: *** These plugins will not be built: cog but the 11.2 build finds cog.
My question is what provides cog. I've searched 11.2 packages and can only come up with discogs from packman and google brings up a cog package which looks multimedia related. I'm double posting to packaging and factory.
you need the new orc (The Oil Runtime Compiler) package.
look here http://packman.links2linux.de/package/orc
and add BuildRequires: orc-devel orc to the gstreamer package
Thanks Dave P
Ok I think I see the problem, multimedia:libs orc doesn't provide a devel package but the strange part is the 11.2 build finds cog. The build for factory loads orc and liborc, as does the 11.2 build. I'll have a closer look at the orc package maybe 11.2 liboil has something to do with it? Thanks Dave P
I'm changing orc-doc to orc-devel to hopefully fix the gstreamer bad build, thanks to Toni for pointing me in the right direction. Dave P
Dave, there was a discussion on why there is no orc-devel last month here on -packaging: [opensuse-packaging] compiler / devel files in package http://lists.opensuse.org/opensuse-packaging/2010-03/msg00047.html Sorry if this is redundant info Regards, Tejas -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 04/09/2010 11:15 AM, Tejas Guruswamy wrote:
On 09/04/10 09:28, Dave Plater wrote:
On 04/09/2010 09:47 AM, Dave Plater wrote:
On 04/09/2010 09:31 AM, Toni wrote:
Am Freitag, 9. April 2010 schrieb Dave Plater:
Hi, multimedia:libs gstreamer-0_10-plugins-bad is failing to build libgstcog for everything except 11.2. The ./config output says for factory standard :- configure: *** checking feature: Cog plugin *** configure: *** for plug-ins: cog *** checking for COG... no no configure: *** These plugins will not be built: cog but the 11.2 build finds cog.
My question is what provides cog. I've searched 11.2 packages and can only come up with discogs from packman and google brings up a cog package which looks multimedia related. I'm double posting to packaging and factory.
you need the new orc (The Oil Runtime Compiler) package.
look here http://packman.links2linux.de/package/orc
and add BuildRequires: orc-devel orc to the gstreamer package
Thanks Dave P
Ok I think I see the problem, multimedia:libs orc doesn't provide a devel package but the strange part is the 11.2 build finds cog. The build for factory loads orc and liborc, as does the 11.2 build. I'll have a closer look at the orc package maybe 11.2 liboil has something to do with it? Thanks Dave P
I'm changing orc-doc to orc-devel to hopefully fix the gstreamer bad build, thanks to Toni for pointing me in the right direction. Dave P
Dave, there was a discussion on why there is no orc-devel last month here on -packaging:
[opensuse-packaging] compiler / devel files in package http://lists.opensuse.org/opensuse-packaging/2010-03/msg00047.html
Sorry if this is redundant info
Regards, Tejas
The Provides: orc-devel from the main package maybe doesn't do the job, it only had the .so links, the include files were in the doc sub package which maybe explains the problem. I'm going with the devel package as I'm sure rpmlint will complain about include files in the main package. I could try a provides in the doc package but I don't think this is right. I suppose I have to announce my change, if it works. Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le vendredi 09 avril 2010, à 11:34 +0200, Dave Plater a écrit :
The Provides: orc-devel from the main package maybe doesn't do the job, it only had the .so links, the include files were in the doc sub package which maybe explains the problem. I'm going with the devel package as I'm sure rpmlint will complain about include files in the main package. I could try a provides in the doc package but I don't think this is right. I suppose I have to announce my change, if it works.
Sorry, I think this is wrong. Either you put everything in orc-devel or everything in orc (except for what is already in liborc-0_4-0, obviously): orcc is a tool that is needed when using orc to build something. I really think what we had without the devel package is the right approach in this case. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le vendredi 09 avril 2010, à 11:44 +0200, Vincent Untz a écrit :
Le vendredi 09 avril 2010, à 11:34 +0200, Dave Plater a écrit :
The Provides: orc-devel from the main package maybe doesn't do the job, it only had the .so links, the include files were in the doc sub package which maybe explains the problem. I'm going with the devel package as I'm sure rpmlint will complain about include files in the main package. I could try a provides in the doc package but I don't think this is right. I suppose I have to announce my change, if it works.
Sorry, I think this is wrong. Either you put everything in orc-devel or everything in orc (except for what is already in liborc-0_4-0, obviously): orcc is a tool that is needed when using orc to build something.
I really think what we had without the devel package is the right approach in this case.
Also, I see you did the change, but didn't add a .changes entry :/ Please make sure to add a .changes entry every time you change a package, especially if the package is in a devel package for Factory and might get pushed to Factory... Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 04/09/2010 11:44 AM, Vincent Untz wrote:
Le vendredi 09 avril 2010, à 11:34 +0200, Dave Plater a écrit :
The Provides: orc-devel from the main package maybe doesn't do the job, it only had the .so links, the include files were in the doc sub package which maybe explains the problem. I'm going with the devel package as I'm sure rpmlint will complain about include files in the main package. I could try a provides in the doc package but I don't think this is right. I suppose I have to announce my change, if it works.
Sorry, I think this is wrong. Either you put everything in orc-devel or everything in orc (except for what is already in liborc-0_4-0, obviously): orcc is a tool that is needed when using orc to build something.
I really think what we had without the devel package is the right approach in this case.
Vincent
It wasn't causing the gstreamer bad cog build failure anyway so I'm restoring it to it's original spec file but shouldn't the include files be in the main package and not in the doc sub package or at least the main package should require the docs? I'm leaving the package alone but if you want one of the above I'll put it in quickly. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le vendredi 09 avril 2010, à 11:59 +0200, Dave Plater a écrit :
It wasn't causing the gstreamer bad cog build failure anyway so I'm restoring it to it's original spec file but shouldn't the include files be in the main package and not in the doc sub package or at least the main package should require the docs?
This is what we have: %files %defattr(-,root,root) %{_bindir}/orcc %{_includedir}/orc-0.4 %{_libdir}/*.so %{_libdir}/pkgconfig/orc-0.4.pc %files doc %defattr(-,root,root) %{_datadir}/gtk-doc/html/orc %files -n liborc-0_4-0 %defattr(-,root,root) %{_libdir}/liborc*-0.4.so.* The headers are not in the doc package, but in the main package. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 04/09/2010 12:02 PM, Vincent Untz wrote:
Le vendredi 09 avril 2010, à 11:59 +0200, Dave Plater a écrit :
It wasn't causing the gstreamer bad cog build failure anyway so I'm restoring it to it's original spec file but shouldn't the include files be in the main package and not in the doc sub package or at least the main package should require the docs?
This is what we have:
%files %defattr(-,root,root) %{_bindir}/orcc %{_includedir}/orc-0.4 %{_libdir}/*.so %{_libdir}/pkgconfig/orc-0.4.pc
%files doc %defattr(-,root,root) %{_datadir}/gtk-doc/html/orc
%files -n liborc-0_4-0 %defattr(-,root,root) %{_libdir}/liborc*-0.4.so.*
The headers are not in the doc package, but in the main package.
Vincent
Sorry my mistake. I didn't update the changes file because I wasn't sure if I was going to change anything, Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le vendredi 09 avril 2010, à 12:13 +0200, Dave Plater a écrit :
Sorry my mistake. I didn't update the changes file because I wasn't sure if I was going to change anything,
That's why we have branches, don't hesitate to use them and then submit all your changes once you're done. I fixed the issue, see gstreamer010-plugins-bad-libpng14.patch. Note that it's always much simpler to just go upstream and look if this was fixed already :-) Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 04/09/2010 12:28 PM, Vincent Untz wrote:
Le vendredi 09 avril 2010, à 12:13 +0200, Dave Plater a écrit :
Sorry my mistake. I didn't update the changes file because I wasn't sure if I was going to change anything,
That's why we have branches, don't hesitate to use them and then submit all your changes once you're done.
I fixed the issue, see gstreamer010-plugins-bad-libpng14.patch. Note that it's always much simpler to just go upstream and look if this was fixed already :-)
Vincent
Thanks, I was lead on a wild orc chase, you've saved me a lot of trouble, leave me to clean up the rest of the mess I made. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Dave Plater
-
Dave Plater
-
Tejas Guruswamy
-
Vincent Untz