[MacPorts] #34520: dia crashes on start

MacPorts noreply at macports.org
Tue Jul 3 15:40:01 PDT 2012


#34520: dia crashes on start
----------------------------------+-----------------------------------------
 Reporter:  luc_j_bourhis@…       |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.1.1                                
 Keywords:                        |        Port:  dia                                  
----------------------------------+-----------------------------------------

Comment(by macports@…):

 On OS X 10.6.8, I can confirm that a simple rebuild from source of dia
 0.97.2_1 from source wasn't sufficient to make it work again (viz "sudo
 port clean dia; sudo port upgrade -s -n --force dia" -- it still crashed
 on startup), but a rebuild with the four patches attached by suv-sf (two
 weeks ago), with:

 {{{
 cd
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/dia/files
 sudo cp -p ~ewen/Desktop/*.patch .
 cd ..
 sudo patch -p0 <~ewen/Desktop/Portfile-dia.diff
 sudo port upgrade -s -n --force dia
 }}}

 resulted in an 0.97.2_2 (the _2 is in the Portfile-dia.diff), which would
 start successfully and load an existing dia diagram.  So it appears actual
 code had to change, not just a binary structure change to match other
 things being recompiled.

 The first attached patch (0001-...) appears to be
 [https://mail.gnome.org/archives/commits-list/2012-April/msg03771.html
 this patch for font issue 668587], which is presumably the fix (although
 the [https://bugzilla.gnome.org/show_bug.cgi?id=668587 gnome bug report]
 seems to be [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657158
 originally triggered in a different way in Debian]).  The other two seem
 to be compile-time issues relating to headers not always being included.

 So a local (MacPorts) inclusion of at least the first patch seems likely
 to resolve this bug.  It'd be helpful if it had a local revision bump
 higher than _2.

 Ewen

-- 
Ticket URL: <https://trac.macports.org/ticket/34520#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list