Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#63168 closed defect (fixed)

gping @1.2.1 conflicts with inetutils @2.0

Reported by: cooljeanius (Eric Gallager) Owned by: harens (Haren S)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: Schamschula (Marius Schamschula)
Port: gping inetutils

Description

They both try to install a gping binary:

x ./opt/local/bin/gping
DEBUG: Image error: /opt/local/bin/gping is being used by the active inetutils port.  Please deactivate this port first, or use 'port -f activate gping' to force the activation.
    invoked from within
"throw registry::image-error "Image error: $file is being used by the active [$owner name] port.  Please deactivate this port first, or use 'port -f ac..."
    ("foreach" body line 45)
    invoked from within
"foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to install links, we test if we can lst..."
    invoked from within
"registry::write {
            foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to instal..."
    invoked from within
"try {
        registry::write {
            foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be ..."
    (procedure "_activate_contents" line 21)
    invoked from within
"_activate_contents $requested $rename_list"
    (procedure "activate" line 63)
    invoked from within
"activate $name "" "" 0 $optionslist"
    (procedure "portimage::activate_composite" line 3)
    invoked from within
"portimage::activate_composite $portname $composite_version [array get options]"
Error: port activate failed: Image error: /opt/local/bin/gping is being used by the active inetutils port.  Please deactivate this port first, or use 'port -f activate gping' to force the activation.

This conflict should either be marked, or fixed.

Change History (5)

comment:1 Changed 3 years ago by Schamschula (Marius Schamschula)

Unfortunately, changing the names of the binaries installed by inetutils is not an option. We consciously chose to add the prefix g to distinguish these from the equivalent binaries installed by macOS.

comment:2 Changed 3 years ago by harens (Haren S)

Cc: harens removed
Owner: set to harens
Status: newaccepted

Thank you Eric for opening this ticket. I think the easiest thing to do here is just to note that the two conflict with each other.

This issue has been reported upstream in gping: orf/gping#105. They're also planning on noting the conflict in the Homebrew formula.

comment:3 Changed 3 years ago by harens <harensdeveloper@…>

Resolution: fixed
Status: acceptedclosed

In 90fdf8150c858fd3ced43d0f0a8c0e7d0512f15d/macports-ports (master):

gping, inetutils: indicate conflict

Both install a gping binary.

Closes: #63168

comment:4 Changed 2 years ago by Haren S <12570877+harens@…>

In cf8289de17428f674c9edbd7dd181b8be5e63bb0/macports-ports (master):

gping: update to 1.3.2, rename executable

Closes: #65344
See: #63168

comment:5 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

In 171a571b6a059f3253c375715b8eba5283037344/macports-ports (master):

inetutils: Remove conflict with gping

See: #63168
See: #65344

Note: See TracTickets for help on using tickets.