Opened 10 years ago
Closed 10 years ago
#45443 closed defect (fixed)
dialog @1.2-20140112 port contains static library that conflicts with libdialog @1.2-20140112
Reported by: | michael@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.2 |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg) | |
Port: | dialog |
Description
TL;DR: both ports dialog
and libdialog
contain the file /opt/local/lib/libdialog.a
, creating a conflict. The port dialog
does not need this file, so I propose it be removed from that port and only included in the port libdialog
.
Exhaustive version
Installing the port dialog
, we get
> port contents dialog Port dialog contains: /opt/local/bin/dialog /opt/local/lib/libdialog.a /opt/local/share/doc/dialog/CHANGES /opt/local/share/doc/dialog/COPYING /opt/local/share/doc/dialog/README [--CUT--]
Notice how /opt/local/lib/libdialog.a
is part of the port. Aside from this library not being necessary to operate the binary /opt/local/bin/dialog
, this inclusion conflicts with the port libdialog
, which would contain the aforementioned static library, along with the associated header files.
If the port dialog
is installed, installing the port libdialog
yields this error message:
---> Computing dependencies for libdialog ---> Activating libdialog @1.2-20140112_0 Error: org.macports.activate for port libdialog returned: Image error: /opt/local/lib/libdialog.a is being used by the active dialog port. Please deactivate this port first, or use 'port -f activate libdialog' to force the activation. Please see the log file for port libdialog for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dialog/libdialog/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port libdialog failed
After performing a port -f activate libdialog
we get:
---> Computing dependencies for libdialog ---> Activating libdialog @1.2-20140112_0 Warning: File /opt/local/lib/libdialog.a already exists. Moving to: /opt/local/lib/libdialog.a.mp_1413639930. ---> Cleaning libdialog
Inspecting the contents of libdialog
, we get:
> port contents libdialog Port libdialog contains: /opt/local/bin/dialog-config /opt/local/include/dialog.h /opt/local/include/dlg_colors.h /opt/local/include/dlg_config.h /opt/local/include/dlg_keys.h /opt/local/lib/libdialog.a /opt/local/share/man/man3/dialog.3.gz
I would propose that /opt/local/lib/libdialog.a
should be removed from the port dialog
and only included in the port libdialog
.
MACPORTS VERSION: The web form does not allow me to specify the macports version correctly: it only allows up to 2.3.1 but this bug has been experienced on both 2.3.1 and 2.3.2 -- thus the version was left blank in the web form.
> port version Version: 2.3.2
Change History (3)
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Version: | → 2.3.2 |
---|
comment:2 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
Cc: | khindenburg@… added |
---|
comment:3 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
done r133059
Cc Me!