Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178920 - dev-python/pyxml has an internal copy of expat 1.x
Summary: dev-python/pyxml has an internal copy of expat 1.x
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
Depends on:
Reported: 2007-05-17 19:23 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2007-07-03 04:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Use system expat (system-expat.patch,298 bytes, patch)
2007-05-19 14:48 UTC, İsmail Dönmez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 <> 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 :-)