Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LigH-de opened this issue Jul 19, 2024 · 4 comments
Open

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

LigH-de opened this issue Jul 19, 2024 · 4 comments

Comments

@LigH-de
Copy link
Contributor

LigH-de commented Jul 19, 2024

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
Copy link
Contributor

L4cache commented Jul 20, 2024

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

@L4cache
Copy link
Contributor

L4cache commented Jul 20, 2024

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
Copy link

loanst commented Nov 9, 2024

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
Copy link
Contributor Author

LigH-de commented Nov 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants