← Back to team overview

registry team mailing list archive

[Bug 617782] Re: openoffice.org FTBFS in maverick - /usr/include/mono-1.0/mono/metadata/assembly.h:4: fatal error: glib.h: No such file or directory

 

Launchpad has imported 8 comments from the remote bug at
https://bugzilla.novell.com/show_bug.cgi?id=604251.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-05-10T12:49:04+00:00 Pmladek wrote:

Hmm, someone disabled dependencies of the mono pkgconfig file with the
following comment:

--- cut ---
## Commented out because SLE hides devel files in the SLE SDK,                  
## which not all customers will have.                                           
#Requires: glib-2.0 gthread-2.0                                                 
--- cut ---


Of course, it causes build breakages, e.g. in the OpenOffice_org-ure package:

--- cut ---
/opt/icecream/bin/gcc -ggdb -o ../../unxlngx6.pro/bin/climaker -Wall temp.c `pkg-config --cflags --libs mono`  temp.o
In file included from temp.c:2:0:
/usr/lib64/pkgconfig/../../include/mono-1.0/mono/metadata/assembly.h:4:18: fatal error: glib.h: No such file or directory
compilation terminated.
[Fail]
dmake:  Error code 1, while making '../../unxlngx6.pro/bin/climaker'
--- cut ---

Is this change really needed on openSUSE?

Well, I think that the change is wrong even on SLE. IMHO, SLE is not for
developers. If anyone would like to develop on the SLE platform, she
would need SLE SDK that provides the glib and gthread stuff.

Reply at: https://bugs.launchpad.net/mono/+bug/617782/comments/0

------------------------------------------------------------------------
On 2010-05-10T13:16:55+00:00 Pmladek wrote:

Sigh, it is even worse. The binary is created using the command gmcs and
mkbundle2.

I have no idea how to pass the extra include and link flags there to
point to glib.h, ...

=> it is a blocker from my point of view.


Here is the whole log:

--- cut ---
Entering /usr/src/packages/BUILD/ooo320-m17-ure/cli_ure/source/climaker
gmcs -debug -unsafe climaker_csharp.cs -reference:../../unxlngx6.pro/bin/cli_basetypes.dll -out:../../unxlngx6.pro/bin/climaker.exe
climaker_csharp.cs(2297,12): warning CS0414: The private field `UnoXInterfaceMethodTypeDescription.mExceptionTypesHandle' is assigned but its value is never used
Compilation succeeded - 1 warning(s)
mkbundle2 -L ../../unxlngx6.pro/lib --deps -o ../../unxlngx6.pro/bin/climaker ../../unxlngx6.pro/bin/climaker.exe ../../unxlngx6.pro/bin/cli_basetypes.dll
OS is: Linux
Sources: 2 Auto-dependencies: True
   embedding: /usr/src/packages/BUILD/ooo320-m17-ure/cli_ure/unxlngx6.pro/bin/climaker.exe
   embedding: /usr/lib/mono/2.0/mscorlib.dll
   embedding: /usr/src/packages/BUILD/ooo320-m17-ure/cli_ure/unxlngx6.pro/bin/cli_basetypes.dll
Compiling:
as -o temp.o temp.s 
/opt/icecream/bin/gcc -ggdb -o ../../unxlngx6.pro/bin/climaker -Wall temp.c `pkg-config --cflags --libs mono`  temp.o
In file included from temp.c:2:0:
/usr/lib64/pkgconfig/../../include/mono-1.0/mono/metadata/assembly.h:4:18: fatal error: glib.h: No such file or directory
compilation terminated.
[Fail]
dmake:  Error code 1, while making '../../unxlngx6.pro/bin/climaker'

ERROR: Error 65280 occurred while making /usr/src/packages/BUILD/ooo320-m17-ure/cli_ure/source/climaker
rmdir /tmp/Vy_aB3Lo7L
--- cut ---

Reply at: https://bugs.launchpad.net/mono/+bug/617782/comments/1

------------------------------------------------------------------------
On 2010-05-10T17:39:54+00:00 Ajorgensen wrote:

Reverted the change via patch for openSUSE.  There is a more correct fix
in trunk which will land in 2.8.

rq#39765

Reply at: https://bugs.launchpad.net/mono/+bug/617782/comments/2

------------------------------------------------------------------------
On 2010-05-17T13:11:30+00:00 Pmladek wrote:

Hmm, the request #39765 is between Mono:Factory/mono-core(r48) and Mono
/mono-core. It is pending there 6 days without any attention.

Andrew, could you please make sure that the fix is forwarded into
Factory ASAP?

Reply at: https://bugs.launchpad.net/mono/+bug/617782/comments/3

------------------------------------------------------------------------
On 2010-05-17T17:58:36+00:00 Ajorgensen wrote:

*** Bug 606240 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/mono/+bug/617782/comments/4

------------------------------------------------------------------------
On 2010-05-17T17:58:52+00:00 Ajorgensen wrote:

*** Bug 606376 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/mono/+bug/617782/comments/5

------------------------------------------------------------------------
On 2010-08-14T12:04:59+00:00 Loïc Minier wrote:

*** Bug 630000 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/mono/+bug/617782/comments/8

------------------------------------------------------------------------
On 2010-08-14T12:07:05+00:00 Loïc Minier wrote:

Also an issue in Ubuntu (and I guess Debian); we're reverting for the
2.6 branch; https://bugs.launchpad.net/ubuntu/+source/mono/+bug/617782

Reply at: https://bugs.launchpad.net/mono/+bug/617782/comments/9


** Changed in: mono
       Status: Unknown => Fix Released

-- 
openoffice.org FTBFS in maverick - /usr/include/mono-1.0/mono/metadata/assembly.h:4: fatal error: glib.h: No such file or directory
https://bugs.launchpad.net/bugs/617782
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for mono.