[Android General] Q9Nap:
[MENTION=8241686]rkhat[/MENTION]

Thanks for updating these tools!

I'm trying to compile them for armhf on device with UserLAnd chroot, and am getting the same error whether I git clone or whether I use the source zip:

git clone:

user@localhost:~/github$ git clone -b android-7 https://github.com/rkhat2/android-rom-repacker.git
Cloning into 'android-rom-repacker'...
remote: Counting objects: 269, done. remote: Compressing objects: 6% (1/remote: Compressing objects: 13% (2/remote: Compressing objects: 20% (3/remote: Compressing objects: 26% (4/remote: Compressing objects: 33% (5/remote: Compressing objects: 40% (6/remote: Compressing objects: 46% (7/remote: Compressing objects: 53% (8/remote: Compressing objects: 60% (9/remote: Compressing objects: 66% (10remote: Compressing objects: 73% (11remote: Compressing objects: 80% (12remote: Compressing objects: 86% (13remote: Compressing objects: 93% (14remote: Compressing objects: 100% (15remote: Compressing objects: 100% (15/15), done.
Receiving objects: 18% (49/269), 12.Receiving objects: 19% (52/269), 12.Receiving objects: 20% (54/269), 12.Receiving objects: 21% (57/269), 12.Receiving objects: 22% (60/269), 12.Receiving objects: 23% (62/269), 12.Receiving objects: 24% (65/269), 12.Receiving objects: 25% (68/269), 12.Receiving objects: 26% (70/269), 12.Receiving objects: 27% (73/269), 12.Receiving objects: 28% (76/269), 12.Receiving objects: 29% (79/269), 12.Receiving objects: 30% (81/269), 12.Receiving objects: 30% (83/269), 20.Receiving objects: 31% (84/269), 20.Receiving objects: 32% (87/269), 20.Receiving objects: 33% (89/269), 20.Receiving objects: 34% (92/269), 20.Receiving objects: 35% (95/269), 20.Receiving objects: 36% (97/269), 20.Receiving objects: 37% (100/269), 20Receiving objects: 38% (103/269), 20Receiving objects: 39% (105/269), 20Receiving objects: 40% (108/269), 20Receiving objects: 41% (111/269), 20Receiving objects: 42% (113/269), 20Receiving objects: 43% (116/269), 20Receiving objects: 44% (119/269), 20Receiving objects: 45% (122/269), 20Receiving objects: 46% (124/269), 20Receiving objects: 47% (127/269), 20Receiving objects: 48% (130/269), 20Receiving objects: 49% (132/269), 20Receiving objects: 50% (135/269), 20Receiving objects: 51% (138/269), 20Receiving objects: 52% (140/269), 20Receiving objects: 53% (143/269), 20Receiving objects: 54% (146/269), 20Receiving objects: 55% (148/269), 20Receiving objects: 56% (151/269), 20Receiving objects: 57% (154/269), 20Receiving objects: 58% (157/269), 20Receiving objects: 59% (159/269), 20Receiving objects: 60% (162/269), 20Receiving objects: 61% (165/269), 20Receiving objects: 62% (167/269), 20Receiving objects: 63% (170/269), 20Receiving objects: 64% (173/269), 20Receiving objects: 65% (175/269), 20Receiving objects: 66% (178/269), 20Receiving objects: 67% (181/269), 20Receiving objects: 68% (183/269), 20Receiving objects: 68% (185/269), 36Receiving objects: 69% (186/269), 36Receiving objects: 70% (189/269), 36Receiving objects: 71% (191/269), 36Receiving objects: 72% (194/269), 36Receiving objects: 73% (197/269), 36Receiving objects: 74% (200/269), 36Receiving objects: 75% (202/269), 36Receiving objects: 76% (205/269), 36Receiving objects: 77% (208/269), 36Receiving objects: 78% (210/269), 36Receiving objects: 79% (213/269), 36Receiving objects: 80% (216/269), 36Receiving objects: 81% (218/269), 36Receiving objects: 82% (221/269), 36Receiving objects: 83% (224/269), 36Receiving objects: 84% (226/269), 36Receiving objects: 85% (229/269), 36Receiving objects: 86% (232/269), 36Receiving objects: 87% (235/269), 36Receiving objects: 88% (237/269), 36Receiving objects: 89% (240/269), 36Receiving objects: 90% (243/269), 36Receiving objects: 91% (245/269), 36Receiving objects: 92% (248/269), 36Receiving objects: 93% (251/269), 36Receiving objects: 94% (253/269), 36Receiving objects: 95% (256/269), 36Receiving objects: 95% (258/269), 36Receiving objects: 96% (259/269), 36Receiving objects: 97% (261/269), 36remote: Total 269 (delta 0), reused 5 (delta 0), pack-reused 254
Receiving objects: 97% (262/269), 44Receiving objects: 98% (264/269), 44Receiving objects: 99% (267/269), 44Receiving objects: 100% (269/269), 44Receiving objects: 100% (269/269), 46.49 KiB | 2.00 KiB/s, done.
Resolving deltas: 100% (145/145), done.
user@localhost:~/github$ ls
android-rom-repacker
user@localhost:~/github$ cd android-rom-repacker
user@localhost:~/github/android-rom-repacker$ ls
CMakeLists.txt ExternalModules src
CMakeModules README.md
user@localhost:~/github/android-rom-repacker$ export CC=/usr/bin/clang
user@localhost:~/github/android-rom-repacker$ export CXX=/usr/bin/clang++
user@localhost:~/github/android-rom-repacker$ mkdir build && cd build
user@localhost:~/github/android-rom-repacker/build$ cmake ..
-- The C compiler identification is Clang 3.8.1
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Building for Android Version 7
-- Using source from LINEAGE
-- Found Git: /usr/bin/git (found version "2.11.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/github/android-rom-repacker/build
user@localhost:~/github/android-rom-repacker/build$ make
Scanning dependencies of target LIBZ-configure
[ 1%] Creating directories for 'LIBZ'
[ 1%] Performing download step (git clone) for 'LIBZ'
Cloning into 'src'...
remote: Counting objects: 1640, done.
remote: Compressing objects: 1% (1/remote: Compressing objects: 2% (2/remote: Compressing objects: 4% (3/remote: Compressing objects: 5% (4/remote: Compressing objects: 7% (5/remote: Compressing objects: 8% (6/remote: Compressing objects: 10% (7/remote: Compressing objects: 11% (8/remote: Compressing objects: 13% (9/remote: Compressing objects: 14% (10remote: Compressing objects: 16% (11remote: Compressing objects: 17% (12remote: Compressing objects: 19% (13remote: Compressing objects: 20% (14remote: Compressing objects: 22% (15remote: Compressing objects: 23% (16remote: Compressing objects: 25% (17remote: Compressing objects: 26% (18remote: Compressing objects: 27% (19remote: Compressing objects: 29% (20remote: Compressing objects: 30% (21remote: Compressing objects: 32% (22remote: Compressing objects: 33% (23remote: Compressing objects: 35% (24remote: Compressing objects: 36% (25remote: Compressing objects: 38% (26remote: Compressing objects: 39% (27remote: Compressing objects: 41% (28remote: Compressing objects: 42% (29remote: Compressing objects: 44% (30remote: Compressing objects: 45% (31remote: Compressing objects: 47% (32remote: Compressing objects: 48% (33remote: Compressing objects: 50% (34remote: Compressing objects: 51% (35remote: Compressing objects: 52% (36remote: Compressing objects: 54% (37remote: Compressing objects: 55% (38remote: Compressing objects: 57% (39remote: Compressing objects: 58% (40remote: Compressing objects: 60% (41remote: Compressing objects: 61% (42remote: Compressing objects: 63% (43remote: Compressing objects: 64% (44remote: Compressing objects: 66% (45remote: Compressing objects: 67% (46remote: Compressing objects: 69% (47remote: Compressing objects: 70% (48remote: Compressing objects: 72% (49remote: Compressing objects: 73% (50remote: Compressing objects: 75% (51remote: Compressing objects: 76% (52remote: Compressing objects: 77% (53remote: Compressing objects: 79% (54remote: Compressing objects: 80% (55remote: Compressing objects: 82% (56remote: Compressing objects: 83% (57remote: Compressing objects: 85% (58remote: Compressing objects: 86% (59remote: Compressing objects: 88% (60remote: Compressing objects: 89% (61remote: Compressing objects: 91% (62remote: Compressing objects: 92% (63remote: Compressing objects: 94% (64remote: Compressing objects: 95% (65remote: Compressing objects: 97% (66remote: Compressing objects: 98% (67remote: Compressing objects: 100% (68remote: Compressing objects: 100% (68/68), done.
Receiving objects: 23% (378/1640), 2Receiving objects: 24% (394/1640), 2Receiving objects: 25% (410/1640), 2Receiving objects: 26% (427/1640), 2Receiving objects: 27% (443/1640), 2Receiving objects: 28% (460/1640), 2Receiving objects: 29% (476/1640), 2Receiving objects: 30% (492/1640), 2Receiving objects: 31% (509/1640), 2Receiving objects: 32% (525/1640), 2Receiving objects: 33% (542/1640), 2Receiving objects: 33% (555/1640), 4Receiving objects: 34% (558/1640), 4Receiving objects: 35% (574/1640), 4Receiving objects: 36% (591/1640), 4Receiving objects: 37% (607/1640), 4Receiving objects: 38% (624/1640), 4Receiving objects: 39% (640/1640), 4Receiving objects: 40% (656/1640), 4Receiving objects: 41% (673/1640), 4Receiving objects: 42% (689/1640), 7Receiving objects: 43% (706/1640), 7Receiving objects: 44% (722/1640), 7Receiving objects: 45% (738/1640), 7Receiving objects: 46% (755/1640), 7Receiving objects: 47% (771/1640), 7Receiving objects: 48% (788/1640), 7Receiving objects: 49% (804/1640), 7Receiving objects: 50% (820/1640), 7Receiving objects: 51% (837/1640), 7Receiving objects: 52% (853/1640), 7Receiving objects: 53% (870/1640), 7Receiving objects: 54% (886/1640), 7Receiving objects: 55% (902/1640), 7Receiving objects: 56% (919/1640), 7Receiving objects: 57% (935/1640), 7Receiving objects: 58% (952/1640), 7Receiving objects: 59% (968/1640), 7Receiving objects: 60% (984/1640), 7Receiving objects: 61% (1001/1640), Receiving objects: 62% (1017/1640), Receiving objects: 63% (1034/1640), Receiving objects: 64% (1050/1640), Receiving objects: 65% (1066/1640), Receiving objects: 65% (1076/1640), Receiving objects: 66% (1083/1640), Receiving objects: 67% (1099/1640), Receiving objects: 68% (1116/1640), Receiving objects: 69% (1132/1640), Receiving objects: 70% (1148/1640), Receiving objects: 71% (1165/1640), Receiving objects: 72% (1181/1640), Receiving objects: 73% (1198/1640), Receiving objects: 74% (1214/1640), Receiving objects: 75% (1230/1640), Receiving objects: 76% (1247/1640), Receiving objects: 77% (1263/1640), Receiving objects: 78% (1280/1640), Receiving objects: 79% (1296/1640), Receiving objects: 80% (1312/1640), Receiving objects: 81% (1329/1640), Receiving objects: 82% (1345/1640), Receiving objects: 83% (1362/1640), Receiving objects: 84% (1378/1640), Receiving objects: 85% (1394/1640), Receiving objects: 86% (1411/1640), Receiving objects: 87% (1427/1640), Receiving objects: 88% (1444/1640), Receiving objects: 89% (1460/1640), Receiving objects: 90% (1476/1640), Receiving objects: 91% (1493/1640), Receiving objects: 92% (1509/1640), Receiving objects: 93% (1526/1640), Receiving objects: 94% (1542/1640), Receiving objects: 95% (1558/1640), Receiving objects: 96% (1575/1640), Receiving objects: 97% (1591/1640), Receiving objects: 98% (1608/1640), remote: Total 1640 (delta 8), reused 76 (delta 8), pack-reused 1564
Receiving objects: 99% (1624/1640), Receiving objects: 100% (1640/1640), Receiving objects: 100% (1640/1640), 1.20 MiB | 449.00 KiB/s, done.
Resolving deltas: 100% (937/937), done.
Checking out files: 100% (244/244), done.
error: Your local changes to the following files would be overwritten by checkout:
src/contrib/minizip/unzip.c
Please commit your changes or stash them before you switch branches.
Aborting
CMake Error at tmp/LIBZ-gitclone.cmake:75 (message):
Failed to checkout tag: 'db8bc995325116d222cbbc3c376d5b200ba325e5'

CMakeFiles/LIBZ-configure.dir/build.make:77: recipe for target '../external/platform/libz/stamp/LIBZ-download' failed
make[2]: *** [../external/platform/libz/stamp/LIBZ-download] Error 1
CMakeFiles/Makefile2:713: recipe for target 'CMakeFiles/LIBZ-configure.dir/all' failed
make[1]: *** [CMakeFiles/LIBZ-configure.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
user@localhost:~/github/android-rom-repacker/build$

source zip:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
user@localhost:~$ ls
bin github index.html wd
user@localhost:~$ cd github
user@localhost:~/github$ ls
android-7.zip
android-rom-repacker-android-7
user@localhost:~/github$ cd android-rom-repacker-android-7
user@localhost:~/github/android-rom-repacker-android-7$ ls
CMakeLists.txt ExternalModules src
CMakeModules README.md
user@localhost:~/github/android-rom-repacker-android-7$ export CC=/usr/bin/clang
user@localhost:~/github/android-rom-repacker-android-7$ export CXX=/usr/bin/clang++
user@localhost:~/github/android-rom-repacker-android-7$ mkdir build && cd build
user@localhost:~/github/android-rom-repacker-android-7/build$ cmake ..
-- The C compiler identification is Clang 3.8.1
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Building for Android Version 7
-- Using source from LINEAGE
-- Found Git: /usr/bin/git (found version "2.11.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/github/android-rom-repacker-android-7/build
user@localhost:~/github/android-rom-repacker-android-7/build$ make
Scanning dependencies of target LIBZ-configure
[ 1%] Creating directories for 'LIBZ'
[ 1%] Performing download step (git clone) for 'LIBZ'
Cloning into 'src'...
remote: Counting objects: 1640, done.
remote: Compressing objects: 1% (1/remote: Compressing objects: 2% (2/remote: Compressing objects: 4% (3/remote: Compressing objects: 5% (4/remote: Compressing objects: 7% (5/remote: Compressing objects: 8% (6/remote: Compressing objects: 10% (7/remote: Compressing objects: 11% (8/remote: Compressing objects: 13% (9/remote: Compressing objects: 14% (10remote: Compressing objects: 16% (11remote: Compressing objects: 17% (12remote: Compressing objects: 19% (13remote: Compressing objects: 20% (14remote: Compressing objects: 22% (15remote: Compressing objects: 23% (16remote: Compressing objects: 25% (17remote: Compressing objects: 26% (18remote: Compressing objects: 27% (19remote: Compressing objects: 29% (20remote: Compressing objects: 30% (21remote: Compressing objects: 32% (22remote: Compressing objects: 33% (23remote: Compressing objects: 35% (24remote: Compressing objects: 36% (25remote: Compressing objects: 38% (26remote: Compressing objects: 39% (27remote: Compressing objects: 41% (28remote: Compressing objects: 42% (29remote: Compressing objects: 44% (30remote: Compressing objects: 45% (31remote: Compressing objects: 47% (32remote: Compressing objects: 48% (33remote: Compressing objects: 50% (34remote: Compressing objects: 51% (35remote: Compressing objects: 52% (36remote: Compressing objects: 54% (37remote: Compressing objects: 55% (38remote: Compressing objects: 57% (39remote: Compressing objects: 58% (40remote: Compressing objects: 60% (41remote: Compressing objects: 61% (42remote: Compressing objects: 63% (43remote: Compressing objects: 64% (44remote: Compressing objects: 66% (45remote: Compressing objects: 67% (46remote: Compressing objects: 69% (47remote: Compressing objects: 70% (48remote: Compressing objects: 72% (49remote: Compressing objects: 73% (50remote: Compressing objects: 75% (51remote: Compressing objects: 76% (52remote: Compressing objects: 77% (53remote: Compressing objects: 79% (54remote: Compressing objects: 80% (55remote: Compressing objects: 82% (56remote: Compressing objects: 83% (57remote: Compressing objects: 85% (58remote: Compressing objects: 86% (59remote: Compressing objects: 88% (60remote: Compressing objects: 89% (61remote: Compressing objects: 91% (62remote: Compressing objects: 92% (63remote: Compressing objects: 94% (64remote: Compressing objects: 95% (65remote: Compressing objects: 97% (66remote: Compressing objects: 98% (67remote: Compressing objects: 100% (68remote: Compressing objects: 100% (68/68), done.
Receiving objects: 24% (394/1640), 2Receiving objects: 25% (410/1640), 2Receiving objects: 26% (427/1640), 2Receiving objects: 27% (443/1640), 2Receiving objects: 28% (460/1640), 2Receiving objects: 29% (476/1640), 2Receiving objects: 30% (492/1640), 2Receiving objects: 31% (509/1640), 2Receiving objects: 32% (525/1640), 2Receiving objects: 33% (542/1640), 2Receiving objects: 34% (558/1640), 2Receiving objects: 35% (574/1640), 2Receiving objects: 36% (591/1640), 2Receiving objects: 37% (607/1640), 2Receiving objects: 38% (624/1640), 2Receiving objects: 39% (640/1640), 2Receiving objects: 40% (656/1640), 2Receiving objects: 41% (673/1640), 2Receiving objects: 42% (689/1640), 2Receiving objects: 43% (706/1640), 2Receiving objects: 44% (722/1640), 2Receiving objects: 45% (738/1640), 2Receiving objects: 46% (755/1640), 2Receiving objects: 47% (771/1640), 2Receiving objects: 48% (788/1640), 2Receiving objects: 49% (804/1640), 2Receiving objects: 50% (820/1640), 2Receiving objects: 51% (837/1640), 2Receiving objects: 52% (853/1640), 2Receiving objects: 53% (870/1640), 2Receiving objects: 54% (886/1640), 2Receiving objects: 55% (902/1640), 2Receiving objects: 56% (919/1640), 2Receiving objects: 57% (935/1640), 2Receiving objects: 58% (952/1640), 2Receiving objects: 59% (968/1640), 2Receiving objects: 60% (984/1640), 2Receiving objects: 61% (1001/1640), Receiving objects: 62% (1017/1640), Receiving objects: 63% (1034/1640), Receiving objects: 64% (1050/1640), Receiving objects: 65% (1066/1640), Receiving objects: 66% (1083/1640), Receiving objects: 67% (1099/1640), Receiving objects: 68% (1116/1640), Receiving objects: 69% (1132/1640), Receiving objects: 70% (1148/1640), Receiving objects: 71% (1165/1640), Receiving objects: 72% (1181/1640), Receiving objects: 73% (1198/1640), Receiving objects: 74% (1214/1640), Receiving objects: 75% (1230/1640), Receiving objects: 76% (1247/1640), Receiving objects: 77% (1263/1640), Receiving objects: 78% (1280/1640), Receiving objects: 79% (1296/1640), Receiving objects: 80% (1312/1640), Receiving objects: 81% (1329/1640), Receiving objects: 82% (1345/1640), Receiving objects: 83% (1362/1640), Receiving objects: 84% (1378/1640), Receiving objects: 85% (1394/1640), Receiving objects: 86% (1411/1640), Receiving objects: 87% (1427/1640), Receiving objects: 88% (1444/1640), Receiving objects: 89% (1460/1640), Receiving objects: 90% (1476/1640), remote: Total 1640 (delta 8), reused 76 (delta 8), pack-reused 1564
Receiving objects: 91% (1493/1640), Receiving objects: 92% (1509/1640), Receiving objects: 93% (1526/1640), Receiving objects: 94% (1542/1640), Receiving objects: 95% (1558/1640), Receiving objects: 96% (1575/1640), Receiving objects: 97% (1591/1640), Receiving objects: 98% (1608/1640), Receiving objects: 99% (1624/1640), Receiving objects: 100% (1640/1640), Receiving objects: 100% (1640/1640), 1.20 MiB | 922.00 KiB/s, done.
Resolving deltas: 100% (937/937), done.
Checking out files: 100% (244/244), done.
error: Your local changes to the following files would be overwritten by checkout:
src/contrib/minizip/unzip.c
Please commit your changes or stash them before you switch branches.
Aborting
CMake Error at tmp/LIBZ-gitclone.cmake:75 (message):
Failed to checkout tag: 'db8bc995325116d222cbbc3c376d5b200ba325e5'

CMakeFiles/LIBZ-configure.dir/build.make:77: recipe for target '../external/platform/libz/stamp/LIBZ-download' failed
make[2]: *** [../external/platform/libz/stamp/LIBZ-download] Error 1
CMakeFiles/Makefile2:713: recipe for target 'CMakeFiles/LIBZ-configure.dir/all' failed
make[1]: *** [CMakeFiles/LIBZ-configure.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
user@localhost:~/github/android-rom-repacker-android-7/build$

I haven't made any changes to any of the files, so I have no idea why I'm getting this error; any ideas?