FS#16608 - [pan] 0.133 need to be rebuild because of new gmime package

Attached to Project: Arch Linux
Opened by solsTiCe (zebul666) - Tuesday, 13 October 2009, 08:55 GMT
Last edited by Eric Belanger (Snowman) - Friday, 16 October 2009, 06:13 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
$ pan
pan: error while loading shared libraries: libgmime-2.0.so.2: cannot open shared object file: No such file or directory

so pan need to be rebuild with new gmime package

moreover, trying to build it from abs gives an error:
checking for GMIME... configure: error: Package requirements (gmime-2.0 >= 2.1.9) were not met:

No package 'gmime-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GMIME_CFLAGS
and GMIME_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

==> ERROR: Build Failed.
Aborting...

gmime package is broken ? need a gmime.pc ?? i will fill a bug for that too
This task depends upon

Closed by  Eric Belanger (Snowman)
Friday, 16 October 2009, 06:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in pan-0.133-2. I was able to patch it so that it built with gmime 2.4.
Comment by solsTiCe (zebul666) - Tuesday, 13 October 2009, 09:01 GMT
oops. it's a bug in the build process of pan that looks for exclusivly gmime-2.0.pc
patch are floating around to fix this. on their ML.
don't know if their gonna release something to fix this
Comment by solsTiCe (zebul666) - Tuesday, 13 October 2009, 09:04 GMT
hum. not their ML their bug tracker
Comment by c (toxygen) - Tuesday, 13 October 2009, 14:35 GMT
I can verify this bug. Moreover, on the bug tracker for pan, comment on 2009-09-29 provides a patch:
https://bugzilla.gnome.org/attachment.cgi?id=144228

adding this patch still fails to build pan for me. per comments in bug tracker, I doubt this will be getting fixed anytime soon. for now keeping gmime-2.2.21 as pan is the only application I have using it.

Comment by Sergej Pupykin (sergej) - Wednesday, 14 October 2009, 08:10 GMT
I put gmime22 package into community
Comment by Sergej Pupykin (sergej) - Wednesday, 14 October 2009, 08:12 GMT
it does not conflict with gmime and dbmail seems works with it.
Comment by Baeyens (berbae) - Wednesday, 14 October 2009, 12:58 GMT
The dependency on gmime for the pan package should be changed to gmime22, for those who only use pan without a Gnome environment, in the same way as the dbmail package.
Thanks Sergej for the updated gmime22 package in community.
Comment by Sergej Pupykin (sergej) - Wednesday, 14 October 2009, 13:11 GMT
This is sad. But fortunately dbmail is server application which use gmime to parse email messages.
Comment by Baeyens (berbae) - Wednesday, 14 October 2009, 14:54 GMT
I rebuilt the pan 0.133 package changing the dependency to gmime22.
But I had to use the patch from http://git.gnome.org/cgit/pan2/commit/?id=41fa7e1e01752e6e8b6caa369b42b24951d86a5a
to compile it with gcc 4.4.1 . The PKGBUILD I used is attached and the patch named pan2gcc44.patch also.
Comment by Eric Belanger (Snowman) - Wednesday, 14 October 2009, 16:14 GMT
I am working on a patch to make pan build/work with gmime 2.4. The remaining error is:

mime-utils.cc: In function `void<unnamed>::handle_uu_and_yenc_in_text_plain_cb(GMimeObject*, GMimeObject*, void*)':
mime-utils.cc:787: error: invalid cast from type `_GMimeObject' to type `GTypeInstance*'
mime-utils.cc:788: error: invalid cast from type `_GMimeObject' to type `GMimeMultipart*'
mime-utils.cc:796: error: `handle_uu_and_yenc_in_text_plain' was not declared in this scope
mime-utils.cc:804: error: cannot convert `_GMimeObject' to `GMimeObject*' for argument `1' to `GMimeContentType* g_mime_object_get_content_type(GMimeObject*)'
mime-utils.cc:809: error: invalid cast from type `_GMimeObject' to type `GTypeInstance*'
make[3]: *** [mime-utils.o] Error 1

Anyone know how to fix this? The patch I'm using was made for the git version. I'll try to use it on the git version to see if it works. If I have too much trouble or if it takes too much time, I'll probably use the gmime22 package.

Loading...