[MacPorts] #65152: Error: Failed to destroot python310: command execution failed

MacPorts noreply at macports.org
Tue May 10 08:03:09 UTC 2022


#65152: Error: Failed to destroot python310: command execution failed
-----------------------------+--------------------
  Reporter:  water137780117  |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.7.2
Resolution:                  |   Keywords:
      Port:  python310       |
-----------------------------+--------------------
Description changed by water137780117:

Old description:

> 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
> }}}

New description:

 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.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/65152#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list