[Samsung Galaxy Tab A series Questions & Answers] srgrusso:
I'm trying to compile LineageOS 14 for the T580 because I always wanted to learn how but I'm running into a problem. I have synced the repo, device tree, vendor tree and kernel source. When I run "STOCK_ROM_DIR=/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system/ ./extract-files.sh" I get the following errors.

STOCK_ROM_DIR=/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system/ ./extract-files.sh
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/ca.pem': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/ca.pem': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_delta.bin': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_delta.bin': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_se13.bin': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_se13.bin': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libsec-ril.so': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libsec-ril.so': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libwrappergps.so': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libwrappergps.so': No such file or directory

Then I try to build ignoring the previous errrors. when i do "brunch gtaxlwifi" I get the following error.

find: ‘/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them!
build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them!
PRODUCT_COPY_FILES frameworks/base/data/keyboards/AVRCP.idc:system/usr/idc/AVRCP.idc ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/mcDriverDaemon'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/mcDriverDaemon'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_did.conf'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_did.conf'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_stack.conf'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_stack.conf'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/egl/libGLES_android.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/audio.primary.universal7870.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/audio.primary.universal7870.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/bluetooth.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/bluetooth.default.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/gralloc.exynos5.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/gralloc.exynos5.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libaudioroute.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libaudioroute.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcamera_metadata.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcamera_metadata.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcsc.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcsc.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosgscaler.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosgscaler.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosscaler.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosscaler.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosv4l2.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosv4l2.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libhwjpeg.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libhwjpeg.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/librilutils.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/librilutils.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsecril-client.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsensorservice.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsensorservice.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinyalsa.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinyalsa.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinycompress.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinycompress.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.AVC.Encoder.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.AVC.Encoder.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.VP8.Decoder.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.VP8.Decoder.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: warning: phony target '-*-' names itself as an input; ignoring [-w phonycycle=warn]
ninja: error: 'vendor/samsung/gtaxlwifi/proprietary/etc/ca.pem', needed by '/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/ca.pem', missing and no known rule to make it
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/mnt/UserData/Projects/Android-Source/LineageOS-14'

here is a link to the full dump: https://pastebin.com/du9JDypy

Thanks! I will be grateful for any help that is given.