Bug 538956 - FTBFS mail-notification-5.4-16.fc12
Summary: FTBFS mail-notification-5.4-16.fc12
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mail-notification
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Dmitry Butskoy
QA Contact: Fedora Extras Quality Assurance
URL: http://linux.dell.com/files/fedora/Fi...
Whiteboard:
Depends On:
Blocks: F13FTBFS
TreeView+ depends on / blocked
 
Reported: 2009-11-19 16:11 UTC by FTBFS
Modified: 2010-02-01 18:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-01 18:16:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
root.log (904.25 KB, text/plain)
2009-11-19 16:11 UTC, FTBFS
no flags Details
build.log (621 bytes, text/plain)
2009-11-19 16:11 UTC, FTBFS
no flags Details
mock.log (734.61 KB, text/plain)
2009-11-19 16:11 UTC, FTBFS
no flags Details
root.log (1.30 MB, text/plain)
2009-11-19 16:11 UTC, FTBFS
no flags Details
build.log (632 bytes, text/plain)
2009-11-19 16:11 UTC, FTBFS
no flags Details
mock.log (1.05 MB, text/plain)
2009-11-19 16:11 UTC, FTBFS
no flags Details
Initial patch (needs work) (2.12 KB, patch)
2010-01-05 22:02 UTC, Erik van Pienbroek
no flags Details | Diff
Updated patch (3.44 KB, patch)
2010-02-01 17:45 UTC, Matthew Barnes
no flags Details | Diff

Description FTBFS 2009-11-19 16:11:40 UTC
mail-notification-5.4-16.fc12.src.rpm Failed To Build From Source against the rawhide tree.  See http://fedoraproject.org/wiki/FTBFS for more information.

Comment 1 FTBFS 2009-11-19 16:11:43 UTC
Setting to ASSIGNED per Fedora Bug Triage workflow.  https://fedoraproject.org/wiki/BugZappers/BugStatusWorkFlow

Comment 2 FTBFS 2009-11-19 16:11:46 UTC
Created attachment 370836 [details]
root.log

root.log for i386

Comment 3 FTBFS 2009-11-19 16:11:48 UTC
Created attachment 370837 [details]
build.log

build.log for i386

Comment 4 FTBFS 2009-11-19 16:11:49 UTC
Created attachment 370838 [details]
mock.log

mock.log for i386

Comment 5 FTBFS 2009-11-19 16:11:51 UTC
Created attachment 370839 [details]
root.log

root.log for x86_64

Comment 6 FTBFS 2009-11-19 16:11:53 UTC
Created attachment 370840 [details]
build.log

build.log for x86_64

Comment 7 FTBFS 2009-11-19 16:11:55 UTC
Created attachment 370841 [details]
mock.log

mock.log for x86_64

Comment 8 Erik van Pienbroek 2009-11-23 22:19:19 UTC
The build logs indicate a broken build environment which isn't related to this package. However, this package needs to be patched in order to support evolution 2.29/2.30:

building class MNEvolutionFolderTreeServer
gcc -c -o build/src/liborg-jylefort-mail-notification-mn-evolution-folder-tree-server.o -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS   -DORBIT2=1 -pthread -I/usr/include/evolution-2.30 -I/usr/include/evolution-data-server-2.30 -I/usr/include/libxml2 -I/usr/include/unique-1.0 -I/usr/include/libgtkhtml-3.14 -I/usr/include/libgtkhtml-3.14/editor -I/usr/include/libgnomecanvas-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/gconf/2 -I/usr/include/libsoup-2.4 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/enchant -I/usr/include/gail-1.0 -I/usr/include/libart-2.0   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAVE_REENTRANT_RESOLVER -DSTRING_ARCH_UNALIGNED -DHAVE_TIMEGM -DWITH_EVOLUTION=1 -DWITH_GMAIL=1 -DWITH_HOTMAIL=1 -DWITH_IMAP=1 -DWITH_MAILDIR=1 -DWITH_MBOX=1 -DWITH_MH=1 -DWITH_MOZILLA=1 -DWITH_POP3=1 -DWITH_SYLPHEED=1 -DWITH_YAHOO=1 -DWITH_IPV6=1 -DWITH_SASL=1 -DWITH_SSL=1 -DWITH_GCONF_SANITY_CHECK=1 -Isrc -Ibuild/src -DGETTEXT_PACKAGE='"mail-notification"' -DENABLE_NLS   -DPIC -D_GNU_SOURCE  -MT build/src/liborg-jylefort-mail-notification-mn-evolution-folder-tree-server.o -MD -MP -MF build/src/liborg-jylefort-mail-notification-mn-evolution-folder-tree-server.o.deps build/src/mn-evolution-folder-tree-server.c
build/src/mn-evolution-folder-tree-server.c:27:33: error: mail/mail-component.h: No such file or directory
build/src/mn-evolution-folder-tree-server.c: In function 'mn_evolution_folder_tree_server_constructor':
build/src/mn-evolution-folder-tree-server.c:399: warning: implicit declaration of function 'mail_component_peek_tree_model'
build/src/mn-evolution-folder-tree-server.c:399: warning: implicit declaration of function 'mail_component_peek'
build/src/mn-evolution-folder-tree-server.c:399: warning: assignment makes pointer from integer without a cast
build/src/mn-evolution-folder-tree-server.c:400: warning: implicit declaration of function 'em_folder_tree_new_with_model'
build/src/mn-evolution-folder-tree-server.c:400: warning: assignment makes pointer from integer without a cast
ERROR: command failed
fout: Bad exit status from /var/tmp/rpm-tmp.KpSlEV (%build)

These three functions and the header file appear to have been removed from evolution 2.29..

Comment 9 Matt Domsch 2009-11-23 22:40:32 UTC
This is not a build system failure.
The package failed to depsolve for libexchange-storage-1.2.so.3.

On Fedora 12:
$ repoquery -C --whatprovides libexchange-storage-1.2.so.3
evolution-data-server-0:2.28.0-1.fc12.i686

however, in rawhide, evolution-data-server does not provide this library anymore.
$ rpm -qpl evolution-data-server-2.29.1-1.fc13.i686.rpm  | grep storage

Comment 10 Dmitry Butskoy 2009-11-24 14:02:54 UTC
Since upstream (http://www.nongnu.org/mailnotify/) seems to be stalled a quite long time, and there are no any patches in another distros yet, the only chance to fix it now is to write a patch by someone who is capable to do it under rawhide...

Comment 11 Erik van Pienbroek 2010-01-05 22:02:27 UTC
Created attachment 381858 [details]
Initial patch (needs work)

Here's a patch to get mail-notification compiled again. With this patch, mail-notification should be able to show a notification when new mail arrives, but it isn't possible anymore to open new email or to change the configuration of the folders which need to be monitored.

Comment 12 Erik van Pienbroek 2010-01-05 22:09:03 UTC
CC'ed one of the evolution developers, Matthew Barnes, to this bug. Perhaps he can help to complete the patch as he's also the one who marked the file mail/mail-component.h as being dead (http://git.gnome.org/browse/evolution/commit/?id=9951a2dcb0b959d7e2b66f86ebf6e7c19b0c2152)

Comment 13 Matthew Barnes 2010-01-06 01:59:36 UTC
Sure, I can help with this.  Should be possible to get the folder configuration working again using the newer APIs.

Comment 14 Dmitry Butskoy 2010-01-06 13:24:19 UTC
OK.
It could be fine if you provide a patch with the appropriate "EDS_CHECK_VERSION" etc... ifdefs. IOW to create the source suitable for the old evolution versions as well.

I'll try then to publish such a patch upstream.

Comment 15 Erik van Pienbroek 2010-01-26 22:34:56 UTC
(In reply to comment #13)
> Sure, I can help with this.  Should be possible to get the folder configuration
> working again using the newer APIs.    

Matthew, did you already have time to take a look at this?

Comment 16 Matthew Barnes 2010-01-26 23:08:39 UTC
I'll try to make some more time for it this week.  Last time I attempted a patch I spent the whole time wresting with the strange and obsolete build tools the package uses.

Comment 17 Erik van Pienbroek 2010-01-26 23:43:09 UTC
Yeah I know..the build system is a bit messy. It requires a version of a tool named GOB which isn't released yet (last time I checked anyway).. I guess that the original developer of mail-notification used a locally patched version of the GOB tool. But in order to build this package you don't need to have this tool installed (both the original GOB code as the resulting C code is bundled with the source tarball).

To get this package compiled you need to run the command './jb build'. The C source code can be found in build/src and can be adjusted without issues

Comment 18 Matthew Barnes 2010-02-01 17:45:09 UTC
Created attachment 388098 [details]
Updated patch

Here's an updated patch that allows opening new mails and selecting folders to monitor in Evolution 2.29.

Tested in Rawhide, and builds cleanly in both Rawhide and Fedora 12.

Sorry for taking so long with this.

Comment 19 Dmitry Butskoy 2010-02-01 18:16:40 UTC
Thanks.

Successfully built in rawhide:
http://kojipkgs.fedoraproject.org/packages/mail-notification/5.4/17.fc13/


Note You need to log in before you can comment on or make changes to this bug.