Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17858 closed defect (fixed)

rpm51 installs into /System

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: afb@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: n3npq@…
Port: rpm51

Description

Although rpm51 @5.1.6_0 declares a build dependency on python25, it installs files for the system's Python 2.3, in /System:

$ cd $(port dir rpm51)/work/destroot
$ find System
System
System/Library
System/Library/Frameworks
System/Library/Frameworks/Python.framework
System/Library/Frameworks/Python.framework/Versions
System/Library/Frameworks/Python.framework/Versions/2.3
System/Library/Frameworks/Python.framework/Versions/2.3/lib
System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3
System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages
System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rpm
System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rpm/__init__.py
System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rpm/_rpmmodule.a
System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rpm/_rpmmodule.la
System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rpm/_rpmmodule.so
$ 

This is on an Intel Mac running Mac OS X 10.4.11 with Xcode 2.5 and MacPorts 1.7.0 final.

The other rpm ports may be affected as well; I haven't checked.

Change History (5)

comment:1 Changed 15 years ago by afb@…

Status: newassigned

comment:2 Changed 15 years ago by afb@…

I cannot reproduce this, not with /opt/local/bin/python -> /opt/local/bin/python2.5 anyway.

What is your python_select set to ? The port is supposed to use PYTHON=${prefix}/bin/python2.5 but there might be some configuration paths within that are still trying to use a naked python...

comment:3 Changed 15 years ago by afb@…

opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/rpm
opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/rpm/__init__.py
opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/rpm/_rpmmodule.a
opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/rpm/_rpmmodule.la
opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/rpm/_rpmmodule.so

comment:4 Changed 15 years ago by afb@…

Resolution: fixed
Status: assignedclosed

Fixed, r44829.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.