Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16795 closed defect (fixed)

py25-libxslt depends on and conflicts with py25-libxml2

Reported by: brainsik+macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: py25-libxslt, py25-libxml2, conflicts Cc: sfiera@…
Port: py25-libxslt

Description (last modified by mf2k (Frank Schima))

py25-libxslt depends on py25-libxml2, but installing py25-libxslt conflicts with files installed by py25-libxml2:

$ sudo port install py25-libxslt
--->  Fetching py25-libxml2
--->  Verifying checksum(s) for py25-libxml2
--->  Extracting py25-libxml2
--->  Applying patches to py25-libxml2
--->  Configuring py25-libxml2
--->  Building py25-libxml2 with target build
--->  Staging py25-libxml2 into destroot
--->  Installing py25-libxml2 2.6.21_1
--->  Activating py25-libxml2 2.6.21_1
--->  Cleaning py25-libxml2
--->  Installing py25-libxslt 2.6.21_0
--->  Activating py25-libxslt 2.6.21_0
Error: Target org.macports.activate returned: Image error: /opt/local/lib/python2.5/site-packages/drv_libxml2.py is being used by the active py25-libxml2 port.  Please deactivate this port first, or use the -f flag to force the activation.
Error: Status 1 encountered during processing.

Forcing the installation reveals a bunch of conflicting files:

$ sudo port -f install py25-libxslt
--->  Fetching py25-libxml2
--->  Verifying checksum(s) for py25-libxml2
--->  Extracting py25-libxml2
--->  Applying patches to py25-libxml2
--->  Configuring py25-libxml2
--->  Building py25-libxml2 with target build
--->  Staging py25-libxml2 into destroot
--->  Installing py25-libxml2 2.6.21_1
--->  Activating py25-libxml2 2.6.21_1
--->  Cleaning py25-libxml2
--->  Installing py25-libxslt 2.6.21_0
--->  Activating py25-libxslt 2.6.21_0
Warning: File /opt/local/lib/python2.5/site-packages/drv_libxml2.py already exists.  Moving to: /opt/local/lib/python2.5/site-packages/drv_libxml2.py.mp_1223503147.
Warning: File /opt/local/lib/python2.5/site-packages/drv_libxml2.pyc already exists.  Moving to: /opt/local/lib/python2.5/site-packages/drv_libxml2.pyc.mp_1223503147.
Warning: File /opt/local/lib/python2.5/site-packages/libxml2.py already exists.  Moving to: /opt/local/lib/python2.5/site-packages/libxml2.py.mp_1223503147.
Warning: File /opt/local/lib/python2.5/site-packages/libxml2.pyc already exists.  Moving to: /opt/local/lib/python2.5/site-packages/libxml2.pyc.mp_1223503147.
Warning: File /opt/local/lib/python2.5/site-packages/libxml2_python-2.6.21-py2.5.egg-info already exists.  Moving to: /opt/local/lib/python2.5/site-packages/libxml2_python-2.6.21-py2.5.egg-info.mp_1223503147.
Warning: File /opt/local/lib/python2.5/site-packages/libxml2mod.so already exists.  Moving to: /opt/local/lib/python2.5/site-packages/libxml2mod.so.mp_1223503147.
--->  Cleaning py25-libxslt

Change History (4)

comment:1 Changed 16 years ago by brainsik+macports@…

Cc: brainsik+macports@… added

Cc Me!

comment:2 Changed 16 years ago by mf2k (Frank Schima)

Cc: sfiera@… added; brainsik+macports@… removed
Description: modified (diff)
Priority: HighNormal

Ccing maintainer of py25-libxml2 who might have some insight.

comment:3 Changed 16 years ago by blb@…

Resolution: fixed
Status: newclosed

Fixed in r49556.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.