You are not logged in.

#1 2015-11-18 23:00:34

ryukiri
Member
Registered: 2014-06-27
Posts: 9

Compiling Android Lollipop (SOLVED)

Hi y'all, I've successfully compiled on Arch about half a year ago, and then I took a break. Now I'm trying again and I haven't had much luck. I've been hearing things about ncurses6 being updated and I've followed the Wiki on setting up the computer for Android, but I have had no luck. Anyway, here's what I did and if someone can help me, I'd gladly appreciate it!


First I got the required packages "sudo pacman -S gcc git gnupg flex bison gperf sdl wxgtk squashfs-tools curl ncurses zlib schedtool perl-switch zip unzip libxslt python2-virtualenv bc"

Then I got the rest of the required packages for 64-bit computers "sudo pacman -S gcc-multilib lib32-zlib lib32-ncurses lib32-readline"
During that, I said "Yes" to
"looking for conflicting packages...
:: gcc-multilib and gcc are in conflict. Remove gcc? [y/N]
:: lib32-ncurses and lib32-ncurses5-compat-libs are in conflict. Remove lib32-ncurses5-compat-libs? [y/N]"

Next, the guide says to grab libtinfo from the AUR "yaourt libtinfo"
I chose the first option
"1 aur/lib32-libtinfo 6-7 (16)
    lib32 symlink to ncurses for use in packages"

because the 2nd option
"2 aur/lib32-libtinfo-5 5-6 [installed] (1)
    lib32 symlink to ncurses for use in packages (legacy)"
gave me an error:
"error: target not found: lib32-ncurses<6.0"

Then, I got "lib32-ncurses5-compat-libs"
Also said yes to "lib32-ncurses5-compat-libs and lib32-ncurses are in conflict. Remove lib32-ncurses? [y/N]
"

However, when I tried to install "ncurses5-compat-libs"
It failed with this message:
"==> Verifying source file signatures with gpg...
    ncurses-6.0.tar.gz ... FAILED (unknown public key 702353E0F7E48EDB)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build ncurses5-compat-libs."

When I check to see what I'm missing: "ldd prebuilts/clang/linux-x86/host/3.6/bin/clang"
"    linux-vdso.so.1 (0x00007fffd4170000)
    libc++.so => /home/austin/android/cm/prebuilts/clang/linux-x86/host/3.6/bin/../lib64/libc++.so (0x00007fa3d5cbb000)
    libm.so.6 => /usr/lib/libm.so.6 (0x00007fa3d589d000)
    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fa3d5680000)
    libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fa3d547c000)
    libncurses.so.5 => not found
    libtinfo.so.5 => not found
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fa3d5266000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007fa3d4ec2000)
    librt.so.1 => /usr/lib/librt.so.1 (0x00007fa3d4cba
"

Here is the error I get when I compile: http://pastebin.com/JGuurzqV

Thanks!

Solved: Manually installed packages from AUR instead of yaourt

Last edited by ryukiri (2015-11-18 23:26:25)

Offline

Board footer

Powered by FluxBB