Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21579 closed defect (fixed)

libxml2 upgrade 2.7.3->2.7.4 breaks inkscape

Reported by: mklein-de (Michael Klein) Owned by: 0xced (Cédric Luthi)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: dbevans (David B. Evans)
Port: libxml2

Description

After upgrading to the latest libxml2, inkscape refuses to start:

$ inkscape 
Xlib:  extension "RANDR" missing on display "/tmp/launch-2Z2c89/:0".
/Users/michael/.inkscape/preferences.xml:1: parser error : XML declaration allowed only at the start of the document
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
     ^
/opt/local/share/inkscape/extensions/render_barcode.inx:1: parser error : XML declaration allowed only at the start of the document
<?xml version="1.0"?>
     ^

** (inkscape:54136): CRITICAL **: Inkscape::Extension::Extension* Inkscape::Extension::build_from_reprdoc(Inkscape::XML::Document*, Inkscape::Extension::Implementation::Implementation*): assertion `doc != NULL' failed

This looks much like https://bugzilla.gnome.org/show_bug.cgi?id=595128

A fix for this regression can be found here: http://git.gnome.org/cgit/libxml2/commit/?id=9d3d141c412baa5c713ad3df48f1a4d179e

Attachments (1)

libxml2-fixed.tar.bz2 (1.6 KB) - added by r_goyet@… 15 years ago.
Fix

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to cedric.luthi@…

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: devans@… added

Changed 15 years ago by r_goyet@…

Attachment: libxml2-fixed.tar.bz2 added

Fix

comment:3 Changed 15 years ago by r_goyet@…

Here's a fix. Here's what it does : 1/ Bumps the revision of libxml2 as it's still version 2.7.4 2/ Adds the right patch from libxml2's git repository to the "files" subfolder (patch had to be a adapted a little bit) 3/ Mentions the patch in the Portfile

comment:4 in reply to:  3 Changed 15 years ago by mklein-de (Michael Klein)

That fixed it, thanks!

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Updated to 2.7.5 in r58244.

comment:6 Changed 15 years ago by christophe.haro@…

Gimp, InkScape, ... won't launch since recent selfupdate to MacPorts 1.8.1.

More precisely, processes are started, but I have no display except this message :

Xlib: extension "RANDR" missing on display "/tmp/launch-5rbosT/:0"

comment:7 Changed 15 years ago by blb@…

Make sure you have a pango port which is not 1.26.0.

Note: See TracTickets for help on using tickets.