Android release_0.77.6 tarball does not reproduce from documented GitLab CI recipe
まだ誰も着手していません。
- #226 @xrviv による — マージされずにクローズ
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- android, cpp, docker, gitlab
- 領域
- build-system, ci-cd, mobile
調査の方向性
release_0.77.6 のソースコミット、文書化された GitLab CI のレシピ、固定された gdk-android-builder イメージのダイジェストから始めます。報告されているコマンドで tools/build.sh を実行し、生成された lib/arm64-v8a/libgreen_gdk_java.so のハッシュと build ID を公開済みの tarball と比較します。完了の条件は、それを生成した正確な CI イメージ/input を特定するか、残っている不一致を記録することです。
索引モデルが issue の本文から書いたものです。
説明
Hi Blockstream team,
Following the suggestion from green_android issue #297, I tested the Android GDK release build directly in the GDK repo.
I am trying to reproduce the Android native library shipped in:
https://github.com/Blockstream/gdk/releases/download/release_0.77.6/gdk-release_0.77.6.tar.gz
Official tarball SHA256:
e86f164b77e690472f4cbdaf552d76ca847db885ced4502a49b5b0dfc96c9b8c
I used the public GitLab CI recipe from release_0.77.6.
Source:
release_0.77.6
fa2e267c511cc336aabc3350da56edfd4fa9b9a3
Image:
docker.io/blockstream/gdk-android-builder@sha256:e08f5a77cc5472c9539cd0a83ee376efffab02eff4e768eae2c16c243f587f1e
Command:
./tools/build.sh --ndk arm64-v8a --buildtype release --no-deps-rebuild --external-deps-dir /prebuild/android-arm64-v8a --parallel 16 --install gdk-android-jni
I ran this twice in fresh clones.
Both local builds produced the same result:
b60ce8002dd7bb37d22809993a1e8a3a229a575f5e9c253b1a671fb84013bdf3 lib/arm64-v8a/libgreen_gdk_java.so
The official release tarball contains:
13d4ba62e75bebc4f8a9a50e2770a20def0469b1c470d321baadcadd407f07e7 lib/arm64-v8a/libgreen_gdk_java.so
The files have the same size:
26521752 bytes
But they differ substantially:
cmp -l local official | wc -l
6188322
Build IDs also differ:
local: 4507fd08da6325fe9af180846ecc571ffb4d2638
official: 50217d48b9f66acb2ab9e448b047e1a0fa3c8edd
So the public recipe appears deterministic locally, but it does not reproduce the official release_0.77.6 Android GDK artifact.
Question:
Was the official gdk-release_0.77.6.tar.gz built with this exact image digest and command?
If not, could you share the exact CI image/input that produced the published tarball?
This matters for Blockstream Green Android reproducibility because the app-layer build now reproduces, and the remaining blocking difference is libgreen_gdk_java.so.
This came from the Blockstream Green Android 5.5.1 WalletScrutiny verification:
For context, the F-Droid variant of Blockstream Green 5.5.1 is reproducible in our verification.
That build path compiles GDK from source and matches the official F-Droid APK.
So the issue appears specific to reproducing the prebuilt Android GDK release artifact used by the Play Store build, not to the Green Android application code in general.
- 主要言語
- C++
- スター
- 204
- フォーク
- 76
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Blockstream/gdk のほかの issue
-
Allow unconfidential destination addresses to support interaction with Simplicity smart contractsオープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Blockstream/gdk#224 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
Blockstream/gdk#222 · リアクション 1 件 ·
-
Simplicity executionオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Blockstream/gdk#221 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Blockstream/gdk#218 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Blockstream/gdk#227 · コメント 10 件 ·
Blockstream/gdk の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
sav-oss-org/ptusa_main#1610 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
open-astro/AlpacaBridge#2606 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Refactor force_torque_system integration test to use EcmScope対応中かも @patelshivani2283-lab が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Niko1221/Strata#6731 · コメント 2 件 ·
メンテナーはふだん 6 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100