Bug 415695

Summary: 403 Forbidden when trying to download krita-appimage-deps.tar
Product: [Applications] krita Reporter: rondonumbanine
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: rebecca
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rondonumbanine 2019-12-29 22:15:37 UTC
SUMMARY
Building krita with Docker fails because of a missing file called krita-appimage-deps.tar. A script is supposed to download the file with the following command:
wget https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Dependency_Build/lastSuccessfulBuild/artifact/krita-appimage-deps.tar

STEPS TO REPRODUCE
1. git clone git://anongit.kde.org/scratch/dkazakov/krita-docker-env.git
2. cd krita-docker-env
3. ./bin/bootstrap-deps.sh

OBSERVED RESULT
--2019-12-29 17:09:42--  https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Dependency_Build/lastSuccessfulBuild/artifact/krita-appimage-deps.tar
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving binary-factory.kde.org (binary-factory.kde.org)... 46.4.53.123, 2a01:4f8:140:1285::3
Connecting to binary-factory.kde.org (binary-factory.kde.org)|46.4.53.123|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://build-artifacts.kde.org/binary-factory/Krita_Nightly_Appimage_Dependency_Build/lastSuccessfulBuild/krita-appimage-deps.tar [following]
--2019-12-29 17:09:43--  https://build-artifacts.kde.org/binary-factory/Krita_Nightly_Appimage_Dependency_Build/lastSuccessfulBuild/krita-appimage-deps.tar
Resolving build-artifacts.kde.org (build-artifacts.kde.org)... 46.4.53.123, 2a01:4f8:140:1285::3
Connecting to build-artifacts.kde.org (build-artifacts.kde.org)|46.4.53.123|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2019-12-29 17:09:43 ERROR 403: Forbidden.


EXPECTED RESULT

I expect the file to be downloaded

ADDITIONAL INFORMATION

I followed the documentation here: https://docs.krita.org/en/untranslatable_pages/build_krita_with_docker.html

Later when trying to build the image you get a no such file or directory error.
Comment 1 Rebecca Breu 2019-12-29 22:23:36 UTC
There's a workaround for this so that you continue—edit the URL in bootstrap-deps.sh to this one:

https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Dependency_Build/69/artifact/krita-appimage-deps.tar
Comment 2 rondonumbanine 2019-12-29 22:41:13 UTC
Yeah that worked.

Thanks