Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155568 - app-misc/beagle-0.2.12-r1 fails (Thunderbird regression)
Summary: app-misc/beagle-0.2.12-r1 fails (Thunderbird regression)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-18 04:18 UTC by Priit Laes (IRC: plaes)
Modified: 2006-11-21 07:29 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
beagle-disable-thunderbird.patch (beagle-no-thunderbird.patch,833 bytes, patch)
2006-11-18 07:41 UTC, Priit Laes (IRC: plaes)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2006-11-18 04:18:33 UTC
Emerge without thunderbird support failed.

I noticed these messages during configure phase:
[snip]
checking for GSF_SHARP... yes
./configure: line 26027: BEAGLE_DEFINES: command not found
checking for LIBEXIF... yes
[snip]
checking for GALAGO... yes
checking for WV1... yes
./configure: line 27099: BEAGLE_DEFINES: command not found
checking for kde-config... no
[snip]
        Thunderbird backend?      no

/usr/bin/mcs -debug -out:Images.dll -target:library ./Images.cs -r:../Util/Util.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp-peditors.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glade-sharp.dll -r:/usr/lib/mono/gmime-sharp/gmime-sharp.dll   -resource:./bug.png,bug.png -resource:./contact-icon.png,contact-icon.png -resource:./emblem-blog.png,emblem-blog.png -resource:./emblem-bugzilla.png,emblem-bugzilla.png -resource:./emblem-calendar.png,emblem-calendar.png -resource:./emblem-contact.png,emblem-contact.png -resource:./emblem-file.png,emblem-file.png -resource:./emblem-folder.png,emblem-folder.png -resource:./emblem-fspot.png,emblem-fspot.png -resource:./emblem-google.png,emblem-google.png -resource:./emblem-im-log.png,emblem-im-log.png -resource:./emblem-mail-message.png,emblem-mail-message.png -resource:./emblem-music.png,emblem-music.png -resource:./emblem-note.png,emblem-note.png -resource:./emblem-picture.png,emblem-picture.png -resource:./emblem-web-history.png,emblem-web-history.png -resource:./gnome-gaim.png,gnome-gaim.png -resource:./icon-blog.png,icon-blog.png -resource:./icon-monodoc.png,icon-monodoc.png -resource:./icon-search.png,icon-search.png -resource:./icon-web.png,icon-web.png -resource:./mail.png,mail.png -resource:./music.png,music.png -resource:./no-match.png,no-match.png -resource:./note.png,note.png -resource:./person.png,person.png -resource:./quick-tips.png,quick-tips.png -resource:./status-away.png,status-away.png -resource:./status-online.png,status-online.png -resource:./system-search.png,system-search.png -resource:./tip-arrow.png,tip-arrow.png 
make[2]: Leaving directory `/var/tmp/portage/app-misc/beagle-0.2.12-r1/work/beagle-0.2.12/images'
Making all in search
make[2]: Entering directory `/var/tmp/portage/app-misc/beagle-0.2.12-r1/work/beagle-0.2.12/search'
LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po beagle-search.desktop.in beagle-search.desktop
/usr/bin/mcs -debug -out:Search.exe -target:exe  -define:ENABLE_OPEN_WITH -define:ENABLE_GALAGO ./Category.cs ./ConversationCategory.cs ./Entry.cs ./GroupView.cs ./Panes.cs ./Search.cs ./SortedTileList.cs ./Spinner.cs ./TileCategory.cs ./TypeFilter.cs ./UIManager.cs ./Tiles/ActionMenuItem.cs ./Tiles/Application.cs ./Tiles/AssemblyInfo.cs ./Tiles/Audio.cs ./Tiles/CApplet.cs ./Tiles/Calendar.cs ./Tiles/Contact.cs ./Tiles/DetailsPane.cs ./Tiles/File.cs ./Tiles/Folder.cs ./Tiles/HitFlavor.cs ./Tiles/IMLog.cs ./Tiles/Image.cs ./Tiles/MailMessage.cs ./Tiles/MailAttachment.cs ./Tiles/Note.cs ./Tiles/Presentation.cs ./Tiles/RSSFeed.cs ./Tiles/Spreadsheet.cs ./Tiles/TextDocument.cs ./Tiles/ThumbnailFactory.cs ./Tiles/Tile.cs ./Tiles/TileAction.cs ./Tiles/TileActivator.cs ./Tiles/TileFlat.cs ./Tiles/TileGroup.cs ./Tiles/TileTemplate.cs ./Tiles/Utils.cs ./Tiles/Video.cs ./Tiles/WebHistory.cs ./Tiles/WidgetFu.cs ./Tiles/OpenWithMenu.cs ./Pages/Base.cs ./Pages/NoMatch.cs ./Pages/QuickTips.cs ./Pages/RootUser.cs ./Pages/StartDaemon.cs ./Tray/NotificationArea.cs ./Tray/TrayIcon.cs -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp-peditors.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glade-sharp.dll -r:/usr/lib/mono/gmime-sharp/gmime-sharp.dll   -r:../Util/Util.dll -r:../Util/UiUtil.dll -r:../images/Images.dll -r:../BeagleClient/Beagle.dll -r:Mono.Posix
Generating and caching the translation database
Merging translations into beagle-search.desktop.
sed                                     \
        -e "s:@pkglibdir@:/usr/lib/beagle:"     \
        -e "s:@bash@:/bin/sh:"                  \
        < ./beagle-search.in > beagle-search
chmod a+x beagle-search
./Search.cs(297,45): warning CS0168: The variable `e' is declared but never used
./Tiles/MailMessage.cs(139,23): error CS0103: The name `Thunderbird' does not exist in the context of `Search.Tiles.MailMessage'
./Tiles/OpenWithMenu.cs(104,33): warning CS0168: The variable `e' is declared but never used
Compilation failed: 1 error(s), 2 warnings
make[2]: *** [Search.exe] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-misc/beagle-0.2.12-r1/work/beagle-0.2.12/search'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-misc/beagle-0.2.12-r1/work/beagle-0.2.12'
make: *** [all] Error 2

!!! ERROR: app-misc/beagle-0.2.12-r1 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  beagle-0.2.12-r1.ebuild, line 110:   Called die

!!! Make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Priit Laes (IRC: plaes) 2006-11-18 04:26:18 UTC
sl007 ~ # emerge --info
Portage 2.1.2_rc2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 18 Nov 2006 09:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -g -ggdb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -g -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/"
LDFLAGS="-Wl,--as-needed"
LINGUAS="et"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlay/amd /home/amd/code/gentoo/non-gnome /home/amd/code/gentoo/gnome /usr/portage/local/layman/gnome-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi aiglx aio alsa apache2 avahi beagle bitmap-fonts bluetooth bogofilter branding bzip2 cairo cddb cdr cli cracklib crypt cups curl daap dbus devhelp dga djbfft dlloader dmi dri dvd dvdread eds elibc_glibc emboss encode exif fastcgi firefox flac foomaticdb galago gdbm gif glib glitz glut gnome gnutls gstreamer gtk gtk2 hal iconv idn imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jpeg kdrive kernel_linux keyring lcms libg++ libnotify libsexy libwww linguas_et logrotate mad mikmod mmap mmx mng mp3 mpeg msn nautilus ncurses nls nptl nptlonly nsplugin ogg ole opengl pam pcmcia pcre pdf png pppd quicktime readline real reflection rtc ruby sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vhosts video_cards_radeon vorbis win32codecs xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2006-11-18 06:29:46 UTC
this makes no sense... thunderbird on -r0 was disabled by default... you are emerging -r1 with the same conditions.
Comment 3 Priit Laes (IRC: plaes) 2006-11-18 07:18:14 UTC
Yeah, funny thing is that 0.2.12 emerges fine, but 0.2.12-r1 doesn't :D

Isn't the doc flag a bit flawed? (12 vs 12-r1)
        econf \
+               $(use_enable gtk-doc doc) \
+               $(use_enable thunderbird) \
                $(use_enable evo evolution) \
                $(use_enable gtk gui) \
                $(use_enable python ) \
                --enable-libbeagle \
+               --enable-gtk-doc \
                || die "configure failed"
Comment 4 Priit Laes (IRC: plaes) 2006-11-18 07:23:34 UTC
Aha, found the cause. Seems like beagle doesn't support turning off Thunderbird support. Previously the thunderbird backend was built fine, and it doesn't care whether or not the thunderbird was available (I don't) so I don't think the thunderbird dependancy isn't necessary at all.

Anyway, it seems to be an upstream bug. I'll fix it myself.
Comment 5 Luis Medinas (RETIRED) gentoo-dev 2006-11-18 07:28:28 UTC
i fixed the econf flags, if you report a bug or provide a patch please add the url here. Thanks for your help.
Comment 6 Priit Laes (IRC: plaes) 2006-11-18 07:41:45 UTC
Created attachment 102278 [details, diff]
beagle-disable-thunderbird.patch

I took it also to upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=376680
Comment 7 Priit Laes (IRC: plaes) 2006-11-19 00:44:22 UTC
I was allowed to commit the patch upstream and closed the bug, so this patch is safe enough to include in portage.
Comment 8 Luis Medinas (RETIRED) gentoo-dev 2006-11-20 14:30:51 UTC
yeah i knew joe was releasing 0.2.13 today so i didn't add the patch but 0.2.13 is on the tree. This time everyone needs gsf-sharp installed the bug was already reported to upstream.

Thanks Priit
Comment 9 Arif Lukito 2006-11-21 04:44:03 UTC
(In reply to comment #8)
> This time everyone needs gsf-sharp installed the bug was
> already reported to upstream.

Luis, any link?
Comment 10 Luis Medinas (RETIRED) gentoo-dev 2006-11-21 07:29:09 UTC
no i talked with joe via irc but it should be fixed in cvs already.