Bug 11926 - bless fails to run
Summary: bless fails to run
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory MGA4-32-OK MGA4-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2013-12-08 01:11 CET by Barry Jackson
Modified: 2014-04-23 18:17 CEST (History)
6 users (show)

See Also:
Source RPM: bless-0.6.0-4.mga4
CVE:
Status comment:


Attachments

Description Barry Jackson 2013-12-08 01:11:25 CET
Description of problem:
[baz@jackodesktop SPECS]$ bless
Missing method System.Type::op_Inequality(Type,Type) in assembly /usr/lib/mono/2.0/mscorlib.dll, referenced in assembly /usr/lib/mono/gac/glade-sharp/2.12.0.0__35e10195dab3c99f/glade-sharp.dll

Unhandled Exception:
System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  at BlessMain..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  at BlessMain..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Barry Jackson 2014-01-23 00:38:26 CET
Should this be dropped as there seems little upstream activity and it is still broken?

Assignee: bugsquad => cvargas

Comment 2 Roger Powell 2014-03-27 20:23:44 CET
Exactly the same bug here. 32-bit Mageia 4, bless installed using MCC.

Missing method System.Type::op_Inequality(Type,Type) in assembly /usr/lib/mono/2.0/mscorlib.dll, referenced in assembly /usr/lib/mono/gac/glade-sharp/2.12.0.0__35e10195dab3c99f/glade-sharp.dll

Unhandled Exception:
System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  at BlessMain..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  at BlessMain..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[roger@localhost Documents]$ bless SEslidesFor-EOMM.ppt
Missing method System.Type::op_Inequality(Type,Type) in assembly /usr/lib/mono/2.0/mscorlib.dll, referenced in assembly /usr/lib/mono/gac/glade-sharp/2.12.0.0__35e10195dab3c99f/glade-sharp.dll

Unhandled Exception:
System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  at BlessMain..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  at BlessMain..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <filename unknown>:0

CC: (none) => rogpowell

Cesar Vargas 2014-03-28 01:05:39 CET

Hardware: x86_64 => All
Version: Cauldron => 4

Manuel Hiebel 2014-03-28 18:42:38 CET

Whiteboard: (none) => todrop?

Comment 3 Cesar Vargas 2014-04-02 02:33:16 CEST
Hi, if you try to execute a .NET program not compiled against Mono 4.0 but compiled against Mono 2.0 instead, you get these errors
I use dmcs compiler (4.0) instead of gmcs (2.0) and the error persists
A quick workaround is to force the application to run using 4.0, like this:

mono --runtime=v4.0 /usr/lib/myapp/myapp.exe

to force Mono to use the v4.0 runtime.

A patch that modifies the script (/usr/bin/bless) that makes the call to bless.exe and makes it work again:

mono "@blesslibdir@/@PACKAGE_NAME@/bless.exe" "$@"

mono --runtime=v4.0 "@blesslibdir@/@PACKAGE_NAME@/bless.exe" "$@"
Comment 4 Barry Jackson 2014-04-02 13:32:10 CEST
I have tested this in Cauldron (x86_64) and Mageia 4 (x86_64) (from updates_testing) and it seems fine.

Whiteboard: todrop? => (none)

Comment 5 Michel ABRAHAM 2014-04-20 11:21:24 CEST
I confirm this problem and this solution in MGA4-i686.
context : stable (non testing) and up-to-date distrib.

CC: (none) => m.abraham

Comment 6 Marja Van Waes 2014-04-20 18:58:11 CEST
@ vaci0

Please add a proposed advisory for bless-0.6.0-5.mga4 
https://wiki.mageia.org/en/Example_update_advisory_announcement
and re-assign this bug to qa-bugs@ml.mageia.org (QA team), so they can validate the update.

Thanks :-)

CC: (none) => marja11

Comment 7 Cesar Vargas 2014-04-21 22:49:40 CEST
I have uploaded a patched/updated package for Mageia Cauldron and Mageia 4.
.
You can test this by installing the package and run:

Suggested advisory:
========================
Updated packages fixed a bless issue, this update adds a quick workaround to force the application to run using runtime 4.0, like this:

mono --runtime=v4.0 /usr/lib/myapp/myapp.exe

to force Mono to use the v4.0 runtime.

References:
http://orangesquash.org.uk/~laney/blog/posts/2011/10/mono-gotcha/
========================

Updated packages in core/updates_testing:
========================
bless-0.6.5.mga4.i586.rpm
bless-0.6.5.mga4.x86_64.rpm
========================

Source RPMs:
bless-0.6.5.mga4.src.rpm

Version: 4 => Cauldron
Assignee: cvargas => qa-bugs
Whiteboard: (none) => MGA4TOO

Comment 8 claire robinson 2014-04-21 23:28:18 CEST
Well done Cesar. Just correcting the bug meta-stuff.

Version: Cauldron => 4
Whiteboard: MGA4TOO => (none)

Comment 9 Arnaud Vacquier 2014-04-22 03:00:49 CEST
Ok for Mga 4 32 VB :

Before :
[mageia@localhost ~]$ bless
Missing method System.Type::op_Inequality(Type,Type) in assembly /usr/lib/mono/2.0/mscorlib.dll, referenced in assembly /usr/lib/mono/gac/glade-sharp/2.12.0.0__35e10195dab3c99f/glade-sharp.dll

Unhandled Exception:
System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  at BlessMain..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  at BlessMain..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 

After :
[mageia@localhost ~]$ bless
Could not find file "/home/mageia/.config/bless/preferences.xml".
Directory '/home/mageia/.config/bless/plugins' not found.
Directory '/home/mageia/.config/bless/plugins' not found.
Directory '/home/mageia/.config/bless/plugins' not found.
Could not find file "/home/mageia/.config/bless/export_patterns".
Could not find file "/home/mageia/.config/bless/history.xml".
Could not find file "/home/mageia/.config/bless/last.session".

CC: (none) => aranud
Whiteboard: (none) => MGA4-32-OK

Comment 10 Arnaud Vacquier 2014-04-22 03:07:32 CEST
On Mageia 4 x86_64 real :

Before :
[aranud@localhost ~]$ bless
Gtk-Message: Failed to load module "canberra-gtk-module"
Missing method System.Type::op_Inequality(Type,Type) in assembly /usr/lib/mono/2.0/mscorlib.dll, referenced in assembly /usr/lib/mono/gac/glade-sharp/2.12.0.0__35e10195dab3c99f/glade-sharp.dll

Unhandled Exception:
System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  at BlessMain..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  at BlessMain..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 

After :
[aranud@localhost ~]$ bless
Gtk-Message: Failed to load module "canberra-gtk-module"
Could not find file "/home/aranud/.config/bless/preferences.xml".
Directory '/home/aranud/.config/bless/plugins' not found.
Directory '/home/aranud/.config/bless/plugins' not found.
Directory '/home/aranud/.config/bless/plugins' not found.
Could not find file "/home/aranud/.config/bless/export_patterns".
Could not find file "/home/aranud/.config/bless/history.xml".
Could not find file "/home/aranud/.config/bless/last.session".

Whiteboard: MGA4-32-OK => MGA4-32-OK MGA-64-OK

Arnaud Vacquier 2014-04-22 03:08:08 CEST

Whiteboard: MGA4-32-OK MGA-64-OK => MGA4-32-OK MGA4-64-OK

Comment 11 claire robinson 2014-04-22 17:39:53 CEST
Well done Arnaud, thanks.

Advisory uploaded. Validating.

Could sysadmin please push to 4 updates

Thanks

Keywords: (none) => validated_update
Whiteboard: MGA4-32-OK MGA4-64-OK => advisory MGA4-32-OK MGA4-64-OK
CC: (none) => sysadmin-bugs

Comment 12 Thomas Backlund 2014-04-23 18:17:35 CEST
Update pushed:
http://advisories.mageia.org/MGAA-2014-0106.html

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.