[Android Software/Hacking General [Developers Only]] skythian:
Thanks for looking at it. The whole dump is below:

including vendor/lineage/vendorsetup.sh
Looking for dependencies in device/oneplus/oneplus3
Looking for dependencies in device/oppo/common
Looking for dependencies in packages/resources/devicesettings
packages/resources/devicesettings has no additional dependencies.
Looking for dependencies in kernel/oneplus/msm8996
kernel/oneplus/msm8996 has no additional dependencies.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20181029-UNOFFICIAL-oneplus3
TARGET_PRODUCT=lineage_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-17134-Microsoft-x86_64-Ubuntu-18.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR2.181005.003
OUT_DIR=/home/majordan/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8996 hardware/qcom/display-caf/msm8996 hardware/qcom/media-caf/msm8996
TARGET_USE_SDCLANG=true
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20181029-UNOFFICIAL-oneplus3
TARGET_PRODUCT=lineage_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-17134-Microsoft-x86_64-Ubuntu-18.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR2.181005.003
OUT_DIR=/home/majordan/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8996 hardware/qcom/display-caf/msm8996 hardware/qcom/media-caf/msm8996
TARGET_USE_SDCLANG=true
============================================
ninja: no work to do.
ninja: no work to do.
Environment variable BUILD_NUMBER was modified (0bd4e2fbb4 => 46503a11de), regenerating...
Environment variable BUILD_NUMBER was modified (0bd4e2fbb4 => 46503a11de), regenerating...
[596/986] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
system/sepolicy/Android.mk:89: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
[982/986] including vendor/oneplus/oneplus3/Android.mk ...
ln: failed to create symbolic link 'libEGL_adreno.so': File exists
ln: failed to create symbolic link 'libEGL_adreno.so': File exists
[986/986] including vendor/qcom/opensource/interfaces/wifi/supplicant/1.0/Android.mk ...
[ 0% 1/95187] //frameworks/base/services/core:services.core.unboosted logtags java/com/android/server/EventLogTags.logtags [common]
FAILED: /home/majordan/android/lineage/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/gen/logtags/frameworks/base/services/core/java/com/android/server/EventLogTags.java
build/tools/java-event-log-tags.py -o /home/majordan/android/lineage/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/gen/logtags/frameworks/base/services/core/java/com/android/server/EventLogTags.java frameworks/base/services/core/java/com/android/server/EventLogTags.logtags
File "build/tools/java-event-log-tags.py", line 39
except getopt.GetoptError, err:
^
SyntaxError: invalid syntax
[ 0% 2/95187] //frameworks/base/services/core:services.core.unboosted logtags java/com/android/server/am/EventLogTags.logtags [common]
FAILED: /home/majordan/android/lineage/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/gen/logtags/frameworks/base/services/core/java/com/android/server/am/EventLogTags.java
build/tools/java-event-log-tags.py -o /home/majordan/android/lineage/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/gen/logtags/frameworks/base/services/core/java/com/android/server/am/EventLogTags.java frameworks/base/services/core/java/com/android/server/am/EventLogTags.logtags
File "build/tools/java-event-log-tags.py", line 39
except getopt.GetoptError, err:
^
SyntaxError: invalid syntax
[ 0% 10/95187] //external/python/cpython2:py2-interp-python clang Python/ceval.c [linux_glibc]
ninja: build stopped: subcommand failed.
12:09:03 ninja failed with: exit status 1

#### failed to build some targets (08:23 (mm:ss)) ####