rdp / ffmpeg-windows-build-helpers

Helper script for cross compiling some media tools for windows, like customizable ffmpeg.exe (with or without non-free components, etc), and some other bonuses like mplayer, mp4box, mxf, etc.
GNU General Public License v3.0
1.07k stars 409 forks source link

wsl 1 failures #742

Open rdp opened 6 days ago

rdp commented 6 days ago
``
```/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/pkgs/binutils/source/binutils-2.36.1/libiberty/configure: fork: Invalid argument
checking for strsignal... yes
checking for sysconf... yes
checking for sysctl... no
checking for sysmp... no
checking for table... no
checking for times... yes
checking for wait3... yes
checking for wait4... yes
checking whether basename is declared... yes
checking whether ffs is declared... yes
checking whether asprintf is declared... yes
checking whether vasprintf is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether calloc is declared... yes
checking whether getenv is declared... yes
checking whether getopt is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether sbrk is declared... yes
checking whether strtol is declared... yes
checking whether strtoul is declared... yes
checking whether strtoll is declared... yes
checking whether strtoull is declared... yes
checking whether strverscmp is declared... yes
checking whether strnlen is declared... yes
checking whether canonicalize_file_name must be declared... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
make[1]: Leaving directory '/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/pkgs/binutils/build/i686-w64-mingw32'
make: *** [Makefile:853: all] Error 2
make: *** [Makefile:853: all] Error 2
error

See build.log for more details.
Failure building 32 bit gcc? Recommend nuke sandbox (rm -rf sandbox) and start over...
rdp commented 6 days ago

checking for std::locale... yes ../source/gmp-6.2.1/configure: fork: Invalid argument ../source/gmp-6.2.1/configure: line 1: wait_for: No record of process 13849

rdp commented 6 days ago

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../source/gmp-6.2.1/mpq -I.. -D__GMP_WITHIN_GMP -I../../source/gmp-6.2.1 -fexceptions -O2 -c ../../source/gmp-6.2.1/mpq/canonicalize.c -o canonicalize.o gcc: fatal error: cannot execute ‘/usr/lib/gcc/x86_64-linux-gnu/11/cc1’: execv: Invalid argument compilation terminated. make[2]: *** [Makefile:436: canonicalize.lo] Error 1

rdp commented 6 days ago

config.status: linking ../source/gmp-6.2.1/mpn/generic/zero_p.c to mpn/zero_p.c ./config.status: fork: Invalid argument ./config.status: line 1: wait_for: No record of process 7805 error

rdp commented 6 days ago

us: executing libtool commands yes checking fcntl.h presence... configure: error: write failure creating ./config.status config.status: executing default-1 commands yes checking for fcntl.h... yes config.status: executing default commands make[1]: [Makefile:3159: configure-opcodes] Error 1 make[1]: Waiting for unfinished jobs.... checking limits.h usability... yes

trying again it works? huh?

ht tps://gi thub.com/microso ft/WS L/is sues/2469 possibly try "WSL2" instead, or fewer threads (?)

rdp commented 6 days ago

Error: 0xd00002fe Error code: Wsl/Service/0xd00002fe

meant "wsl --shutdown was called in different tab"

rdp commented 6 days ago

steam and a couple youtubes and ./cross_compile_ffmpeg.sh -a --gcc-cpu-count=30 old conemu repro'd it 2204 4.4.0-19041-Microsoft

rdp commented 6 days ago

When you redo it it gets farther...is it "warming up" internal processes or something? So just run it over and over again? LOL Or run with fewer threads but :|