FS#54631 - [qemu-launcher] Fails to launch, requires patch

Attached to Project: Community Packages
Opened by Tyler Dence (tyzoid) - Thursday, 29 June 2017, 00:03 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 10 December 2017, 21:28 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Antonio Rojas (arojas)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
qemu-launcher fails to run

$ qemu-launcher
The encoding pragma is no longer supported at /usr/bin/qemu-launcher line 24.
BEGIN failed--compilation aborted at /usr/bin/qemu-launcher line 24.

Additional info:
* qemu-launcher 1.7.4-5
* perl 5.26.0-1
* commenting out the offending line *seems* to allow the software to run.

Steps to reproduce:
* run qemu-launcher
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 10 December 2017, 21:28 GMT
Reason for closing:  Won't fix
Additional comments about closing:  package dropped
Comment by Tyler Dence (tyzoid) - Thursday, 29 June 2017, 16:55 GMT
I've tested the following change, and it works. I am able to create and launch vms using qemu through qemu-launcher.

*** /usr/bin/qemu-launcher 2017-06-29 12:53:59.362665637 -0400
--- /usr/bin/qemu-launcher 2017-06-28 20:43:14.543758195 -0400
***************
*** 21,27 ****
use strict;

use utf8;
! use encoding 'utf8';

use Gtk2;
use Gtk2::GladeXML;
--- 21,27 ----
use strict;

use utf8;
! #use encoding 'utf8';

use Gtk2;
use Gtk2::GladeXML;
Comment by Marc-Olivier Barre (mobarre) - Monday, 24 July 2017, 21:00 GMT
I can confirm both the bug and the fix. I'm guessing this might need upstream reporting ?

Loading...