Bug 2911 - sudoku-savant installation failure when using standalone toolchain
Summary: sudoku-savant installation failure when using standalone toolchain
Status: RESOLVED NOTABUG
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Jessica
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-08-07 20:53 UTC by Laurentiu Serban
Modified: 2012-08-17 02:56 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.