Hi,
I have added as mentioned below

build/core/Makefile, 

$(hide) cat $(INSTALLED_DEFAULT_PROP_TARGET) $(recovery_build_prop) \
          > $(TARGET_RECOVERY_ROOT_OUT)/default.prop

to

$(hide) cat $(INSTALLED_DEFAULT_PROP_TARGET) $(recovery_build_prop) \       
                                                                            
      
          > $(TARGET_RECOVERY_ROOT_OUT)/default.prop                       
                                                                            
         
@if [ -d $(TARGET_RECOVERY_OUT) ]; then find $(TARGET_RECOVERY_OUT) -name 
'*.svn' | xargs rm -rf;

and also i have remove .svn file using command "find . -name "*.svn*" | 
xargs rm -rf"
inside libcore and prebuilt but still i am getting error as below

----- Making recovery image ------
Copying baseline ramdisk...
Modifying ramdisk contents...
cp: cannot stat `out/target/product/sabresd_6dq/root/init.recovery.*.rc': 
No such file or directory
make: [out/target/product/sabresd_6dq/recovery.img] Error 1 (ignored)
----- Made recovery image: out/target/product/sabresd_6dq/recovery.img 
--------


*zip error: Invalid command arguments (cannot repeat names in zip 
file)make: *** 
[out/target/product/sabresd_6dq/system/etc/recovery-resource.dat] Error 16*

so please suggest any solution.






On Wednesday, February 26, 2014 4:13:53 PM UTC+5:30, David wrote:
>
> Try the following fix
>
> build/core/Makefile, 
>
> $(hide) cat $(INSTALLED_DEFAULT_PROP_TARGET) $(recovery_build_prop) \
>           > $(TARGET_RECOVERY_ROOT_OUT)/default.prop
>
> to
>
> $(hide) cat $(INSTALLED_DEFAULT_PROP_TARGET) $(recovery_build_prop) \     
>                                                                             
>         
>           > $(TARGET_RECOVERY_ROOT_OUT)/default.prop                       
>                                                                             
>          
> @if [ -d $(TARGET_RECOVERY_OUT) ]; then find $(TARGET_RECOVERY_OUT) -name 
> '*.svn' | xargs rm -rf; fi   
>
>
> SSI於 2014年2月25日星期二UTC+8下午4時54分49秒寫道:
>>
>> Hello,
>>
>>    I have checked in android jelly bean 4.3 source code into my server 
>> with below command,
>>
>>     svn import -m "commit message here" /source_code_path/jb4.3/ 
>> URL_LINK/JB4.3/ --no-ignores
>>
>>  before commit I checked that source code is compiling or not . It was 
>> working fine. After compiling the source code and I checked out to local 
>> machine and kept it for compilation using make -j4 command.
>>
>>   It is giving below error
>>
>>    build/core/base_rules.mk:130: *** libcore: 
>> MODULE.TARGET.ETC.target-cacert-74c26bd0.0.svn-base already defined by 
>> libcore.  Stop.
>>
>>  If I commented out in above file line number 130, it is started build 
>> and it is created boot.img and other binaries but not system.img. I got 
>> below error before it complete the build.
>>
>> Target ram disk: out/target/product/sabresd_6dq/ramdisk.img
>> Target boot image: out/target/product/sabresd_6dq/boot.img
>> ----- Making recovery image ------
>> Copying baseline ramdisk...
>> Modifying ramdisk contents...
>> cp: cannot stat `out/target/product/sabresd_6dq/root/init.recovery.*.rc': 
>> No such file or directory
>> make: [out/target/product/sabresd_6dq/recovery.img] Error 1 (ignored)
>> ----- Made recovery image: out/target/product/sabresd_6dq/recovery.img 
>> --------
>>
>> zip error: Invalid command arguments (cannot repeat names in zip file)
>> make: *** 
>> [out/target/product/sabresd_6dq/system/etc/recovery-resource.dat] Error 16
>>
>> Can anybody tell me that why I am getting above errors? Is am doing 
>> anything wrong in importing source code to server using svn ?
>>
>> Kindly help me to resolve the problem
>>
>> Thanks
>>
>>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to