I'm trying to update my MacPorts, and it fails with
Error: Requested variants "+python311" do not match those the build was started with: "+python37". Error: Please use the same variants again, or run 'port clean xorg-xcb-proto' first to remove the existing partially completed build. Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-xcb-proto/xorg-xcb-proto/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
I have installed python311 and python37, but that didn't help.
And I did try running "port clean xorg-xcb-proto" as recommended with no improvement.