libgcc-common: Fix file ownership for installed files
PATCH 1/1 libgcc-common: Fix file ownership for installed files
Fix two QA warnings caused by setting the wrong user and group for files installed in the destination directory on do_install task.
WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: user xxxx does not exist - using root
WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: group xxxx does not exist - using root
--- meta/recipes-devtools/gcc/libgcc-common.inc | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/gcc/libgcc-common.inc +2 -0
@@ -41,6 +41,8 @@ do_install () { # as well as target gcc and they are identical so we dont # ship one with libgcc here rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include + + chown -R root:root ${D} } BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.8.1.4
Quoted 11 lines · Daniel Dragomir
Fix two QA warnings caused by setting the wrong user and group for files installed in the destination directory on
do_installtask.WARNING:
log_check: There is a warn message in the logfile
WARNING:log_check: Matched keyword: [warn]
WARNING:log_check: warning: user xxxx does not exist - using rootWARNING:
log_check: There is a warn message in the logfile
WARNING:log_check: Matched keyword: [warn]
WARNING:log_check: warning: group xxxx does not exist - using root
This worries me. Why is libgcc installing files with the wrong owners, and is libgcc special or are other packages also installing files with the wrong owners? If this is a libgcc-specific problem and files are installed with the wrong owners then fixing the install process seems like a better fix.
Ross
I made a new git pull on dizzy branch and started a new build, and I see no warnings like those anymore. I guess this was solved by this commit:
2014-11-25 17:58 Richard Purdie o gcc: Rework shared worka6f2e490380581a8d4cb27bd95ec7f8d164d3b12
Skip this patch.
BR,
Daniel
________________________________
From: Burton, Ross [[email protected]]
Sent: Tuesday, January 20, 2015 5:55 PM
To: Dragomir, Daniel
Cc: OE-core
Subject: Re: [OE-core] [PATCH] libgcc-common: Fix file ownership for installed files
On 19 January 2015 at 14:27, Daniel Dragomir <[email protected]<mailto:[email protected]>> wrote:
Fix two QA warnings caused by setting the wrong user and group for
files installed in the destination directory on do_install task.
WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: user xxxx does not exist - using root
WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: group xxxx does not exist - using root
This worries me. Why is libgcc installing files with the wrong owners, and is libgcc special or are other packages also installing files with the wrong owners? If this is a libgcc-specific problem and files are installed with the wrong owners then fixing the install process seems like a better fix.
Ross