So, always when I'm building I receive this limited variant. Although official docs state:
Buildtype - Use
user - limited access; suited for production
userdebug - like "user" but with root access and debuggability; preferred for debugging
eng - development configuration with additional debugging tools
CyanogenMod/LineageOS and downloading sources, try (.NET not .JP):
repo init -u git://git.osdn.net/gitroot/android-x86/manifest -b nougat-x86 -m cm.xml
. build/envsetup.sh
lunch cm_android_x86_64 // OR cm_android_x86 for 32bit
mka iso_img
You might have had a wrong lunch command, what errors did you get?
Try building Bliss-x86, I'm now using that and it's GREAT: https://github.com/BlissRoms-x86/manifest
Their default branch has kernel 4.4 and the n7.11-x86-unstable branch has kernel 4.10. It already has the gapps building stuff too so you don't have to manually add those things.
Good luck!
Force sync forces it to overwrite files, for example when they differ and you haven't made any changes to them. If the output says "discarded 231 commits" or something like that, check the folder next to that, like external/mesa. Then delete that folder from your Android-x86 folder (for example now the path Android-x86/external/mesa) and then do a new force sync with the above command. It shouldn't say anything about discarding commits anymore on that folder. This way you'll be sure you have the latest code!
When building, if you want to start it over from scratch, it's easiest to do:
rm -rf out
This deletes the build output folder so that no traces of previous builds are left. Then do the 3 build commands again and you'll have a completely clean new build. It will take as long as the first build does, for example on my PC a clean build takes about 40 minutes, and an incremental build that just adds latest changes it can be anything from under a minute to 5 minutes to longer.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170318-UNOFFICIAL-android_x86_64
TARGET_PRODUCT=cm_android_x86_64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_CPU_VARIANT=
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-22-generic-x86_64-with-Ubuntu-15.04-vivid
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NOF26W
OUT_DIR=/home/android/android_nfc/out
============================================
ninja: error: dependency cycle: /home/android/android_nfc/out/target/product/android_x86_64/kernel -> /home/android/android_nfc/out/target/product/android_x86_64/kernel
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/android/android_nfc'
#### make failed to build some targets (07:29 (mm:ss)) #### symbol: class PreferenceViewHolder
location: class SelfRemovingPreference
javadoc: error - In doclet class com.google.doclava.Doclava, method start has thrown an exception java.lang.reflect.InvocationTargetException
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.android.okhttp.ConnectionPool not found
1 error
39 warnings
build/core/droiddoc.mk:170: recipe for target '/home/android/android_nfc/out/target/common/docs/cm-api-stubs-timestamp' failed
make: *** [/home/android/android_nfc/out/target/common/docs/cm-api-stubs-timestamp] Error 45
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/android/android_nfc'
#### make failed to build some targets (12:36 (mm:ss)) ####--
You received this message because you are subscribed to a topic in the Google Groups "Android-x86" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-x86/lPuQePQmacI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-x86+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
javadoc: error - In doclet class com.google.doclava.Doclava, method start has thrown an exception java.lang.reflect.InvocationTargetException
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.android.okhttp.ConnectionPool not found
1 error
39 warnings
build/core/droiddoc.mk:170: recipe for target '/home/android/android_nfc/out/target/common/docs/cm-api-stubs-timestamp' failed
make: *** [/home/android/android_nfc/out/target/common/docs/cm-api-stubs-timestamp] Error 45
make: *** Waiting for unfinished jobs....
warning: ignoring flag -c mdpi-v4. Use --preferred-density instead.
warning: ignoring flag -c hdpi-v4. Use --preferred-density instead.
warning: ignoring flag -c mdpi-v4. Use --preferred-density instead.
warning: ignoring flag -c hdpi-v4. Use --preferred-density instead.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
make: Leaving directory '/home/android/android_nfc'
#### make failed to build some targets (17:53 (mm:ss)) ####
symbol: class Preference
vendor/cmsdk/sdk/src/java/cyanogenmod/preference/SelfRemovingPreference.java:52: error: cannot find symbol
public void onBindViewHolder(PreferenceViewHolder holder) {
--