crazystylus / otadump

Extract partitions from Android OTA files.
MIT License
131 stars 17 forks source link

Error: otadump has not yet been packaged for your architecture (aarch64-linux-android) #38

Open mast3rz3ro opened 2 weeks ago

mast3rz3ro commented 2 weeks ago

Hi there,

I'm willing to get this compiled since it's seems pretty cool. I'm trying to build it on termux app.

Here's my output:

~/otadump $ ./install.sh
Detected architecture: aarch64-linux-android
Error: otadump has not yet been packaged for your architecture (aarch64-linux-android), please file an issue: https://github.com/crazystylus/otadump/issues

Thanks you!

ajeetdsouza commented 1 day ago

Hey, we'll add an Android target to a future release. For now, you can install it with cargo install otadump.

mast3rz3ro commented 18 hours ago

Hi again,

I have just try it but it's says liblzma is missing while it's been already installed.

Here's the output:

~ $ cargo install otadump                                      Updating crates.io index
  Installing otadump v0.1.1                                    Updating crates.io index                                    Locking 116 packages to latest compatible versions
      Adding encode_unicode v0.3.6 (latest: v1.0.0)              Adding fixedbitset v0.4.2 (latest: v0.5.7)                 Adding generic-array v0.14.7 (latest: v1.1.0)
      Adding heck v0.4.1 (latest: v0.5.0)                        Adding itertools v0.10.5 (latest: v0.13.0)                 Adding linux-raw-sys v0.4.14 (latest: v0.6.5)
      Adding memmap2 v0.5.10 (latest: v0.9.5)                    Adding multimap v0.8.3 (latest: v0.10.0)                   Adding prettyplease v0.1.25 (latest: v0.2.22)
      Adding prost v0.11.9 (latest: v0.13.3)                     Adding prost-build v0.11.9 (latest: v0.13.3)               Adding prost-derive v0.11.9 (latest: v0.13.3)
      Adding prost-types v0.11.9 (latest: v0.13.3)               Adding syn v1.0.109 (latest: v2.0.79)                      Adding unicode-width v0.1.14 (latest: v0.2.0)
      Adding which v4.4.2 (latest: v6.0.3)                       Adding windows-core v0.52.0 (latest: v0.58.0)              Adding windows-sys v0.52.0 (latest: v0.59.0)
   Compiling proc-macro2 v1.0.86                              Compiling unicode-ident v1.0.13                            Compiling syn v1.0.109
   Compiling libc v0.2.159                                    Compiling anyhow v1.0.89                                   Compiling either v1.13.0
   Compiling pkg-config v0.3.31                               Compiling version_check v0.9.5                             Compiling itertools v0.10.5
   Compiling rustix v0.38.37                                  Compiling typenum v1.17.0                                  Compiling generic-array v0.14.7
   Compiling crossbeam-utils v0.8.20                          Compiling bitflags v2.6.0                                  Compiling linux-raw-sys v0.4.14
   Compiling shlex v1.3.0                                     Compiling quote v1.0.37                                    Compiling bytes v1.7.2
   Compiling regex-syntax v0.8.5                              Compiling prettyplease v0.1.25                             Compiling errno v0.3.9
   Compiling hashbrown v0.14.5                                Compiling equivalent v1.0.1                                Compiling cc v1.1.22
   Compiling autocfg v1.4.0                                   Compiling fastrand v2.1.1                                  Compiling cfg-if v1.0.0
   Compiling home v0.5.9                                      Compiling indexmap v2.5.0                                  Compiling utf8parse v0.2.2
   Compiling once_cell v1.20.1                                Compiling fixedbitset v0.4.2                               Compiling regex-automata v0.4.8
   Compiling anstyle-parse v0.2.5                             Compiling num-traits v0.2.19                               Compiling crossbeam-epoch v0.9.18
   Compiling rust-lzma v0.6.0                                 Compiling multimap v0.8.3                                  Compiling petgraph v0.6.5
   Compiling rayon-core v1.12.1                               Compiling is_terminal_polyfill v1.70.1                     Compiling log v0.4.22
   Compiling anstyle v1.0.8                                   Compiling rustversion v1.0.17                              Compiling anstyle-query v1.1.1
   Compiling heck v0.4.1                                      Compiling bzip2-sys v0.1.11+1.0.8                          Compiling colorchoice v1.0.2
   Compiling portable-atomic v1.9.0                           Compiling lazy_static v1.5.0                               Compiling anstream v0.6.15
   Compiling crossbeam-deque v0.8.5                           Compiling which v4.4.2                                     Compiling tempfile v3.13.0
   Compiling block-buffer v0.10.4                             Compiling crypto-common v0.1.6                             Compiling syn v2.0.79
   Compiling android_system_properties v0.1.5                 Compiling clap_lex v0.7.2                                  Compiling memchr v2.7.4
   Compiling regex v1.11.0                                    Compiling unicode-width v0.1.14                            Compiling heck v0.5.0
   Compiling strsim v0.11.1                                   Compiling minimal-lexical v0.2.1                           Compiling console v0.15.8
   Compiling nom v7.1.3                                       Compiling clap_builder v4.5.18                             Compiling iana-time-zone v0.1.61
   Compiling digest v0.10.7                                   Compiling cpufeatures v0.2.14                              Compiling android-tzdata v0.1.1
   Compiling number_prefix v0.4.0                             Compiling sha2 v0.10.8                                     Compiling rayon v1.10.0
   Compiling chrono v0.4.38                                   Compiling indicatif v0.17.8                                Compiling bzip2 v0.4.4
   Compiling memmap2 v0.5.10                               error: could not find native static library `lzma`, perhaps an -L flag is missing?
                                                           error: could not compile `rust-lzma` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish... error: failed to compile `otadump v0.1.1`, intermediate artifacts can be found at `/data/data/com.termux/files/usr/tmp/cargo-installwV00aL`.                                     To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

I has already seen the issue #36 but I has no clue where to start.