Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 178920

Summary: dev-python/pyxml has an internal copy of expat 1.x
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Use system expat

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-05-17 19:23:57 UTC
As per summary, there's an internal copy of expat 1.x in pyxml's shared
object, and its symbols are not hidden either. Loading in the same process
space both libexpat (2) and python with pyxml will likely cause crashes
not so easy to debug.

Easy solution: hide the symbols.
Proper solution: use the already-installed shared copy of libexpat.
Comment 1 İsmail Dönmez 2007-05-19 14:48:15 UTC
Created attachment 119711 [details, diff]
Use system expat
Comment 2 İsmail Dönmez 2007-05-19 14:48:33 UTC
Attached a patch for latest ebuild to use system expat.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-05-23 21:31:14 UTC
Ismail patch works for me; by the way pyxml already deps on expat.
Comment 4 Ali Polatel (RETIRED) gentoo-dev 2007-07-03 04:32:38 UTC
 0.8.4-r1 is in CVS now which fixes this among with other stuff.
 I'll remove the older version , pyxml-0.8.3, from the tree so didn't fix it.

+*pyxml-0.8.4-r1 (03 Jul 2007)
+
+  03 Jul 2007; Ali Polatel <hawking@gentoo.org> pyxml-0.8.4.ebuild,
+  +pyxml-0.8.4-r1.ebuild:
+  revbump, use system expat (bug 178920, thanks to Ismail "cartman" Donmez),
+  dropped ~ppc-macos keyword, add doc and examples USE flags, add src_test,
+  don't install tests, cosmetics

 Thanks for reporting and thanks for the patch :-)