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

Build flite failed #723

Closed AndCycle closed 5 months ago

AndCycle commented 5 months ago

hit by this bug https://lists.gnu.org/archive/html/bug-guix/2024-01/msg00000.html

making in include ...
making in src ...
making in src/audio ...
making in src/utils ...
making in src/regex ...
making in src/hrg ...
making in src/stats ...
making in src/speech ...
making in src/lexicon ...
making in src/synth ...
making in src/wavesynth ...
making in src/cg ...
making in lang ...
making in lang/cmulex ...
making in lang/cmu_indic_lex ...
making in lang/cmu_grapheme_lex ...
making in lang/usenglish ...
making in lang/cmu_indic_lang ...
making in lang/cmu_grapheme_lang ...
making in lang/cmu_us_kal ...
making in lang/cmu_time_awb ...
making in lang/cmu_us_kal16 ...
making in lang/cmu_us_awb ...
making in lang/cmu_us_rms ...
making in lang/cmu_us_slt ...
making in doc ...
making in tools ...
x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared     -o ../bin/find_sts find_sts_main.o -L../build/x86_64-mingw32/lib -lflite  -lm
x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared     -o ../bin/flite_sort flite_sort_main.o -L../build/x86_64-mingw32/lib -lflite  -lm
making in main ...
rm -f flite_lang_list.c
../tools/make_lang_list usenglish cmu_indic_lang  cmu_grapheme_lang cmulex cmu_indic_lex cmu_grapheme_lex
x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared     -o ../bin/t2p.exe t2p_main.o -L../build/x86_64-mingw32/lib -lflite_cmu_us_kal -lflite_cmu_time_awb -lflite_cmu_us_kal16 -lflite_cmu_us_awb -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmu_indic_lang -lflite_cmu_grapheme_lang -lflite_cmulex -lflite_cmu_indic_lex -lflite_cmu_grapheme_lex -lflite -lm
x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared     -o ../bin/compile_regexes.exe compile_regexes.o -L../build/x86_64-mingw32/lib -lflite  -lm
make[1]: *** No rule to make target 'flite_voice_list.c', needed by 'all'.  Stop.
make[1]: *** Waiting for unfinished jobs....
make flite_lang_list.o
x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared     -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -I../include  -c -o flite_lang_list.o flite_lang_list.c
In file included from ../include/cst_synth.h:44,
                 from ../include/flite.h:64,
                 from flite_lang_list.c:3:
../include/cst_tokenstream.h:134:14: warning: inline function 'ts_utf8_sequence_length' declared but never defined
  134 | __inline int ts_utf8_sequence_length(char c0);
      |              ^~~~~~~~~~~~~~~~~~~~~~~
make: *** [config/common_make_rules:133: build/x86_64-mingw32/obj//.make_build_dirs] Error 2
rdp commented 5 months ago

if you run it again it works the second time?

On Sat, Jan 27, 2024 at 1:56 PM AndCycle @.***> wrote:

hit by this bug https://lists.gnu.org/archive/html/bug-guix/2024-01/msg00000.html

making in include ... making in src ... making in src/audio ... making in src/utils ... making in src/regex ... making in src/hrg ... making in src/stats ... making in src/speech ... making in src/lexicon ... making in src/synth ... making in src/wavesynth ... making in src/cg ... making in lang ... making in lang/cmulex ... making in lang/cmu_indic_lex ... making in lang/cmu_grapheme_lex ... making in lang/usenglish ... making in lang/cmu_indic_lang ... making in lang/cmu_grapheme_lang ... making in lang/cmu_us_kal ... making in lang/cmu_time_awb ... making in lang/cmu_us_kal16 ... making in lang/cmu_us_awb ... making in lang/cmu_us_rms ... making in lang/cmu_us_slt ... making in doc ... making in tools ... x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared -o ../bin/find_sts find_sts_main.o -L../build/x86_64-mingw32/lib -lflite -lm x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared -o ../bin/flite_sort flite_sort_main.o -L../build/x86_64-mingw32/lib -lflite -lm making in main ... rm -f flite_lang_list.c ../tools/make_lang_list usenglish cmu_indic_lang cmu_grapheme_lang cmulex cmu_indic_lex cmu_grapheme_lex x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared -o ../bin/t2p.exe t2p_main.o -L../build/x86_64-mingw32/lib -lflite_cmu_us_kal -lflite_cmu_time_awb -lflite_cmu_us_kal16 -lflite_cmu_us_awb -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmu_indic_lang -lflite_cmu_grapheme_lang -lflite_cmulex -lflite_cmu_indic_lex -lflite_cmu_grapheme_lex -lflite -lm x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared -o ../bin/compile_regexes.exe compile_regexes.o -L../build/x86_64-mingw32/lib -lflite -lm make[1]: No rule to make target 'flite_voice_list.c', needed by 'all'. Stop. make[1]: Waiting for unfinished jobs.... make flite_lang_list.o x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -I../include -c -o flite_lang_list.o flite_lang_list.c In file included from ../include/cst_synth.h:44, from ../include/flite.h:64, from flite_lang_list.c:3: ../include/cst_tokenstream.h:134:14: warning: inline function 'ts_utf8_sequence_length' declared but never defined 134 | __inline int ts_utf8_sequence_length(char c0); | ^~~~~~~ make: *** [config/common_make_rules:133: build/x86_64-mingw32/obj//.make_build_dirs] Error 2

— Reply to this email directly, view it on GitHub https://github.com/rdp/ffmpeg-windows-build-helpers/issues/723, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUFRZRUA2TUO5ISNVU3YQVSZRAVCNFSM6AAAAABCNTWVWCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDGOBQG43DOMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

AndCycle commented 5 months ago

noop, this one can be reliable reproduce on my Gentoo box that I need to comment out flite.

rdp commented 5 months ago

I'd expect it to succeed when run a "second time" or third, if it's a parallel issue? Or do you nuke the sandbox between builds? I can look at it, thanks!

On Sun, Jan 28, 2024 at 12:49 AM AndCycle @.***> wrote:

noop, this one can be reliable reproduce on my Gentoo box that I need to comment out flite.

— Reply to this email directly, view it on GitHub https://github.com/rdp/ffmpeg-windows-build-helpers/issues/723#issuecomment-1913492168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUHIYCF3UTK554OHVM3YQX7JNAVCNFSM6AAAAABCNTWVWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGQ4TEMJWHA . You are receiving this because you commented.Message ID: @.***>

rdp commented 5 months ago

OK try the latest, let me know :)

On Mon, Jan 29, 2024 at 9:01 AM Roger Pack @.***> wrote:

I'd expect it to succeed when run a "second time" or third, if it's a parallel issue? Or do you nuke the sandbox between builds? I can look at it, thanks!

On Sun, Jan 28, 2024 at 12:49 AM AndCycle @.***> wrote:

noop, this one can be reliable reproduce on my Gentoo box that I need to comment out flite.

— Reply to this email directly, view it on GitHub https://github.com/rdp/ffmpeg-windows-build-helpers/issues/723#issuecomment-1913492168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUHIYCF3UTK554OHVM3YQX7JNAVCNFSM6AAAAABCNTWVWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGQ4TEMJWHA . You are receiving this because you commented.Message ID: @.***>

AndCycle commented 5 months ago

OK try the latest, let me know :) On Mon, Jan 29, 2024 at 9:01 AM Roger Pack @.> wrote: I'd expect it to succeed when run a "second time" or third, if it's a parallel issue? Or do you nuke the sandbox between builds? I can look at it, thanks! On Sun, Jan 28, 2024 at 12:49 AM AndCycle @.> wrote: > noop, this one can be reliable reproduce on my Gentoo box that I need to > comment out flite. > > — > Reply to this email directly, view it on GitHub > <#723 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AAADBUHIYCF3UTK554OHVM3YQX7JNAVCNFSM6AAAAABCNTWVWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGQ4TEMJWHA > . > You are receiving this because you commented.Message ID: > @.***> >

that works like a charm, thanks for the quick fix.