[MacPorts] #68682: aom @3.7.0: error: RPC failed; curl 56 Recv failure: Connection reset by peer (was: Unable to install aom)

MacPorts noreply at macports.org
Sun Nov 12 06:08:01 UTC 2023


#68682: aom @3.7.0: error: RPC failed; curl 56 Recv failure: Connection reset by
peer
---------------------+---------------------------------
  Reporter:  COOLak  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  aom     |
---------------------+---------------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => MarcusCalhoun-Lopez
 * port:   => aom


Old description:

> Here's the complete log
>
> {{{
> version:1
> :debug:clean Starting logging for aom @3.7.0_0
> :debug:sysinfo macOS 14.1 (darwin/23.1.0) arch arm
> :debug:sysinfo MacPorts 2.8.1
> :debug:sysinfo Xcode none, CLT 15.0.0.0.1.1694021235
> :debug:sysinfo SDK 14
> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0
> :debug:clean Attempting ln -sf
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work
> /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/aom/work
> :debug:clean dropping privileges: euid changed to 503, egid changed to
> 501.
> :debug:main Executing org.macports.main (aom)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:archivefetch archivefetch phase started at Sun Nov 12 07:39:56 MSK
> 2023
> :msg:archivefetch --->  Fetching archive for aom
> :debug:archivefetch Executing org.macports.archivefetch (aom)
> :debug:archivefetch euid/egid changed to: 0/0
> :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
> :debug:archivefetch euid/egid changed to: 503/501
> :info:archivefetch --->  aom-3.7.0_0.darwin_23.arm64.tbz2 doesn't seem to
> exist in /opt/local/var/macports/incoming/verified
> :msg:archivefetch --->  Attempting to fetch
> aom-3.7.0_0.darwin_23.arm64.tbz2 from https://packages.macports.org/aom
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :msg:archivefetch --->  Attempting to fetch
> aom-3.7.0_0.darwin_23.arm64.tbz2 from
> https://nue.de.packages.macports.org/aom
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :msg:archivefetch --->  Attempting to fetch
> aom-3.7.0_0.darwin_23.arm64.tbz2 from
> http://mirror.fcix.net/macports/packages/aom
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
> :debug:fetch fetch phase started at Sun Nov 12 07:39:57 MSK 2023
> :notice:fetch --->  Fetching distfiles for aom
> :debug:fetch elevating privileges for fetch: euid changed to 0, egid
> changed to 0.
> :debug:fetch dropping privileges: euid changed to 503, egid changed to
> 501.
> :debug:fetch Executing org.macports.fetch (aom)
> :debug:fetch Executing: /usr/bin/git clone --progress
> https://aomedia.googlesource.com/aom.git
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
> 2>&1
> :debug:fetch system: /usr/bin/git clone --progress
> https://aomedia.googlesource.com/aom.git
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
> 2>&1
> :info:fetch Cloning into
> '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0'...
> :info:fetch fatal: unable to access
> 'https://aomedia.googlesource.com/aom.git/': LibreSSL SSL_connect:
> SSL_ERROR_SYSCALL in connection to aomedia.googlesource.com:443
> :info:fetch Command failed: /usr/bin/git clone --progress
> https://aomedia.googlesource.com/aom.git
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
> 2>&1
> :info:fetch Exit code: 128
> :error:fetch Failed to fetch aom: Git clone failed
> :debug:fetch Error code: NONE
> :debug:fetch Backtrace: Git clone failed
> :debug:fetch     while executing
> :debug:fetch "gitfetch"
> :debug:fetch     (procedure "portfetch::fetch_main" line 14)
> :debug:fetch     invoked from within
> :debug:fetch "$procedure $targetname"
> :error:fetch See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/main.log
> for details.
> version:1
> :debug:main Starting logging for aom @3.7.0_0
> :debug:sysinfo macOS 14.1 (darwin/23.1.0) arch arm
> :debug:sysinfo MacPorts 2.8.1
> :debug:sysinfo Xcode none, CLT 15.0.0.0.1.1694021235
> :debug:sysinfo SDK 14
> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0
> :debug:main dropping privileges: euid changed to 503, egid changed to
> 501.
> :debug:main Executing org.macports.main (aom)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:archivefetch archivefetch phase started at Sun Nov 12 08:18:06 MSK
> 2023
> :msg:archivefetch --->  Fetching archive for aom
> :debug:archivefetch Executing org.macports.archivefetch (aom)
> :debug:archivefetch euid/egid changed to: 0/0
> :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
> :debug:archivefetch euid/egid changed to: 503/501
> :info:archivefetch --->  aom-3.7.0_0.darwin_23.arm64.tbz2 doesn't seem to
> exist in /opt/local/var/macports/incoming/verified
> :msg:archivefetch --->  Attempting to fetch
> aom-3.7.0_0.darwin_23.arm64.tbz2 from https://packages.macports.org/aom
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :msg:archivefetch --->  Attempting to fetch
> aom-3.7.0_0.darwin_23.arm64.tbz2 from
> https://nue.de.packages.macports.org/aom
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :msg:archivefetch --->  Attempting to fetch
> aom-3.7.0_0.darwin_23.arm64.tbz2 from
> http://mirror.fcix.net/macports/packages/aom
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
> :debug:fetch fetch phase started at Sun Nov 12 08:18:15 MSK 2023
> :notice:fetch --->  Fetching distfiles for aom
> :debug:fetch Executing org.macports.fetch (aom)
> :debug:fetch Executing: /usr/bin/git clone --progress
> https://aomedia.googlesource.com/aom.git
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
> 2>&1
> :debug:fetch system: /usr/bin/git clone --progress
> https://aomedia.googlesource.com/aom.git
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
> 2>&1
> :info:fetch Cloning into
> '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0'...
> :info:fetch remote: Sending approximately 342.91 MiB ...Counting objects:
> 1
> Receiving objects:   0% (1/265960)
> Receiving objects:   1% (2660/265960), 899.72 KiB | 1.71 MiB/s
> Receiving objects:   1% (5082/265960), 899.72 KiB | 1.71 MiB/s
> Receiving objects:   2% (5320/265960), 899.72 KiB | 1.71 MiB/s
> Receiving objects:   3% (7979/265960), 1.94 MiB | 1.91 MiB/s
> Receiving objects:   4% (10639/265960), 3.25 MiB | 2.12 MiB/s
> Receiving objects:   5% (13298/265960), 3.25 MiB | 2.12 MiB/s
> Receiving objects:   5% (13748/265960), 3.25 MiB | 2.12 MiB/s
> Receiving objects:   6% (15958/265960), 4.69 MiB | 2.30 MiB/s
> Receiving objects:   7% (18618/265960), 4.69 MiB | 2.30 MiB/s
> Receiving objects:   8% (21277/265960), 6.31 MiB | 2.48 MiB/s
> Receiving objects:   9% (23937/265960), 6.31 MiB | 2.48 MiB/s
> error: RPC failed; curl 56 Recv failure: Connection reset by peer
> :info:fetch error: 47168 bytes of body are still expected
> :info:fetch fetch-pack: unexpected disconnect while reading sideband
> packet
> :info:fetch fatal: early EOF
> :info:fetch fatal: fetch-pack: invalid index-pack output
> :info:fetch Command failed: /usr/bin/git clone --progress
> https://aomedia.googlesource.com/aom.git
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
> 2>&1
> :info:fetch Exit code: 128
> :error:fetch Failed to fetch aom: Git clone failed
> :debug:fetch Error code: NONE
> :debug:fetch Backtrace: Git clone failed
> :debug:fetch     while executing
> :debug:fetch "gitfetch"
> :debug:fetch     (procedure "portfetch::fetch_main" line 14)
> :debug:fetch     invoked from within
> :debug:fetch "$procedure $targetname"
> :error:fetch See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/main.log
> for details.
> }}}
>

> In the following tickets
>

> {{{
>  https://trac.macports.org/ticket/62821
>
>https://trac.macports.org/ticket/62596
> }}}
>
> people reported to solve this issue by temporarily disabling secure proxy
> / SSL proxy (whatever it is).
>
> I have no idea how to do it, any help?

New description:

 Here's the complete log

 {{{
 version:1
 :debug:clean Starting logging for aom @3.7.0_0
 :debug:sysinfo macOS 14.1 (darwin/23.1.0) arch arm
 :debug:sysinfo MacPorts 2.8.1
 :debug:sysinfo Xcode none, CLT 15.0.0.0.1.1694021235
 :debug:sysinfo SDK 14
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0
 :debug:clean Attempting ln -sf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/aom/work
 :debug:clean dropping privileges: euid changed to 503, egid changed to
 501.
 :debug:main Executing org.macports.main (aom)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:archivefetch archivefetch phase started at Sun Nov 12 07:39:56 MSK
 2023
 :msg:archivefetch --->  Fetching archive for aom
 :debug:archivefetch Executing org.macports.archivefetch (aom)
 :debug:archivefetch euid/egid changed to: 0/0
 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
 :debug:archivefetch euid/egid changed to: 503/501
 :info:archivefetch --->  aom-3.7.0_0.darwin_23.arm64.tbz2 doesn't seem to
 exist in /opt/local/var/macports/incoming/verified
 :msg:archivefetch --->  Attempting to fetch
 aom-3.7.0_0.darwin_23.arm64.tbz2 from https://packages.macports.org/aom
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 aom-3.7.0_0.darwin_23.arm64.tbz2 from
 https://nue.de.packages.macports.org/aom
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 aom-3.7.0_0.darwin_23.arm64.tbz2 from
 http://mirror.fcix.net/macports/packages/aom
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:fetch fetch phase started at Sun Nov 12 07:39:57 MSK 2023
 :notice:fetch --->  Fetching distfiles for aom
 :debug:fetch elevating privileges for fetch: euid changed to 0, egid
 changed to 0.
 :debug:fetch dropping privileges: euid changed to 503, egid changed to
 501.
 :debug:fetch Executing org.macports.fetch (aom)
 :debug:fetch Executing: /usr/bin/git clone --progress
 https://aomedia.googlesource.com/aom.git
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
 2>&1
 :debug:fetch system: /usr/bin/git clone --progress
 https://aomedia.googlesource.com/aom.git
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
 2>&1
 :info:fetch Cloning into
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0'...
 :info:fetch fatal: unable to access
 'https://aomedia.googlesource.com/aom.git/': LibreSSL SSL_connect:
 SSL_ERROR_SYSCALL in connection to aomedia.googlesource.com:443
 :info:fetch Command failed: /usr/bin/git clone --progress
 https://aomedia.googlesource.com/aom.git
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
 2>&1
 :info:fetch Exit code: 128
 :error:fetch Failed to fetch aom: Git clone failed
 :debug:fetch Error code: NONE
 :debug:fetch Backtrace: Git clone failed
 :debug:fetch     while executing
 :debug:fetch "gitfetch"
 :debug:fetch     (procedure "portfetch::fetch_main" line 14)
 :debug:fetch     invoked from within
 :debug:fetch "$procedure $targetname"
 :error:fetch See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/main.log
 for details.
 version:1
 :debug:main Starting logging for aom @3.7.0_0
 :debug:sysinfo macOS 14.1 (darwin/23.1.0) arch arm
 :debug:sysinfo MacPorts 2.8.1
 :debug:sysinfo Xcode none, CLT 15.0.0.0.1.1694021235
 :debug:sysinfo SDK 14
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0
 :debug:main dropping privileges: euid changed to 503, egid changed to 501.
 :debug:main Executing org.macports.main (aom)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:archivefetch archivefetch phase started at Sun Nov 12 08:18:06 MSK
 2023
 :msg:archivefetch --->  Fetching archive for aom
 :debug:archivefetch Executing org.macports.archivefetch (aom)
 :debug:archivefetch euid/egid changed to: 0/0
 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
 :debug:archivefetch euid/egid changed to: 503/501
 :info:archivefetch --->  aom-3.7.0_0.darwin_23.arm64.tbz2 doesn't seem to
 exist in /opt/local/var/macports/incoming/verified
 :msg:archivefetch --->  Attempting to fetch
 aom-3.7.0_0.darwin_23.arm64.tbz2 from https://packages.macports.org/aom
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 aom-3.7.0_0.darwin_23.arm64.tbz2 from
 https://nue.de.packages.macports.org/aom
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 aom-3.7.0_0.darwin_23.arm64.tbz2 from
 http://mirror.fcix.net/macports/packages/aom
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:fetch fetch phase started at Sun Nov 12 08:18:15 MSK 2023
 :notice:fetch --->  Fetching distfiles for aom
 :debug:fetch Executing org.macports.fetch (aom)
 :debug:fetch Executing: /usr/bin/git clone --progress
 https://aomedia.googlesource.com/aom.git
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
 2>&1
 :debug:fetch system: /usr/bin/git clone --progress
 https://aomedia.googlesource.com/aom.git
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
 2>&1
 :info:fetch Cloning into
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0'...
 :info:fetch remote: Sending approximately 342.91 MiB ...Counting objects:
 1
 Receiving objects:   0% (1/265960)
 Receiving objects:   1% (2660/265960), 899.72 KiB | 1.71 MiB/s
 Receiving objects:   1% (5082/265960), 899.72 KiB | 1.71 MiB/s
 Receiving objects:   2% (5320/265960), 899.72 KiB | 1.71 MiB/s
 Receiving objects:   3% (7979/265960), 1.94 MiB | 1.91 MiB/s
 Receiving objects:   4% (10639/265960), 3.25 MiB | 2.12 MiB/s
 Receiving objects:   5% (13298/265960), 3.25 MiB | 2.12 MiB/s
 Receiving objects:   5% (13748/265960), 3.25 MiB | 2.12 MiB/s
 Receiving objects:   6% (15958/265960), 4.69 MiB | 2.30 MiB/s
 Receiving objects:   7% (18618/265960), 4.69 MiB | 2.30 MiB/s
 Receiving objects:   8% (21277/265960), 6.31 MiB | 2.48 MiB/s
 Receiving objects:   9% (23937/265960), 6.31 MiB | 2.48 MiB/s
 error: RPC failed; curl 56 Recv failure: Connection reset by peer
 :info:fetch error: 47168 bytes of body are still expected
 :info:fetch fetch-pack: unexpected disconnect while reading sideband
 packet
 :info:fetch fatal: early EOF
 :info:fetch fatal: fetch-pack: invalid index-pack output
 :info:fetch Command failed: /usr/bin/git clone --progress
 https://aomedia.googlesource.com/aom.git
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.7.0
 2>&1
 :info:fetch Exit code: 128
 :error:fetch Failed to fetch aom: Git clone failed
 :debug:fetch Error code: NONE
 :debug:fetch Backtrace: Git clone failed
 :debug:fetch     while executing
 :debug:fetch "gitfetch"
 :debug:fetch     (procedure "portfetch::fetch_main" line 14)
 :debug:fetch     invoked from within
 :debug:fetch "$procedure $targetname"
 :error:fetch See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/main.log
 for details.
 }}}

 In the following tickets

 #62821

 #62596

 people reported to solve this issue by temporarily disabling secure proxy
 / SSL proxy (whatever it is).

 I have no idea how to do it, any help?

--

Comment:

 The lack of a binary archive on our servers is not necessarily a bug. We
 offer no binary archives for any port for darwin 23 on arm64 yet. When
 there is no binary archive, MacPorts builds from source. If that fails, as
 it did for you, that may be a bug.

 In the other tickets you referenced, the user was using an ancient version
 of macOS whose built-in git was so old that it could not talk to modern
 ssl servers. To attempt to work around that, they installed an ssl proxy,
 but that turned out to cause the problems they had reported, hence those
 tickets were closed. Your situation is unrelated, since you are using a
 current version of macOS whose built-in git has no problem talking to
 modern ssl servers.

 Here, this port failed to fetch after downloading 9% of the repository
 with the error message "fetch-pack: unexpected disconnect while reading
 sideband packet". Sounds like something that might resolve itself if you
 try again.

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


More information about the macports-tickets mailing list