Opened 13 years ago

Closed 4 years ago

#34403 closed defect (fixed)

rpm activation fails on buildbot: __init__.py already exists

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: afb@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: n3npq@…, cooljeanius (Eric Gallager)
Port: rpm

Description

rpm activation fails on the buildbot with this error:

Error: Target org.macports.activate returned: Image error: /opt/local/lib/python2.5/site-packages/rpm/__init__.py already exists and does not belong to a registered port. Unable to activate port rpm. Use 'port -f activate rpm' to force the activation.

Change History (6)

comment:1 Changed 13 years ago by afb@…

Looks like a bug in the python25 port. Maybe it could be worked around in the rpm port ?

comment:2 Changed 12 years ago by afb@…

Resolution: fixed
Status: newclosed

Fixed, r94594.

comment:3 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Wouldn't this indicate that some rpm-related port is bypassing the destroot and installing straight into prefix, or at least did so in the past? If it's fixed now it would be nice to clean up the unregistered files, see openjpeg or gdbm for an example.

comment:5 Changed 12 years ago by afb@…

Resolution: fixed
Status: closedreopened

It is still broken.

comment:6 Changed 4 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

Looks like this was probably fixed along with switching to python27.

Note: See TracTickets for help on using tickets.