Bug 472085 - NeoChat failed to install on Windows 10 via craft, may due to libs/mingw-crt4msvc
Summary: NeoChat failed to install on Windows 10 via craft, may due to libs/mingw-crt4...
Status: RESOLVED FIXED
Alias: None
Product: Craft
Classification: Developer tools
Component: Blueprints (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-09 01:02 UTC by Zhenbo Li
Modified: 2023-07-15 21:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zhenbo Li 2023-07-09 01:02:22 UTC
SUMMARY
I tried to use craft to install neochat, but it failed during installation


STEPS TO REPRODUCE
1. I installed craft on my pc, following https://community.kde.org/Get_Involved/development/Windows
2. `craft neochat`
3. The install process failed

OBSERVED RESULT
--
[0/1] Install the project...
Install pdb: C:\CraftRoot\build\kde\frameworks\tier2\kcrash\image-RelWithDebInfo-5.101.0-dbg\bin\KF5Crash.pdb for KF5Crash.dll
*** Action: post-install for kde/frameworks/tier2/kcrash ***
*** Action: qmerge for kde/frameworks/tier2/kcrash ***
*** Action: post-qmerge for kde/frameworks/tier2/kcrash ***
*** Craft all succeeded: kde/frameworks/tier2/kcrash after 9 seconds ***
====================================================================================================================
*** Handling package: libs/mingw-crt4msvc, action: all ***
*** Action: fetch-binary for libs/mingw-crt4msvc ***
*** libs/mingw-crt4msvc not found in cache ***
*** Action: fetch for libs/mingw-crt4msvc ***
wget https://files.kde.org/craft/prebuilt/22.11/windows/gcc/x86_64/RelWithDebInfo/libs/runtime/runtime-11.2.0-2-62-20221115T215525-windows-gcc-x86_64.7z
Action: fetch for libs/mingw-crt4msvc:22.11 FAILED
*** Craft all failed: libs/mingw-crt4msvc after 0 seconds ***
fatal error: package libs/mingw-crt4msvc all failed
Craft stopped with out completing ['libs/mingw-crt4msvc', 'libs/gpg-error', 'libs/gcrypt', 'libs/cyrus-sasl', 'kdesupport/qca', 'libs/assuan2', 'libs/gpgme/gpgme', 'kde/frameworks/tier3/kwallet', 'kde/frameworks/tier3/ktextwidgets', 'kde/frameworks/tier3/kio', 'kde/plasma-mobile/neochat']
--



SOFTWARE/OS VERSIONS
Windows: Windows 10 22H2   19045.3086


ADDITIONAL INFORMATION
I tried `craft libs/mingw-crt4msvc`, but it failed too.
Maybe this bug belongs to craft?
Comment 1 Tobias Fella 2023-07-15 06:52:38 UTC
This shouldn't happen, please try again. In any case, this is not a bug in NeoChat, so moving to Craft
Comment 2 Zhenbo Li 2023-07-15 18:07:39 UTC
Thanks Tobias

I've tried various times, and I found wget failed very frequently.

Is this caused by my internet condition (I assume it's good enough) or something at the server?

===full log===
PS C:\CraftRoot> craft libs/mingw-crt4msvc
Craft               : C:\CraftRoot
Version             : master
ABI                 : windows-cl-msvc2019-x86_64
Download directory  : C:\CraftRoot\download
====================================================================================================================
*** Handling package: dev-utils/7zip-base, action: all ***
*** Action: fetch-binary for dev-utils/7zip-base ***
*** dev-utils/7zip-base not found in cache ***
*** Action: fetch for dev-utils/7zip-base ***
wget https://files.kde.org/craft/3rdparty/7zip/2301/7z2301-extra.zip
Action: fetch for dev-utils/7zip-base:23.01 FAILED
*** Craft all failed: dev-utils/7zip-base after 0 seconds ***
fatal error: package dev-utils/7zip-base all failed
Craft stopped with out completing ['dev-utils/7zip-base', 'dev-utils/cmake-base', 'dev-utils/kshimgen', 'dev-utils/7zip', 'dev-utils/cmake', 'dev-utils/wget', 'dev-utils/git', 'python-modules/pip-system', 'python-modules/virtualenv', 'dev-utils/python3', 'python-modules/pip', 'virtual/bin-base', 'dev-utils/patch', 'dev-utils/sed', 'dev-utils/jom', 'dev-utils/ninja', 'virtual/craft-blueprints-kde-base', 'craft/craft-core', 'craft/craft-blueprints-kde', 'virtual/base', 'libs/mingw-crt4msvc']
Comment 3 Ben Cooksley 2023-07-15 19:18:12 UTC
Can you please provide the contents (as an attachment) of the detailed Craft logs?

It looks like the mirror you are being sent to for those files is refusing to provide service to you however i'll need those logs to confirm. If you could also confirm your ISP/Country that would be helpful as well.

If you'd prefer not to make that information public please email it to me direct.
Comment 4 Zhenbo Li 2023-07-15 19:28:42 UTC
(In reply to Ben Cooksley from comment #3)
> If you'd prefer not to make that information public please email it to me
> direct.

Thank you. I've sent these info to your email.
Comment 5 Ben Cooksley 2023-07-15 21:07:52 UTC
This was due to a faulty mirror that was no longer active and has been removed.