FAILED: /srv/src/PIE/out/target/common/obj/APPS/Gallery2_intermediates/classes-proguard.jar
It seems there is some error with the gallery, i had that once as well but can t remember the fix for it…
I guess the only thing i did different from you is the build script which i didn t update yet…
btw it is weird that your first build managed to get passed the point of the build error on the second build… did you change anything else then jdk version?
[ 99% 69230/69566] Docs droiddoc: /srv/src/PIE/out/target/common/docs/api-stubs
javadoc: warning - The old Doclet and Taglet APIs in the packages
com.sun.javadoc, com.sun.tools.doclets and their implementations
are planned to be removed in a future JDK release. These
components have been superseded by the new APIs in jdk.javadoc.doclet.
Users are strongly recommended to migrate to the new APIs.
DroidDoc took 205 sec. to write docs to /srv/src/PIE/out/target/common/docs/api-stubs
ninja: build stopped: subcommand failed.
11:39:02 ninja failed with: exit status 1
I prefer what @Chimpthepimp has written. First build a full supported device rom to ensure, our build environment is OK.
On friday I have made a complete new Linux install on my iMAC and what do I in the moment ? Building a standard rom
By the way, which Linux distro do you using ?
I have build on thursday on Ubuntu18.4. the build needs more than 8 hours
Today I’m building on Mint 19 and the build will need around 4 hours
Yes that’s what I will do. I will start from scratch. I will delete my VM, create a new one with Ubuntu 18.04 instead of 20.04, install docker-ce from docker source instead of docker.io, install openjdk-11-jdk and start to build for Galaxy A7 (2017) or Galaxy A5 (2016) or Galaxy A5 (2017) (if supported by LineageOS) to test my build environment.
I think I’m cursed. Indeed it’s better with Linux Mint Xfce, much less freezes than with Ubuntu.
I installed it, I apt update apt upgrade, apt install openjdk-11-jdk, I installed the 5 packages listed in the installation page of Docker and I installed docker from docker source for Ubuntu 18.04 bionic (because Linux mint is based on Ubuntu 18.04 bionic). I created the needed folders.
I reboot. I run docker run hello-work and it works. Then I follow the instruction of the /e/ documentation (so without "-v “/srv/e/local_manifests:/srv/local_manifests:delegated” and without "-e “INCLUDE_PROPRIETARY=false” because I build for a5y17lte which is supported by LineageOS and /e/ and on Pie on both.
By the way, I also created the /srv/e/local_manifests directory and put the roomservice.xml file in it (for later). I don’t know if it could be a source of error. I thought it woudn’t be taken into consideration by docker.