Bug 19454

Summary: MCC doesn't launch after fresh MGA5=>6 upgrade (BEGIN failed--compilation aborted at /usr/libexec/drakconf line 42.)
Product: Mageia Reporter: V P <yohonet>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: lebarhon, marja11, olav, thierry.vignaud
Version: CauldronKeywords: 6sta1, NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
See Also: https://bugzilla.gnome.org/show_bug.cgi?id=665672
Whiteboard:
Source RPM: rpm-mageia-setup, gobject-introspection-1.50.0-2.mga6 CVE:
Status comment:

Description V P 2016-09-25 13:55:31 CEST
Description of problem:

Unable to launch mageia control center after a fresh netinstall of cauldron (using sta1 image) :

# mcc
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 525.
Typelib file for namespace 'JavaScriptCore', version '4.0' not found at /usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi/Glib/Object/Introspection.pm line 108.
BEGIN failed--compilation aborted at /usr/libexec/drakconf line 42.
#

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

How reproducible:
Well, just a plain update of mga5 with my system. I'll attach the relevant log files.
André DESMOTTES 2016-09-25 19:19:49 CEST

Keywords: (none) => 6sta1
CC: (none) => lebarhon

Comment 1 Marja Van Waes 2016-09-25 19:47:09 CEST
Please attach

   /root/drakx/report.bug*

which has the time stamp of that upgrade

It'll be too large when uncompressed, in that case please compress before attaching.

Thanks :-)

Keywords: (none) => NEEDINFO
CC: (none) => marja11
Assignee: bugsquad => mageiatools
Summary: MCC doesn't launch after fresh MGA5 update => MCC doesn't launch after fresh MGA5=>6 upgrade (BEGIN failed--compilation aborted at /usr/libexec/drakconf line 42.)

Comment 2 Thierry Vignaud 2016-09-25 21:59:34 CEST
We might have a problem with generating typelib() requires

CC: (none) => olav, thierry.vignaud
Source RPM: drakconf-13.7-3.mga6 => drakconf-13.7-3.mga6, rpm-mageia-setup

Comment 3 Thierry Vignaud 2016-09-25 22:02:39 CEST
Indeed, compare:
http://sophie.zarb.org/rpms/7cc6034146d09e5cdfd32c8646f1c4f3/deps
with:
http://sophie.zarb.org/rpms/e5422bffee4e64e8228051549bf4d874/deps

We generate the right typelib() provides but not the corresponding requires :-(

Source RPM: drakconf-13.7-3.mga6, rpm-mageia-setup => rpm-mageia-setup

Thierry Vignaud 2016-09-25 22:02:47 CEST

Component: Installer => RPM Packages

Comment 4 Olav Vitters 2016-09-25 22:45:13 CEST
That's due to the broken gobject-introspection for various days. Nobody responded to my reques for a rebuilder. I'll see if I can put rebuild functionality into mgagnome and then rebuild all the packages I submitted (better be safe than sorry).
Comment 5 Thierry Vignaud 2016-09-26 11:08:09 CEST
Missing requires is because the deps tool is broken by the g-ir-dep-tool -> g-ir-inspect change


$ echo /usr/lib64/girepository-1.0/Gtk-3.0.typelib| /usr/lib/rpm/gi-find-deps.sh -R
Please specify only one namespace

$ echo /usr/lib64/girepository-1.0/Gtk-3.0.typelib| sh -x T1/usr/lib/rpm/gi-find-deps.sh -R
(...)
++ g-ir-dep-tool Gtk 3.0
Please specify only one namespace

Indeed:

$ g-ir-dep-tool Gtk 3.0
Please specify only one namespace

Source RPM: rpm-mageia-setup => rpm-mageia-setup, gobject-introspection-1.50.0-2.mga6

Comment 6 Thierry Vignaud 2016-09-26 11:22:46 CEST
Fixed with rpm-mageia-setup-2.20-6.mga6

See Also: (none) => https://bugzilla.gnome.org/show_bug.cgi?id=665672

Comment 7 Thierry Vignaud 2016-09-26 11:34:04 CEST
Closing

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