Bug 19430

Summary: 6_rc0: Unable to do an install ("Theme parsing error: <data>:1:33: Using Pango syntax for the font: style property is deprecated; please use CSS syntax <data>:1:18not a number")
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: InstallerAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal CC: marja11, olav, thierry.vignaud, wilcal.int
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: drakx-installer-stage2, gtk+3.0 CVE:
Status comment:
Attachments: patching Gtk3 for more debug info regarding CSS failures
install output using previous Gtk3 patch

Description Bit Twister 2016-09-21 05:18:53 CEST
Description of problem:   6_rc0:

 Unable to do a VirtualBox network install

After answering questions, delay, guest reboots.

Tried boot.iso, Mageia-Cauldron-netinstall-nonfree-x86_64.iso, Mageia-Cauldron-netinstall-x86_64.iso dated Sep 18 22:xx


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


How reproducible: always


Steps to Reproduce:
1. Used systemrescuecd-x86-4.8.1.iso to create GPT table and desired partitions
   30g drive
  /       ~20g
  /swap 1024
  /boot_bios  ~300Mib
  /accounts 1024
  /misc   1024
  /local   1024
  /spare 10000000
2. Attached install isos
3. booted guest, answered questions.
Comment 1 Marja Van Waes 2016-09-21 17:44:47 CEST

Could you try to find out whether a stage1.log gets created and, if so, attach it?

Did you try with more than one mirror (in case distrib/cauldron/x86_64/install/stage2/mdkinst.sqfs wasn't available or corrupted on the first one)

Or did you also try an install on real hw?

Keywords: (none) => NEEDINFO
CC: (none) => marja11
Assignee: bugsquad => isobuild

Comment 2 Marja Van Waes 2016-09-21 17:45:42 CEST
If the problem isn't in the network iso, then the assignment is wrong :-(
Comment 3 Bit Twister 2016-09-21 19:12:22 CEST
(In reply to Marja van Waes from comment #1)
> 
> Could you try to find out whether a stage1.log gets created 

Nope. nothing on / partition except lost+found


> Did you try with more than one mirror (in case
> distrib/cauldron/x86_64/install/stage2/mdkinst.sqfs wasn't available or
> corrupted on the first one)

It was on https://mirrors.kernel.org
    mdkinst.sqfs    19-Sep-2016 10:15     65M
so it had more than 24 hours to get there.  :)

> Or did you also try an install on real hw?

Not at the time. 

> If the problem isn't in the network iso, then the assignment is wrong :-(

Guessing you mean Component: Installer

If you mean Summary: then I suggest leaving it unchanged so anyone can find this bug report without knowing technical details; like xorg init fails in stage2.

Going to guess xorg init problem but the fault logic test/check needs to pause with "strike any key to continue" before rebooting so user can at least write down screen contents before rebooting.

Since I just now tried a hw install I was fast enough to stop output before it rebooted. Screen snippet follows:

Gtk-WARNING **: Locale not supported by C library.
      Using the fallback 'C' locale.

Theme parsing error: <data>:1:33: Using Pango syntax for the font: style property is deprecated; please use CSS syntax <data>:1:18not a number at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 988.

Keywords: NEEDINFO => (none)

Comment 4 Thierry Vignaud 2016-09-21 19:17:19 CEST
Looks like the wonderful gnome-3.22 vs CSS regression

Probably at http://gitweb.mageia.org/software/drakx/tree/perl-install/install/gtk.pm#n80

For the record, we do eg: "font: DejaVu Sans 12"
You can try:
perl -I/usr/lib/libDrakX -Mlang -e 'warn lang::l2pango_font("fr")'

CC: (none) => thierry.vignaud
Source RPM: (none) => drakx-installer-stage2, gtk+3.0

Comment 5 Thierry Vignaud 2016-09-21 19:54:37 CEST
I confirm, it comes from line 83
Comment 6 Thierry Vignaud 2016-09-21 20:22:19 CEST
@olav: BTW, this form of CSS is still documented here:
https://developer.gnome.org/gtk3/unstable/chap-css-overview.html
Comment 7 Thierry Vignaud 2016-09-21 20:26:05 CEST
Created attachment 8437 [details]
patching Gtk3 for more debug info regarding CSS failures
Comment 8 Thierry Vignaud 2016-09-21 20:26:46 CEST
Created attachment 8438 [details]
install output using previous Gtk3 patch
Thierry Vignaud 2016-09-21 20:27:44 CEST

Assignee: isobuild => mageiatools

Thierry Vignaud 2016-09-21 20:48:57 CEST

CC: (none) => olav
Assignee: mageiatools => thierry.vignaud
Summary: 6_rc0: Unable to do a VirtualBox network install => 6_rc0: Unable to do an install ("Theme parsing error: <data>:1:33: Using Pango syntax for the font: style property is deprecated; please use CSS syntax <data>:1:18not a number")

Comment 9 Mageia Robot 2016-09-21 20:51:34 CEST
commit f4e7daf7b77358431b82f97ebb14910ff9988751
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Wed Sep 21 20:51:13 2016 +0200

    use new CSS syntax for font (mga#19430)
    
    thus fixing gtk+-3.22 regression
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=f4e7daf7b77358431b82f97ebb14910ff9988751
Comment 10 Thierry Vignaud 2016-09-21 20:53:02 CEST
Fixed

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

Comment 11 Marja Van Waes 2016-09-22 15:46:29 CEST
*** Bug 19433 has been marked as a duplicate of this bug. ***

CC: (none) => wilcal.int

Comment 12 William Kenney 2016-09-22 20:03:52 CEST
Testing here today indicates that this issue has indeed been resolved.