switch to the py3 version of sphinx; if i'm not mistaken this avoids
the need to build both python 2 and 3 before building cmake. (this is on
the path to building about a third of the ports tree).
tests done on aarch64 i386 amd64, and some deps, ports-gcc, USE_LLD=no
tested on amd64.
Fixes problem booting from spi with pinebook pro seen with 2020.10.
Disable CONFIG_USE_PREBOOT from rk3399 configs as this runs
'usb start' which is reported to break booting via other methods
by kurt@.
Tested by kurt@ patrick@ and myself on
am335x_evm
mx6cuboxi
omap4_panda
pinebook-pro-rk3399
rock64-rk3328
rockpro64-rk3399
rpi_3
tinker-rk3288
ok kurt@
tested by several, ok benoit@
TCC (Tiny C Compiler) is a small and fast ANSI C compiler.
It generates optimized code, and can compile, assemble, and link several
times faster than 'gcc -O0'. Any C dynamic library can be used directly.
It includes an optional memory and bounds checker, and bounds-checked
code can be mixed freely with standard code. C scripting is also
supported via the usual hash-bang mechanism.
Backends exist for amd64, i386, arm, and arm64.
Otherwise ftp(1) drops into the "ftp> " prompt
(I fixed that bug myself in sysupgrade.sh r1.42 but forgot about it here.)
wget(1) and curl(1) always exit either way instead of blocking, *but*:
- cURL does not URL encode unsafe characters (just like ftp).
- Wget cannot be quiet except for error messages AND write files to stdout:
1. --quiet drops *every* message (incl. warnings/errors),
2. --no-verbose is silent but not quiet (still progress/stats on stdout),
3. --output-file redirects *every* message (progress *and* errors);
So no way to tell it "quiet, errors on stderr, content on stdout)...
So three different tools of which none of them gets all three things right:
- ftp fails on URLs without schema
- cURL does not URL encode its input (on purpose according to manual)
- Wget fails to provide basic stdio primitives
Stick to ftp(1), "validate" the URL with glob patterns and encode it with
jq(1) (as done before) to keep RUN_DEPENDS down at one (jq).