Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16668 - [beagle] 0.3.9-1 can't load gmime-sharp

Attached to Project: Arch Linux
Opened by Michael Laß (Bevan) - Thursday, 15 October 2009, 12:30 GMT
Last edited by Jan de Groot (JGC) - Saturday, 30 January 2010, 15:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
beagle does not work on an up-to-date system. It produces many warnings and errors, which are attached. They are all related to gmime-sharp, which can't be loaded.


Additional info:
* package version(s):
beagle 0.3.9-1
libbeagle 0.3.9-1
gmime 2.4.10-1
gnome-sharp 2.24.1-1
evolution-sharp 0.20.0-1
mono 2.4.2.3-1

* config and/or log files etc.
see attachment für beagle output

Steps to reproduce:
- Update system
- Try to launch beagle
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 30 January 2010, 15:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in testing.
Comment by Brandon (GhostDevil) - Thursday, 05 November 2009, 03:13 GMT
I am also seeing this issue. Beagle starts but then hangs and does not respond to beagle-ping. See attached output when running `beagle --fg --debug`
Comment by Brandon (GhostDevil) - Thursday, 05 November 2009, 15:27 GMT
As a follow up... My box at work running the same version of beagle, actually the same version as the box above is, does complain about gmime-sharp but continues to 'crawl' or work properly.
Comment by Olivier Médoc (oliv) - Wednesday, 25 November 2009, 09:58 GMT
Same problem here.

In fact beagle won't compile anymore if you use the abs makepgk

gmime-sharp is installed by the packet extra/gmime

The problem is that gmime-sharp is undetected during beagle compilation because the pkgconfig file is now called gmime-sharp-2.4 instead of gmime-sharp alone (/usr/lib/pkgconfig/gmime-sharp-2.4.pc)

So either we have to copy /usr/lib/pkgconfig/gmime-sharp-2.4.pc to /usr/lib/pkgconfig/gmime-sharp.pc
or we have to patch the configure file in order to replace gmime-sharp by gmime-sharp-2.4 during the pkgconfig test.
Comment by Olivier Médoc (oliv) - Wednesday, 25 November 2009, 10:33 GMT
You can use the patch found on http://cblfs.cross-lfs.org/index.php/Beagle (http://svn.cross-lfs.org/svn/repos/patches/beagle-0.3.9/beagle-0.3.9-gmime-2.4-1.patch).

I used it to build successfully beagle 0.3.9 with gmime2.4.
Comment by Olivier Médoc (oliv) - Wednesday, 25 November 2009, 13:51 GMT
I fixed another issue I have with lock files that are created read only for the user (not possible to remove the lock file with .NET if the file is not writable)

Here is the MAKEPKG part that I modified:
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.3/${pkgname}-${pkgver}.tar.bz2
beagle-0.3.9-spew.patch
http://svn.cross-lfs.org/svn/repos/patches/beagle-0.3.9/beagle-0.3.9-gmime-2.4-1.patch)
md5sums=('b73c12423d2d67133dbb05933f4c8fe1'
'003ada7acc2724e94e0218e4a6705b4a'
'3ea1a7cdc3d31f5d3d057c2ea86bd83f')

build() {
export "MONO_SHARED_DIR=${srcdir}/.wabi"
mkdir -p "${MONO_SHARED_DIR}"

cd "${srcdir}/${pkgname}-${pkgver}"
sed -i -e 's/CRAWL_USER=beagleindex/CRAWL_USER=beaglidx/' tools/beagle-crawl-system.in || return 1
sed -i -e 's/libchm.so.1/libchm.so.0/' Util/ChmFile.cs || return 1
# Fix the problem described at http://osdir.com/ml/svn-commits-list/2009-05/msg06662.html
sed -i -e 's/Mono.Unix.Native.FilePermissions.S_IRUSR);/Mono.Unix.Native.FilePermissions.S_IRUSR | Mono.Unix.Native.FilePermissions.S_IWUSR);/' beagled/Lucene.Net/Store/SimpleFSLockFactory.cs || return 1
patch -Np1 -i "${srcdir}/beagle-0.3.9-spew.patch" || return 1
# Fix to deal with the new gmime version (2.4)
patch -Np1 -i "${srcdir}/beagle-0.3.9-gmime-2.4-1.patch" || return 1
Comment by Michael Laß (Bevan) - Thursday, 26 November 2009, 13:50 GMT
Oliviers changes work for me :-)
Comment by Jan Rüegg (rggjan) - Tuesday, 26 January 2010, 11:07 GMT
Does not seem to work for me... i get the following error when executing makepkg:

...
ExceptionHandlingThread.cs(72,32): warning CS0219: The variable `thread_name' is assigned but its value is never used
FileAdvise.cs(55,39): warning CS0618: `System.IO.FileStream.Handle' is obsolete: `Use SafeFileHandle instead'
FSpotTools.cs(88,74): error CS0246: The type or namespace name `SqliteBusyException' could not be found. Are you missing a using directive or an assembly reference?
Compilation failed: 1 error(s), 15 warnings
make[2]: *** [Util.dll] Error 1
make[2]: Leaving directory `/home/jan/Desktop/extra-i686.r38815/src/beagle-0.3.9/Util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jan/Desktop/extra-i686.r38815/src/beagle-0.3.9'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...

Loading...