Error compiling hb.dll for Windows with Fedora 30

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

Description of problem or question:
I have a error compiling hb.dll for Windows with fdk-aac support with Fedora 30:

Code: Select all

collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
gmake: *** [../libhb/module.rules:37: libhb/hb.dll] Error 1
gmake: *** Se borra el archivo 'libhb/hb.dll'
time end: Mon Jul 19 16:04:14 2021
duration: 52 minutes, 3 seconds (3123.39s)
result: FAILURE (code 2)


Steps to reproduce the problem (If Applicable):

Code: Select all

#!/bin/bash
cd
sudo dnf -y update
sudo dnf -y groupinstall "Development Tools" "C Development Tools and Libraries"
sudo dnf -y install cmake gcc-c++ git libtool m4 make meson nasm ninja-build patch python tar zlib-devel
sudo dnf -y install bison bzip2 curl flex g++ gzip pax

rm -rf HandBrake
git clone https://github.com/HandBrake/HandBrake.git
cd HandBrake
git tag
git checkout tags/1.4.0
git status

scripts/mingw-w64-build x86_64.distclean /home/juanmanuelraja/toolchains/
scripts/mingw-w64-build x86_64 /home/juanmanuelraja/toolchains/
export PATH="/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin:${PATH}"

./configure --cross=x86_64-w64-mingw32 --enable-fdk-aac --launch-jobs=1 --launch

cd
mv HandBrake/build/libhb/hb.dll .



HandBrake version (e.g., 1.0.0):
1.4.0



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Fedora 30



HandBrake Activity Log ***required*** (see How-to get an activity log)
NA
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by s55 »

We'd need the full build log and a build with make -j 1 so it's readable.

In all likelihood, it'll be the same issue that was reported on the github tracker and that's cmake 3.2 is not supported (too new) and will require code changes
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

cmake version 3.17.2
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

s55 wrote: Mon Jul 19, 2021 6:28 pm We'd need the full build log and a build with make -j 1 so it's readable.

In all likelihood, it'll be the same issue that was reported on the github tracker and that's cmake 3.2 is not supported (too new) and will require code changes
Please, how is the command in my script with -j 1?
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

is this command?:
./configure --cross=x86_64-w64-mingw32 --enable-fdk-aac --launch-jobs=1 --launch --force -j 1
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

How can I upload a complete log?
is HandBrake/build/log/build.txt the correct file?
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

Here is the HandBrake/build/log/build.txt with the command ./configure --cross=x86_64-w64-mingw32 --enable-fdk-aac --launch-jobs=1 --launch --force -j 1:

Code: Select all

time begin: Tue Jul 20 03:06:49 2021
launch: /usr/bin/gmake -j1 -j 1
/usr/bin/m4 -Iproject ../libhb/handbrake/project.h.m4 > libhb/handbrake/project.h
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/nlmeans.c -o libhb/nlmeans.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/avfilter.c -o libhb/avfilter.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/vfr.c -o libhb/vfr.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/eedi2.c -o libhb/eedi2.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/dvd.c -o libhb/dvd.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/decavsub.c -o libhb/decavsub.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/decavcodec.c -o libhb/decavcodec.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/encx265.c -o libhb/encx265.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/encvorbis.c -o libhb/encvorbis.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/rendersub.c -o libhb/rendersub.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/demuxmpeg.c -o libhb/demuxmpeg.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/deblock.c -o libhb/deblock.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/stream.c -o libhb/stream.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/hb_dict.c -o libhb/hb_dict.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/colorspace.c -o libhb/colorspace.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/bd.c -o libhb/bd.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/dectx3gsub.c -o libhb/dectx3gsub.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/encavcodecaudio.c -o libhb/encavcodecaudio.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/denoise.c -o libhb/denoise.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/decsrtsub.c -o libhb/decsrtsub.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/lapsharp.c -o libhb/lapsharp.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/ports.c -o libhb/ports.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/qsv_libav.c -o libhb/qsv_libav.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/decssasub.c -o libhb/decssasub.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/plist.c -o libhb/plist.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/colormap.c -o libhb/colormap.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/enc_qsv.c -o libhb/enc_qsv.o
../libhb/enc_qsv.c: In function 'log_encoder_params':
../libhb/enc_qsv.c:1005:34: warning: variable 'extVideoSignalInfo' set but not used [-Wunused-but-set-variable]
 1005 |     const mfxExtVideoSignalInfo *extVideoSignalInfo = NULL;
      |                                  ^~~~~~~~~~~~~~~~~~
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/muxavformat.c -o libhb/muxavformat.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/batch.c -o libhb/batch.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/sync.c -o libhb/sync.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/hb_json.c -o libhb/hb_json.o
../libhb/hb_json.c: In function 'hb_job_to_dict':
../libhb/hb_json.c:499:12: warning: 'adapter_index' may be used uninitialized in this function [-Wmaybe-uninitialized]
  499 |     dict = json_pack_ex(&error, 0,
      |            ^~~~~~~~~~~~~~~~~~~~~~~
  500 |     "{"
      |     ~~~     
  501 |     // SequenceID
      |     ~~~~~~~~~~~~~
  502 |     "s:o,"
      |     ~~~~~~  
  503 |     // Destination {Mux, InlineParameterSets, AlignAVStart,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  504 |     //              ChapterMarkers, ChapterList}
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  505 |     "s:{s:o, s:o, s:o, s:o, s:[]},"
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  506 |     // Source {Path, Title, Angle}
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  507 |     "s:{s:o, s:o, s:o,},"
      |     ~~~~~~~~~~~~~~~~~~~~~
  508 |     // PAR {Num, Den}
      |     ~~~~~~~~~~~~~~~~~
  509 |     "s:{s:o, s:o},"
      |     ~~~~~~~~~~~~~~~
  510 |     // Video {Encoder, QSV {Decode, AsyncDepth, AdapterIndex}}
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  511 |     "s:{s:o, s:{s:o, s:o, s:o}},"
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  512 |     // Audio {CopyMask, FallbackEncoder, AudioList []}
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  513 |     "s:{s:[], s:o, s:[]},"
      |     ~~~~~~~~~~~~~~~~~~~~~~
  514 |     // Subtitles {Search {Enable, Forced, Default, Burn}, SubtitleList []}
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  515 |     "s:{s:{s:o, s:o, s:o, s:o}, s:[]},"
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  516 |     // Metadata
      |     ~~~~~~~~~~~
  517 |     "s:o,"
      |     ~~~~~~  
  518 |     // Filters {FilterList []}
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~
  519 |     "s:{s:[]}"
      |     ~~~~~~~~~~
  520 |     "}",
      |     ~~~~    
  521 |         "SequenceID",           hb_value_int(job->sequence_id),
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  522 |         "Destination",
      |         ~~~~~~~~~~~~~~
  523 |             "Mux",              hb_value_int(job->mux),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  524 |             "InlineParameterSets", hb_value_bool(job->inline_parameter_sets),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  525 |             "AlignAVStart",     hb_value_bool(job->align_av_start),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  526 |             "ChapterMarkers",   hb_value_bool(job->chapter_markers),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  527 |             "ChapterList",
      |             ~~~~~~~~~~~~~~
  528 |         "Source",
      |         ~~~~~~~~~
  529 |             "Path",             hb_value_string(job->title->path),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  530 |             "Title",            hb_value_int(job->title->index),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  531 |             "Angle",            hb_value_int(job->angle),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  532 |         "PAR",
      |         ~~~~~~
  533 |             "Num",              hb_value_int(job->par.num),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534 |             "Den",              hb_value_int(job->par.den),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  535 |         "Video",
      |         ~~~~~~~~
  536 |             "Encoder",          hb_value_int(job->vcodec),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  537 |             "QSV",
      |             ~~~~~~
  538 |                 "Decode",       hb_value_bool(job->qsv.decode),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  539 |                 "AsyncDepth",   hb_value_int(job->qsv.async_depth),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  540 |                 "AdapterIndex", hb_value_int(adapter_index),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  541 |         "Audio",
      |         ~~~~~~~~
  542 |             "CopyMask",
      |             ~~~~~~~~~~~
  543 |             "FallbackEncoder",  hb_value_int(job->acodec_fallback),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  544 |             "AudioList",
      |             ~~~~~~~~~~~~
  545 |         "Subtitle",
      |         ~~~~~~~~~~~
  546 |             "Search",
      |             ~~~~~~~~~
  547 |                 "Enable",       hb_value_bool(job->indepth_scan),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  548 |                 "Forced",       hb_value_bool(job->select_subtitle_config.force),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  549 |                 "Default",      hb_value_bool(job->select_subtitle_config.default_track),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  550 |                 "Burn",         hb_value_bool(subtitle_search_burn),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  551 |             "SubtitleList",
      |             ~~~~~~~~~~~~~~~
  552 |         "Metadata",             hb_value_dup(job->metadata->dict),
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  553 |         "Filters",
      |         ~~~~~~~~~~
  554 |             "FilterList"
      |             ~~~~~~~~~~~~
  555 |     );
      |     ~       
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/ssautil.c -o libhb/ssautil.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/mt_frame_filter.c -o libhb/mt_frame_filter.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/nal_units.c -o libhb/nal_units.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/decomb.c -o libhb/decomb.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/dvdnav.c -o libhb/dvdnav.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/rotate.c -o libhb/rotate.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/audio_remap.c -o libhb/audio_remap.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/chroma_smooth.c -o libhb/chroma_smooth.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/fifo.c -o libhb/fifo.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/scan.c -o libhb/scan.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/compat.c -o libhb/compat.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/qsv_filter.c -o libhb/qsv_filter.o
../libhb/qsv_filter.c: In function 'hb_qsv_filter_close':
../libhb/qsv_filter.c:465:34: warning: implicit declaration of function 'hb_qsv_full_path_is_enabled' [-Wimplicit-function-declaration]
  465 |         hb_qsv_context_clean(qsv,hb_qsv_full_path_is_enabled(pv->job));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/nlmeans_x86.c -o libhb/nlmeans_x86.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/cropscale.c -o libhb/cropscale.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/lang.c -o libhb/lang.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/encx264.c -o libhb/encx264.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/encavcodec.c -o libhb/encavcodec.o
../libhb/encavcodec.c: In function 'apply_encoder_preset':
../libhb/encavcodec.c:1577:47: warning: passing argument 1 of 'hb_map_nvenc_preset_name' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1577 |             preset = hb_map_nvenc_preset_name(preset);
      |                                               ^~~~~~
In file included from ../libhb/encavcodec.c:18:
../libhb/handbrake/nvenc_common.h:15:49: note: expected 'char *' but argument is of type 'const char *'
   15 | char *         hb_map_nvenc_preset_name (char * preset);
      |                                          ~~~~~~~^~~~~~
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/comb_detect.c -o libhb/comb_detect.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/declpcm.c -o libhb/declpcm.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/muxcommon.c -o libhb/muxcommon.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/param.c -o libhb/param.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/enctheora.c -o libhb/enctheora.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/qsv_common.c -o libhb/qsv_common.o
In file included from ../libhb/qsv_common.c:2742:
../libhb/qsv_common.c: In function 'hb_qsv_get_dx_device':
../libhb/qsv_common.c:3346:58: warning: passing argument 2 of 'device->lpVtbl->GetImmediateContext' from incompatible pointer type [-Wincompatible-pointer-types]
 3346 |                 ID3D11Device_GetImmediateContext(device, (ID3D11DeviceContext *)&job->qsv.ctx->device_context);
      |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                          |
      |                                                          ID3D11DeviceContext *
../libhb/qsv_common.c:3346:58: note: expected 'ID3D11DeviceContext **' but argument is of type 'ID3D11DeviceContext *'
../libhb/qsv_common.c: In function 'hb_qsv_copy_avframe_to_video_buffer':
../libhb/qsv_common.c:3776:20: warning: returning 'int' from a function with return type 'hb_buffer_t *' {aka 'struct hb_buffer_s *'} makes pointer from integer without a cast [-Wint-conversion]
 3776 |             return -1;
      |                    ^
../libhb/qsv_common.c:3805:20: warning: returning 'int' from a function with return type 'hb_buffer_t *' {aka 'struct hb_buffer_s *'} makes pointer from integer without a cast [-Wint-conversion]
 3805 |             return -1;
      |                    ^
../libhb/qsv_common.c: In function 'hb_create_ffmpeg_pool':
../libhb/qsv_common.c:3967:58: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3967 |                             job->qsv.ctx->vpp_scale_mode = mode->key;
      |                                                          ^
../libhb/qsv_common.c:3985:68: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3985 |                             job->qsv.ctx->vpp_interpolation_method = mode->key;
      |                                                                    ^
At top level:
../libhb/qsv_common.c:3022:12: warning: 'hb_dxva2_device_check' defined but not used [-Wunused-function]
 3022 | static int hb_dxva2_device_check()
      |            ^~~~~~~~~~~~~~~~~~~~~
../libhb/qsv_common.c:2847:13: warning: 'hb_qsv_free_adapters_details' defined but not used [-Wunused-function]
 2847 | static void hb_qsv_free_adapters_details()
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/taskset.c -o libhb/taskset.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/work.c -o libhb/work.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/detelecine.c -o libhb/detelecine.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/unsharp.c -o libhb/unsharp.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/deinterlace.c -o libhb/deinterlace.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/pad.c -o libhb/pad.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/grayscale.c -o libhb/grayscale.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/hbffmpeg.c -o libhb/hbffmpeg.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/preset.c -o libhb/preset.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/reader.c -o libhb/reader.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/qsv_filter_pp.c -o libhb/qsv_filter_pp.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/nvenc_common.c -o libhb/nvenc_common.o
../libhb/nvenc_common.c: In function 'hb_nvenc_h264_available':
../libhb/nvenc_common.c:23:16: warning: implicit declaration of function 'hb_check_nvenc_available' [-Wimplicit-function-declaration]
   23 |         return hb_check_nvenc_available();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/audio_resample.c -o libhb/audio_resample.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/common.c -o libhb/common.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/qsv_memory.c -o libhb/qsv_memory.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/vce_common.c -o libhb/vce_common.o
In file included from ./contrib/include/AMF/core/Context.h:39,
                 from ./contrib/include/AMF/core/Factory.h:40,
                 from ../libhb/vce_common.c:13:
./contrib/include/AMF/core/Surface.h:94:36: warning: missing braces around initializer [-Wmissing-braces]
   94 |     AMF_WEAK GUID  AMFFormatGUID = { 0x8cd592d0, 0x8063, 0x4af8, 0xa7, 0xd0, 0x32, 0x5b, 0xc5, 0xf7, 0x48, 0xab}; // UINT(AMF_SURFACE_FORMAT), default - AMF_SURFACE_UNKNOWN; to be set on ID3D11Texture2D objects when used natively (i.e. force UYVY on DXGI_FORMAT_YUY2 texture)
      |                                    ^
      |                                                                  {                                             }
In file included from ./contrib/include/AMF/core/Context.h:40,
                 from ./contrib/include/AMF/core/Factory.h:40,
                 from ../libhb/vce_common.c:13:
./contrib/include/AMF/core/Compute.h:82:52: warning: missing braces around initializer [-Wmissing-braces]
   82 |     AMF_WEAK GUID  AMFStructuredBufferFormatGUID = { 0x90c5d674, 0xe90, 0x4181, 0xbd, 0xef, 0x26, 0x13, 0xc1, 0xdf, 0xa3, 0xbd }; // UINT(DXGI_FORMAT), default - DXGI_FORMAT_R32_UINT; to be set on ID3D11Buffer or ID3D11Texture2D objects when used natively
      |                                                    ^
      |                                                                                 {                                              }
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/hb.c -o libhb/hb.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -c ../libhb/hbavfilter.c -o libhb/hbavfilter.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-ar rsu libhb/libhandbrake.a libhb/nlmeans.o libhb/avfilter.o libhb/vfr.o libhb/eedi2.o libhb/dvd.o libhb/decavsub.o libhb/decavcodec.o libhb/encx265.o libhb/encvorbis.o libhb/rendersub.o libhb/demuxmpeg.o libhb/deblock.o libhb/stream.o libhb/hb_dict.o libhb/colorspace.o libhb/bd.o libhb/dectx3gsub.o libhb/encavcodecaudio.o libhb/denoise.o libhb/decsrtsub.o libhb/lapsharp.o libhb/ports.o libhb/qsv_libav.o libhb/decssasub.o libhb/plist.o libhb/colormap.o libhb/enc_qsv.o libhb/muxavformat.o libhb/batch.o libhb/sync.o libhb/hb_json.o libhb/ssautil.o libhb/mt_frame_filter.o libhb/nal_units.o libhb/decomb.o libhb/dvdnav.o libhb/rotate.o libhb/audio_remap.o libhb/chroma_smooth.o libhb/fifo.o libhb/scan.o libhb/compat.o libhb/qsv_filter.o libhb/nlmeans_x86.o libhb/cropscale.o libhb/lang.o libhb/encx264.o libhb/encavcodec.o libhb/comb_detect.o libhb/declpcm.o libhb/muxcommon.o libhb/param.o libhb/enctheora.o libhb/qsv_common.o libhb/taskset.o libhb/work.o libhb/detelecine.o libhb/unsharp.o libhb/deinterlace.o libhb/pad.o libhb/grayscale.o libhb/hbffmpeg.o libhb/preset.o libhb/reader.o libhb/qsv_filter_pp.o libhb/nvenc_common.o libhb/audio_resample.o libhb/common.o libhb/qsv_memory.o libhb/vce_common.o libhb/hb.o libhb/hbavfilter.o
/home/juanmanuelraja/toolchains//mingw-w64-x86_64/bin/x86_64-w64-mingw32-g++ -pipe -Wl,-S -shared -Wl,--enable-auto-import -static -Wl,--out-implib,./libhb/hb.lib -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mno-ms-bitfields -D__LIBHB__ -DUSE_PTHREAD -DSYS_MINGW -DHAVE_THREADS=1 -DARCH_X86_64 -I./libhb/ -I./contrib/include -I./contrib/include/libxml2 -o libhb/hb.dll -Wl,--start-group libhb/nlmeans.o libhb/avfilter.o libhb/vfr.o libhb/eedi2.o libhb/dvd.o libhb/decavsub.o libhb/decavcodec.o libhb/encx265.o libhb/encvorbis.o libhb/rendersub.o libhb/demuxmpeg.o libhb/deblock.o libhb/stream.o libhb/hb_dict.o libhb/colorspace.o libhb/bd.o libhb/dectx3gsub.o libhb/encavcodecaudio.o libhb/denoise.o libhb/decsrtsub.o libhb/lapsharp.o libhb/ports.o libhb/qsv_libav.o libhb/decssasub.o libhb/plist.o libhb/colormap.o libhb/enc_qsv.o libhb/muxavformat.o libhb/batch.o libhb/sync.o libhb/hb_json.o libhb/ssautil.o libhb/mt_frame_filter.o libhb/nal_units.o libhb/decomb.o libhb/dvdnav.o libhb/rotate.o libhb/audio_remap.o libhb/chroma_smooth.o libhb/fifo.o libhb/scan.o libhb/compat.o libhb/qsv_filter.o libhb/nlmeans_x86.o libhb/cropscale.o libhb/lang.o libhb/encx264.o libhb/encavcodec.o libhb/comb_detect.o libhb/declpcm.o libhb/muxcommon.o libhb/param.o libhb/enctheora.o libhb/qsv_common.o libhb/taskset.o libhb/work.o libhb/detelecine.o libhb/unsharp.o libhb/deinterlace.o libhb/pad.o libhb/grayscale.o libhb/hbffmpeg.o libhb/preset.o libhb/reader.o libhb/qsv_filter_pp.o libhb/nvenc_common.o libhb/audio_resample.o libhb/common.o libhb/qsv_memory.o libhb/vce_common.o libhb/hb.o libhb/hbavfilter.o ./contrib/lib/libass.a ./contrib/lib/libavformat.a ./contrib/lib/libavfilter.a ./contrib/lib/libavcodec.a ./contrib/lib/libavutil.a ./contrib/lib/libswresample.a ./contrib/lib/libpostproc.a ./contrib/lib/libdvdnav.a ./contrib/lib/libdvdread.a ./contrib/lib/libfreetype.a ./contrib/lib/libmp3lame.a ./contrib/lib/libswscale.a ./contrib/lib/libvpx.a ./contrib/lib/libtheora.a ./contrib/lib/libvorbis.a ./contrib/lib/libvorbisenc.a ./contrib/lib/libogg.a ./contrib/lib/libx264.a ./contrib/lib/libxml2.a ./contrib/lib/libbluray.a ./contrib/lib/libjansson.a ./contrib/lib/libharfbuzz.a ./contrib/lib/libopus.a ./contrib/lib/libspeex.a ./contrib/lib/libdav1d.a ./contrib/lib/libturbojpeg.a ./contrib/lib/libzimg.a ./contrib/lib/libfdk-aac.a ./contrib/lib/libmfx.a ./contrib/lib/libx265.a ./contrib/lib/libiconv.a ./contrib/lib/libregex.a ./contrib/lib/libfribidi.a ./contrib/lib/libbz2.a ./contrib/lib/libz.a ./contrib/lib/liblzma.a -lpthread -lbcrypt -lws2_32 -luuid -lole32 -Wl,--end-group
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
gmake: *** [../libhb/module.rules:37: libhb/hb.dll] Error 1
gmake: *** Se borra el archivo 'libhb/hb.dll'
time end: Tue Jul 20 03:08:48 2021
duration: 1 minute, 58 seconds (118.72s)
result: FAILURE (code 2)

jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

Compiling 1.4.0-beta.1 is ok
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

but I prefer stable 1.4.0, some sugesttion to fix error compiling 1.4.0?
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

Trying with Fedora 34: error with cmake 3.20 (not supported I think)
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

Trying with Fedora 32:

Code: Select all

  : collect2: fatal error: ld terminated with signal 15 [Terminated]
  : compilation terminated.
  : gmake: *** [../libhb/module.rules:37: libhb/hb.dll] Error 1
  : gmake: *** Se borra el archivo 'libhb/hb.dll'
-------------------------------------------------------------------------------
time end: Wed Jul 21 21:11:54 2021
duration: 50 minutes, 0 seconds (3000.77s)
result: FAILURE (code 2)
-------------------------------------------------------------------------------
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by JohnAStebbins »

Oh, I must apologize for a mistake I made earlier. Signal 9 is SIGKILL, and I misread as SIGILL (one letter difference 'K'). This last log indicates a different signal (15) which is SIGTERM. Something external to 'ld' is terminating or killing the process. One thought is the OOM killer. How much memory/swap does your system have? Maybe try monitoring memory usage while the build is running with the 'free' command.
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

JohnAStebbins wrote: Thu Jul 22, 2021 3:07 pm Oh, I must apologize for a mistake I made earlier. Signal 9 is SIGKILL, and I misread as SIGILL (one letter difference 'K'). This last log indicates a different signal (15) which is SIGTERM. Something external to 'ld' is terminating or killing the process. One thought is the OOM killer. How much memory/swap does your system have? Maybe try monitoring memory usage while the build is running with the 'free' command.
Uhm, I will try with more memory assigned to the virtual machine running Fedora (the only use of this VM is compile HandBrake)
jmrf06
Posts: 20
Joined: Mon Jul 19, 2021 2:51 pm

Re: Error compiling hb.dll for Windows with Fedora 30

Post by jmrf06 »

jmrf06 wrote: Thu Jul 22, 2021 3:13 pm
JohnAStebbins wrote: Thu Jul 22, 2021 3:07 pm Oh, I must apologize for a mistake I made earlier. Signal 9 is SIGKILL, and I misread as SIGILL (one letter difference 'K'). This last log indicates a different signal (15) which is SIGTERM. Something external to 'ld' is terminating or killing the process. One thought is the OOM killer. How much memory/swap does your system have? Maybe try monitoring memory usage while the build is running with the 'free' command.
Uhm, I will try with more memory assigned to the virtual machine running Fedora (the only use of this VM is compile HandBrake)
You are my god, solved assigning 4GB instead of 2GB to the VM !!!
Thanks a lot
Post Reply