Opened 6 months ago

Last modified 5 months ago

#69901 new defect

ocaml-biniou @1.2.2 conflicts with bdump @3.5

Reported by: cooljeanius (Eric Gallager) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: landonf (Landon Fuller)
Port: ocaml-biniou bdump

Description

They both try to install a bdump binary:

x ./opt/local/bin/bdump
Error: Failed to activate ocaml-biniou: Image error: /opt/local/bin/bdump is being used by the active bdump port.  Please deactivate this port first, or use 'port -f activate ocaml-biniou' to force the activation.
    while executing
"throw registry::image-error $msg"
    ("foreach" body line 47)
    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..."
DEBUG: Error code: registry::image-error
DEBUG: Backtrace: Image error: /opt/local/bin/bdump is being used by the active bdump port.  Please deactivate this port first, or use 'port -f activate ocaml-biniou' to force the activation.
    while executing
"throw registry::image-error $msg"
    ("foreach" body line 47)
    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..."
    while executing
"throw [dict get $eOptions -errorcode] [dict get $eOptions -errorinfo]"
    (procedure "_activate_contents" line 200)
    invoked from within
"_activate_contents $requested $rename_list"
    (procedure "portimage::activate" line 70)
    invoked from within
"registry_activate $subport $_inregistry_version $_inregistry_revision $_inregistry_variants $optionlist"
    (procedure "portactivate::activate_main" line 20)
    invoked from within
"$procedure $targetname"
DEBUG: dropping privileges: euid changed to 502, egid changed to 20.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_ocaml_ocaml-biniou/ocaml-biniou/main.log for details.
Error: Problem while installing ocaml-yojson

I encountered this when attempting to upgrade camlp5.

Change History (1)

comment:1 Changed 5 months ago by cooljeanius (Eric Gallager)

This generally makes my sudo port upgrade outdated command fail pretty early, btw, since "bdump" comes pretty early in the alphabet.

Version 0, edited 5 months ago by cooljeanius (Eric Gallager) (next)
Note: See TracTickets for help on using tickets.