Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 341497

Summary: kde-base/kdebindings-csharp-4.5.2 and 4.4.5 - csharp/kimono/src/kimonopluginfactory.cpp:41:26: error: mono/jit/jit.h: No such file or directory
Product: Gentoo Linux Reporter: Christian <christian+bgo>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: major CC: fauli, travisghansen
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 340045, 352808    
Attachments: emerge --info =kdebindings-csharp-4.5.2
build.log
Proposed patch for correct compiling on mono-2.8
Ebuild with previous patch used
ebuild with patches
patches for ebuild

Description Christian 2010-10-17 18:46:31 UTC
emerge -pqv =kde-base/kdebindings-csharp-4.5.2
[ebuild  N    ] kde-base/kdebindings-csharp-4.5.2  USE="phonon plasma webkit -akonadi (-aqua) -debug (-kdeenablefinal) (-kdeprefix) -qimageblitz -qscintilla -semantic-desktop"



Reproducible: Always

Steps to Reproduce:
1. emerge -1 kdebindings-csharp
2.
3.
Comment 1 Christian 2010-10-17 18:47:19 UTC
Created attachment 251051 [details]
emerge --info =kdebindings-csharp-4.5.2
Comment 2 Christian 2010-10-17 18:48:16 UTC
Created attachment 251055 [details]
build.log
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-10-21 21:19:43 UTC
Hmm, I cant reproduce this.

Which version of mono is installed on your system?
Do you have a file mono/jit/jit.h somewhere, and to which package does it belong?
Comment 4 Christian 2010-10-21 21:45:52 UTC
equery b /usr/include/mono-2.0/mono/jit/jit.h 
 * Searching for /usr/include/mono-2.0/mono/jit/jit.h ... 
dev-lang/mono-2.8-r1 (/usr/include/mono-2.0/mono/jit/jit.h)
Comment 5 Karel Pazdera 2010-10-24 15:09:14 UTC
Hi,
in upstream, this error is resolved (patch is available in KDE trunk: http://websvn.kde.org/trunk/KDE/kdebindings/csharp/kimono/CMakeLists.txt?r1=1128672&r2=1184234&view=patch). But after applying it, build fails due missing glib header reference in kimonopluginfactory.cpp. In trunk, this is also resolved, so it is possible create patch containing fixes for both errors.
Comment 6 Karel Pazdera 2010-10-24 18:52:33 UTC
Created attachment 251823 [details, diff]
Proposed patch for correct compiling on mono-2.8

This is a patch from my previous comment. It is against kdebindings-4.4.5, because I am using a stable KDE version.
Comment 7 Karel Pazdera 2010-10-24 18:55:16 UTC
Created attachment 251825 [details]
Ebuild with previous patch used
Comment 8 Christian 2010-10-24 21:09:40 UTC
Created attachment 251857 [details]
ebuild with patches
Comment 9 Christian 2010-10-24 21:10:06 UTC
Created attachment 251859 [details]
patches for ebuild
Comment 10 Christian 2010-10-24 21:10:37 UTC
The same patches work for 4.5.2, too. Thanks for the hint
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2010-10-25 20:27:00 UTC
This has all been backported to the 4.5 branch and will be fixed in 4.5.3. I.e., soon.
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2010-11-14 15:11:14 UTC
Fixed in 4.5.3
Comment 13 Andreas K. Hüttel archtester gentoo-dev 2011-01-28 00:01:08 UTC
Reopening since this is blocking stabilization of mono-2.8
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2011-01-28 00:01:15 UTC
*** Bug 352951 has been marked as a duplicate of this bug. ***
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2011-01-28 00:06:02 UTC
fauli, could you please check if the attached patch kdebindings-csharp-4.4.5-mono-2.8.diff works fine with mono-2.6 too?
Comment 16 Christian Faulhammer (RETIRED) gentoo-dev 2011-01-28 10:44:33 UTC
(In reply to comment #15)
> fauli, could you please check if the attached patch
> kdebindings-csharp-4.4.5-mono-2.8.diff works fine with mono-2.6 too?

 It fails to build.  If a -r1 goes stable with Mono 2.8 at the same time, this should be fine.  Could you prepare a revision bump with adjusted dependencies and file a stabilisation request?

/var/tmp/portage/kde-base/kdebindings-csharp-4.4.5/work/kdebindings-csharp-4.4.5/csharp/kimono/src/kimonopluginfactory.cpp:40:26: error: mono/jit/jit.h: No such file or directory
Comment 17 Andreas K. Hüttel archtester gentoo-dev 2011-01-28 17:39:35 UTC
Fixed again in -4.4.5-r1; the stablerequest is filed in bug 353076.