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 C91974D088 for ; Sun, 15 Jun 2025 02:36:18 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 56DED68D057; Sun, 15 Jun 2025 05:36:15 +0300 (EEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2088.outbound.protection.outlook.com [40.92.21.88]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 5753268CD5F for ; Sun, 15 Jun 2025 05:36:08 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=v2/eE4tUq1Pv5KZyZAM4N93MBiLhHWk8umuNh7bPraM1RJGLiDleUjXtiSf3DdOju8XyRKDQrg8gu2HP3DgnvpXAck0phWNTgj25xlz6xt6ICSHw9xy7RRKsasnU4pxBUtIXuzyzZ72NzLVB2/Egnt5XI3buF5QUXjcswKylBl9WFHlwXRi7IPFGqcvTZws9Ph/NifA7ojozpsayEg/8uYFmx00Ufds+LLei///mmNRUJJNGm7j4+LCJDGO4+JgEvSASBEwfpC0wHhRUOC3jtbf+YT/XKRe3yKZwF/37kgxgFYP7CamA18oLlRolpuNAie7vXc2ac5yikIQYh7o0LA== 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=xPC9y+yFrdrEeqbu5HkHLVmyArS9taly6L/D22Q1umo=; b=cSmzqgnoCWylFLpgp54Y/sahZxv70CaMeCSSRB1/8cJp+sz21hT0zZaoaNTNVdHiXqUEQnNoG4S/UfvQbXVB18eocJWf4hHLGFcdz/JkmBXspK4Ih7kCZC+wUC4r+FiZ3ledQKk1ft3CYEIUgBJe+EZEQPBGIG8PMqFiKIJ7SIDPROo0RSHYW+EnDlFemUf85yMvDjC25hwmZi2PdmZkcOtckraz6Zsy7dy4NhFGkLB64nGSA02V2h1KgIrq5nJ81NcrxVKaud1Momv+8+BZrRd7+2GrqM4O2+74Cy2LyHKXSfB5r+lYwCC57H+jO+50DNnPJF2Uzax5LLDLGjWl5A== 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=xPC9y+yFrdrEeqbu5HkHLVmyArS9taly6L/D22Q1umo=; b=STqJumAQ4PiDw1eV+jQU/GAecHLetTitfm4JNSurtX4l0zNMHobFfkH2izshagu4xPVICkU28qOBBDi6ppfj5tWfYIHkuQHfxzjbLQ0BpbMlTCMBG2Pl8B3P8bn010YzjHKJZI96r2zzfxtaHbJkqgPHRkVlGEgK5tZ/mlPGHQWUM6XhBJm+uIgkG/6GWvmjHactEfYuIJk9zicEFg0XNxSpoohzQ84e8uIAr5TDMS4eqqou81Zv5CkS+KBQRl2F8XwdEBCmFRB8EWDNah5saetum8W4v+7uCacluaNc7u2o+Tk0w9wu1eRvOoO3IKl4nBuaAeJGzTKUO1wisuIOxw== Received: from BN0P223MB0358.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:145::16) by DS7P223MB1368.NAMP223.PROD.OUTLOOK.COM (2603:10b6:8:253::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8835.28; Sun, 15 Jun 2025 02:36:05 +0000 Received: from BN0P223MB0358.NAMP223.PROD.OUTLOOK.COM ([fe80::c63a:275a:b3f4:fae9]) by BN0P223MB0358.NAMP223.PROD.OUTLOOK.COM ([fe80::c63a:275a:b3f4:fae9%5]) with mapi id 15.20.8835.026; Sun, 15 Jun 2025 02:36:05 +0000 From: "softworkz ." To: Kacper Michajlow , FFmpeg development discussions and patches Thread-Topic: graph.{html,css} embed failure on Windows build Thread-Index: AQHb3X6KrDB/fiiSwkGaUufecdJaHrQDahNTgAAOcuE= Date: Sun, 15 Jun 2025 02:36:04 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN0P223MB0358:EE_|DS7P223MB1368:EE_ x-ms-office365-filtering-correlation-id: 8f8e7fa1-d388-4d0b-70eb-08ddabb5603b x-microsoft-antispam: BCL:0; ARA:14566002|15030799003|461199028|19110799006|15080799009|8062599006|8060799009|7092599006|1602099012|4302099013|3412199025|440099028|10035399007|102099032|40105399003; x-microsoft-antispam-message-info: =?iso-8859-1?Q?CG0m5Su3lQBRf649bMW90my0vSAbSwmrjdATN+C+ckx25jo4K+Kvar0uOk?= =?iso-8859-1?Q?jlRHz/9Xj8atBJS/FCmYNL1U1FMKSjKwuhfcSjvdDL+olNxyRyEX+LGz3W?= =?iso-8859-1?Q?7DK0pdgEXwZ8xiTJMNcYjc6osLAKvz7yY0GU97z4DCz6QmnOcqdlLS2UCK?= =?iso-8859-1?Q?LucZm+N35m/V5pUY75oHb7u/DdXn0dVWcYTm8GlGVOFdWtvTApvjcrS6f/?= =?iso-8859-1?Q?4NCVPtRP+tiRVhoihz9L1M9gaGdHOrj1ksSWqKGV+GEqPIEEJmUCgz0nKR?= =?iso-8859-1?Q?XnU6SstpeJHaXoE6YTbmI7aX/IEF66jYzTiYJ7MiFUFJTOy3FzJ36acJbh?= =?iso-8859-1?Q?CRRTZmVlSwempo+GgHRvbvmoguVmtEWyhLQDzO3XIQm909kFGF4Y+hnY+m?= =?iso-8859-1?Q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vsAfTw8emkzfWn4W?= =?iso-8859-1?Q?DOYWYvwwbjEgZlVVhbIkXrze+T8sAhYYEXGzYioZ2zgJWhU=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?08NJIiySMcB+OvqwpcKU0CyMDMIHBdXvbfLdsu3GLb5dAyqXAqXQhF+MYy?= =?iso-8859-1?Q?ftMK09xAFRTvMJ9FK2O8A9IDSe9kHivi+R1WVWesdLUFBGa+tEf9dKDBXo?= =?iso-8859-1?Q?pBtP6qZcSLcD4Hm/1ya3t/o24bGD0cw2e6hRI8OOWmtnZ0oMgYD/1wVh5K?= =?iso-8859-1?Q?3Mkv63E1fDuxWgH4euhH4p+PPzefKxz7QZl7hnkNPQmalaAAsWydPYg2Z2?= =?iso-8859-1?Q?eSSV9U8uPjkSLbWiiYTEKILoFpXkURNLnuX4oC8QZxrjd5/YOjZq2VyhHD?= =?iso-8859-1?Q?JP7tzN1HSOARtxxM/Za3PY4zLqIKcc3Wmo++T7ECh8KwXPr9ceblAlJOB4?= =?iso-8859-1?Q?KpogWufWf5ijD0kTsbc5lG+Dcya/wrYSJzHhf+PG1C4NHlKPKolAeUZKNj?= =?iso-8859-1?Q?xeVyR2r+CmnVloI3LX3QP+8KbNTHm1OX8ej8l09mO7VPxkQD4a9cpTKzso?= =?iso-8859-1?Q?IfL/97++4iUMQtMNVuOZWFvnL4MXWfXEGfr1HII+SlmFYe4XTmXM49oQTV?= =?iso-8859-1?Q?0WP/Bs7fYfvZgDuUYVGnsCv66Ll1O8bHBkW4BHda/zV8U+wlrhNQYBUjPn?= =?iso-8859-1?Q?bh2tDZXOmWRNDjmj6VOy9D8wqHyqZBCsgEQxMM08mL5gusv79qWBjNnuOP?= =?iso-8859-1?Q?1T7W3vKMap76NzynwIJCJRGY1LPNgA8dwxkzH5apzMAt9EwDtDw8KdNG3Y?= =?iso-8859-1?Q?KYpJcueFqAqmOJ2FrXWZOLLsSGH9ht7jawaqbBx9CSfv4JvmBT5CtoU0rv?= =?iso-8859-1?Q?MPIZ0Atz+zIKQgoV+UMtbv1WMk6aJp3cyP3m5KCL8/3RoWG3TnNaJZ6wNG?= =?iso-8859-1?Q?4Yi0kYBEkoNPDbV9eki8GpsQlq2elLUbZxtWKc0tNhyzyp9x5DC6l2pEJU?= =?iso-8859-1?Q?snqNM6+ok3520m2b/pElE+qrbRzlCCEtkUsR1nVnESwi2qIgY+/y/vXr86?= =?iso-8859-1?Q?gXvr0mfHLrp+Qdq8WMqrCkyzRmbASfZ6y9CfiffoxVupLAr4VBjGlr6C8v?= =?iso-8859-1?Q?dGR8M2QmaYEQCxlF+EmHbuMYZ3U77lRU0W8hxwZz858kpSUwFPYj4K3pyl?= =?iso-8859-1?Q?MdXiNEYgaza3s4xzZNyCQPJw4N5tEgMV6W/9Z44XcQ+1DGNDt+k4POzTSA?= =?iso-8859-1?Q?3E2vvPfa4+7TTMn28BAtcOnCo3qwJfwYJyYqWkd5whBk2VqyOTfMblwk7S?= =?iso-8859-1?Q?e3azyyb0lY/K66NHC3Cpm92TPVE9t0u6e9gzGLXKzsC4vENhZbQEL1NtWl?= =?iso-8859-1?Q?qnKQLkVw212/5QW6LADQ=3D=3D?= 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: BN0P223MB0358.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 8f8e7fa1-d388-4d0b-70eb-08ddabb5603b X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2025 02:36:04.8069 (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: DS7P223MB1368 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 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: ________________________________________ From: ffmpeg-devel on behalf of softworkz . Sent: Sunday, June 15, 2025 3:20 AM To: Kacper Michajlow; FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] graph.{html,css} embed failure on Windows build ________________________________________ From: Kacper Michajlow Sent: Sunday, June 15, 2025 12:48 AM To: FFmpeg development discussions and patches 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/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 Hello Kasper, this is a quite specific configure setup. There are two Patchwork CI builds for Windows (one MSVC and one GCC, both on MSYS2) which are working fine. I'm on vacation, so my abilities are somewhat limited, please give me a week, then i'll look at your way of configuration and why it fails. Best regards sw _______________________________________________ Some additional notes: 1. Sorry for the missing quotes in this reply 2. @kasper: Does the compilation of CUDA filters work with your setup? Because the resources are using the exact same mechanism as we have for compiling *.cu files to *.ptx files and embedding these into FFmpeg (just another kind of resources). These procedures exist in FFmpeg for years already and I actually re-used this precedent exactly for the reason that nobody can complain that it would introduce something new that could be show-stopping for anybody. 3. If someone finds this conversation who is using the Shift Media Project's Visual Studio project generator, please note that I have submitted PRs to fix this and some other recent FFmpeg changes which broke it. I also submitted a fix for CUDA filters - these had never worked before - as mentioned, both are more or less the same story. https://github.com/ShiftMediaProject/FFVS-Project-Generator Best regards, 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".