* [PATCH] libgcc-common: Fix file ownership for installed files
@ 2015-01-19 14:27 Daniel Dragomir
2015-01-20 15:55 ` Burton, Ross
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Dragomir @ 2015-01-19 14:27 UTC (permalink / raw)
To: openembedded-core
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
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
---
meta/recipes-devtools/gcc/libgcc-common.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index c81a80c..eba8ec2 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
@@ -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"
--
1.8.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] libgcc-common: Fix file ownership for installed files
2015-01-19 14:27 [PATCH] libgcc-common: Fix file ownership for installed files Daniel Dragomir
@ 2015-01-20 15:55 ` Burton, Ross
2015-01-22 13:32 ` Dragomir, Daniel
0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2015-01-20 15:55 UTC (permalink / raw)
To: Daniel Dragomir; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 911 bytes --]
On 19 January 2015 at 14:27, Daniel Dragomir <daniel.dragomir@windriver.com>
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
[-- Attachment #2: Type: text/html, Size: 1340 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libgcc-common: Fix file ownership for installed files
2015-01-20 15:55 ` Burton, Ross
@ 2015-01-22 13:32 ` Dragomir, Daniel
0 siblings, 0 replies; 3+ messages in thread
From: Dragomir, Daniel @ 2015-01-22 13:32 UTC (permalink / raw)
To: BURTON, ROSS; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]
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 work
a6f2e490380581a8d4cb27bd95ec7f8d164d3b12
Skip this patch.
BR,
Daniel
________________________________
From: Burton, Ross [ross.burton@intel.com]
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 <daniel.dragomir@windriver.com<mailto:daniel.dragomir@windriver.com>> 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
[-- Attachment #2: Type: text/html, Size: 2562 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-22 13:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19 14:27 [PATCH] libgcc-common: Fix file ownership for installed files Daniel Dragomir
2015-01-20 15:55 ` Burton, Ross
2015-01-22 13:32 ` Dragomir, Daniel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.