#42134 closed defect (fixed)
py-gobject @2.90.4: cannot install both py27-gobject and py33-gobject
Reported by: | mndavidoff (Monte Davidoff) | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | haspatch | Cc: | snarkhunter (Steve Langer), ryandesign (Ryan Carsten Schmidt) |
Port: | py-gobject |
Description
It appears both py27-gobject and py33-gobject want to install the same file.
$ port installed py27-gobject The following ports are currently installed: py27-gobject @2.90.4_0 (active) $ sudo port -vs install py33-gobject ---> Computing dependencies for py33-gobject. ---> Fetching distfiles for py33-gobject ---> Verifying checksums for py33-gobject ---> Checksumming pygobject-2.90.4.tar.xz ---> Extracting py33-gobject ---> Extracting pygobject-2.90.4.tar.xz ---> Configuring py33-gobject ... ---> Activating py33-gobject @2.90.4_0 x ./ x ./+COMMENT ... x ./opt/local/Library/Frameworks/Python.framework/Versions/3.3/include/pygobject-3.0/pygobject.h Error: org.macports.activate for port py33-gobject returned: Image error: /opt/local/share/doc/py-gobject-2.90.4/AUTHORS is being used by the active py27-gobject port. Please deactivate this port first, or use 'port -f activate py33-gobject' to force the activation. Warning: targets not executed for py33-gobject: org.macports.activate Please see the log file for port py33-gobject for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-gobject/py33-gobject/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py33-gobject failed
I've attached a patch to fix the problem.
Attachments (2)
Change History (7)
Changed 11 years ago by mndavidoff (Monte Davidoff)
Attachment: | main.log.gz added |
---|
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jwa@… removed |
---|---|
Owner: | changed from macports-tickets@… to jwa@… |
Changed 11 years ago by mndavidoff (Monte Davidoff)
Attachment: | Portfile.diff added |
---|
comment:2 Changed 11 years ago by mndavidoff (Monte Davidoff)
Updated patch for py-gobject @2.28.6_2.
comment:3 follow-up: 4 Changed 11 years ago by snarkhunter (Steve Langer)
Ticket #42144 referred me here, and said to update and try again. I'm still having problems. Both py26-gobject and py27-gobject install files in /opt/local/share/doc/py-gobject-2.28.6, so only one can be activated.
comment:4 follow-up: 5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | stephen.langer@… ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Replying to stephen.langer@…:
I'm still having problems.
I'm not surprised, since the fix attached to this ticket has not been committed yet.
I've committed it now in r116092, except that I removed "-${version}
" from the docdir. Putting the version suffix on the docdir is something we tried briefly many years ago and then abandoned.
comment:5 Changed 11 years ago by snarkhunter (Steve Langer)
Replying to ryandesign@…:
Replying to stephen.langer@…:
I'm still having problems.
I'm not surprised, since the fix attached to this ticket has not been committed yet.
Oh. The other ticket said to update, so that's what I did.
Thanks for the fix. It's working now.
The revision has to be increased so that users who already have the ports installed will reinstall them with the corrected directory name.