Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] graph.{html,css} embed failure on Windows build
@ 2025-06-14 22:48 Kacper Michajlow
  2025-06-14 23:15 ` Michael Niedermayer
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Kacper Michajlow @ 2025-06-14 22:48 UTC (permalink / raw)
  To: FFmpeg development discussions and patches; +Cc: softworkz

Hello,

Since the recent addition of resman.c and embedding of
graph.{html,css} some of the Windows builds fail. There seems to be a
regression in path joining, caused by \ / mismatch.

Generally those issues were never a problem and I would prefer to keep
it this way. This configuration has always been flaky and undertested.
I could set-up a pipeline to report to the fate server if that's
something that would help stabilize it.

Example of failure:
```
BIN2C fftoolsresourcesgraph.html.c
BIN2C fftools/resources/graph.html.c
SED fftoolsresourcesgraph.css.min
sed: can't read /c/a/FFmpeg/FFmpeg/fftoolsresources/graph.css: No such
file or directory
SED fftools/resources/graph.css.min
make: *** No rule to make target 'fftools\resources\graph.html.c',
needed by 'fftools/resources/graph.html.o'. Stop.
make: *** Waiting for unfinished jobs....
HOSTCC tests/videogen.o
rm fftools\resources\graph.css.min fftools/resources/graph.html.c
```

Note that BIN2C is called twice, once with the correct path and with
the wrong one.

Removing resman.c fixes the build. This has to be done forcefully in
the code, because there is no configure option to disable this
html/css embedding.

You can see the details and whole failing build logs here:
code: https://github.com/kasper93/FFmpeg/tree/gha
build: https://github.com/kasper93/FFmpeg/actions/runs/15653223193/job/44100735119
command: $ ../configure --enable-gpl --enable-version3
--enable-nonfree --samples=../samples --enable-memory-poisoning
--arch=amd64 --enable-w32threads --as=clang --ar=llvm-ar --cxx=clang++
--ld=lld-link --windres=llvm-windres --strip=llvm-strip --cc=clang
--nm=llvm-nm --extra-ldflags='msvcrt.lib oldnames.lib'
--host_extralibs='' --toolchain=msvc && make -j`nproc` && make
-j`nproc` run-checkasm && make -j`nproc` fate-rsync && make -j`nproc`
fate

Here is exactly the same pipeline with removed graph.{html,css}
https://github.com/kasper93/FFmpeg/tree/gha2
https://github.com/kasper93/FFmpeg/actions/runs/15656127992
Builds just fine.
Ignore win32 (windows-11-arm, arm64, --toolchain=msvc) failure, as
this is affected by unrelated regression in dxvenc.c on arm64 target,
but the build itself is passing just fine.

Any ideas how we can restore the ability to build ffmpeg on Windows?

Thanks,
Kacper
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-06-17 23:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-14 22:48 [FFmpeg-devel] graph.{html,css} embed failure on Windows build Kacper Michajlow
2025-06-14 23:15 ` Michael Niedermayer
2025-06-15  1:20 ` softworkz .
2025-06-15  2:36   ` softworkz .
2025-06-17  2:07 ` softworkz .
2025-06-17 13:10   ` Kacper Michajlow
2025-06-17 14:06     ` Kacper Michajlow
2025-06-17 14:12       ` softworkz .
2025-06-17 15:29         ` softworkz .
2025-06-17 15:59           ` Kacper Michajlow
2025-06-17 16:06             ` softworkz .
2025-06-17 16:35               ` Kacper Michajlow
2025-06-17 18:54                 ` softworkz .
2025-06-17 23:14                   ` Kacper Michajlow

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git