Not sure if this is the right place or not. if it isnt mods feel free to move it to any where you ever desire.
Im trying to build cm13 unofficial from source i downloaded and im following this guide: http://xda-university.com/as-a-developer/getting-started-building-android-from-source
And i used this guide to get source code etc downloaded: https://nathanpfry.com/how-to-setup-ubuntu-16-04-lts-xenial-xerus-to-compile-android-roms/
Im using openjdk 8.
But i get this error when building:
Code:
Export includes file: packages/apps/Gallery2/jni_jpegstream/Android.mk -- /home/user/android/out/target/product/mako/obj/SHARED_LIBRARIES/libjni_jpegstream_intermediates/export_includes
target Strip: libjni_jpegstream (/home/user/android/out/target/product/mako/obj/lib/libjni_jpegstream.so)
Install: /home/user/android/out/target/product/mako/system/lib/libjni_jpegstream.so
Install: /home/user/android/out/target/product/mako/system/app/Gallery2/Gallery2.apk
mkdir -p /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm ;ln -sf /system/lib/libjni_eglfence.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_eglfence.so ;ln -sf /system/lib/libjni_filtershow_filters.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_filtershow_filters.so ;ln -sf /system/lib/librsjni.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/librsjni.so ;ln -sf /system/lib/libjni_jpegstream.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_jpegstream.so
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Temporary failure in name resolution: Unknown host repo.maven.apache.org: Temporary failure in name resolution -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
vendor/cm/build/core/maven_artifact.mk:42: recipe for target '/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk' failed
make: *** [/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk] Error 1
#### make failed to build some targets (01:23:35 (hh:mm:ss)) ####
Also the update.zip isnt there in that folder that they stated in last in the building cm link but i guess thats because of the errors?
Any help would be good, Thanks
You have this in your debug log
Code:
Unknown host repo.maven.apache.org
Please check your internet connection. Something is wrong.
You are missing a package called maven. Run this command:
sudo apt-get install maven
Click to expand...
Click to collapse
Nitin
I was able to compile rom successfully now. but its stuck at google logo any ideas?
Related
Trying to compile the source for the archos gen 8s. If I can compile it, I might be able to add in root support, but I have hit a snag. When I compile I get this:
Code:
make[4]: Leaving directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/glib-2.16.5/gthread'
make[3]: Leaving directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/glib-2.16.5/gthread'
Making install in gobject
make[3]: Entering directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/glib-2.16.5/gobject'
/usr/bin/make glib-genmarshal
make[4]: Entering directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/glib-2.16.5/gobject'
make[4]: `glib-genmarshal' is up to date.
make[4]: Leaving directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/glib-2.16.5/gobject'
echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
&& echo "#define __G_MARSHAL_H__" >> xgen-gmh \
&& --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header >> xgen-gmh \
&& echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
&& (cmp -s xgen-gmh gmarshal.h 2>/dev/null || cp xgen-gmh gmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gmarshal.h
[COLOR="Red"]/bin/bash: line 2: --nostdinc: command not found[/COLOR]
make[3]: *** [stamp-gmarshal.h] Error 127
make[3]: Leaving directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/glib-2.16.5/gobject'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/glib-2.16.5'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/glib-2.16.5'
make: *** [/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/lib/libglib-2.0.a] Error 2
I googled around and was unable to figure out what is going on there. --nostdinc should be a command for GCC, but doesn't seem to be working correctly. When I run gcc -v I get:
Code:
Using built-in specs.
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
PS If you do get it compiled I found where you can override user for certain applications: /buildroot/package/dbus/archos.conf
It looks like this:
Code:
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- ../system.conf have denied everything, so we just punch some holes -->
<policy user="root">
<allow own="com.archos.emaild"/>
</policy>
<!-- Add your service name
<policy user="root">
<allow own="com.archos.Service"/>
</policy>
-->
</busconfig>
the whole build process seems to be buggy as hell
# make menuconfig
results in
Code:
package/Config.in:443: can't open file "package/apdf/Config.in"
# make clean
results in
Code:
/data/temp/archos/gen8-gpl-froyo/buildroot/project_build_arm/uclibc/root/usr/share/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
make[2]: *** [uninstall-info-am] Error 1
make[2]: Leaving directory `/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/diffutils-2.8.7/doc'
make[1]: *** [uninstall-recursive] Error 1
make[1]: Leaving directory `/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/diffutils-2.8.7'
make: *** [diffutils-clean] Error 2
How long did yours compile for? Mine compiled for over an hour before failing.
I'll start all over again and measure it.
Code:
/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc -shared .libs/libgphoto2_la-gphoto2-abilities-list.o .libs/libgphoto2_la-ahd_bayer.o .libs/libgphoto2_la-bayer.o .libs/libgphoto2_la-gphoto2-camera.o .libs/libgphoto2_la-gphoto2-context.o .libs/libgphoto2_la-exif.o .libs/libgphoto2_la-gphoto2-file.o .libs/libgphoto2_la-gphoto2-filesys.o .libs/libgphoto2_la-gamma.o .libs/libgphoto2_la-jpeg.o .libs/libgphoto2_la-gphoto2-list.o .libs/libgphoto2_la-gphoto2-result.o .libs/libgphoto2_la-gphoto2-version.o .libs/libgphoto2_la-gphoto2-setting.o .libs/libgphoto2_la-gphoto2-widget.o -Wl,--rpath -Wl,/data/temp/archos/gen8-gpl-froyo/buildroot/project_build_arm/uclibc/root/usr/lib -L/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/lib -L/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/lib -L/usr/lib -lgphoto2_port -L/data/temp/archos/gen8-gpl-froyo/buildroot/project_build_arm/uclibc/root/usr/lib -L/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/data/temp/archos/gen8-gpl-froyo/buildroot/project_build_arm/uclibc/root/usr/lib -lltdl -lm -isysroot /data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir -mtune=cortex-a8 -isysroot /data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir -mtune=cortex-a8 -Wl,-soname -Wl,libgphoto2.so.2 -Wl,-version-script -Wl,.libs/libgphoto2.ver -o .libs/libgphoto2.so.2.4.0
/usr/lib/libltdl.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
libtool: install: error: relink `libgphoto2.la' with the above command before installing it
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/libgphoto2-2.4.9.1/libgphoto2'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/libgphoto2-2.4.9.1/libgphoto2'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/libgphoto2-2.4.9.1'
make: *** [/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/lib/libgphoto2.so] Error 2
real 38m3.275s
user 50m36.129s
sys 6m27.836s
I don't know why it's referring to /usr/lib/libltdl.so because this would be a 64bit lib of my linux machine. bug?
You two realise that you can't just use a PC version of gcc to compile an arm version of sw?
You need the crosscompile toolchain to do this, and than its working correctly.
the toolchain is inside the xxx.tgz archive and it is used for building. no need for extra toolchain
But laptopfeak is using something that does:
Target: i686-linux-gnu
wrong. he just typed gcc -v in his shell. this uses of course his very own gcc and not the one served by the archos toolchain.
when I type gcc -v using the archos toolchain it looks like this:
# gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/bin/arm-linux-gcc -v
Using built-in specs.
Target: arm-linux-uclibcgnueabi
Configured with: /data/temp/archos/gen8-gpl-froyo/buildroot/toolchain_build_arm/gcc-4.4.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-linux-uclibcgnueabi --enable-languages=c,c++ --with-sysroot=/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir --with-build-time-tools=/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/arm-linux-uclibcgnueabi/bin --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --enable-shared --with-gmp=/data/temp/archos/gen8-gpl-froyo/buildroot/toolchain_build_arm/gmp --with-mpfr=/data/temp/archos/gen8-gpl-froyo/buildroot/toolchain_build_arm/mpfr --disable-nls --enable-threads --disable-multilib --with-tune=cortex-a8 --with-cpu=cortex-a8 --with-arch=armv7-a --with-fpu=vfp3 --with-float=softfp
Thread model: posix
gcc version 4.4.1 (GCC)
Click to expand...
Click to collapse
the toolchain builds the crosscompiler itself and then starts crosscompiling
I did find out why I was getting one of the errors. I was missing some dependencies. Found a quick tutorial on how to compile the kernel for the gen7. http://archos.g3nius.org/index.php?title=Compiling_gen7-gpl
Now I am getting an error about the .config file being out of date. Odd thing is that the make menuconfig does not work... as previously mentioned.
Code:
PATH="/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/toolchain_build_arm/bin:/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/bin:/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/bin:/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/bin/:/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin" \
./Configure linux-arm --prefix=/ \
--openssldir=/lib/ssl -L/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/lib -ldl \
-I/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/include threads \
shared no-idea no-mdc2 no-rc5)
Configuring for linux-arm
IsWindows=0
CC =gcc
CFLAG =-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -I/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/include -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DL_ENDIAN -DTERMIO -fomit-frame-pointer -Wall
EX_LIBS =-L/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/lib -ldl -ldl
BN_ASM =bn_asm.o
DES_ENC =des_enc.o fcrypt_b.o
BF_ENC =bf_enc.o
CAST_ENC =c_enc.o
RC4_ENC =rc4_enc.o
RC5_ENC =rc5_enc.o
MD5_OBJ_ASM =
SHA1_OBJ_ASM =
RMD160_OBJ_ASM=
PROCESSOR =
RANLIB =/usr/bin/ranlib
ARFLAGS =
PERL =/usr/bin/perl
THIRTY_TWO_BIT mode
DES_RISC1 used
BN_LLONG mode
RC4_CHUNK is undefined
make[1]: Entering directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/openssl-0.9.7m'
Makefile is older than Makefile.org.
Reconfigure the source tree (via './config' or 'perl Configure'), please.
make[1]: *** [Makefile] Error 1
make[1]: Leaving directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/openssl-0.9.7m'
/usr/bin/make MAKE="/usr/bin/make -j1" CC=/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc -C /home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/openssl-0.9.7m all build-shared
make[1]: Entering directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/openssl-0.9.7m'
Makefile is older than Makefile.org.
Reconfigure the source tree (via './config' or 'perl Configure'), please.
make[1]: *** [Makefile] Error 1
make[1]: Leaving directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/openssl-0.9.7m'
make: *** [/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/build_arm/openssl-0.9.7m/apps/openssl] Error 2
[email protected]:~/Downloads/Archos/gen8-gpl-froyo/buildroot$ make menuconfig
make CC="/usr/bin/gcc" -C package/config conf mconf
make[1]: Entering directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/package/config'
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c conf.c -o conf.o
conf.c: In function ‘conf_askvalue’:
conf.c:104: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
conf.c: In function ‘conf_choice’:
conf.c:362: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c kxgettext.c -o kxgettext.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c lxdialog/checklist.c -o lxdialog/checklist.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c lxdialog/inputbox.c -o lxdialog/inputbox.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c lxdialog/menubox.c -o lxdialog/menubox.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c lxdialog/textbox.c -o lxdialog/textbox.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c lxdialog/util.c -o lxdialog/util.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c lxdialog/yesno.c -o lxdialog/yesno.o
make[1]: *** No rule to make target `/usr/include/ncurses/ncurses.h', needed by `mconf.o'. Stop.
make[1]: Leaving directory `/home/jonathan/Downloads/Archos/gen8-gpl-froyo/buildroot/package/config'
make: *** [package/config/mconf] Error 2
Oh and this does seem to be the buggiest source/compile I have ever dealt with. But I did talk to someone on xchat last night and they said that they got it to compile out of box.
I installed a fresh ubuntu 10.10 into a virtual machine and installed the packages mentioned on this website: http://archos.g3nius.org/index.php?title=Compiling_gen7-gpl
currently building.. stay tuned..
edit: still buggy
Finally got it to compile thanks to jensbln:
According to him you have to: "disable gdb in /buildroot/local/g8_arm/g8_arm.config"
So I poked around in the g8_arm.config and found the gdb. I then set all instances of gdb to n instead of y. I then had to sudo make, because I was getting permission demied. After that it compiled fine.
Let's see if this works for me too...
edit: failed on the x64 machine.. not that surprisingly as others had problems too. testing on x32..
damn, its not working (failed because of missing symlinks to libmpfr.so.1)..
edit: ahh.. it seems that i missed this dependency: libmpfr1ldbl
edit2: yes, this was the missing dependency.
using a fresh ubuntu 10.10 x32, to compile the froyo gpl sources install these packages:
Code:
# apt-get install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl automake autoconf libtool gettext texinfo libmpfr1ldbl
edit3: make menuconfig does work too
Code:
# cd gen8-gpl-froyo/linux
# cp linux.config .config
# make oldconfig
# make menuconfig
chulri said:
the whole build process seems to be buggy as hell
# make menuconfig
results in
Code:
package/Config.in:443: can't open file "package/apdf/Config.in"
# make clean
results in
Code:
/data/temp/archos/gen8-gpl-froyo/buildroot/project_build_arm/uclibc/root/usr/share/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
make[2]: *** [uninstall-info-am] Error 1
make[2]: Leaving directory `/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/diffutils-2.8.7/doc'
make[1]: *** [uninstall-recursive] Error 1
make[1]: Leaving directory `/data/temp/archos/gen8-gpl-froyo/buildroot/build_arm/diffutils-2.8.7'
make: *** [diffutils-clean] Error 2
Click to expand...
Click to collapse
you are not supposed to use "make menuconfig"
just type "make" in the buildroot folder and it will build the kernel and buildroot packages that are in gen8 units...
@_nz_ you're late, see my last post.
btw: yes I'm supposed to use make menuconfig when I want to change kernel settings without changing the kernel config file manually
chulri said:
@_nz_ you're late, see my last post.
btw: yes I'm supposed to use make menuconfig when I want to change kernel settings without changing the kernel config file manually
Click to expand...
Click to collapse
sure. I was referring more to make menuconfig in buildroot which is not used during our SW development, so it's not really "supported" and might be broken. All our configs are hardcoded
it's not used inside buildroot, I use it inside linux
btw: do you work at archos?
chulri said:
it's not used inside buildroot, I use it inside linux
btw: do you work at archos?
Click to expand...
Click to collapse
Assuming it is the same nz that posts at archosfans then yes he/she is an Archos employee.
blazingwolf said:
Assuming it is the same nz that posts at archosfans then yes he/she is an Archos employee.
Click to expand...
Click to collapse
yes, we are
Hey -nz- I posted this on the Archos Fans forum in response to an answer to my question; why can't we reflash to 2.1. You probably didn't see it......what do you say?
Thanks for the reply about the bootloader. Again ignorance on my part. Surely Archos could release a patch that would allow the bootloader to install any version of the OS? I mean its all just code going into a certain memory address. I have a hard time with companies like Archos who seem to make things difficult for owners. I can see Apple doing it because they really are the 800 pound gorilla in the corner but the Dev Team and smart guys have always found a way round what they do. Archos are a relatively small fish in the pond. The tablet scene is moving very fast and new tablets are coming out every day.
It reminds me of the Pandigital novel. We pleaded with Pandigital to give us the source code. They said they would but never did. The smart guys were able to do wonders with what they had but ultimately within 3 months people had given up and moved on. Once the smart guys were gone all development stopped and now the PDN is just a mostly forgotten memory. If Pandigital had of opened up, the word of mouth would have spread, people would have bought their reader, hacked it and they would have both sold more and got the hearts and minds (and money) of people who would have considered any product they brought out. Now they are pretty much dead in the water and will likely just stay selling photo frames. People and technology has passed them by.
I won't say the same will happen to Archos. They are a bigger fish but they seem to have generated a lot of ill will over the 2.2 release. Even all those who were trumpeting how wonderful 2.2 was going to be have slunk away. Apple will bring out a new iPad next year. The price of the present one is dropping and will continue to do so. Say what you like about the iPad, but it works and it works well. It's too big and I'll probably sell mine again in a month or so depending on what comes out next in the 7 to 8 inch form factor.
Archos have the opportunity to buck the trend and open their software up and let people make it fly. There are some really sharp, switched on guys out there and if given the encouragement and support by Archos, they could do wonders. How cool would it be for Archos to be known as the one company that actually helped and supported its customers. The hardware is all there, the software is lacking but it is easier to make something better if it is only the software that is holding back the hardware.
So come on Mr Archos, if you are reading this, do some deep thinking. Be the tablet company of the people. Lets see some liberté, égalité, fraternité.
Anybody managed to compile OpenSwift 2.2.1 from github? I'm trying to do that for 2 days without success.
My last error is:
Code:
Install: out/target/product/swift/system/lib/libdiskconfig.so
Install: out/target/product/swift/system/bin/vold
Symlink: out/target/product/swift/system/bin/watchprops -> toolbox
Symlink: out/target/product/swift/system/bin/wipe -> toolbox
target Strip: wpa_cli (out/target/product/swift/obj/EXECUTABLES/wpa_cli_intermediates/wpa_cli)
Install: out/target/product/swift/system/bin/wpa_cli
target Strip: wpa_supplicant (out/target/product/swift/obj/EXECUTABLES/wpa_supplicant_intermediates/wpa_supplicant)
Copy: out/target/product/swift/system/bin/wpa_supplicant
target Strip: zipalign (out/target/product/swift/obj/EXECUTABLES/zipalign_intermediates/zipalign)
Install: out/target/product/swift/system/bin/zipalign
Target buildinfo: out/target/product/swift/system/build.prop
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/swift/system/build.prop] Error 1
make: *** Deleting file `out/target/product/swift/system/build.prop'
Maybe we can share experience about compilation of OpenSwift in this thread?
I have the same issue. But not find a solution yet.
Early I've success compile whole system. But after last updates from github gets errors.
I found solutions for all recent errors on 4pda.ru.
This is the original post:
http://4pda.ru/forum/index.php?s=&showtopic=215440&view=findpost&p=6414296
just got wubi ubuntu 10.10 installed and git and python were a nightmare and repo wouldnt work until i went and edited repo myself so it installed fine. i worked out how to install python2.4 on 10.10 and git running nicely. when i do the sync command it starts downloading the whole cyanogen mod tree i just want whats on the openswift branch thats it. any advice on the whole source codes and compiling would be greatly apppreciated.
So,... since I like total Independence and would like to fiddle around with my CM build even when sitting inside my nuclear bunker ruing my Laptop or a old Diesel generator.
I set up a fresh BBQ Linux VM while connected to the net and ran:
Code:
repo init -u https://github.com/CyanogenMod/android.git -b stable/cm-13.0-ZNH5Y
# now i added my manifest file to the local_manifests folder
repo sync
source build/envsetup.sh
breakfast oneplus3
so far so good, i should have all files needed for building ready to go on the virtual HDD so I unplugged the internet and ran
Code:
make clobber
brunch oneplus3
but that gave me an error after only a few minutes into the build:
Code:
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libwebm.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libwebm.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_id3.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_id3.a.txt
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libFLAC.a.txt
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libFLAC.a.txt
Notice file: frameworks/av/drm/libdrmframework/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libdrmframework.so.txt
Notice file: frameworks/av/drm/common/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libdrmframeworkcommon.a.txt
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-29.apk] Error 1
make: *** Waiting for unfinished jobs....
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.11.aar] Error 1
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make: Leaving directory '/home/me/Android/cm-13.0'
#### make failed to build some targets (02:11 (mm:ss)) ####
NOT Cool!
Does anyone know how what to change in order to get a source copy that can be build entirely offline?
DavidXanatos said:
So,... since I like total Independence and would like to fiddle around with my CM build even when sitting inside my nuclear bunker ruing my Laptop or a old Diesel generator.
I set up a fresh BBQ Linux VM while connected to the net and ran:
Code:
repo init -u https://github.com/CyanogenMod/android.git -b stable/cm-13.0-ZNH5Y
# now i added my manifest file to the local_manifests folder
repo sync
source build/envsetup.sh
breakfast oneplus3
so far so good, i should have all files needed for building ready to go on the virtual HDD so I unplugged the internet and ran
Code:
make clobber
brunch oneplus3
but that gave me an error after only a few minutes into the build:
Code:
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libwebm.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libwebm.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_id3.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_id3.a.txt
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libFLAC.a.txt
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libFLAC.a.txt
Notice file: frameworks/av/drm/libdrmframework/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libdrmframework.so.txt
Notice file: frameworks/av/drm/common/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libdrmframeworkcommon.a.txt
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-29.apk] Error 1
make: *** Waiting for unfinished jobs....
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.11.aar] Error 1
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make: Leaving directory '/home/me/Android/cm-13.0'
#### make failed to build some targets (02:11 (mm:ss)) ####
NOT Cool!
Does anyone know how what to change in order to get a source copy that can be build entirely offline?
Click to expand...
Click to collapse
The problem is a Gello browser
Sent from my GT-S7580 using Tapatalk
and how do i fix that?
well after removing booth gello repos i still get an error refering to this apache maven thingy
DavidXanatos said:
well after removing booth gello repos i still get an error refering to this apache maven thingy
Click to expand...
Click to collapse
Try to remove maven_artifact.mk in vendor/cm/build/core
Sent from my GT-S7580 using Tapatalk
DavidXanatos said:
well after removing booth gello repos i still get an error refering to this apache maven thingy
Click to expand...
Click to collapse
Hi David have you resolved this?
I am getting same error as you... & wont found any solution.
did work above solution to you?
No it did not work.
My solution in the end was to run a build once (after a clean vm snapshot), and let it download this maven Sh!7 it ends up in ~/.m than i just put this .m directory into a *.tar.gz and copied it onto the desktop. Than I could revert to the clean snapshot, put the .m directory where it belonged out of the archive. After that I could use the snapshot for a offline build without further problems.
Its not the prettiest solution but it worked for me good enough to stick with it.
Cheers
David X.
somadsul said:
Hi David have you resolved this?
I am getting same error as you... & wont found any solution.
did work above solution to you?
Click to expand...
Click to collapse
DavidXanatos said:
No it did not work.
My solution in the end was to run a build once (after a clean vm snapshot), and let it download this maven Sh!7 it ends up in ~/.m than i just put this .m directory into a *.tar.gz and copied it onto the desktop. Than I could revert to the clean snapshot, put the .m directory where it belonged out of the archive. After that I could use the snapshot for a offline build without further problems.
Its not the prettiest solution but it worked for me good enough to stick with it.
Cheers
David X.
Click to expand...
Click to collapse
Navigate to vendor/cm/ and delete gello folder . issue will be solved .
Hi, I meet the same problem on CM13, Did you solve this problem?
Not sure if this is the right place or not. if it isnt mods feel free to move it to any where you ever desire.
Im trying to build cm13 unofficial from source i downloaded and im following this guide: http://xda-university.com/as-a-developer/getting-started-building-android-from-source
And i used this guide to get source code etc downloaded: https://nathanpfry.com/how-to-setup-ubuntu-16-04-lts-xenial-xerus-to-compile-android-roms/
Im using openjdk 8.
But i get this error when building:
Code:
Export includes file: packages/apps/Gallery2/jni_jpegstream/Android.mk -- /home/user/android/out/target/product/mako/obj/SHARED_LIBRARIES/libjni_jpegstream_intermediates/export_includes
target Strip: libjni_jpegstream (/home/user/android/out/target/product/mako/obj/lib/libjni_jpegstream.so)
Install: /home/user/android/out/target/product/mako/system/lib/libjni_jpegstream.so
Install: /home/user/android/out/target/product/mako/system/app/Gallery2/Gallery2.apk
mkdir -p /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm ;ln -sf /system/lib/libjni_eglfence.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_eglfence.so ;ln -sf /system/lib/libjni_filtershow_filters.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_filtershow_filters.so ;ln -sf /system/lib/librsjni.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/librsjni.so ;ln -sf /system/lib/libjni_jpegstream.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_jpegstream.so
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Temporary failure in name resolution: Unknown host repo.maven.apache.org: Temporary failure in name resolution -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
vendor/cm/build/core/maven_artifact.mk:42: recipe for target '/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk' failed
make: *** [/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk] Error 1
#### make failed to build some targets (01:23:35 (hh:mm:ss)) ####
Also the update.zip isnt there in that folder that they stated in last in the building cm link but i guess thats because of the errors?
Any help would be good, Thanks
Connect your pc to the Internet and try building again
Sent from my SM-A9100 using Tapatalk
detele gello in boardconfig and try again
I just had to get internet and now its working and i compiled the rom. but its stuck at google logo and not getting past it. any ideas?
thinhx2 said:
detele gello in boardconfig and try again
Click to expand...
Click to collapse
Which boardconfig, where?
Charles IV said:
Which boardconfig, where?
Click to expand...
Click to collapse
Check your device tree "device.mk"
osas514 said:
Check your device tree "device.mk"
Click to expand...
Click to collapse
device.mk or mako.mk
thinhx2 said:
device.mk or mako.mk
Click to expand...
Click to collapse
found it, device.mk under # Browser
We can preobably change it to Jelly, ad that's the replacement
Charles IV said:
found it, device.mk under # Browser
We can preobably change it to Jelly, ad that's the replacement
Click to expand...
Click to collapse
Jelly can work on 6.0?
thinhx2 said:
Jelly can work on 6.0?
Click to expand...
Click to collapse
apparently not ... it didn't work for me :,(
Hello guys! I last time i successfully build android roms,and i reinstall my Ubuntu and now i got the following error. I tried it both RR,and AICP,Omni... but all of them showed me that error. Please help me! (maven installed.)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:get (default-cli) on project standalone-pom: Couldn't download artifact: Could not transfer artifact org.cyanogenmod:gello:apk:37 from/to central (https://maven.cyanogenmod.org/artifactory/gello_prebuilds): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] org.cyanogenmod:gello:apk:37
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false),
[ERROR] central (https://maven.cyanogenmod.org/artifactory/gello_prebuilds, releases=true, snapshots=true)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
vendor/aicp/build/core/maven_artifact.mk:42: recipe for target '/home/android/AICP-MM/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-37.apk' failed
make: *** [/home/android/AICP-MM/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-37.apk] Error 1
make: *** Waiting for unfinished jobs....
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
make: Leaving directory '/home/android/AICP-MM'
#### make failed to build some targets in 04m:14s
PLEASE HELP ME I WANT TO MAKE ROMS AGAIN!!!
Remove gello from your device.mk under product packages in your device tree and try recompiling again
Sent from my SM-A9100 using Tapatalk
I am experiencing the same issue, I have tried to remove Gello but the error is still showing up. This is my first time compiling a ROM, please help. Thank you
osas514 said:
Remove gello from your device.mk under product packages in your device tree and try recompiling again
Sent from my SM-A9100 using Tapatalk
Click to expand...
Click to collapse
Thank you my friend! I hope you try my any rom once.
wsydgx said:
I am experiencing the same issue, I have tried to remove Gello but the error is still showing up. This is my first time compiling a ROM, please help. Thank you
Click to expand...
Click to collapse
Can you post your own error log?
Sent from my SM-A9100 using Tapatalk
osas514 said:
Can you post your own error log?
Sent from my SM-A9100 using Tapatalk
Click to expand...
Click to collapse
So you so much for your help, it turns out I had to delete 2 Gello folders. after that it complied and I made my first ROM (through copying and pasting)