libgit2 / libgit2/libgit2sharp.nativebinaries

Building v2.0.322 for Ubuntu 22.04 (Jammy) results in error: "The source directory does not appear to contain CMakeLists.txt"

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

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

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

説明

Hello LibGit2Sharp.NativeBinaries Team,

v2.0.322 native binaries for Ubuntu Jammy is not available on Ubuntu Lunchpad although present for newer Ubuntu versions so I am trying to build one from the source. My use case for the library is a Visual Studio Extension whose tests are run within a docker container. The .so and other libraries are needed within the container for the tests to run.

Now I downloaded the v2.0.322 archive, unpacked it and ran build.libgit2.sh. Note that instructions in the READ.ME advice to use dockerbuild.sh but I need use the former because I shall be building the library also in the docker during container creation.

After running build.libgit2.sh, I get the error. Please help.

CMake Warning:
Ignoring extra path from command line:

".."

The source directory "some/known/path" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.**

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

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

はじめの一歩

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

調査の方向性

v2.0.322 アーカイブ内の build.libgit2.sh から始め、その CMake の呼び出しを README の手順および dockerbuild.sh と比較します。Ubuntu 22.04 環境で失敗を再現してください。完了とは、スクリプトがソースディレクトリを正しく見つけ、CMakeLists.txt エラーなしで必要なネイティブライブラリをビルドできることを意味します。

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

評価

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

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

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