* [PATCH 12/18] pkgconfig: Move patches in prep for 0.28 update
2013-04-24 21:36 [PATCH 00/18] Package Updates Saul Wold
@ 2013-04-24 21:37 ` Saul Wold
0 siblings, 0 replies; 5+ messages in thread
From: Saul Wold @ 2013-04-24 21:37 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/recipes-devtools/pkgconfig/pkgconfig.inc | 8 +-------
meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb | 7 +++++++
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig.inc b/meta/recipes-devtools/pkgconfig/pkgconfig.inc
index 87d7165..52b9ad1 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig.inc
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig.inc
@@ -12,13 +12,7 @@ DEPENDS = "glib-2.0 popt"
DEPENDS_class-native = ""
DEPENDS_class-nativesdk = ""
-SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
- file://autofoo.patch \
- file://glibconfig-sysdefs.h \
- file://pkg-config-native.in \
- file://disable-legacy.patch \
- file://obsolete_automake_macros.patch \
- "
+SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz"
S = "${WORKDIR}/pkg-config-${PV}/"
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
index a269973..a55d017 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
@@ -2,5 +2,12 @@ require pkgconfig.inc
PR = "r7"
+SRC_URI += "file://autofoo.patch \
+ file://glibconfig-sysdefs.h \
+ file://pkg-config-native.in \
+ file://disable-legacy.patch \
+ file://obsolete_automake_macros.patch \
+ "
+
SRC_URI[md5sum] = "a3270bab3f4b69b7dc6dbdacbcae9745"
SRC_URI[sha256sum] = "3ba691ee2431f32ccb8efa131e59bf23e37f122dc66791309023ca6dcefcd10e"
--
1.8.0.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 12/18] pkgconfig: Move patches in prep for 0.28 update
@ 2013-05-06 20:59 Randy MacLeod
2013-05-06 21:58 ` Saul Wold
0 siblings, 1 reply; 5+ messages in thread
From: Randy MacLeod @ 2013-05-06 20:59 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2958 bytes --]
On 13-04-24 05:37 PM, Saul Wold wrote:> Signed-off-by: Saul Wold <
sgw@linux.intel.com>
> ---
> meta/recipes-devtools/pkgconfig/pkgconfig.inc | 8 +-------
> meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb | 7 +++++++
> 2 files changed, 8 insertions(+), 7 deletions(-)
Saul,
Any news on pkgconfig-0.28 ? I'm trying to compile c-i-m
using clang for the -native tools and glib-1.2.10 shipped with
pkgconfig-0.25 is causing the build error below.
pkgconfig-0.28 and later includes version of glib-2.32.4
If you are about to push this uprev, I'll wait a while and try
again. Do you want help?
BTW, I just set
/usr/bin/gcc -> clang manually and used update-alternatives
to set:
/usr/bin/c++ -> /etc/alternative/c++ ~=>
Ubuntu clang version 3.2-1~exp9ubuntu1
(tags/RELEASE_32/final) (based on LLVM 3.2)
my host is Ubuntu-13.04. I guess I should figure out
Is there a better way to make oe-core use clang for native tools?
I did glance at:
http://www.openembedded.org/wiki/Adding_a_secondary_toolchain
// Randy
testglib.o:testglib.c:(.text+0x0): first defined here
| ./.libs/libglib.a(gutils.o): In function `g_bit_nth_msf':
| gutils.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
| testglib.o:testglib.c:(.text+0x30): first defined here
| ./.libs/libglib.a(gutils.o): In function `g_bit_storage':
| gutils.c:(.text+0x60): multiple definition of `g_bit_storage'
| testglib.o:testglib.c:(.text+0x60): first defined here
| clang: error: linker command failed with exit code 1 (use -v to see
invocation)
| make[4]: *** [testglib] Error 1
| make[4]: Leaving directory
`/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25/glib-1.2.10'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory
`/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25/glib-1.2.10'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory
`/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25/glib-1.2.10'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see
/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/temp/log.do_compile.32446
for further information)
ERROR: Task 27
(virtual:native:/home/rmacleod/src/distro/yocto/oe-core.git/meta/recipes-devtools/pkgconfig/
pkgconfig_0.25.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 47 tasks of which 46 didn't need to be rerun
and 1 failed.
No currently running tasks (47 of 63)
--
../Randy/..
[-- Attachment #2: Type: text/html, Size: 3869 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 12/18] pkgconfig: Move patches in prep for 0.28 update
2013-05-06 20:59 [PATCH 12/18] pkgconfig: Move patches in prep for 0.28 update Randy MacLeod
@ 2013-05-06 21:58 ` Saul Wold
2013-05-07 3:53 ` Randy MacLeod
0 siblings, 1 reply; 5+ messages in thread
From: Saul Wold @ 2013-05-06 21:58 UTC (permalink / raw)
To: Randy MacLeod; +Cc: openembedded-core
On 05/06/2013 01:59 PM, Randy MacLeod wrote:
> On 13-04-24 05:37 PM, Saul Wold wrote:> Signed-off-by: Saul Wold
> <sgw@linux.intel.com <mailto:sgw@linux.intel.com>>
> > ---
> > meta/recipes-devtools/pkgconfig/pkgconfig.inc | 8 +-------
> > meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
> <http://pkgconfig_0.25.bb> | 7 +++++++
> > 2 files changed, 8 insertions(+), 7 deletions(-)
>
> Saul,
>
> Any news on pkgconfig-0.28 ? I'm trying to compile c-i-m
> using clang for the -native tools and glib-1.2.10 shipped with
> pkgconfig-0.25 is causing the build error below.
> pkgconfig-0.28 and later includes version of glib-2.32.4
>
Got caught up in 1.4 finalization and planning for 1.5, I was going to
look at it again this week.
> If you are about to push this uprev, I'll wait a while and try
> again. Do you want help?
>
I would appreciate help with the update if you can provide a tested
pkgconfig update, I was thinking about providing the update for testing
before enabling it similar to what we do with gcc, that's why I split
the recipe.
I have an untested version (it builds) in my poky-contrib/sgw/wip branch
with you want to finish/test it more.
Thanks for your help.
Sau!
>
> BTW, I just set
> /usr/bin/gcc -> clang manually and used update-alternatives
> to set:
> /usr/bin/c++ -> /etc/alternative/c++ ~=>
> Ubuntu clang version 3.2-1~exp9ubuntu1
> (tags/RELEASE_32/final) (based on LLVM 3.2)
>
> my host is Ubuntu-13.04. I guess I should figure out
>
> Is there a better way to make oe-core use clang for native tools?
> I did glance at:
> http://www.openembedded.org/wiki/Adding_a_secondary_toolchain
>
> // Randy
>
>
>
> testglib.o:testglib.c:(.text+0x0): first defined here
> | ./.libs/libglib.a(gutils.o): In function `g_bit_nth_msf':
> | gutils.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
> | testglib.o:testglib.c:(.text+0x30): first defined here
> | ./.libs/libglib.a(gutils.o): In function `g_bit_storage':
> | gutils.c:(.text+0x60): multiple definition of `g_bit_storage'
> | testglib.o:testglib.c:(.text+0x60): first defined here
> | clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> | make[4]: *** [testglib] Error 1
> | make[4]: Leaving directory
> `/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25/glib-1.2.10'
> | make[3]: *** [all-recursive] Error 1
> | make[3]: Leaving directory
> `/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25/glib-1.2.10'
> | make[2]: *** [all] Error 2
> | make[2]: Leaving directory
> `/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25/glib-1.2.10'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory
> `/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (see
> /home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/temp/log.do_compile.32446
> for further information)
> ERROR: Task 27
> (virtual:native:/home/rmacleod/src/distro/yocto/oe-core.git/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
> <http://pkgconfig_0.25.bb>, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 47 tasks of which 46 didn't need to be
> rerun and 1 failed.
> No currently running tasks (47 of 63)
>
>
> --
> ../Randy/..
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 12/18] pkgconfig: Move patches in prep for 0.28 update
2013-05-06 21:58 ` Saul Wold
@ 2013-05-07 3:53 ` Randy MacLeod
2013-05-07 6:38 ` Saul Wold
0 siblings, 1 reply; 5+ messages in thread
From: Randy MacLeod @ 2013-05-07 3:53 UTC (permalink / raw)
To: Saul Wold; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 3220 bytes --]
On Mon, May 6, 2013 at 5:58 PM, Saul Wold <sgw@linux.intel.com> wrote:
> On 05/06/2013 01:59 PM, Randy MacLeod wrote:
>
>> On 13-04-24 05:37 PM, Saul Wold wrote:> Signed-off-by: Saul Wold
>> <sgw@linux.intel.com <mailto:sgw@linux.intel.com>>
>>
>> > ---
>> > meta/recipes-devtools/**pkgconfig/pkgconfig.inc | 8 +-------
>> > meta/recipes-devtools/**pkgconfig/pkgconfig_0.25.bb
>> <http://pkgconfig_0.25.bb> | 7 +++++++
>>
>> > 2 files changed, 8 insertions(+), 7 deletions(-)
>>
>> Saul,
>>
>> Any news on pkgconfig-0.28 ? I'm trying to compile c-i-m
>> using clang for the -native tools and glib-1.2.10 shipped with
>> pkgconfig-0.25 is causing the build error below.
>> pkgconfig-0.28 and later includes version of glib-2.32.4
>>
>> Got caught up in 1.4 finalization and planning for 1.5, I was going to
> look at it again this week.
>
>
> If you are about to push this uprev, I'll wait a while and try
>> again. Do you want help?
>>
>> I would appreciate help with the update if you can provide a tested
> pkgconfig update, I was thinking about providing the update for testing
> before enabling it similar to what we do with gcc, that's why I split the
> recipe.
>
> I have an untested version (it builds) in my poky-contrib/sgw/wip branch
> with you want to finish/test it more.
>
I only see 0.25:
$ cd .../poky/poky-contrib.git
$ git pull
Already up-to-date.
$ git status
# On branch sgw/wip
nothing to commit, working directory clean
$ find meta -name "pkgcon*bb"
meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
Did I miss something?
I think you want me to provide a commit for 0.28 as an additional recipe
with the
preferred provider being 0.25 until 0.28 is tested and stable. Is that
right?
Thanks for your help.
>
Let's not get ahead of ourselves. :)
I'm also in the middle of planning so we'll see how much time I have to
work on this. :) I've made some progress on groking the existing patches
and determining which ones should be kept, adjusted and tossed. More
tomorrow night - I hope.
Current status:
- removed all the pkgconfig-0.28/*patches - I'm not sure I can really get
away with that.
- configure is failing as shown below.
// Randy
$ bitbake -c configure pkgconfig-native
....
| system_include_path='/usr/include'
| system_library_path='/usr/lib:/lib'
| target_alias='x86_64-linux'
| use_indirect_deps='no'
|
| configure: exit 1
| ERROR: oe_runconf failed
| ERROR: Function failed: do_configure (see
/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.28-r0/temp/log.do_configure.15370
for further information)
ERROR: Task 26
(virtual:native:/home/rmacleod/src/distro/yocto/oe-core.git/meta/recipes-devtools/pkgconfig/
pkgconfig_0.28.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 46 tasks of which 42 didn't need to be rerun
and 1 failed.
No currently running tasks (46 of 63)
Summary: 1 task failed:
virtual:native:/home/rmacleod/src/distro/yocto/oe-core.git/meta/recipes-devtools/pkgconfig/
pkgconfig_0.28.bb, do_configure
--
../Randy/..
[-- Attachment #2: Type: text/html, Size: 5386 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 12/18] pkgconfig: Move patches in prep for 0.28 update
2013-05-07 3:53 ` Randy MacLeod
@ 2013-05-07 6:38 ` Saul Wold
0 siblings, 0 replies; 5+ messages in thread
From: Saul Wold @ 2013-05-07 6:38 UTC (permalink / raw)
To: Randy MacLeod; +Cc: openembedded-core
Top Post:
My bad, I pushed the wrong local branch to sgw/wip, it's updated now.
Sorry.
Sau!
On 05/06/2013 08:53 PM, Randy MacLeod wrote:
>
>
>
> On Mon, May 6, 2013 at 5:58 PM, Saul Wold <sgw@linux.intel.com
> <mailto:sgw@linux.intel.com>> wrote:
>
> On 05/06/2013 01:59 PM, Randy MacLeod wrote:
>
> On 13-04-24 05:37 PM, Saul Wold wrote:> Signed-off-by: Saul Wold
> <sgw@linux.intel.com <mailto:sgw@linux.intel.com>
> <mailto:sgw@linux.intel.com <mailto:sgw@linux.intel.com>>>
>
> > ---
> > meta/recipes-devtools/__pkgconfig/pkgconfig.inc | 8
> +-------
> > meta/recipes-devtools/__pkgconfig/pkgconfig_0.25.bb
> <http://pkgconfig_0.25.bb>
> <http://pkgconfig_0.25.bb> | 7 +++++++
>
> > 2 files changed, 8 insertions(+), 7 deletions(-)
>
> Saul,
>
> Any news on pkgconfig-0.28 ? I'm trying to compile c-i-m
> using clang for the -native tools and glib-1.2.10 shipped with
> pkgconfig-0.25 is causing the build error below.
> pkgconfig-0.28 and later includes version of glib-2.32.4
>
> Got caught up in 1.4 finalization and planning for 1.5, I was going
> to look at it again this week.
>
>
> If you are about to push this uprev, I'll wait a while and try
> again. Do you want help?
>
> I would appreciate help with the update if you can provide a tested
> pkgconfig update, I was thinking about providing the update for
> testing before enabling it similar to what we do with gcc, that's
> why I split the recipe.
>
> I have an untested version (it builds) in my poky-contrib/sgw/wip
> branch with you want to finish/test it more.
>
>
> I only see 0.25:
>
> $ cd .../poky/poky-contrib.git
> $ git pull
> Already up-to-date.
> $ git status
> # On branch sgw/wip
> nothing to commit, working directory clean
> $ find meta -name "pkgcon*bb"
> meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb <http://pkgconfig_0.25.bb>
> meta/recipes-devtools/pkgconfig/pkgconfig_git.bb <http://pkgconfig_git.bb>
>
> Did I miss something?
>
> I think you want me to provide a commit for 0.28 as an additional recipe
> with the
> preferred provider being 0.25 until 0.28 is tested and stable. Is that
> right?
>
> Thanks for your help.
>
>
> Let's not get ahead of ourselves. :)
> I'm also in the middle of planning so we'll see how much time I have to
> work on this. :) I've made some progress on groking the existing patches
> and determining which ones should be kept, adjusted and tossed. More
> tomorrow night - I hope.
>
>
> Current status:
> - removed all the pkgconfig-0.28/*patches - I'm not sure I can really
> get away with that.
> - configure is failing as shown below.
>
>
> // Randy
>
> $ bitbake -c configure pkgconfig-native
> ....
> | system_include_path='/usr/include'
> | system_library_path='/usr/lib:/lib'
> | target_alias='x86_64-linux'
> | use_indirect_deps='no'
> |
> | configure: exit 1
> | ERROR: oe_runconf failed
> | ERROR: Function failed: do_configure (see
> /home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.28-r0/temp/log.do_configure.15370
> for further information)
> ERROR: Task 26
> (virtual:native:/home/rmacleod/src/distro/yocto/oe-core.git/meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb
> <http://pkgconfig_0.28.bb>, do_configure) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 46 tasks of which 42 didn't need to be
> rerun and 1 failed.
> No currently running tasks (46 of 63)
>
> Summary: 1 task failed:
>
> virtual:native:/home/rmacleod/src/distro/yocto/oe-core.git/meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb
> <http://pkgconfig_0.28.bb>, do_configure
>
>
> --
> ../Randy/..
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-05-07 6:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-06 20:59 [PATCH 12/18] pkgconfig: Move patches in prep for 0.28 update Randy MacLeod
2013-05-06 21:58 ` Saul Wold
2013-05-07 3:53 ` Randy MacLeod
2013-05-07 6:38 ` Saul Wold
-- strict thread matches above, loose matches on Subject: below --
2013-04-24 21:36 [PATCH 00/18] Package Updates Saul Wold
2013-04-24 21:37 ` [PATCH 12/18] pkgconfig: Move patches in prep for 0.28 update Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox