Bug 2911

Summary: sudoku-savant installation failure when using standalone toolchain
Product: [Yocto Project Subprojects] ADT Reporter: Laurentiu Serban <laurentiu.serban>
Component: adtAssignee: Jessica <jessica.zhang>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided CC: liang.li2, poky.adt.watcher, poky.watcher
Version: 1.3   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Laurentiu Serban 2012-08-07 20:53:05 UTC
If the standalone toolchain is used for make install sudoku-savant the following error occurs.
If the ADT installed toolchain is used the error does not occur.

desktop-file-install --vendor= --dir=/usr/local/share/applications sudoku-savant.desktop
Error on file "sudoku-savant.desktop": Failed to create file '/usr/local/share/applications/sudoku-savant.desktop.PORWIW': No such file or directory
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/opt/poky/1.2+snapshot/sudoku-savant-1.2.1'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/opt/poky/1.2+snapshot/sudoku-savant-1.2.1'
make: *** [install-recursive] Error 1
lserban@lserban-Vostro-460:/opt/poky/1.2+snapshot/sudoku-savant-1.2.1$
Comment 1 liang li 2012-08-08 04:06:34 UTC
using sudoku-savant-1.2.1 and toolchain from nightly build 20120802-1,no such error on ubuntu 12.04 64 bit host after running "sudo make install DESTDDIR=/opt/tmp" .
Comment 2 Jessica 2012-08-08 22:43:52 UTC
Per Li's comments, seems things still working
Comment 3 Laurentiu Serban 2012-08-16 20:48:49 UTC
Hello Liang, could you please try to change the ownership of the directory and rerun the make install command?
Thank you,
Laurentiu
Comment 4 liang li 2012-08-17 02:56:18 UTC
(In reply to comment #3)
> Hello Liang, could you please try to change the ownership of the directory
> and rerun the make install command?
> Thank you,
> Laurentiu

if not use "sudo" and only run "make install", will get the similar error.
if use "sudo" and run "sudo make install", will not get the error and "make install" will susccess.