m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.56k stars 266 forks source link

vlc and dep's: Downloading patches from videolan raw URLs fails (404) #2744

Open LigH-de opened 4 months ago

LigH-de commented 4 months ago

Access to https://code.videolan.org/videolan/vlc/-/raw/master appears to have changed, the webserver always returns a 404 error.

  Running git clone for fxc2...
  Running git update for fxc2...
┌ fxc2 git  ........................................... [Recently updated]
└ 0002-accept-windows-style-flags-and-splitted-argument-val.patch  ...................................................................... [Failed]
Error 404 while downloading https://code.videolan.org/videolan/vlc/-/raw/master/contrib/src/fxc2/0002-accept-windows-style-flags-and-splitted-argument-val.patch
<Ctrl+c> to cancel build or <Enter> to continue

if you're sure nothing depends on it.
0002-accept-windows-style-flags-and-splitted-argument-val.patch
    Patch not found anywhere. Continuing without patching.
fxc2.cpp:14:9: warning: "D3D_COMPILE_STANDARD_FILE_INCLUDE" redefined
   14 | #define D3D_COMPILE_STANDARD_FILE_INCLUDE ((ID3DInclude*)(UINT_PTR)1)
      |^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fxc2.cpp:5:
G:/MABS/msys64/mingw32/include/d3dcompiler.h:86:9: note: this is the location of the previous definition
   86 | #define D3D_COMPILE_STANDARD_FILE_INCLUDE ((ID3DInclude *)(UINT_PTR)1)
      |^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
├ Stripping...
└ fxc2-git  .................................................... [Updated]
  Running git clone for qtbase...
  Running git update for qtbase...
┌ qtbase git  ......................................... [Recently updated]
└ 0003-allow-cross-compilation-of-angle-with-wine.patch  ........ [Failed]
Error 404 while downloading https://code.videolan.org/videolan/vlc/-/raw/master/contrib/src/qt/0003-allow-cross-compilation-of-angle-with-wine.patch
<Ctrl+c> to cancel build or <Enter> to continue

if you're sure nothing depends on it.
0003-allow-cross-compilation-of-angle-with-wine.patch
    Patch not found anywhere. Continuing without patching.
0003-Remove-wine-prefix-before-fxc2.patch
    Patch could not be applied with `git am`. Continuing without patching.
└ 0006-ANGLE-don-t-use-msvc-intrinsics-when-crosscompiling-.patch  ...................................................................... [Failed]
Error 404 while downloading https://code.videolan.org/videolan/vlc/-/raw/master/contrib/src/qt/0006-ANGLE-don-t-use-msvc-intrinsics-when-crosscompiling-.patch
<Ctrl+c> to cancel build or <Enter> to continue

if you're sure nothing depends on it.
0006-ANGLE-don-t-use-msvc-intrinsics-when-crosscompiling-.patch
    Patch not found anywhere. Continuing without patching.
└ 0009-Add-KHRONOS_STATIC-to-allow-static-linking-on-Windows.patch  ..................................................................... [Failed]
Error 404 while downloading https://code.videolan.org/videolan/vlc/-/raw/master/contrib/src/qt/0009-Add-KHRONOS_STATIC-to-allow-static-linking-on-Windows.patch
<Ctrl+c> to cancel build or <Enter> to continue

if you're sure nothing depends on it.
0009-Add-KHRONOS_STATIC-to-allow-static-linking-on-Windows.patch
    Patch not found anywhere. Continuing without patching.

May or may not be related to CrowdStrike? I doubt and will try again soon.

L4cache commented 4 months ago

They are unlikely to use a Windows server, right...?

L4cache commented 4 months ago

https://code.videolan.org/videolan/vlc/-/tree/master/contrib/src/qt?ref_type=heads https://code.videolan.org/videolan/vlc/-/tree/master/contrib/src/fxc2?ref_type=heads I think the files are really been removed, the VLC build process of m-ab-s needs maintenance.

loanst commented 2 weeks ago

Hello all, Unfortunately I have the same problem. Does anyone know how to proceed with the build? I suppose some option could be disabled or links could be updated manually. Please, guide.

ffmpeg error1 ffmpeg error2

LigH-de commented 2 weeks ago

Access to patches works again, in general; but:

https://code.videolan.org/videolan/vlc/-/raw/master/contrib/src/fxc2/0002-accept-windows-style-flags-and-splitted-argument-val.patch does not exist anymore in master branch.

https://code.videolan.org/videolan/vlc/-/raw/master/contrib/src/qt/0003-allow-cross-compilation-of-angle-with-wine.patch is gone too.

https://code.videolan.org/videolan/vlc/-/raw/master/contrib/src/qt/0006-ANGLE-don-t-use-msvc-intrinsics-when-crosscompiling-.patch and

https://code.videolan.org/videolan/vlc/-/raw/master/contrib/src/qt/0009-Add-KHRONOS_STATIC-to-allow-static-linking-on-Windows.patch as well.

Other patches still exist. If M-AB-S requires them, it may have to look for an older state of the repo. I can only guess they have been committed in some way and may not be necessary anymore. If not, they may need to be stored in a forked repo.

After commenting out the removed patches, there are different issues:

Creating qmake...
In file included from G:/MABS/build/qtbase-git/qmake/library/qmake_global.h:32,
                 from G:/MABS/build/qtbase-git/qmake/library/qmakeparser.h:32,
                 from G:/MABS/build/qtbase-git/qmake/library/qmakeevaluator.h:36,
                 from G:/MABS/build/qtbase-git/qmake/project.h:32,
                 from G:/MABS/build/qtbase-git/qmake/main.cpp:30:
../include/QtCore/qglobal.h:1:10: fatal error: ../../../../trunk/build/qtbase-git/src/corelib/global/qglobal.h: No such file or directory
    1 | #include "../../../../trunk/build/qtbase-git/src/corelib/global/qglobal.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

logs.zip