Opened 8 years ago

Closed 8 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


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:

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:
To report a bug, follow the instructions in the guide:
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:

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 8 years ago by ryandesign (Ryan Schmidt)

Version: 2.3.2

comment:2 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:3 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

done r133059

Note: See TracTickets for help on using tickets.