Bug 91903

Summary: Dependency problem in graphics/evince port with libxml2
Product: Ports & Packages Reporter: Landry Breuil <landry>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Landry Breuil 2006-01-17 12:30:09 UTC
During an upgrade of my ports-tree, i noticed a dependency problem on the graphics/evince port with libxml2 port. 
Previous versions : 
evince-0.3.0
libxml2-2.6.20
py24-libxml2-2.6.23
I portupgrade'd evince to evince-0.4.0_2, and it failed on this error :

 import libxml2mod
ImportError: /usr/local/lib/python2.4/site-packages/libxml2mod.so: Undefined symbol "xmlTextReaderSchemaValidateCtxt"

I grep'ed the libxml2 Changelog, and found that the function "xmlTextReaderSchemaValidateCtxt" was added in december'05, and thus not present in libxml2-2.6.20.
Anyway, portupgrade didn't ask me to upgrade libxml2.
I think the problem is that py24-libxml2-2.6.23 doesn't depend on libxml2-2.6.23. 
py24-libxml2-2.6.23 was installed during a portupgrade -rv glib.
I manually portupgrade'd libxml2, and managed to upgrade evince after that.

Fix: 

Manually upgrade libxml2.
Make py24-libxml2-x.y.z depends on libxml2-x.y.z
How-To-Repeat: On a 3-months old ports-tree, with evince-0.3.0, libxml2-2.6.20 and py24-libxml2-2.6.23, cvsup ports-tree and try to portupgrade evince to 0.4.0_2.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-17 20:08:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2006-02-01 17:39:56 UTC
State Changed
From-To: open->closed

Running portupgrade -R evince would have done this for you.