[opensuse-factory] regression in (GNOME) factory regarding gtk2 development
Hi, gtk2-devel package does not pull "shared-mime-info" (more specificaly it should be pulled by gdk-pixbuf-devel) required by gdk-pixbuf-devel or specifically gdk-pixbuf-csource command from same package GDK uses mime-info for controlling which "loader" will be used for loading images and if package is missing it will fail to call correct shared library, as can not determine given image type. Installing shared-mime-info is enough to make loaders work as expected but should be fixed on higger level. Boris ------------------- error snip --------------- gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata rsrc/build.bmp > rsrc/editor_banner.c failed to load "rsrc/build.bmp": Couldn't recognize the image file format for file 'rsrc/build.bmp' ------------------- error snip --------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sat, 2011-10-01 at 10:22 +0200, Boris Manojlovic wrote:
Hi,
gtk2-devel package does not pull "shared-mime-info" (more specificaly it should be pulled by gdk-pixbuf-devel) required by gdk-pixbuf-devel or specifically gdk-pixbuf-csource command from same package GDK uses mime-info for controlling which "loader" will be used for loading images and if package is missing it will fail to call correct shared library, as can not determine given image type. Installing shared-mime-info is enough to make loaders work as expected but should be fixed on higger level.
Boris
------------------- error snip --------------- gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata rsrc/build.bmp > rsrc/editor_banner.c failed to load "rsrc/build.bmp": Couldn't recognize the image file format for file 'rsrc/build.bmp' ------------------- error snip ---------------
Hi Boris, Thank you very much for your report and the analysis (and also the submit request to implement your suggested solution). Unfortunately, I'm afraid, there must have been something else wrong, as shared-mime-info is pulled in by a bunch of other dependencies. Explicitly, for gdk-pixbuf-devel, the chain is like this: shared-mime-info => libgio-2_0-0 => libgdk_pixbuf-2_0-0 => gdk-pixbuf-devel. The dependency on libgio-2_0-0 to shared-mime-info was added back in September 2010, based on bnc#555606. Can you please verify on your system if this dependency chain is the same for your system and possibly also with "zypper verify" if your system is in a consistent state? For now I put your SR on review with a link to this mail thread, until it's all sorted out. Best regards, Dominique / DimStar -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Hi Dominique and lists, On Sat, Oct 1, 2011 at 11:31 AM, Dimstar / Dominique Leuenberger <dimstar@opensuse.org> wrote:
On Sat, 2011-10-01 at 10:22 +0200, Boris Manojlovic wrote:
Hi,
gtk2-devel package does not pull "shared-mime-info" (more specificaly it should be pulled by gdk-pixbuf-devel) required by gdk-pixbuf-devel or specifically gdk-pixbuf-csource command from same package GDK uses mime-info for controlling which "loader" will be used for loading images and if package is missing it will fail to call correct shared library, as can not determine given image type. Installing shared-mime-info is enough to make loaders work as expected but should be fixed on higger level.
Boris
------------------- error snip --------------- gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata rsrc/build.bmp > rsrc/editor_banner.c failed to load "rsrc/build.bmp": Couldn't recognize the image file format for file 'rsrc/build.bmp' ------------------- error snip ---------------
Hi Boris,
Thank you very much for your report and the analysis (and also the submit request to implement your suggested solution).
Unfortunately, I'm afraid, there must have been something else wrong, as shared-mime-info is pulled in by a bunch of other dependencies.
Explicitly, for gdk-pixbuf-devel, the chain is like this:
shared-mime-info => libgio-2_0-0 => libgdk_pixbuf-2_0-0 => gdk-pixbuf-devel.
The dependency on libgio-2_0-0 to shared-mime-info was added back in September 2010, based on bnc#555606.
Can you please verify on your system if this dependency chain is the same for your system and possibly also with "zypper verify" if your system is in a consistent state?
yes it is consistent. You are correct 100% on my live factory it is really pulled by libgio and a lot of other packages. Unfortunately it is on OBS not on live system that i have a problem because of missing shared-mime-info package, so it was a bit wrong assessment from my side to begin with. But my maybe not perfect fix would fix issues on OBS. Maybe question is what changed from few days ago and now we do not pull shared-mime-info into gtk2-devel chain any more? Anyway I'm forwarding this to opensuse-packaging as this is more appropriate list for this exact issue. So recap is Factory installation is ok for development, but OBS fails for specified reason.
For now I put your SR on review with a link to this mail thread, until it's all sorted out.
Best regards, Dominique / DimStar
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sat, 2011-10-01 at 14:35 +0200, Boris Manojlovic wrote:
Hi Dominique and lists,
shared-mime-info => libgio-2_0-0 => libgdk_pixbuf-2_0-0 => gdk-pixbuf-devel.
The dependency on libgio-2_0-0 to shared-mime-info was added back in September 2010, based on bnc#555606.
Can you please verify on your system if this dependency chain is the same for your system and possibly also with "zypper verify" if your system is in a consistent state?
yes it is consistent. You are correct 100% on my live factory it is really pulled by libgio and a lot of other packages. Unfortunately it is on OBS not on live system that i have a problem because of missing shared-mime-info package, so it was a bit wrong assessment from my side to begin with. But my maybe not perfect fix would fix issues on OBS.
Thanks for your clarification here. I checked the Project configuration of Factory, which currently lists:
osc meta prjconf openSUSE:Factory | grep shared-mime-info Ignore: libgnomeui:gnome-icon-theme,shared-mime-info Ignore: libgio-2_0-0:shared-mime-info
==> So shared-mime-info was put explicit on the 'ignore' by somebody. Let's try to get a statement on WHY this happened before we try to workaround by just adding it back on a different point (likely to reduce the build time of the entire factory tree...) So? Anybody? Best regards, Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sat, 2011-10-01 at 16:55 +0200, Dimstar / Dominique Leuenberger wrote:
osc meta prjconf openSUSE:Factory | grep shared-mime-info Ignore: libgnomeui:gnome-icon-theme,shared-mime-info Ignore: libgio-2_0-0:shared-mime-info
==> So shared-mime-info was put explicit on the 'ignore' by somebody.
Let's try to get a statement on WHY this happened before we try to workaround by just adding it back on a different point (likely to reduce the build time of the entire factory tree...) So? Anybody?
The ignore was put in an attempt to fix a 'failure' on shared-mime-info Requiring itself to build (Building shared-mime-info Requires glib2-devel requires libio-2_0-0-devel requires shared-mime-info). The Ignore has been removed again and a better fix submitted to Factory. Thanks for spotting this and bringing it to the light. Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (2)
-
Boris Manojlovic
-
Dimstar / Dominique Leuenberger