[MacPorts] #68946: aria2 does not compile (apparently, just a sed error when building manuals)

MacPorts noreply at macports.org
Wed Dec 20 18:44:46 UTC 2023


#68946: aria2 does not compile (apparently, just a sed error when building manuals)
--------------------+--------------------
 Reporter:  vigna   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:
--------------------+--------------------
 Trying to install aria2 on a MacBook M1 Sonoma 14.2, XCode 15.1:
 {{{
 at 19:37:53 ➜ port install aria2
 --->  Computing dependencies for aria2
 --->  Fetching archive for aria2
 --->  Attempting to fetch aria2-1.37.0_0.darwin_23.arm64.tbz2 from
 https://packages.macports.org/aria2
 --->  Attempting to fetch aria2-1.37.0_0.darwin_23.arm64.tbz2 from
 https://fra.de.packages.macports.org/aria2
 --->  Attempting to fetch aria2-1.37.0_0.darwin_23.arm64.tbz2 from
 https://nue.de.packages.macports.org/aria2
 --->  Fetching distfiles for aria2
 --->  Verifying checksums for aria2
 --->  Extracting aria2
 --->  Configuring aria2
 --->  Building aria2
 Error: Failed to build aria2: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_aria2/aria2/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port aria2 failed
 }}}
 The problem appears to be the following:
 {{{
 :info:build sed -i -e '1i .\\" -*- mode: troff; coding: utf-8 -*-'
 _build/man/aria2c.1
 :info:build sed: 1: "1i .\\" -*- mode: troff ...": command i expects \
 followed by text
 :info:build make[5]: *** [man] Error 1
 :info:build make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_aria2/aria2/work/aria2-1.37.0/doc
 /manual-src/ru'
 :info:build make[4]: *** [_build/man/aria2c.1] Error 2
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_aria2/aria2/work/aria2-1.37.0/doc
 /manual-src/ru'
 :info:build make[3]: *** [all-recursive] Error 1
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_aria2/aria2/work/aria2-1.37.0/doc
 /manual-src'
 :info:build make[2]: *** [all-recursive] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_aria2/aria2/work/aria2-1.37.0/doc'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_aria2/aria2/work/aria2-1.37.0'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_aria2/aria2/work/aria2-1.37.0'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_aria2/aria2/work/aria2-1.37.0"
 && /usr/bin/make -j10 -w all
 :info:build Exit code: 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68946>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list