From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id D985E40025 for ; Tue, 17 Jun 2025 14:12:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 07A4368C7E7; Tue, 17 Jun 2025 17:12:41 +0300 (EEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02olkn2097.outbound.protection.outlook.com [40.92.44.97]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id E01F268C2B6 for ; Tue, 17 Jun 2025 17:12:34 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=RbzVQ3z3HM2PpEFCpJHe7xg/54f0kB6HTKfwCExTyqtZyWmxGXIuKDyZMC+PYD3qzrE8K8N1F8+emA8QProMakA5mpqaWVfjvwyEDHxndb8JizbY/Xhikyz3UWLdFCrewu/x716wixGoQ99Zw35SfynyO1vqDYmaPegPktzeHmR02xQcBuUnD4g5k/rttus1iPoz+6Av57zK5MaRfa05iMJpQ3BQZ0hHp+DsOolOCd9EAsOun6HYQOh7YUEG3VmTCjrGr1cy8PdG6Y8jLXxldcSCYZDtOkQUi3BSxx61oSDHW0/xIcU4j+2u5NW6LLmd8Rz8FkifSYj+a4DQ88D8gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Pj9Cf/0iXB42tLOHl9264qJg8tWU9V4hCGqNe/UFZ34=; b=I7tcvTWAYEiVLtFOCVGx+6DzzmDaY0mYy3DdgUMGdEuiJKG+RxNu2r6bujsu7xqCaFK0Pfr54adsn8Z6jYaAQyMIZa1CJjnsrffrgy5qQxP2iaqkN/uU4AF4jyYcNrKryizm8yb/0z4NrshtYaAGQxMGNQNRSk/PCJFvM0qK1WrJFmNr/3C84+s6VSiBCTqZJIJv5fH0KsNBiDMj41AbpIh/anK9CKQkUyLOFOR0TN778CqjwMRchuMu1O4sqB2O5VRr6t67V4OpOTG4+0cM/T6ICv1Yxz0C4NCUZfjqbOU+8PvkA50s1cbIqMk66PtTxqCm1x8w4ijOZMSZ8pKLXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Pj9Cf/0iXB42tLOHl9264qJg8tWU9V4hCGqNe/UFZ34=; b=bYt0Q6jUYMEEKPvSm2h7MxDcLr+8IqYBQJw58z06RaeVip6A2K4qXZbFrOC4xCU2pTKSelwSGUExssazriR8SyCOvtJN13EKjv9ztG2rY19dYXo62LCrCeRpeBnjfIlBmHjfmF36UoyqYWwm5Nc5hFp2Lq3BsdsHRLiPGSIrEbiFQnM4VB6dVFysIsd0UMz4Hf4khMilYlEde2/eLNPbwTmlN7yqrceOyU4Li0wiNZnKWrHnrcrsynZfr9W3ujKGIjgLDCM13JFaJvDCbn7gKa6gQOOvDQWGXGffrf+toNrfUzDfobFN33KH+GZrWXLvBhohru/AmzhOSAPeWGAwhA== Received: from DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM (2603:10b6:8:b::20) by DM8P223MB0400.NAMP223.PROD.OUTLOOK.COM (2603:10b6:5:316::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8857.19; Tue, 17 Jun 2025 14:12:31 +0000 Received: from DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM ([fe80::bf09:8e9:b07f:98a7]) by DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM ([fe80::bf09:8e9:b07f:98a7%6]) with mapi id 15.20.8857.016; Tue, 17 Jun 2025 14:12:31 +0000 From: "softworkz ." To: Kacper Michajlow Thread-Topic: graph.{html,css} embed failure on Windows build Thread-Index: AQHb3X6KrDB/fiiSwkGaUufecdJaHrQGme5QgAC9VwCAAA+qAIAAAGxQ Date: Tue, 17 Jun 2025 14:12:31 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM8P223MB0365:EE_|DM8P223MB0400:EE_ x-ms-office365-filtering-correlation-id: e1b7ec53-4758-45a8-0eb0-08ddada8ffb9 x-microsoft-antispam: BCL:0; ARA:14566002|461199028|7092599006|8060799009|8062599006|15080799009|19110799006|1602099012|440099028|3412199025|4302099013|102099032|10035399007|40105399003; x-microsoft-antispam-message-info: =?utf-8?B?blZwMkdlT1hyVTZrUGZVYndyWlJzYW1Gd3IxM0JiY2NHQlBPc0ZLV2orMmRG?= =?utf-8?B?bGRYNGwwUC82RGt1Q3pmOVlTTEFIODI5Mk9QWXNMM3lSaXJ5YXFvZ1BVbXZt?= =?utf-8?B?NmZ3cTNublJqTkQwcm1XcFRyb2REQ25pSmJXL1hCblozN1NHVDZ0STZqOHZU?= =?utf-8?B?R1NRT2VjNTJGblE0RWFCbXpZM01yL2RJMDZaWnpHS1dvRFR4ME1ROW5UVXZX?= =?utf-8?B?QUhSQTlMQitha3NyR3JaTi8vRlIzdlFqU1dyWnZGZkFKc2U0SFN1QXU1K2w4?= =?utf-8?B?dnQ4NUFuMmc5eTlUcEVuVEFDdUZRemhMa2FsK0RIb25HRHovd1d4dk54N3ZG?= =?utf-8?B?djEwdmdhV1ZlZVR2SVhIb3hjdzBkb1o1bHp0WmM1ckIzclRPZGVpaWhmc2lT?= =?utf-8?B?d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EFpSWgy?= =?utf-8?B?ZExlRWtvb3JST3lJY2dwYzJZc0liUThlMWQweDJ4L2NmbVpzRXZxS3QxQmVZ?= =?utf-8?B?bHpMVVozZ1VkSC9lbXJlQUttTzJCc01oTVZBeHVBOUt5c3NyT1hBTmpodlhJ?= =?utf-8?B?bzdoc3Q5NkJUVGx5T25jWjhLVnBkdzZ0bFZWNHBWNkNGaTRNNUFLTFBYMm9r?= =?utf-8?B?TGFPYlpsVUg5RTJJSnB3MXRHSllONnFyWDUrKzdteVJWblRKRjE0M1Y3UWtG?= =?utf-8?B?WDNQdWRTbTRHenM2NWZLeG0ydTlnUWZ5d2FOd3p0Y1NmQ0ErTWdleWxoYjVv?= =?utf-8?B?TzlrL1pNeGU3WWlML0tpNEh1Um9zVHdTZ2YwTjQzTUdUN3dBY0hiWGpQOWNV?= =?utf-8?B?K253aUFodDZaNytpbWx3clE1L0c3aWc9PQ==?= MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-8534-20-msonline-outlook-c7cf3.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: e1b7ec53-4758-45a8-0eb0-08ddada8ffb9 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2025 14:12:31.2656 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8P223MB0400 Subject: Re: [FFmpeg-devel] graph.{html,css} embed failure on Windows build X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: > -----Original Message----- > From: Kacper Michajlow > Sent: Tuesday, June 17, 2025 4:06 PM > To: softworkz . > Cc: FFmpeg development discussions and patches devel@ffmpeg.org> > Subject: Re: graph.{html,css} embed failure on Windows build > > On Tue, 17 Jun 2025 at 15:10, Kacper Michajlow > wrote: > > > > On Tue, 17 Jun 2025 at 04:07, softworkz . wrote: > > > > > > > > > > -----Original Message----- > > > > From: Kacper Michajlow > > > > Sent: Sunday, June 15, 2025 12:49 AM > > > > To: FFmpeg development discussions and patches > > > devel@ffmpeg.org> > > > > Cc: softworkz@hotmail.com > > > > Subject: graph.{html,css} embed failure on Windows build > > > > > > > > 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/44 > > > > 100 > > > > 735119 > > > > 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? > > > > > > Hi Kasper, > > > > > > I was able to reproduce the issue by adding a new CI build (for PRs > > > to ffstaging/ffmpeg (on GitHub, not yet for Patchwork). > > > > > > It appears to be all about dir separators when building under MSYS2 > > > with Clang. Clang insists on using backslashes (unlike GCC and MSVC) > > > and that screws the Gnu make logic (pattern rules, dependency and > > > up-to-date checks). > > > > Why is Clang involved in .css conversion rules? It seems to fail at > > the `%.css.min: %.css` rule already, which shouldn't involve any C > > toolchain related bits. Is this propagated from the .o file? In which > > case why does the .o have "wrong" path separators? > > > > Isn't there an issue in vpath? Maybe we can make it somehow proper > > separators. Few days I briefly looked at this, but it wasn't obvious > > what would be the correct solution here. Changing vpath to extract > > only files in fftools/resources was improving things, but still not > > fully. > > > > Also vpath in fftools/resources/Makefile is setting search path in the > > whole SRC_PATH, while imho it should be restricted to the > > fftools/resources directory only. > > > > - Kacper > > Ok, Martin explained to me on IRC that Windows Clang is generating > dependency files with backward slashes, which is then choking because Make > ingest that, which when not escaped \\ makes paths all go wrong. > > There is no issue with llvm-mingw or alike, because Clang can be configured > during compile time to output forward slashes in dep files. > > So, probably a solution would be to postproc .d files. But I didn't look at the > issue closely, as you can see :) Or make Make work with backward slashes > where needed, but this may be tricky to cover all internal matching. > > Dunno, just wanted to correct my previous message. Hi Kasper, thanks a lot for the update. I had found this (path in dependency files) as a possible issue from research but disregarded it because I had already stopped creation of .d files for resources. BUT - now I realize: That change hasn't even been merged into master yet. Will run the CI with those changes included and report back. Thank you, sw _______________________________________________ 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".