Opened 11 years ago

Closed 11 years ago

#36741 closed defect (wontfix)

py-shiboken: /opt/local/bin/shiboken install conflict for 2.6 and 2.7

Reported by: cdeil (Christoph Deil) Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: py-shiboken

Description

I have py27-shiboken installed. Trying to install py26-shiboken fails because both try to install /opt/local/bin/shiboken :

--->  Installing py26-shiboken @1.1.2_1
--->  Activating py26-shiboken @1.1.2_1
Error: org.macports.activate for port py26-shiboken returned: Image error: /opt/local/bin/shiboken is being used by the active py27-shiboken port.  Please deactivate this port first, or use 'port -f activate py26-shiboken' to force the activation.
Error: Failed to install py26-shiboken
$ port contents py27-shiboken
Port py27-shiboken contains:
  /opt/local/bin/shiboken
  /opt/local/include/shiboken/autodecref.h
  /opt/local/include/shiboken/basewrapper.h
  /opt/local/include/shiboken/bindingmanager.h
  /opt/local/include/shiboken/conversions.h
  /opt/local/include/shiboken/gilstate.h
  /opt/local/include/shiboken/helper.h
  /opt/local/include/shiboken/python25compat.h
  /opt/local/include/shiboken/sbkconverter.h
  /opt/local/include/shiboken/sbkdbg.h
  /opt/local/include/shiboken/sbkenum.h
  /opt/local/include/shiboken/sbkmodule.h
  /opt/local/include/shiboken/sbkpython.h
  /opt/local/include/shiboken/sbkstring.h
  /opt/local/include/shiboken/sbkversion.h
  /opt/local/include/shiboken/shiboken.h
  /opt/local/include/shiboken/shibokenbuffer.h
  /opt/local/include/shiboken/shibokenmacros.h
  /opt/local/include/shiboken/threadstatesaver.h
  /opt/local/include/shiboken/typeresolver.h
  /opt/local/lib/cmake/Shiboken-1.1.2/ShibokenConfig-python2.7.cmake
  /opt/local/lib/cmake/Shiboken-1.1.2/ShibokenConfig.cmake
  /opt/local/lib/cmake/Shiboken-1.1.2/ShibokenConfigVersion.cmake
  /opt/local/lib/libshiboken-python2.7.1.1.2.dylib
  /opt/local/lib/libshiboken-python2.7.1.1.dylib
  /opt/local/lib/libshiboken-python2.7.dylib
  /opt/local/lib/pkgconfig/shiboken.pc
  /opt/local/lib/python2.7/site-packages/shiboken.so
  /opt/local/share/man/man1/shiboken.1.gz

Change History (4)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mmoll@… removed
Owner: changed from macports-tickets@… to mmoll@…

comment:2 Changed 11 years ago by mamoll (Mark Moll)

Installing it in such a way that there are no conflicts is a real pain. You could install everything in /opt/local/Library/Frameworks/Python.framework/Versions/2.7, but then py27-pyside (and anything that depends on pyside/shiboken) needs to be patched to find py27-shiboken in a non-standard place. I'd rather leave everything in their expected place, since this is what most users expect. I suspect it is not common to have multiple version of py??-shiboken active.

comment:3 Changed 11 years ago by cdeil (Christoph Deil)

I noticed this issue because I tried to install py27-ipython +pyside in addition to py26-ipython +pyside. I agree it's not very essential, so if it's a lot of work to make it work, feel free to close this ticket.

comment:4 Changed 11 years ago by mamoll (Mark Moll)

Resolution: wontfix
Status: newclosed

Ok, closing it then. Sorry I can't be of more help. Patches are welcome, though!

Note: See TracTickets for help on using tickets.