Red Hat Bugzilla – Bug 476250
Port pan 0.133 to new gmime 2.4.x API
Last modified: 2009-10-12 11:53:19 EDT
Created attachment 326746 [details]
Patch to fix build
Description of problem:
The pan package fails to build due to enormous changes in the gmime API between gmime-2.2.x and gmime-2.4.x.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install gmime-2.4.3-2.
2. Rebuild pan-0.133-1
Build fails due to pkg-config error.
This bug depends on Bug #476243 being satisfied. The pan package will not build properly even if configure.in is modified to work with gmime-2.4.3. The best resolution is to use the gmime-2.2 library until such time that upstream has been rewritten to use the gmime-2.4 API. Bug #476243 provides for a new package, gmime22, which this will build against. Attached is a patch to pan.spec which will fix the BR to depend on this new package.
Upstream is working on a patch for Pan to support GMime 2.4: http://bugzilla.gnome.org/show_bug.cgi?id=541676
Created attachment 331098 [details]
build with old gmime
In the meantime in order to have a package I am using this gross violation to build together with a copy of the old gmime.
That is a 'no-go' as it isn't allowed by the Fedora Packaging Guidelines. See http://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries and http://fedoraproject.org/wiki/Packaging:Guidelines#Bundling_of_multiple_projects
Lack of a pan patch means that the rawhide package is causing broken deps in Fedora:
Broken deps for i386
1:pan-0.133-1.fc10.i386 requires libgmime-2.0.so.2
(from http://koji.fedoraproject.org/mash/rawhide-20090314/logs/depcheck )
We may have to block the package from the f11-beta, so it would be good if there was a working patch we could apply.
We introduced a gmime22 compatibility package:
so this is fixed for F11-beta. However, since this gmime22 package is intended to only last one cycle, we should leave this bug open to encourage porting to the new gmime 2.4.x API.
Marking patches as obsolete.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
This is fixed in the first build of Fedora 12 rawhide, and from the comments, much earlier. Closing.
Shouldn't this stay open? Pan still doesn't support gmime 2.4 and the gmime22 package is only meant as a temporary solution