Bug 247831
Summary: | Update to gnome-sharp breaks upgrade path | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alex Lancaster <alex> | ||||||
Component: | gnome-sharp | Assignee: | Alexander Larsson <alexl> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 7 | CC: | adellam, bdpepple, belegdol, biggaz, boris, djuran, dowdle, earl.pomeroy42, eric.tanguy, genneth, luis, lxtnow, nerijus, nphilipp, pcfe, rmj, ron, splewako | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 2.16.0-3.fc7 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2007-07-18 20:55:47 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 248107 | ||||||||
Attachments: |
|
Description
Alex Lancaster
2007-07-11 16:06:44 UTC
Created attachment 159039 [details]
diff between the files contained in the installed and new version of gnome-sharp
*** Bug 247939 has been marked as a duplicate of this bug. *** Changing the BuildRequires from gtkhtml3-devel to gtkhtml38-devel ought to do the trick. The gnome-sharp-2.16.0-2.fc7 missing provide mono(gtkhtml-sharp) that gnome-sharp-2.16.0-1.fc6 have. The fc6 version I think used by F7 before have an update. Is the maintainer actively working on fixing this? This means that f-spot (a fairly major end-user app) has been uninstallable and systems that have f-spot currently installed won't update properly for over 2 days now. I can verify that compiling gnome-sharp with gtkhtml38 and gtkhtml38-devel installed will do the trick. Someone please fix this. Small request, update monodevelop to 0.14, please. *** Bug 248009 has been marked as a duplicate of this bug. *** Bumping up priority to urgent. This really looks bad for Fedora that a major app like f-spot is uninstallable. CCing the comaintainer. *** Bug 248531 has been marked as a duplicate of this bug. *** Created attachment 159412 [details]
updated SRPM
I've attached an updated SRPM. I think I've modified things correctly --
updated changelog, version number, etc. Should I upload my i386 build as well?
I don't really know the correct etiquette on this.
I will check your srpm and update that in CVS Is really an additional dependency on gtkhtml38 needed? As told in bug #248009: It seems that gnome-sharp didn't include the libgtkhtml-sharp libs because during build it searches for libgtkhtml-3.8.pc package to see if it will build the libgtkhtml-sharp libs but gtkhtml3-devel package provides libgtkhtml-3.14.pc . After I created a symbolic link libgtkhtml-3.8.pc pointing to libgtkhtml-3.14.pc in the /usr/lib/pkgconfig directory and then did a gnome-sharp rebuilt and installed it, now f-sport works fine! As currently f-spot works with gtkhtml3-3.14.3-1.fc7 and w/o gtkhtml38 installed, I think instead of adding build requirement for gtkhtml38-devel the source should be fixed to search for libgtkhtml-3.14.pc instead of libgtkhtml-3.8.pc. hm...that's a good point i'll do some workaround on the source. Nerijus can you upload somewhere your build log of gnome-sharp. I haven't built it, but I see in configure.in: GTKHTML_REQUIRED_VERSION=3.8.0 ... GTKHTML_VERSION=3.8 GTKHTML_SOVERSION=15 As gtkhtml38 has libgtkhtml-3.8.so.15, and gtkhtml3-3.14.1-1.fc7 has libgtkhtml-3.14.so.19, I think the following patch should work: --- configure.in.orig 2006-08-21 19:46:13.000000000 +0300 +++ configure.in 2007-07-17 19:24:34.000000000 +0300 @@ -195,6 +195,12 @@ PKG_CHECK_MODULES(RSVG_DEPENDENCIES, librsvg-2.0 >= $RSVG_REQUIRED_VERSION, enable_rsvg=yes, enable_rsvg=no) if test "x$enable_gnome" = "xyes"; then +GTKHTML_REQUIRED_VERSION=3.14.0 +PKG_CHECK_MODULES(GTKHTML_DEPENDENCIES, libgtkhtml-3.14 >= $GTKHTML_REQUIRED_VERSION, enable_gtkhtml=yes, enable_gtkhtml=no) +if test "x$enable_gtkhtml" = "xyes"; then +GTKHTML_VERSION=3.14 +GTKHTML_SOVERSION=19 +else GTKHTML_REQUIRED_VERSION=3.8.0 PKG_CHECK_MODULES(GTKHTML_DEPENDENCIES, libgtkhtml-3.8 >= $GTKHTML_REQUIRED_VERSION, enable_gtkhtml=yes, enable_gtkhtml=no) if test "x$enable_gtkhtml" = "xyes"; then @@ -225,6 +231,7 @@ fi fi fi +fi AC_SUBST(GTKHTML_VERSION) AC_SUBST(GTKHTML_SOVERSION) else I tested build with this patch, it works. If we name the preceding patch gnome-sharp-2.16.0-gtkhtml3-3.14.patch, the following patch should be applied to gnome-sharp.spec: --- gnome-sharp.spec.orig 2007-07-10 17:38:56.000000000 +0300 +++ gnome-sharp.spec 2007-07-17 20:45:21.000000000 +0300 @@ -11,6 +11,7 @@ Patch1: gnome-sharp-2.15.0-libdir.patch Patch2: %{name}-2.16.0-automake-1.10.patch +Patch3: %{name}-2.16.0-gtkhtml3-3.14.patch BuildRequires: mono-devel gtk2-devel libart_lgpl-devel gnome-vfs2-devel libgnomecanvas-devel libgnomeui-devel BuildRequires: gtk-sharp2-devel >= 2.10.0 @@ -43,6 +44,7 @@ %setup -n gnome-sharp-%{version} %patch1 -p1 -b .libdir %patch2 -p1 -b .automake-1.10 +%patch3 -p0 -b .gtkhtml3-3.14 %build autoreconf --force --install (Note that I think that the owner of the bug is at GUADEC, hence his lack of response.) [comment #17] that was a tested too. does it also resloved the 'Unresolveable requirement' from yum ? Yes, as f-spot requires mono(gtkhtml-sharp) = 2.16.0.0, and newly built rpm provides it (I've just checked it). okay, test pass for me too. i'll update released package has been built. Nerijus, could you test them before i close this bug ? (In reply to comment #23) > released package has been built. When you release this bodhi, could you e-mail rel-eng and ask them to expedite the push of this package to stable ASAP? since it's been broken for almost a week now. Thanks. gnome-sharp-2.16.0-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. [root@Woden earthwormgaz]# yum install f-spot Loading "installonlyn" plugin Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package f-spot.i386 0:0.3.5-2.fc7 set to be updated --> Processing Dependency: mono(gtkhtml-sharp) = 2.16.0.0 for package: f-spot --> Finished Dependency Resolution Error: Missing Dependency: mono(gtkhtml-sharp) = 2.16.0.0 is needed by package f-spot [root@Woden earthwormgaz]# date Wed Jul 18 23:00:42 BST 2007 Either f-spot needs a rebuild to pick up the new version, or more likely, the fix needs to propagate to mirrors. [in reply to comment #26] hm...i've just make a retry on "yum install f-spot", and it's work fine. Gareth, will you retry an yum install please. Will do when I get home mate, cheers. |