* [meta-oe] [PATCH 0/1] Make it possible to use breakpad in an SDK
@ 2014-09-29 13:10 Anders Darander
2014-09-29 13:10 ` [meta-oe] [PATCH 1/1] breakpad: install static library Anders Darander
0 siblings, 1 reply; 5+ messages in thread
From: Anders Darander @ 2014-09-29 13:10 UTC (permalink / raw)
To: openembedded-devel; +Cc: Anders Darander
When building an SDK (using <image> -c populate_sdk), for an image
where an application depends on breakpad, we need to add the static
library, libbreakpad_client.a, to the SDK. Thus, we need to make sure
that it gets installed and packaged to breakpad-staticdev.
The following changes since commit 0d01e1b72333f49c29d1a27ad844c4cd9f90341c:
smartmontools: add systemd service file (2014-09-26 05:42:54 +0200)
are available in the git repository at:
git://github.com/darander/meta-openembedded c3982a9e7a7182cfb3f0147477202f0c7b15858a
https://github.com/darander/meta-openembedded/tree/breakpad-sdk
Anders Darander (1):
breakpad: install static library
meta-oe/recipes-devtools/breakpad/breakpad_svn.bb | 3 +++
1 file changed, 3 insertions(+)
--
2.1.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [meta-oe] [PATCH 1/1] breakpad: install static library
2014-09-29 13:10 [meta-oe] [PATCH 0/1] Make it possible to use breakpad in an SDK Anders Darander
@ 2014-09-29 13:10 ` Anders Darander
2014-10-01 15:19 ` Martin Jansa
0 siblings, 1 reply; 5+ messages in thread
From: Anders Darander @ 2014-09-29 13:10 UTC (permalink / raw)
To: openembedded-devel; +Cc: Anders Darander
In order to build against breakpad when using an SDK, we need to also package
libbreakpad_client.a.
The SDK will then need to add breakpad-staticdev to TOOLCHAIN_TARGET_TASK.
Signed-off-by: Anders Darander <anders@chargestorm.se>
---
meta-oe/recipes-devtools/breakpad/breakpad_svn.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
index 2c5941d..571e1d3 100644
--- a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
+++ b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
@@ -56,6 +56,9 @@ do_install_append() {
install -d ${D}${includedir}/breakpad/third_party/lss
install -m 0644 ${S}/src/third_party/lss/linux_syscall_support.h ${D}${includedir}/breakpad/third_party/lss/linux_syscall_support.h
+
+ install -d ${D}${libdir}
+ install -m 0644 ${S}/src/client/linux/libbreakpad_client.a ${D}${libdir}/libbreakpad_client.a
}
PACKAGES =+ "${PN}-minidump-upload ${PN}-sym-upload"
--
2.1.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-oe] [PATCH 1/1] breakpad: install static library
2014-09-29 13:10 ` [meta-oe] [PATCH 1/1] breakpad: install static library Anders Darander
@ 2014-10-01 15:19 ` Martin Jansa
2014-10-02 9:47 ` Anders Darander
0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2014-10-01 15:19 UTC (permalink / raw)
To: openembedded-devel; +Cc: Anders Darander
[-- Attachment #1: Type: text/plain, Size: 2477 bytes --]
On Mon, Sep 29, 2014 at 03:10:30PM +0200, Anders Darander wrote:
> In order to build against breakpad when using an SDK, we need to also package
> libbreakpad_client.a.
>
> The SDK will then need to add breakpad-staticdev to TOOLCHAIN_TARGET_TASK.
Fails in world builds:
| ( cd '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/breakpad/svn-r0/image/usr/lib' && arm-oe-linux-gnueabi-ranlib libbreakpad.a )
| ( cd '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/breakpad/svn-r0/image/usr/lib' && arm-oe-linux-gnueabi-ranlib libbreakpad_client.a )
| make[1]: Leaving directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/breakpad/svn-r0/build'
| install: cannot stat `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/breakpad/svn-r0/trunk/src/client/linux/libbreakpad_client.a': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/breakpad/svn-r0/temp/log.do_install.11600)
NOTE: recipe breakpad-svn-r0: task do_install: Failed
I guess it should be installed from ${B}
Please re-test and re-send.
>
> Signed-off-by: Anders Darander <anders@chargestorm.se>
> ---
> meta-oe/recipes-devtools/breakpad/breakpad_svn.bb | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
> index 2c5941d..571e1d3 100644
> --- a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
> +++ b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
> @@ -56,6 +56,9 @@ do_install_append() {
>
> install -d ${D}${includedir}/breakpad/third_party/lss
> install -m 0644 ${S}/src/third_party/lss/linux_syscall_support.h ${D}${includedir}/breakpad/third_party/lss/linux_syscall_support.h
> +
> + install -d ${D}${libdir}
> + install -m 0644 ${S}/src/client/linux/libbreakpad_client.a ${D}${libdir}/libbreakpad_client.a
> }
>
> PACKAGES =+ "${PN}-minidump-upload ${PN}-sym-upload"
> --
> 2.1.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-oe] [PATCH 1/1] breakpad: install static library
2014-10-01 15:19 ` Martin Jansa
@ 2014-10-02 9:47 ` Anders Darander
2014-10-03 7:09 ` Anders Darander
0 siblings, 1 reply; 5+ messages in thread
From: Anders Darander @ 2014-10-02 9:47 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-devel
* Martin Jansa <martin.jansa@gmail.com> [141001 17:19]:
> On Mon, Sep 29, 2014 at 03:10:30PM +0200, Anders Darander wrote:
> > In order to build against breakpad when using an SDK, we need to also package
> > libbreakpad_client.a.
> > The SDK will then need to add breakpad-staticdev to TOOLCHAIN_TARGET_TASK.
> Fails in world builds:
> | ( cd '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/breakpad/svn-r0/image/usr/lib' && arm-oe-linux-gnueabi-ranlib libbreakpad.a )
> | ( cd '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/breakpad/svn-r0/image/usr/lib' && arm-oe-linux-gnueabi-ranlib libbreakpad_client.a )
> | make[1]: Leaving directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/breakpad/svn-r0/build'
> | install: cannot stat `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/breakpad/svn-r0/trunk/src/client/linux/libbreakpad_client.a': No such file or directory
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_install (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/breakpad/svn-r0/temp/log.do_install.11600)
> NOTE: recipe breakpad-svn-r0: task do_install: Failed
> I guess it should be installed from ${B}
Thanks, I'll re-test and send a v2 once I've made a clean build.
I guess I mixed up all my own branches, as most of the work has been
done on a daisy-based branch. :(
Cheers,
Anders
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-oe] [PATCH 1/1] breakpad: install static library
2014-10-02 9:47 ` Anders Darander
@ 2014-10-03 7:09 ` Anders Darander
0 siblings, 0 replies; 5+ messages in thread
From: Anders Darander @ 2014-10-03 7:09 UTC (permalink / raw)
To: Martin Jansa, openembedded-devel
Hi,
* Anders Darander <anders@chargestorm.se> [141002 11:49]:
> Thanks, I'll re-test and send a v2 once I've made a clean build.
I've marked this patched as "Not applicable" in pathchwork. This time I
should've done my homework a lot better. The patch originates from a
customers project, however, they were running an older meta-oe release.
With the current recipe in meta-oe, this patch is not needed.
> I guess I mixed up all my own branches, as most of the work has been
> done on a daisy-based branch. :(
Cheers,
Anders
--
Anders Darander
ChargeStorm AB / eStorm AB
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-10-03 7:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-29 13:10 [meta-oe] [PATCH 0/1] Make it possible to use breakpad in an SDK Anders Darander
2014-09-29 13:10 ` [meta-oe] [PATCH 1/1] breakpad: install static library Anders Darander
2014-10-01 15:19 ` Martin Jansa
2014-10-02 9:47 ` Anders Darander
2014-10-03 7:09 ` Anders Darander
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.