Patchwork [CONSOLIDATED,PULL,19/19] gcc-package-target: add libexec for plugins

login
register
mail settings
Submitter Saul Wold
Date April 30, 2012, 10:21 p.m.
Message ID <c5a3097cc2507d3fe49f113684912d4804ed02bd.1335824356.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/26727/
State New
Headers show

Comments

Saul Wold - April 30, 2012, 10:21 p.m.
Fixes:

ERROR: For recipe gcc, the following files/directories were installed but not shipped in any package:
ERROR:   /usr/libexec/gcc/i586-poky-linux/4.7.1/plugin/gengtype
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/gcc/gcc-4.7.inc            |    2 +-
 meta/recipes-devtools/gcc/gcc-package-target.inc |   11 ++++-------
 2 files changed, 5 insertions(+), 8 deletions(-)
Richard Purdie - May 1, 2012, 1:17 p.m.
On Mon, 2012-04-30 at 15:21 -0700, Saul Wold wrote:
> Fixes:
> 
> ERROR: For recipe gcc, the following files/directories were installed but not shipped in any package:
> ERROR:   /usr/libexec/gcc/i586-poky-linux/4.7.1/plugin/gengtype
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/recipes-devtools/gcc/gcc-4.7.inc            |    2 +-
>  meta/recipes-devtools/gcc/gcc-package-target.inc |   11 ++++-------
>  2 files changed, 5 insertions(+), 8 deletions(-)

Saul, this patch does other things in addition to what is described
above. Why?

Cheers,

Richard


> diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
> index 784a3be..8adeb8d 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.7.inc
> +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
> @@ -1,6 +1,6 @@
>  require gcc-common.inc
>  
> -PR = "r0"
> +PR = "r1"
>  
>  # Third digit in PV should be incremented after a minor release
>  # happens from this branch on gcc e.g. currently its 4.7.0
> diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
> index d58e001..392dfc4 100644
> --- a/meta/recipes-devtools/gcc/gcc-package-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
> @@ -1,5 +1,5 @@
>  PACKAGES = "\
> -  ${PN} ${PN}-plugins ${PN}-symlinks \
> +  ${PN} ${PN}-symlinks \
>    g++ g++-symlinks \
>    cpp cpp-symlinks \
>    g77 g77-symlinks \
> @@ -36,20 +36,17 @@ FILES_${PN}-dev = "\
>  "
>  FILES_${PN}-plugin-dev = "\
>    ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \
> -  ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gengtype \
>    ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gtype.state \
> +  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/gengtype \
>  "
> +ALLOW_EMPTY_${PN}-plugin-dev = "1"
> +
>  FILES_${PN}-symlinks = "\
>    ${bindir}/cc \
>    ${bindir}/gcc \
>    ${bindir}/gccbug \
>  "
>  
> -FILES_${PN}-plugins = "\
> -  ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \
> -"
> -ALLOW_EMPTY_${PN}-plugins = "1"
> -
>  FILES_g77 = "\
>    ${bindir}/${TARGET_PREFIX}g77 \
>    ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \
Khem Raj - May 1, 2012, 1:26 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/01/2012 06:17 AM, Richard Purdie wrote:
> On Mon, 2012-04-30 at 15:21 -0700, Saul Wold wrote:
>> Fixes:
>> 
>> ERROR: For recipe gcc, the following files/directories were
>> installed but not shipped in any package: ERROR:
>> /usr/libexec/gcc/i586-poky-linux/4.7.1/plugin/gengtype

see part of this commit
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/misc&id=86542ceef469a20a77d2191f7c1f6e36911174d3

>> Signed-off-by: Saul Wold <sgw@linux.intel.com> --- 
>> meta/recipes-devtools/gcc/gcc-4.7.inc            |    2 +- 
>> meta/recipes-devtools/gcc/gcc-package-target.inc |   11
>> ++++------- 2 files changed, 5 insertions(+), 8 deletions(-)
> 
> Saul, this patch does other things in addition to what is
> described above. Why?
> 
> Cheers,
> 
> Richard
> 
> 
>> diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc
>> b/meta/recipes-devtools/gcc/gcc-4.7.inc index 784a3be..8adeb8d
>> 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++
>> b/meta/recipes-devtools/gcc/gcc-4.7.inc @@ -1,6 +1,6 @@ require
>> gcc-common.inc
>> 
>> -PR = "r0" +PR = "r1"
>> 
>> # Third digit in PV should be incremented after a minor release #
>> happens from this branch on gcc e.g. currently its 4.7.0 diff
>> --git a/meta/recipes-devtools/gcc/gcc-package-target.inc
>> b/meta/recipes-devtools/gcc/gcc-package-target.inc index
>> d58e001..392dfc4 100644 ---
>> a/meta/recipes-devtools/gcc/gcc-package-target.inc +++
>> b/meta/recipes-devtools/gcc/gcc-package-target.inc @@ -1,5 +1,5
>> @@ PACKAGES = "\ -  ${PN} ${PN}-plugins ${PN}-symlinks \ +  ${PN}
>> ${PN}-symlinks \ g++ g++-symlinks \ cpp cpp-symlinks \ g77
>> g77-symlinks \ @@ -36,20 +36,17 @@ FILES_${PN}-dev = "\ " 
>> FILES_${PN}-plugin-dev = "\ 
>> ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \ -
>> ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gengtype \ 
>> ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gtype.state \ +
>> ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/gengtype \ " 
>> +ALLOW_EMPTY_${PN}-plugin-dev = "1" + FILES_${PN}-symlinks = "\ 
>> ${bindir}/cc \ ${bindir}/gcc \ ${bindir}/gccbug \ "
>> 
>> -FILES_${PN}-plugins = "\ -
>> ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \ -" 
>> -ALLOW_EMPTY_${PN}-plugins = "1" - FILES_g77 = "\ 
>> ${bindir}/${TARGET_PREFIX}g77 \ 
>> ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \
> 
> 
> 
> _______________________________________________ Openembedded-core
> mailing list Openembedded-core@lists.openembedded.org 
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+f5HcACgkQuwUzVZGdMxTCWgCZAb0BcPwGMsign36/AGoPBQpk
ABoAn3lqySL2xGTUFvwQoAbXUz3eNQzr
=NpaZ
-----END PGP SIGNATURE-----
Saul Wold - May 1, 2012, 3 p.m.
On 05/01/2012 06:26 AM, Khem Raj wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 05/01/2012 06:17 AM, Richard Purdie wrote:
>> On Mon, 2012-04-30 at 15:21 -0700, Saul Wold wrote:
>>> Fixes:
>>>
>>> ERROR: For recipe gcc, the following files/directories were
>>> installed but not shipped in any package: ERROR:
>>> /usr/libexec/gcc/i586-poky-linux/4.7.1/plugin/gengtype
>
> see part of this commit
> http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/misc&id=86542ceef469a20a77d2191f7c1f6e36911174d3
>
Khem, this patch also seems to to multiple things.

>>> Signed-off-by: Saul Wold<sgw@linux.intel.com>  ---
>>> meta/recipes-devtools/gcc/gcc-4.7.inc            |    2 +-
>>> meta/recipes-devtools/gcc/gcc-package-target.inc |   11
>>> ++++------- 2 files changed, 5 insertions(+), 8 deletions(-)
>>
>> Saul, this patch does other things in addition to what is
>> described above. Why?
>>
I had a different change, and should have changed that back to not 
remove the plug-in package.  I will update this patch in the tree.

Sau!

>> Cheers,
>>
>> Richard
>>
>>
>>> diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc
>>> b/meta/recipes-devtools/gcc/gcc-4.7.inc index 784a3be..8adeb8d
>>> 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++
>>> b/meta/recipes-devtools/gcc/gcc-4.7.inc @@ -1,6 +1,6 @@ require
>>> gcc-common.inc
>>>
>>> -PR = "r0" +PR = "r1"
>>>
>>> # Third digit in PV should be incremented after a minor release #
>>> happens from this branch on gcc e.g. currently its 4.7.0 diff
>>> --git a/meta/recipes-devtools/gcc/gcc-package-target.inc
>>> b/meta/recipes-devtools/gcc/gcc-package-target.inc index
>>> d58e001..392dfc4 100644 ---
>>> a/meta/recipes-devtools/gcc/gcc-package-target.inc +++
>>> b/meta/recipes-devtools/gcc/gcc-package-target.inc @@ -1,5 +1,5
>>> @@ PACKAGES = "\ -  ${PN} ${PN}-plugins ${PN}-symlinks \ +  ${PN}
>>> ${PN}-symlinks \ g++ g++-symlinks \ cpp cpp-symlinks \ g77
>>> g77-symlinks \ @@ -36,20 +36,17 @@ FILES_${PN}-dev = "\ "
>>> FILES_${PN}-plugin-dev = "\
>>> ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \ -
>>> ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gengtype \
>>> ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gtype.state \ +
>>> ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/gengtype \ "
>>> +ALLOW_EMPTY_${PN}-plugin-dev = "1" + FILES_${PN}-symlinks = "\
>>> ${bindir}/cc \ ${bindir}/gcc \ ${bindir}/gccbug \ "
>>>
>>> -FILES_${PN}-plugins = "\ -
>>> ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \ -"
>>> -ALLOW_EMPTY_${PN}-plugins = "1" - FILES_g77 = "\
>>> ${bindir}/${TARGET_PREFIX}g77 \
>>> ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \
>>
>>
>>
>> _______________________________________________ Openembedded-core
>> mailing list Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk+f5HcACgkQuwUzVZGdMxTCWgCZAb0BcPwGMsign36/AGoPBQpk
> ABoAn3lqySL2xGTUFvwQoAbXUz3eNQzr
> =NpaZ
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
index 784a3be..8adeb8d 100644
--- a/meta/recipes-devtools/gcc/gcc-4.7.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
@@ -1,6 +1,6 @@ 
 require gcc-common.inc
 
-PR = "r0"
+PR = "r1"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.7.0
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index d58e001..392dfc4 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -1,5 +1,5 @@ 
 PACKAGES = "\
-  ${PN} ${PN}-plugins ${PN}-symlinks \
+  ${PN} ${PN}-symlinks \
   g++ g++-symlinks \
   cpp cpp-symlinks \
   g77 g77-symlinks \
@@ -36,20 +36,17 @@  FILES_${PN}-dev = "\
 "
 FILES_${PN}-plugin-dev = "\
   ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \
-  ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gengtype \
   ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gtype.state \
+  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/gengtype \
 "
+ALLOW_EMPTY_${PN}-plugin-dev = "1"
+
 FILES_${PN}-symlinks = "\
   ${bindir}/cc \
   ${bindir}/gcc \
   ${bindir}/gccbug \
 "
 
-FILES_${PN}-plugins = "\
-  ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \
-"
-ALLOW_EMPTY_${PN}-plugins = "1"
-
 FILES_g77 = "\
   ${bindir}/${TARGET_PREFIX}g77 \
   ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \