Bug 19146

Summary: MCC doesnt start any more with perl-Gtk3-0.28, unless line 36 in mygtk3.pm is commented out.
Product: Mageia Reporter: Max Perl <max.augsburg>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: drakconf-13.7-2.mga6.src.rpm CVE:
Status comment:

Description Max Perl 2016-08-07 20:11:13 CEST
Description of problem:

On my system (Mageia 6 sta1) drakconf / MCC didn't start anymore.

The following error is outputed:

Ignore the following Glib::Object::Introspection & Gtk3 warnings
Can't locate object method "enable_exceptions" via package "Gtk3" at /usr/lib/libDrakX/mygtk3.pm line 36.
Compilation failed in require at /usr/libexec/drakconf line 40.
BEGIN failed--compilation aborted at /usr/libexec/drakconf line 40.


If I uncomment line 36 in mygtk3.pm, MCC starts again. I don't understand the command Gtk3->enable_exceptions. Is this important? If not, could you delete the line?

I have installed a newer version of the Perl Gtk3 module (0.28). Perhaps this could be the reason of the error?

Version-Release number of selected component (if applicable):
drakconf-13.7-2.mga6.src.rpm

How reproducible:
The problem occurs everytime I try to start mcc
Comment 1 Marja Van Waes 2016-08-07 21:43:59 CEST
(In reply to Max Perl from comment #0)

> 
> I have installed a newer version of the Perl Gtk3 module (0.28). Perhaps
> this could be the reason of the error?
> 

Can you try with perl-Gtk3-0.26.0-3.mga6 ?

CC: (none) => marja11
Assignee: bugsquad => thierry.vignaud
Summary: MCC doesnt start any more => MCC doesnt start any more with perl-Gtk3-0.28, unless line 36 in mygtk3.pm is commented out.

Comment 2 Thierry Vignaud 2016-08-08 08:31:07 CEST
That's unsupported

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 3 Thierry Vignaud 2016-08-08 08:31:29 CEST
If you want to update perl-Gtk3, you must apply mga patches too
Comment 4 Max Perl 2016-08-08 10:30:52 CEST
Dear Marja,
dear Thierry,

thank you for your answers. I solved it no with adding "use lib '/usr/lib/perl5/vendor_perl/5.22.2/';" to /usr/lib/libDrakX/mygtk3.pm

But I indeed think also that this is only a specific solution for me as my newer Gtk3 perl module is installed in '/usr/lib/perl5/site_perl/5.22.2/'...

@Thierry: What do you mean with mga patches? Is applying difficult and much work?