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!
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!
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
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
|
DetailsDescription:
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.
Saturday, 30 January 2010, 15:34 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in testing.
beagle.err
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.
I used it to build successfully beagle 0.3.9 with gmime2.4.
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
...
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...