KitwareMedical / KitwareMedical/VTKPythonPackage

Error downloading source with VTK 8.1.0 on Linux

オープン
#13 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
36
フォーク
16
PR マージ指標
30日以内にマージされた PR はありません

説明

When I updated the version to 8.1.0 and try to run the build script on Linux, I get the following error:

$ ./scripts/dockcross-manylinux-build-wheels.sh 

[...]
[1/5] Performing update step for 'VTK-source-download'
FAILED: VTK-source-download-prefix/src/VTK-source-download-stamp/VTK-source-download-update 
cd /work/standalone-x64-build/VTK-source && /usr/bin/cmake -P /work/standalone-x64-build/VTK-source-download-prefix/tmp/VTK-source-download-gitupdate.cmake
From https://github.com/kitware/VTK
   dcf423b..c0f9780  master     -> origin/master
   dcf423b..ca2f34c  nightly-master -> origin/nightly-master
Previous HEAD position was 782d7ed... Merge commit '6610577d' into release
HEAD is now at ab71574... Merge topic 'deprecate-hot' into release
Submodule 'VTK-m' (https://gitlab.kitware.com/vtk/vtk-m.git) registered for path 'ThirdParty/vtkm/vtk-m'
Cloning into 'ThirdParty/vtkm/vtk-m'...
warning: protocol restrictions not applied to curl redirects because
your curl version is too old (>= 7.19.4)
error: Unknown SSL protocol error in connection to gitlab.kitware.com:443  while accessing https://gitlab.kitware.com/vtk/vtk-m.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
Clone of 'https://gitlab.kitware.com/vtk/vtk-m.git' into submodule path 'ThirdParty/vtkm/vtk-m' failed
CMake Error at /work/standalone-x64-build/VTK-source-download-prefix/tmp/VTK-source-download-gitupdate.cmake:157 (message):
  Failed to update submodules in: '/work/standalone-x64-build/VTK-source/'

This doesn't seem right as the version of curl is recent enough. This seems like an intermittent error though and suddenly it seems to work again. Do you think it may be a good idea to build this without having to do a download each time, instead we could mount a local source directory and pass that into the script?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

scripts/dockcross-manylinux-build-wheels.sh と、ログに示されている CMake external-project の更新ステップから始めます。断続的に発生する VTK-m submodule のダウンロード失敗を調査し、提案されているローカルソースディレクトリまたはマウントされたソースを使うワークフローを評価します。報告されている繰り返しのダウンロード問題を回避できる、文書化された信頼性の高いビルドパスが完成すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cmake, git, python
領域
build-system, devops
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。