circular dependency between qemu and dtc

Kenneth Wolcott kennethwolcott at gmail.com
Tue Aug 20 06:47:22 UTC 2024


circular dependency between qemu and dtc

self-update

qemu fails due to conflict with dtc

deactivating dtc then trying to update qemu fails because it activates dtc

~: sudo port uninstall dtc
--->  Uninstalling dtc @1.7.0_0
--->  Cleaning dtc
~: sudo port upgrade qemu
--->  Computing dependencies for dtc
--->  Installing dtc @1.7.0_0
--->  Activating dtc @1.7.0_0
Error: Failed to activate dtc: The following ports have active files
that conflict with dtc's:
qemu @9.0.2_0+cocoa+curses+spice+spice_protocol+target_arm+target_i386+target_x86_64+usb+vnc
  /opt/local/include/fdt.h
  /opt/local/include/libfdt.h
  /opt/local/include/libfdt_env.h
  /opt/local/lib/libfdt.a
Image error: Conflicting file(s) present. Please deactivate the
conflicting port(s) first, or use 'port -f activate dtc' to force the
activation.
    while executing
"throw registry::image-error $msg"
    ("foreach" body line 35)
    invoked from within
"foreach file $imagefiles {
                incr progress_step
                _progress update $progress_step $progress_total_steps
                se..."
    invoked from within
"registry::write {
            foreach file $imagefiles {
                incr progress_step
                _progress update $progress_step $progress_..."
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_dtc/dtc/main.log
for details.
Error: Problem while installing dtc
Error: Follow https://guide.macports.org/#project.tickets if you
believe there is a bug.
~: sudo port uninstall qemu
Note: It is not recommended to uninstall/deactivate a port that has
dependents as it breaks the dependents.
The following ports will break:
 macpine @1.0.5_0
 lima @0.22.0_0
 lima @0.22.0_1
 lima @0.23.1_0
Continue? [y/N]: y
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating qemu
@9.0.2_0+cocoa+curses+spice+spice_protocol+target_arm+target_i386+target_x86_64+usb+vnc
--->  Cleaning qemu
--->  Uninstalling qemu
@9.0.2_0+cocoa+curses+spice+spice_protocol+target_arm+target_i386+target_x86_64+usb+vnc
--->  Cleaning qemu
~: sudo port uninstall qemu
~: sudo port install qemu
--->  Computing dependencies for qemu
The following dependencies will be installed:  dtc
Continue? [Y/n]: n
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
~: sudo port install dtc
--->  Activating dtc @1.7.0_0
--->  Cleaning dtc
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
~: sudo port deactivate dtc
--->  Deactivating dtc @1.7.0_0
--->  Cleaning dtc
~: sudo port install qemu
--->  Computing dependencies for qemu
The following dependencies will be installed:  dtc
Continue? [Y/n]: n
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.


Looks fishy...

Thanks,
Ken Wolcott


More information about the macports-users mailing list