Opened 2 years ago

Last modified 2 years ago

#65152 closed defect

Error: Failed to destroot python310: command execution failed — at Version 2

Reported by: water137780117 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: water137780117
Port: python310

Description (last modified by water137780117)

Today I tried to upgrade outdated ports but got an error when upgrading python310(universal)

sudo port upgrade outdated
--->  Computing dependencies for pkgconfig
--->  Fetching archive for pkgconfig
--->  Attempting to fetch pkgconfig-0.29.2_0+universal.darwin_21.arm64-x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/pkgconfig
--->  Attempting to fetch pkgconfig-0.29.2_0+universal.darwin_21.arm64-x86_64.tbz2.rmd160 from https://pek.cn.packages.macports.org/macports/packages/pkgconfig
--->  Installing pkgconfig @0.29.2_0+universal
--->  Activating pkgconfig @0.29.2_0+universal
--->  Cleaning pkgconfig
--->  Computing dependencies for python310
--->  Fetching archive for python310
--->  Attempting to fetch python310-3.10.4_1+lto+optimizations+universal.darwin_21.arm64-x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/python310
--->  Attempting to fetch python310-3.10.4_1+lto+optimizations+universal.darwin_21.arm64-x86_64.tbz2 from https://kmq.jp.packages.macports.org/python310
--->  Attempting to fetch python310-3.10.4_1+lto+optimizations+universal.darwin_21.arm64-x86_64.tbz2 from https://packages.macports.org/python310
--->  Fetching distfiles for python310
--->  Attempting to fetch Python-3.10.4.tar.xz from https://pek.cn.distfiles.macports.org/macports/distfiles/python310
--->  Verifying checksums for python310
--->  Extracting python310
--->  Applying patches to python310
--->  Configuring python310
--->  Building python310
      [  •   •   •   •   •   •   •   •   •   •   •   • ]
--->  Staging python310 into destroot
Error: Failed to destroot python310: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_lang_python310/python310/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.

Then I uninstalled, cleaned and installed python310 again but also failed.

sudo port uninstall python310
Note: It is not recommended to uninstall/deactivate a port that has dependents as it breaks the dependents.
The following ports will break:
 glib2 @2.64.6_2
 py310-setuptools @62.1.0_0
 py310-markupsafe @2.1.1_0
 py310-mako @1.2.0_0
 py310-markdown @3.3.6_0
 boost176 @1.76.0_3
Continue? [y/N]: y
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating python310 @3.10.4_0+lto+optimizations+universal
--->  Cleaning python310
--->  Uninstalling python310 @3.10.4_0+lto+optimizations+universal
--->  Cleaning python310
sudo port clean python310
--->  Cleaning python310
sudo port install python310 +universal
--->  Computing dependencies for python310
--->  Fetching archive for python310
--->  Attempting to fetch python310-3.10.4_1+lto+optimizations+universal.darwin_21.arm64-x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/python310
--->  Attempting to fetch python310-3.10.4_1+lto+optimizations+universal.darwin_21.arm64-x86_64.tbz2 from https://kmq.jp.packages.macports.org/python310
--->  Attempting to fetch python310-3.10.4_1+lto+optimizations+universal.darwin_21.arm64-x86_64.tbz2 from https://packages.macports.org/python310
--->  Fetching distfiles for python310
--->  Attempting to fetch Python-3.10.4.tar.xz from https://pek.cn.distfiles.macports.org/macports/distfiles/python310
--->  Verifying checksums for python310
--->  Extracting python310
--->  Applying patches to python310
--->  Configuring python310
--->  Building python310
--->  Staging python310 into destroot
Error: Failed to destroot python310: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_lang_python310/python310/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port python310 failed

Finally I uninstalled all ports on my mac and only install python310+universal, but met the same issue.

Change History (4)

Changed 2 years ago by water137780117

Attachment: main.log added

log of installing python310

comment:1 Changed 2 years ago by water137780117

Cc: water137780117 added

Changed 2 years ago by water137780117

remove all ports and only install python

comment:2 Changed 2 years ago by water137780117

Description: modified (diff)
Note: See TracTickets for help on using tickets.