Hello,

I've just tried building LineageOS 17.0 for fajita (OnePlus 6T). For 
efficiency reasons and to maintain isolation from the host I've opted to 
spin up an LXC container for this.
The host machine is running Debian 9 and LXC 2.x, while the container is a 
Debian 10 machine. Apparently this doesn't support nsjail, which caused 
"breakfast fajita" to fail.
A screenshot is available at 
https://www.nixmagic.com/pics/lineage-nsjail-error.png.
I've followed the build guide at 
https://wiki.lineageos.org/devices/fajita/build.
Below is the error log in text form.

Looking for dependencies in kernel/oneplus/sdm845
kernel/oneplus/sdm845 has no additional dependencies.
Looking for dependencies in packages/resources/devicesettings 
packages/resources/devicesettings has no additional dependencies.
Done
15:31:05 Build sandboxing disabled due to nsjail error. This may become 
fatal in the future.
15:31:05 Please let us know why nsjail doesn't work in your environment at:
15:31:05 https://groups.google.com/forum/#!forum/android-building
15:31:05 https://issuetracker.google.com/issues/new?component=381517
build/make/target/product/updatable_apex.mk:21: error: 
_nic.PRODUCTS.[[device/oneplus/fajita/lineage_fajita.mk]]: 
"vendor/oneplus/sdm845-common/sdm845-common-vendor.mk" does not exist.
15:31:11 dumpvars failed with: exit status 1
15:31:13 Build sandboxing disabled due to nsjail error. This may become 
fatal in the future.
15:31:13 Please let us know why nsjail doesn't work in your environment at:
15:31:13 https://groups.google.com/forum/#!forum/android-building
15:31:13 https://issuetracker.google.com/issues/new?component=381517
build/make/target/product/updatable_apex.mk:21: error: 
_nic.PRODUCTS.[[device/oneplus/fajita/lineage_fajita.mk]]: 
"vendor/oneplus/sdm845-common/sdm845-common-vendor.mk" does not exist.
15:32:42 dumpvars failed with: exit status 1

** Don't have a product spec for: 'lineage_fajita'
** Do you have the right repo manifest? 

I wish I could explain why nsjail isn't available in LXC but unfortunately 
I don't know either... I'll retry the build in a VM or on a physical host.

Best regards,
Michael De Roover (android-building at nixmagic dot com)

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/dde337f3-3adf-470d-bfc5-c4fddc9ac7da%40googlegroups.com.

Reply via email to