Open petefoth opened 3 months ago
This issue is not a priority for the project: 15.1 is five Android versions and seven years out-of-date.
If anyone needs to continue making 15.1 builds and can implement a fix, we will be very happy to consider a Pull Request
I should also mention. repo does not work with Python 2. So you'll need to virtualenv Python 2 or switch to it only when building.
Also you need Java 8 to build 15.1, and you need to enable TLSv1 and TLSv1.1 in java.security
i believe this has been broken, since we bumped the ubuntu version in the Docker image from 20.04 to 22.04 - see PR #291 Bump ubuntu from 20.04 to 22.04
Ways of handling the Java issue:
Ways of handling the Java issue:
1. As done in this rejected PR [add python2 and gcc9 for 15.1 #430 ](https://github.com/lineageos4microg/docker-lineage-cicd/pull/430) 2. As done [here](https://gitlab.e.foundation/steadfasterX/android_vendor_e/-/blob/android-13/vendorsetup.sh?ref_type=heads#L429-476)
Or just revert the change from 20.04 to 22.04
I started a lineage-15.1 build for Sony Xperia XA2
pioneer
. Therepo sync
andbreakfast
stages completed fine. The build did not complete, due to an error probably caused by differences in Python versionBuild command
``` docker run \ -v "/home/pete/srv/l15/src:/srv/src" \ -v "/home/pete/srv/l15/zips:/srv/zips" \ -v "/home/pete/srv/l15/logs:/srv/logs" \ -v "/home/pete/srv/l15/cache:/srv/ccache" \ -v "/home/pete/srv/l15/keys:/srv/keys" \ -v "/home/pete/srv/l15/local_manifests:/srv/local_manifests" \ -v "/home/pete/srv/l15/userscripts:/srv/userscripts" \ -e "BRANCH_NAME=lineage-15.1" \ -e "WITH_GMS=true" \ -e "RELEASE_TYPE=4microg-UNOFFICIAL" \ -e "CLEAN_OUTDIR=false" \ -e "CLEAN_AFTER_BUILD=false" \ -e "SIGN_BUILDS=true" \ -e "SIGNATURE_SPOOFING=restricted" \ -e "INCLUDE_PROPRIETARY=true" \ -e "DEVICE_LIST=pioneer" \ -e "LC_ALL=C" \ lineageos4microg/docker-lineage-cicd ```Error details
``` [ 0% 267/111612] build /srv/src/LINEAGE_15_1/out/target/common/obj/all-event-log-tags.txt FAILED: /srv/src/LINEAGE_15_1/out/target/common/obj/all-event-log-tags.txt /bin/bash -c "build/tools/merge-event-log-tags.py -o /srv/src/LINEAGE_15_1/out/target/common/obj/all-event-log-tags.txt frameworks/base/core/java/android/app/admin/SecurityLogTags.logtags frameworks/base/core/java/android/content/EventLogTags.logtags frameworks/base/core/java/android/net/EventLogTags.logtags frameworks/base/core/java/android/speech/tts/EventLogTags.logtags frameworks/base/core/java/android/webkit/EventLogTags.logtags frameworks/base/core/java/com/android/internal/logging/EventLogTags.logtags frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/EventLogTags.logtags frameworks/base/packages/SystemUI/src/com/android/systemui/EventLogTags.logtags frameworks/base/services/core/java/com/android/server/EventLogTags.logtags frameworks/base/services/core/java/com/android/server/am/EventLogTags.logtags frameworks/ex/common/java/com/android/common/GoogleLogTags.logtags frameworks/native/services/surfaceflinger/EventLog/EventLogTags.logtags frameworks/opt/telephony/src/java/com/android/internal/telephony/EventLogTags.logtags packages/apps/Settings/src/com/android/settings/EventLogTags.logtags packages/providers/CalendarProvider/src/com/android/providers/calendar/EventLogTags.logtags packages/providers/ContactsProvider/src/com/android/providers/contacts/EventLogTags.logtags packages/services/Telephony/src/com/android/phone/EventLogTags.logtags system/bt/main/../EventLogTags.logtags system/core/liblog/event.logtags system/core/libsysutils/EventLogTags.logtags system/core/logcat/event.logtags system/core/logd/event.logtags system/core/storaged/EventLogTags.logtags" File "/srv/src/LINEAGE_15_1/build/tools/merge-event-log-tags.py", line 51 except getopt.GetoptError, err: ^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized ```So it looks like the Docker image will not currently make lineage-15.1 builds
... and not caused by the Docker image
Originally posted by @petefoth in https://github.com/lineageos4microg/docker-lineage-cicd/issues/670#issuecomment-2302040850