Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when build with custom hash #260

Open
itewqq opened this issue Aug 20, 2023 · 4 comments
Open

Error when build with custom hash #260

itewqq opened this issue Aug 20, 2023 · 4 comments

Comments

@itewqq
Copy link

itewqq commented Aug 20, 2023

sudo docker run -it -v "$(pwd):/t" -e HASH_PATCH=7dbbeeb8ef7b91338640dca3927636de -e COMMIT=1ac611c64eadbd93c5f5aba5494b8fc3b35ee952 reflutter
...
USAGE:
reflutter your.(apk)|(ipa)
Wait... Change the source code...
src/build/install-build-deps-android.sh: not found
@jayluxferro
Copy link
Collaborator

Hi @itewqq , kindly pull the main branch and try to build again. It should be fine now.

@itewqq
Copy link
Author

itewqq commented Aug 23, 2023

Hi @itewqq , kindly pull the main branch and try to build again. It should be fine now.

I've purged the image and rebuild it after git pull, but still not working:

$ sudo docker run -it -v "$(pwd):/t" -e HASH_PATCH=7dbbeeb8ef7b91338640dca3927636de -e COMMIT=1ac611c64eadbd93c5f5aba5494b8fc3b35ee952 reflutter

....

[0:19:00] Still working on:
[0:19:00]   src/third_party/dart
Syncing projects: 100% (141/141), done.
Running hooks:  40% ( 6/15) linux_sysroot_x64
________ running 'python3 src/build/linux/sysroot_scripts/install-sysroot.py --arch=x64' in '/customEngine'
Installing Debian sid amd64 root image: /customEngine/src/build/linux/debian_sid_amd64-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/79a7783607a69b6f439add567eb6fcb48877085c/debian_sid_amd64_sysroot.tar.xz
Running hooks:  46% ( 7/15) linux_sysroot_arm64
________ running 'python3 src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm64' in '/customEngine'
Installing Debian sid arm64 root image: /customEngine/src/build/linux/debian_sid_arm64-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/2cade9ee1ca9186b28ac768c19e1ab7c45ee0600/debian_sid_arm64_sysroot.tar.xz
Hook 'python3 src/flutter/tools/pub_get_offline.py' took 10.76 secs
Running hooks: 100% (15/15), done.
USAGE:
reflutter your.(apk)|(ipa)
Wait... Change the source code...
bash: 1: bash: src/build/install-build-deps-android.sh: not found
$ uname -a
Linux stu 5.10.0-23-cloud-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux
$ uname -a
Linux stu 5.10.0-23-cloud-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux
$ git log -1
commit 3741cebd7cc8d1bc343d097328079082ad6c8447 (HEAD -> main, tag: ios-v2-7dbbeeb8ef7b91338640dca3927636de, tag: android-v2-7dbbeeb8ef7b91338640dca3927636de, origin/main, origin/HEAD)
Merge: 1c07ab6 083695e
Author: Jay <jayluxferro@users.noreply.github.com>
Date:   Sun Aug 20 17:23:23 2023 +0000

    Merge pull request #261 from Impact-I/hotfix/dump_dart

    Hotfix/dump dart

@maximegirardet
Copy link

Hi ! I have the same problem.

@jayluxferro
Copy link
Collaborator

@itewqq , pull the latest changes, delete the docker image that was built. Build a new docker image of reflutter using the updated Dockerfile and now run docker run -it -v "$(pwd):/t" -e HASH_PATCH=7dbbeeb8ef7b91338640dca3927636de -e COMMIT=1ac611c64eadbd93c5f5aba5494b8fc3b35ee952 reflutter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants