Opened 11 months ago
Closed 11 months ago
#68946 closed defect (fixed)
aria2 @1.37.0 does not compile (apparently, just a sed error when building manuals)
Reported by: | vigna (Sebastiano Vigna) | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | aria2 |
Description
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
Attachments (1)
Change History (6)
Changed 11 months ago by vigna (Sebastiano Vigna)
comment:1 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to Schamschula |
---|---|
Port: | aria2 added |
Status: | new → assigned |
Summary: | aria2 does not compile (apparently, just a sed error when building manuals) → aria2 @1.37.0 does not compile (apparently, just a sed error when building manuals) |
Version: | → 2.8.1 |
comment:2 Changed 11 months ago by Schamschula (Marius Schamschula)
Interesting: I get a clean build with Xcode 15.1.
However, I see
make[4]: Entering directory `/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_net_aria2/aria2/work/aria2-1.37.0/doc/manual-src/en' WARNING: Building only stub man pages. Please install sphinx-build: pip install sphinx if [ ! -d "_build/man" ]; then mkdir -p "_build/man"; fi; if [ ! -e "_build/man/aria2c.1" ]; then touch "_build/man/aria2c.1"; fi; make[4]: Leaving directory `/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_net_aria2/aria2/work/aria2-1.37.0/doc/manual-src/en'
So it seems aria2
needs a doc variant that pulls in sphinx
.
comment:3 Changed 11 months ago by Schamschula (Marius Schamschula)
Sure, enough. After I did
sudo port select --set sphinx py311-sphinx
I get the same error.
comment:4 Changed 11 months ago by Schamschula (Marius Schamschula)
The error was in the pt
page. I've disabled both pt
and ru
pages.
comment:5 Changed 11 months ago by Marius Schamschula <mschamschula@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
log