Opened 2 years ago
Closed 2 years ago
#69946 closed defect (fixed)
2048.c conflicts with 2048.cpp
| Reported by: | barracuda156 | Owned by: | therealketo |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.9.3 |
| Keywords: | Cc: | chenguokai (Xim) | |
| Port: | 2048.c, 2048.cpp |
Description
Error: Failed to activate 2048.cpp: Image error: /opt/local/bin/2048 is being used by the active 2048.c port. Please deactivate this port first, or use 'port -f activate 2048.cpp' to force the activation.
while executing
"throw registry::image-error $msg"
("foreach" body line 49)
invoked from within
"foreach file $imagefiles {
incr progress_step
_progress update $progress_step $progress_total_steps
se..."
invoked from within
"registry::write {
# extract phase complete, assume 1/3 is done
set progress_step $num_imagefiles
foreach file $ima..."
Change History (3)
comment:1 follow-up: 2 Changed 2 years ago by TheRealKeto (Keto)
comment:2 Changed 2 years ago by barracuda156
Replying to TheRealKeto:
Unsure on how this should be resolved. I have 2 ideas
- Make these ports co-exist by adapting them to semantic naming (e.g Homebrew used
c2048to name the formula equivalent to this port), likecpp2048or2048cpp, or
- Use the
conflictfield for these ports and not worry
It is a simple one-binary port, perhaps rename is preferable, why introduce unnecessary conflict.
comment:3 Changed 2 years ago by TheRealKeto (Keto)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

Unsure on how this should be resolved. I have 2 ideas
c2048to name the formula equivalent to this port), likecpp2048or2048cpp, orconflictfield for these ports and not worry