[Q] Porting to the Samsung Fascinate - Ubuntu Touch Q&A, Help & Troubleshooting

I've started working on a port to the Fascinate. Have worked through a few problems in the build, but this one has me stumped.
Code:
make: *** No rule to make target `/android/system/out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp', needed by '/android/system/out/target/common/obj/APPS/AriesParts_intermediates/src/R.stamp'.
I've looked through all the make files and can't pinpoint this one. AriesParts is actually the settings app for the fascinate. It's in the correct place in /device folder. When I look at the /out/target/common/obj/APP/ folder, all there is in this folder is a couple of .txt files: /current_packages.txt which just has "AriesParts" as text in it and previous_overlays.txt which is empty. I've renamed them .old and did a brunch again and the same files get recreated.
Anyone have any ideas?
/redwolves

Related

[Q] Make dist build from AOKP source

Hello there,
I am trying to build a custom ROM for Samsung P3113 based on AOKP source on the jb branch. I was able to make "unofficial" release using "brunch aokp_p3113". However, when I attempted to make a distribution release, the "make -j4 dist" failed. The following are the commands I used:
. build/envsetup.sh
lunch aokp_p3113-userdebug
make -j4 dist
I got the following error messages:
device/moto/stingray/recovery/recovery_ui.cpp:22:20: fatal error: device.h: No such file or directory compilation terminated.
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/librecovery_ui_stingray_intermediates/recovery_ui.o] Error 1
Can someone help? By the way, I don't need to build OTA package.
Found root cause
Found the root cause -
All the three header files needed by recovery_ui.cpp are missing. To workaround, I excluded the stingray recovery from the make, and the problem solved.
Hopefully, someone in the AOKP team will add the missing files to repository.

[ISSUE] Compile cyanoboot: No rule to make target

Hi,
I'm trying to compile the cyanoboot project found at: github.com/CMNookTablet/acclaim_cyanoboot. I have no experience with c++ compiling but I've followed the read-me and seem to have hit a brick wall. I've extracted the downloaded source files and navigated to them in cygwin, I then run the command:
make clean
which looks like it is successful. After that I run
make omap4430sdp_config
which also seems to work but doesn't create any files(not sure if it should?). Then, when I run the final make command I get the error:
makefile:98: /cygdrive/c/cyanoboot/config.mk: No such file or directory
make: *** No rule to make target `/cygdrive/c/cyanoboot/config.mk'. Stop.
This config.mk file definitely does exist, you can see it at the git hub link above and I haven't changed any files. I've been struggling with this for a few hours now and I just cant figure it out. Any help is much appreciated. Thanks.

Cm13 build error

Tried to build CM13 from source, but I always had this error
Code:
make: *** No rule to make target '/home/hicham03/cm13/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/hicham03/cm13/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex'. Arrêt.
make: *** Attente des tâches non terminées....
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
make: Leaving directory '/home/hicham03/cm13'
#### make failed to build some targets (16:28 (mm:ss)) ####
Full log here: http://pastebin.com/jyBW0jzz
Is there any solution for that?
It must be there is missed file you should go and check whether it's already exist or not .
Check last part of the log file you must find something like file not found or no rule to make ..... And it will provide the path for the missed file .
I can't check the log you provided as I open from my galaxy star .
LahKeda said:
It must be there is missed file you should go and check whether it's already exist or not .
Check last part of the log file you must find something like file not found or no rule to make ..... And it will provide the path for the missed file .
I can't check the log you provided as I open from my galaxy star .
Click to expand...
Click to collapse
But where can I find org.cyanogenmod.platform.internal_intermediates folder ?
Hicham03 said:
But where can I find org.cyanogenmod.platform.internal_intermediates folder ?
Click to expand...
Click to collapse
The problem is not in that folder , the problem is coming from a missed file in cm source like if there an included file is not exist or the path is wrong or just simply it's rambling
wow! cm 13 nice !
LahKeda said:
The problem is not in that folder , the problem is coming from a missed file in cm source like if there an included file is not exist or the path is wrong or just simply it's rambling
Click to expand...
Click to collapse
But the missing file is located in that missing folder..
Hicham03 said:
But the missing file is located in that missing folder..
Click to expand...
Click to collapse
Here is wait is going on while building :
While building here are files copied to that path
out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex'.
Click to expand...
Click to collapse
then after they're copied they will be built so if these files are not exist in cm13 source , they won't be exist in that path then when it try to build them they will not find these files so you get this error .
Did you tried to start building again ? it may help you .
Bro can re-repo source cm13?
LahKeda said:
Here is wait is going on while building :
While building here are files copied to that path
then after they're copied they will be built so if these files are not exist in cm13 source , they won't be exist in that path then when it try to build them they will not find these files so you get this error .
Did you tried to start building again ? it may help you .
Click to expand...
Click to collapse
Oh oh... bluetooth_intermediates isn't available too.
New error after re-synced repo:
Code:
make: *** No rule to make target '/home/hicham03/cm13/out/target/product/higgs2g/obj/KERNEL_OBJ/usr', needed by '/home/hicham03/cm13/out/target/product/higgs2g/obj/SHARED_LIBRARIES/libtinyalsa_intermediates/mixer.o'. Arrêt.
make: *** Attente des tâches non terminées....
Export includes file: external/tinyalsa/Android.mk -- /home/hicham03/cm13/out/target/product/higgs2g/obj/SHARED_LIBRARIES/libtinyalsa_intermediates/export_includes
make: Leaving directory '/home/hicham03/cm13'
#### make failed to build some targets (06:48 (mm:ss)) ####
And there too, KERNEL_OBJ is unavailable.

trouble building cm13

I've hit a bit of a brick wall while trying to do my first CyanogenMod build (cm13 on trltespr). Not sure if this should be put on the device board itself but I figured I'd try here first. I've extracted proprietary files from the device, followed the guide on the CM wiki, and while trying to build I'm getting the following error from make:
make: *** No rule to make target '/home/cmbuild/android/system/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/javalib.jar', needed by '/home/cmbuild/android/system/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-full-debug.jar'. Stop.
From what I've gathered I absolutely do not want to skip building either of these libraries, so I'm kind of at an impasse here. Does anyone have any thoughts on what my options may be here?
Actually, i'm starting to get a different error now, quite similar though:
make: *** No rule to make target '/home/cmbuild/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp', needed by '/home/cmbuild/android/system/out/target/common/obj/APPS/BasicDreams_intermediates/src/R.stamp'. Stop.
^regarding above error message, first one comes from simply running 'make', second one comes from running brunch trltespr
Make Clobber your folder
Do a repo sync..
How about try to use mka..

[Q] ROM build fails at copying install-recovery.sh

Hi! I'm trying to build the CypherOS ROM based on Android 6.0 for my Xiaomi Redmi Note 3, using CyanogenMod sources. The build seemed to be running just fine until it stopped at this bit near the end:
Code:
putting script in etc/install-recovery.sh
cp: cannot stat '/home/nsood/cypher/out/target/product/kenzo/ota_temp/SYSTEM/bin/install-recovery.sh': No such file or directory
build/core/Makefile:1077: recipe for target '/home/nsood/cypher/out/target/product/kenzo/system/bin/install-recovery.sh' failed
make: *** [/home/nsood/cypher/out/target/product/kenzo/system/bin/install-recovery.sh] Error 1
make: Leaving directory '/home/nsood/cypher'
It seems to be copying some install-recovery.sh from a temporary folder to the permanent one, but fails because there's no install-recovery.sh in system/bin there.
Some digging showed it is present in system/etc though:
Code:
$ find | grep install-recovery.sh
./out/target/product/kenzo/ota_temp/SYSTEM/etc/install-recovery.sh
Where is this file supposed to be? How do I point it to the right location? Anything I can do to fix this?
This is an error in your fstab.
Check you BoardConfig for the definition of TARGET_RECOVERY_FSTAB.
This defined file is the file that makes brunch bail out.
Unfortunately I do not know exactly what causes it, so you need to play around.
P.S.: The error in fstab is probably that either the mount for /boot or for /recovery is missing.
Hi @NSDCars5
How did you solve this...
I'm getting the same error when'm building for UMI Z
First time I'm building Android ,and building for a new device
If I copy install-recovery.sh from etc/ to bin/ the build continues... but there has to be a reason for it to end up in etc?
Go into build/core/make file.mk and somewhere near line 1057 you'll see a
(hide)(ota)"something blahblahblah" install-recovery.sh
Comment it out with a #

Categories

Resources