ports/91903: Dependency problem in graphics/evince port with libxml2

Landry Breuil landry at fr.homeunix.org
Tue Jan 17 12:30:10 UTC 2006


>Number:         91903
>Category:       ports
>Synopsis:       Dependency problem in graphics/evince port with libxml2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 17 12:30:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Landry Breuil
>Release:        FreeBSD 6.0-RELEASE
>Organization:
>Environment:
FreeBSD sickboy.fr.homeunix.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005     root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
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.
>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.

>Fix:
Manually upgrade libxml2.
Make py24-libxml2-x.y.z depends on libxml2-x.y.z
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list