Hey all, I need a little help if you all could. I'm trying to build a Motorola Droid (CDMA Milestone specifically) AOSP rom and I keep running into errors. I have everything done and I'm ready to make my rom. It throws up these errors everytime
Code:
[email protected]:~/froyo/system$ make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2.1
TARGET_PRODUCT=generic_sholes
TARGET_BUILD_VARIANT=user
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
============================================
wlan/ti/Android.mk:21: system/wlan/ti/wilink_6_1/Android.mk: No such file or directory
build/core/Makefile:19: warning: overriding commands for target `out/target/product/sholes/system/etc/gps.conf'
build/core/Makefile:19: warning: ignoring old commands for target `out/target/product/sholes/system/etc/gps.conf'
No private recovery resources for TARGET_DEVICE sholes
make: *** No rule to make target `system/wlan/ti/wilink_6_1/Android.mk'. Stop.
[email protected]:~/froyo/system$
I've tried to make clean and make prepare with no avail. Any thoughts or help would be greatly appreciated!
I'm running Ubuntu 10.10 64 bit with Java 5 and 6 (5 is set because the build wouldn't load other wise)
Thank You,
cfultz
Did you by any chance solved this problem?
I have the same when I try to "make otapackage"
I'm trying to compile Firefox OS using these files: "https://github.com/b2g-sprout/" . But I am having troubles 'coz there's no really fomal instructions from the Github link. I'm only a Web Developer so I don't know much about ROMs.
What I Did:
1 - Extracted "B2G" and "b2g-manifest" in home folder
2 - Extracted "device-sprout" on "device/google/sprout/"
3 - Backup System
4 - Run ANDROIDFS_DIR=backup_device ./config.sh sprout '../b2g-manifest/default.xml'
5 - Downloaded Files somewhere to get "sprout-vendor.mk" for "vendor" folder that the ./build.sh is looking for in my first run
5 - Run ./build.sh
Got this error after ./build.sh:
HTML:
<code>
./build.sh
including sdk/bash_completion/adb.bash
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_sprout
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-45-generic-x86_64-with-elementary_OS-0.3-freya
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_sprout
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-45-generic-x86_64-with-elementary_OS-0.3-freya
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
device/google/sprout/wpa_supplicant/Android.mk:19: Build wpa_supplicant_lib...
device/google/sprout/wpa_supplicant/Android.mk:27: external/wpa_supplicant_8/wpa_supplicant/android.config: No such file or directory
CMake and NDK (/home/zigmund/B2G/prebuilt/ndk/android-ndk-r7) found, will compile apitrace
external/apitrace/Android.mk:77: warning: overriding commands for target `out/target/product/sprout/obj/SHARED_LIBRARIES/egltrace_intermediates/LINKED/egltrace.so'
build/core/shared_library.mk:56: warning: ignoring old commands for target `out/target/product/sprout/obj/SHARED_LIBRARIES/egltrace_intermediates/LINKED/egltrace.so'
external/apitrace/Android.mk:82: warning: overriding commands for target `out/target/product/sprout/system/lib/egltrace.so'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/system/lib/egltrace.so'
external/apitrace/Android.mk:96: warning: overriding commands for target `out/target/product/sprout/obj/EXECUTABLES/apitrace_intermediates/LINKED/apitrace'
build/core/executable.mk:22: warning: ignoring old commands for target `out/target/product/sprout/obj/EXECUTABLES/apitrace_intermediates/LINKED/apitrace'
external/screencap-gonk/Android.mk:35: warning: overriding commands for target `out/target/product/sprout/system/bin/screencap-gonk'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/system/bin/screencap-gonk'
find: `../../external/apache-http/src/org/apache/http': No such file or directory
find: `../../external/apache-http/src/org/apache/http': No such file or directory
find: `../../external/apache-http/src/org/apache/http': No such file or directory
find: `../../external/nist-sip/java': No such file or directory
find: `../../external/apache-http/src': No such file or directory
find: `../../external/libphonenumber/java/src': No such file or directory
gaia/Android.mk:53: warning: overriding commands for target `out/target/product/sprout/data/local/gaia'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/data/local/gaia'
gonk-misc/Android.mk:30: warning: overriding commands for target `out/target/product/sprout/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/sprout/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:137: warning: overriding commands for target `out/target/product/sprout/obj/DATA/sources.xml_intermediates/sources.xml'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/sprout/obj/DATA/sources.xml_intermediates/sources.xml'
gonk-misc/Android.mk:359: warning: overriding commands for target `out/target/product/sprout/system/gecko'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/system/gecko'
gonk-misc/Android.mk:447: warning: overriding commands for target `out/target/product/sprout/obj/DATA/gecko_intermediates/gecko'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/sprout/obj/DATA/gecko_intermediates/gecko'
build/core/base_rules.mk:82: *** Module name: librilutils
build/core/base_rules.mk:83: *** Makefile location: hardware/ril/librilutils
build/core/base_rules.mk:84: *
build/core/base_rules.mk:85: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:86: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:87: *
build/core/base_rules.mk:88: * optional, debug, eng, tests, samples
build/core/base_rules.mk:89: *
build/core/base_rules.mk:90: * If the module is expected to be in all builds
build/core/base_rules.mk:91: * of a product, then it should use the
build/core/base_rules.mk:92: * "optional" tag:
build/core/base_rules.mk:93: *
build/core/base_rules.mk:94: * Add "LOCAL_MODULE_TAGS := optional" in the
build/core/base_rules.mk:95: * Android.mk for the affected module, and add
build/core/base_rules.mk:96: * the LOCAL_MODULE value for that component
build/core/base_rules.mk:97: * into the PRODUCT_PACKAGES section of product
build/core/base_rules.mk:98: * makefile(s) where it's necessary, if
build/core/base_rules.mk:99: * appropriate.
build/core/base_rules.mk:100: *
build/core/base_rules.mk:101: * If the component should be in EVERY build of ALL
build/core/base_rules.mk:102: * products, then add its LOCAL_MODULE value to the
build/core/base_rules.mk:103: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:104: * build/target/product/core.mk
build/core/base_rules.mk:105: *
build/core/base_rules.mk:106: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.
real 0m42.594s
user 0m4.868s
sys 0m4.684s
> Build failed! <
Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.
</code>
After executing "./build.sh rm -rf out":
HTML:
<code>
./build.sh rm -rf out
including sdk/bash_completion/adb.bash
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_sprout
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-45-generic-x86_64-with-elementary_OS-0.3-freya
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
make: *** out: Is a directory. Stop.
real 0m0.002s
user 0m0.000s
sys 0m0.002s
> Build failed! <
Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.
</code>
Check this out Sir Firefox OS Build prerequisites
1. Try with newer sources of Firefox. Take nexus 5 as reference.
2. To delete the our folder, use the command "rm rf- out/" or "make clean "
3. Use"-j1" tag for better error messages
make rule issue
Hi there! I'm attempting to compile FFOS but I keep running into this error:
Code:
make: *** No rule to make target `out/target/product/sprout/kernel', needed by `out/target/product/sprout/boot.img'. Stop.
Is there anything that I missed? If it's a file, could I download it? Don't want to do another repo sync since the Internet at my place kinda sucks.
I was doing exactly everything in this site http://developer.sonymobile.com/ope...-devices/#build-aosp-marshmallow-experimental but at the end when I started the building command I get this Error
Code:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET_PRODUCT=aosp_arm64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_BUILD_TYPE=release
BUILD_ID=MOB31E
OUT_DIR=out
============================================
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/recovery/Android.mk ...
including ./build/libs/host/Android.mk ...
including ./build/target/board/Android.mk ...
including ./build/target/product/security/Android.mk ...
including ./build/tools/Android.mk ...
including ./cts/Android.mk ...
including ./dalvik/Android.mk ...
including ./development/apps/BluetoothDebug/Android.mk ...
including ./development/apps/BuildWidget/Android.mk ...
including ./development/apps/CustomLocale/Android.mk ...
Until. . . . .
make: *** No rule to make target '–j'. Stop.
#### make failed to build some targets (03:50 (mm:ss)) ####
What did I do do wrong?, I need help plz.
Here we are. Many were expecting CM14.1 for jactivelte. I compiled LineageOS 14.1 for jactivelte (check it out here). It has some bugs, but at least it works.
Unfortunately I think I cannot update it anymore, because of my low specs pc and my lack of time, so I made a noobproof guide on how to compile it, or any other LineageOS 13/14.1 based ROM.
A lot of guides on XDA don't show some steps, and for a n00b (like me) understand them is almost impossible without a step-by-step guide. So here we are, a COMPLETE guide on HOW TO BUILD for GT-I9525 (jactivelte).
It could be applied for any other device, but with some changes.
You can find this guide too on my Github, precisely in the local_manifest repository or on my Github Page. However, let's start.
Setup the machine
Download any Debian based distro, burn it in a USB and install it or just create a virtual machine. I advice you to install Ubuntu 16.04.2 Xenial. Don't install it on virtual machine if you've got a low specs PC.
Now, open a terminal and write the command:
sudo apt-add-repository ppapenjdk-r/ppa -y; sudo apt update -y; sudo apt install git-core python gnupg flex bison gperf libsdl1.2-dev libesd0-dev \
squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev openjdk-8-jre openjdk-8-jdk pngcrush \
schedtool libxml2 libxml2-utils xsltproc lzop libc6-dev schedtool g++-multilib lib32ncurses5-dev \
gcc-multilib liblz4-* pngquant ncurses-dev texinfo gcc gperf patch ccache libtool \
automake g++ gawk subversion expat libexpat1-dev python-all-dev bc libcloog-isl-dev \
libcap-dev autoconf libgmp-dev build-essential gcc-multilib g++-multilib pkg-config libmpc-dev libmpfr-dev lzma* \
liblzma* w3m android-tools-adb maven ncftp htop repo lib32z1-dev -y
Note that this one is a SINGLE giant command. There isn't any wrap between. Once you did it, do it again.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If some package like lib32z1-dev causes error code (1), just remove it from the command. Note that it could compromise the build, if it's an important one. I'd advice you to Google it for solving.
Now, you successfully setted up your building machine.
Manage your repos
First of all we need to setup the repo binary, with the commands:
mkdir ~/bin
PATH=~/bin:$PATH
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
Now create a folder for the sources where you want. I created mine in a subfolder inside my home. To do so, open your terminal and type mkdir LOS or change LOS to whatever you want.
Then enter in the folder just created with cd "FOLDER NAME"
You have now to configure your github account. To do so:
git config --global user.name "YOUR NAME"
git config --global user.email "YOUR EMAIL ADDRESS"
Now init the project, in this case I'll use the JDCTeam's project. To do so type in terminal
repo init -u git://github.com/JDCTeam/manifests.git -b opt-cm-14.1
If you want to repo sync RR
repo init -u https://github.com/ResurrectionRemix/platform_manifest.git -b nougat
Instead, for clean LineageOS
repo init -u git://github.com/LineageOS/android.git -b cm-14.1
After this, you have to repo sync, with the command
repo sync -f --force-sync --no-clone-bundle
It will take some hours, it depends by your connection speed. When it will finish, repo sync again (just for being sure).
Now open any file manager (if you're on Ubuntu, it will be Nautilus), press CTRL+H, open the folder .repo, create a new folder called "local_manifests". In base of the OS you want to build, choose between by LineageOS, Resurrection Remix OS, Side or OptimisedLOS local_manifests. Now rename the file you downloaded into local_manifest.xml and move it to the local_manifests folder you just created.
Repo sync again. If there are some duplicates, just comment them. To do so, put !-- and -- respectively before and after the duplicate paths. So <project *blablablahere* /> would become <!--project *blablablahere* /-->.
Now, go to LOS/device/samsung/jf-common and open BoardConfigCommon.mk
Here, if the BOARD_RECOVERYIMAGE_PARTITION_SIZE := is not set to 11300000 or more, change it, otherwise the build will fail.
That's what I'm talking about
Setting Ccache
This step should improve the building speed, but it require some space (just like a cache, considering that it IS a cache).
echo "export USE_CCACHE=1" >> ~/.bashrc
~/RR/prebuilts/misc/linux-x86/ccache/ccache -M 100G
If you don't have so much space, I advice you to give 50G instead of 100G. Less is useless IMHO.
Configure the repos
CyanogenMod (RIP) left the show to LineageOS. Unfortunately someone still didn't notice it. The sources, indeed, could still be setted up for CyanogenMod. Don't mind, it's not that difficult, we could solve together.
In terminal type:
cd LOS/device/samsung
ls
You should see jactivelte, jf-common and qcom-common. Well, if you don't, you missed some step. Now, open these folders. Rename any cm.dependencies into lineage.dependencies, without editing anything. If there is cm.mk too (but it shouldn't), rename it lineage.mk, then open it and at the bottom replace cm_jactivelte with lineage_jactivelte.
Building the ROM
Now, prepare yourself for the building itself. Type in the terminal
sudo -s
Write your password and press enter. This will enable the root access to every command. Type
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX: +TiePurpleCompilation -Xmx4g"
. build/envsetup.sh
./prebuilts/sdk/tools/jack-admin kill-server
rm -rf /home/"yournamehere"/.jack-server
export USE_PREBUILT_CACHE=1
export ANDROID_JACK_VM_ARGS="-Xmx3g -Dfile.encoding=UTF-8 -XX:+TiePurpleCompilation"
croot
brunch jactivelte
Now wait some hours (or some minutes if your PC is a beast), and you'll get your ready-to-flash ROM zip! You can find it in home/LOS/out/target/product/jactivelte
If you want to build again, with updated sources:
make clean
repo sync -f --force-sync --no-clone-bundle
. build/envsetup.sh && brunch jactivelte
You can find it in home/CM14.1/out/target/product/jactivelte
Remember to put in your credit EVERYONE who helped you or provided you the sources, like CyanogenMod, LineageOS, XOSP, RR and so on and so on.
Remember also that if you want to publish a ROM, you also have to publish the sources, if you made some commits.
Have fun compiling!
Thank you! This will be my first build. I want to learn to build RR too.
quubee said:
Thank you! This will be my first build. I want to learn to build RR too.
Click to expand...
Click to collapse
Well, consider that the latest RR is based on LineageOS. Unfortunately, I'm getting some error while building LineageOS. Anyway, for any CM14.1 based, this guide works fine.
Hope you all the best
I got some errors eith CM14.1 too.
build / core / ninja.mk: 166: error is the recipe for «/home/linux/CM14.1/out/build-cm_jactivelte.ninja» goal
make: *** [/home/linux/CM14.1/out/build-cm_jactivelte.ninja] Error 1
make: a way out of the catalog «/home/linux/CM14.1»
quubee said:
I got some errors eith CM14.1 too.
build / core / ninja.mk: 166: error is the recipe for «/home/linux/CM14.1/out/build-cm_jactivelte.ninja» goal
make: *** [/home/linux/CM14.1/out/build-cm_jactivelte.ninja] Error 1
make: a way out of the catalog «/home/linux/CM14.1»
Click to expand...
Click to collapse
Unfortunately, I cannot understand the error from these lines. Please copy your entire log on hastebin.com and send it.
Anyway, it's weird, because that's everything I do, nothing less, nothing more. You should not get any error
quubee said:
I got some errors eith CM14.1 too.
build / core / ninja.mk: 166: error is the recipe for «/home/linux/CM14.1/out/build-cm_jactivelte.ninja» goal
make: *** [/home/linux/CM14.1/out/build-cm_jactivelte.ninja] Error 1
make: a way out of the catalog «/home/linux/CM14.1»
Click to expand...
Click to collapse
export USE_NINJA=false fix error
I thing it was small swap partition on my laptop. Thanks, I saw similar advice it on 4pda forums.
I will try to build something simple first, like CM for nexus, to learn more.
Thanks for the guide!
I'm trying to build a Lineage ROM for my Galaxy S4 active following your guide. But after several attempts it didn't work out, the building process fails always with the following messages:
Code:
. build/envsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/samsung/jactivelte/vendorsetup.sh
[B]: command not found[/B]
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
Code:
brunch jactivelte
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20190212-UNOFFICIAL-jactivelte
TARGET_PRODUCT=lineage_jactivelte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-45-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/testuser/android/out
============================================
make: Verzeichnis „/home/testuser/android“ wird betreten
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20190212-UNOFFICIAL-jactivelte
TARGET_PRODUCT=lineage_jactivelte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-45-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/testuser/android/out
============================================
prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -fno-exceptions -Wno-multichar -DDECAY_TIME_DEFAULT=0 -m64 -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 -fstack-protector-strong --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin -target x86_64-linux-gnu -Wsign-promo -Wno-inconsistent-missing-override --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -target x86_64-linux-gnu -c -std=c++11 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o /home/testuser/android/out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/affinity.o build/kati/affinity.cc
//
Running kati to generate build-lineage_jactivelte.ninja...
/home/testuser/android/out/build-lineage_jactivelte.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20190212-UNOFFICIAL-jactivelte
TARGET_PRODUCT=lineage_jactivelte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-45-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/testuser/android/out
============================================
Checking build tools versions...
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
find: "/home/testuser/android/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates": Datei oder Verzeichnis nicht gefunden
./vendor/qcom/binaries/Android.mk:1: *** This repo is now deprecated. Move your blobs to your device's vendor repo..
build/core/ninja.mk:166: die Regel für Ziel „/home/testuser/android/out/build-lineage_jactivelte.ninja“ scheiterte
make: *** [/home/testuser/android/out/build-lineage_jactivelte.ninja] Fehler 1
make: Verzeichnis „/home/testuser/android“ wird verlassen
#### make failed to build some targets (18 seconds) ####
Any ideas?
Probably a noobish question, but despite following the official build guide [1] and later finding out it's broken [2] I still can't flashall:
Code:
(lunch output cut)
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
TARGET_PRODUCT=aosp_xqau52
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-48-generic-x86_64-Ubuntu-22.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=TP1A.220905.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/sony/common device/sony/seine vendor/qcom/opensource/core-utils vendor/qcom/opensource/display/sm8250 vendor/qcom/opensource/display-commonsys-intf/sm8250
============================================
❯ j pdx
(...)/XQ-AU52/android/out/target/product/pdx201
❯ fastboot -w flashall
--------------------------------------------
Bootloader Version...: xboot
Baseband Version.....:
Serial Number........: QV7258NJ3A
--------------------------------------------
Checking 'product' FAILED
Device product is 'pdx201'.
Update requires 'XQ-AU52'.
fastboot: error: requirements not met!
[1] https://developer.sony.com/develop/...uctions/build-aosp-android-13#tutorial-step-8
[2] https://github.com/sonyxperiadev/bug_tracker/issues/608