* [PATCH] libbsd: Upgrade to 0.8.0
@ 2015-12-01 15:30 Marek Vasut
2015-12-01 15:39 ` Burton, Ross
0 siblings, 1 reply; 7+ messages in thread
From: Marek Vasut @ 2015-12-01 15:30 UTC (permalink / raw)
To: openembedded-core; +Cc: Marek Vasut
Upgrade the library version to recently released 0.8.0 .
The COPYING file changed again, but the changes are just new names
added to the Copyright (C) YYYY John Doe <...> section, no changes
to the license itself.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Saul Wold <sgw@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/recipes-support/libbsd/libbsd_0.7.0.bb | 21 ---------------------
meta/recipes-support/libbsd/libbsd_0.8.0.bb | 21 +++++++++++++++++++++
2 files changed, 21 insertions(+), 21 deletions(-)
delete mode 100644 meta/recipes-support/libbsd/libbsd_0.7.0.bb
create mode 100644 meta/recipes-support/libbsd/libbsd_0.8.0.bb
diff --git a/meta/recipes-support/libbsd/libbsd_0.7.0.bb b/meta/recipes-support/libbsd/libbsd_0.7.0.bb
deleted file mode 100644
index 902666d..0000000
--- a/meta/recipes-support/libbsd/libbsd_0.7.0.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright (C) 2013 Khem Raj <raj.khem@gmail.com>
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-SUMMARY = "Library of utility functions from BSD systems"
-DESCRIPTION = "This library provides useful functions commonly found on BSD systems, \
- and lacking on others like GNU systems, thus making it easier to port \
- projects with strong BSD origins, without needing to embed the same \
- code over and over again on each project."
-
-HOMEPAGE = "http://libbsd.freedesktop.org/wiki/"
-LICENSE = "BSD-4-Clause & MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=f1530ea92aeaa1c5e2547cfd43905d8c"
-SECTION = "libs"
-DEPENDS = ""
-
-SRC_URI = "http://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
-
-SRC_URI[md5sum] = "fcceb4e66fd448ca4ed42ba22a8babb0"
-SRC_URI[sha256sum] = "0f3b0e17e5c34c038126e0a04351b11e23c6101a7d0ce3beeab29bb6415c10bb"
-
-inherit autotools pkgconfig
diff --git a/meta/recipes-support/libbsd/libbsd_0.8.0.bb b/meta/recipes-support/libbsd/libbsd_0.8.0.bb
new file mode 100644
index 0000000..b9f4464
--- /dev/null
+++ b/meta/recipes-support/libbsd/libbsd_0.8.0.bb
@@ -0,0 +1,21 @@
+# Copyright (C) 2013 Khem Raj <raj.khem@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Library of utility functions from BSD systems"
+DESCRIPTION = "This library provides useful functions commonly found on BSD systems, \
+ and lacking on others like GNU systems, thus making it easier to port \
+ projects with strong BSD origins, without needing to embed the same \
+ code over and over again on each project."
+
+HOMEPAGE = "http://libbsd.freedesktop.org/wiki/"
+LICENSE = "BSD-4-Clause & MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b99a70657f41053dc4b49d0ae73f7a78"
+SECTION = "libs"
+DEPENDS = ""
+
+SRC_URI = "http://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "262bdd1aa3bee6066a8c9cb49bb6c584"
+SRC_URI[sha256sum] = "fbb732084bd960e4c78b688aac875be98e290cc6fe462b2ff8ee946a6473e38c"
+
+inherit autotools pkgconfig
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH] libbsd: Upgrade to 0.8.0
2015-12-01 15:30 [PATCH] libbsd: Upgrade to 0.8.0 Marek Vasut
@ 2015-12-01 15:39 ` Burton, Ross
2015-12-01 15:42 ` Marek Vasut
0 siblings, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2015-12-01 15:39 UTC (permalink / raw)
To: Marek Vasut; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
Hi Marek,
On 1 December 2015 at 15:30, Marek Vasut <marex@denx.de> wrote:
> Upgrade the library version to recently released 0.8.0 .
>
Fails to build from a clean sysroot:
| In file included from
/data/poky-master/tmp/work/corei7-64-poky-linux/libbsd/0.8.0-r0/libbsd-0.8.0/src/getentropy.c:28:0:
|
/data/poky-master/tmp/work/corei7-64-poky-linux/libbsd/0.8.0-r0/libbsd-0.8.0/src/getentropy_linux.c:50:25:
fatal error: openssl/sha.h: No such file or directory
| compilation terminated.
Ross
[-- Attachment #2: Type: text/html, Size: 1176 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] libbsd: Upgrade to 0.8.0
2015-12-01 15:39 ` Burton, Ross
@ 2015-12-01 15:42 ` Marek Vasut
2015-12-01 15:46 ` Burton, Ross
0 siblings, 1 reply; 7+ messages in thread
From: Marek Vasut @ 2015-12-01 15:42 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On Tuesday, December 01, 2015 at 04:39:47 PM, Burton, Ross wrote:
> Hi Marek,
Hi Ross,
> On 1 December 2015 at 15:30, Marek Vasut <marex@denx.de> wrote:
> > Upgrade the library version to recently released 0.8.0 .
>
> Fails to build from a clean sysroot:
> | In file included from
>
> /data/poky-master/tmp/work/corei7-64-poky-linux/libbsd/0.8.0-r0/libbsd-0.8.
> 0/src/getentropy.c:28:0:
>
> /data/poky-master/tmp/work/corei7-64-poky-linux/libbsd/0.8.0-r0/libbsd-0.8.
> 0/src/getentropy_linux.c:50:25: fatal error: openssl/sha.h: No such file or
> directory
Looks like it depends on OpenSSL, so adding "DEPENDS = "openssl"" to the
recipe would be the solution, right ?
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] libbsd: Upgrade to 0.8.0
2015-12-01 15:42 ` Marek Vasut
@ 2015-12-01 15:46 ` Burton, Ross
2015-12-01 16:01 ` Marek Vasut
0 siblings, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2015-12-01 15:46 UTC (permalink / raw)
To: Marek Vasut; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
On 1 December 2015 at 15:42, Marek Vasut <marex@denx.de> wrote:
> Looks like it depends on OpenSSL, so adding "DEPENDS = "openssl"" to the
> recipe would be the solution, right ?
>
Assuming it's a hard dependency, yes.
Ross
[-- Attachment #2: Type: text/html, Size: 662 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] libbsd: Upgrade to 0.8.0
2015-12-01 15:46 ` Burton, Ross
@ 2015-12-01 16:01 ` Marek Vasut
2016-01-07 14:38 ` Martin Jansa
0 siblings, 1 reply; 7+ messages in thread
From: Marek Vasut @ 2015-12-01 16:01 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On Tuesday, December 01, 2015 at 04:46:57 PM, Burton, Ross wrote:
> On 1 December 2015 at 15:42, Marek Vasut <marex@denx.de> wrote:
> > Looks like it depends on OpenSSL, so adding "DEPENDS = "openssl"" to the
> > recipe would be the solution, right ?
>
> Assuming it's a hard dependency, yes.
I was wrong, I just looked into the upstream git of libbsd and there's the
solution:
http://cgit.freedesktop.org/libbsd/commit/?id=8493c7f27da2dcd2de71e9c7782c3d020d89c2a2
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] libbsd: Upgrade to 0.8.0
2015-12-01 16:01 ` Marek Vasut
@ 2016-01-07 14:38 ` Martin Jansa
2016-01-07 15:07 ` Marek Vasut
0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2016-01-07 14:38 UTC (permalink / raw)
To: Marek Vasut; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 1879 bytes --]
On Tue, Dec 01, 2015 at 05:01:12PM +0100, Marek Vasut wrote:
> On Tuesday, December 01, 2015 at 04:46:57 PM, Burton, Ross wrote:
> > On 1 December 2015 at 15:42, Marek Vasut <marex@denx.de> wrote:
> > > Looks like it depends on OpenSSL, so adding "DEPENDS = "openssl"" to the
> > > recipe would be the solution, right ?
> >
> > Assuming it's a hard dependency, yes.
>
> I was wrong, I just looked into the upstream git of libbsd and there's the
> solution:
>
> http://cgit.freedesktop.org/libbsd/commit/?id=8493c7f27da2dcd2de71e9c7782c3d020d89c2a2
This upgrade breaks lldpd and possibly other libbsd users as well:
| In file included from /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/lldpd/0.7.19-r0/lldpd-0.7.19/src/compat/compat.h:46:0,
| from /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/lldpd/0.7.19-r0/lldpd-0.7.19/src/lldpd-structs.h:41,
| from /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/lldpd/0.7.19-r0/lldpd-0.7.19/src/lldpd-structs.c:21:
| /OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/include/bsd/unistd.h: In function 'setproctitle':
| /OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/include/bsd/unistd.h:64:2: error: expected declaration specifiers before '__printflike'
| __printflike(1, 2);
| ^
| compilation terminated due to -Wfatal-errors.
| Makefile:493: recipe for target 'lldpd-structs.lo' failed
| make[2]: *** [lldpd-structs.lo] Error 1
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807730
Luckily it's fixed in 0.8.1, I'll send patch for that soon.
Regards,
>
> Best regards,
> Marek Vasut
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] libbsd: Upgrade to 0.8.0
2016-01-07 14:38 ` Martin Jansa
@ 2016-01-07 15:07 ` Marek Vasut
0 siblings, 0 replies; 7+ messages in thread
From: Marek Vasut @ 2016-01-07 15:07 UTC (permalink / raw)
To: Martin Jansa; +Cc: OE-core
On Thursday, January 07, 2016 at 03:38:31 PM, Martin Jansa wrote:
> On Tue, Dec 01, 2015 at 05:01:12PM +0100, Marek Vasut wrote:
> > On Tuesday, December 01, 2015 at 04:46:57 PM, Burton, Ross wrote:
> > > On 1 December 2015 at 15:42, Marek Vasut <marex@denx.de> wrote:
> > > > Looks like it depends on OpenSSL, so adding "DEPENDS = "openssl"" to
> > > > the recipe would be the solution, right ?
> > >
> > > Assuming it's a hard dependency, yes.
> >
> > I was wrong, I just looked into the upstream git of libbsd and there's
> > the solution:
> >
> > http://cgit.freedesktop.org/libbsd/commit/?id=8493c7f27da2dcd2de71e9c7782
> > c3d020d89c2a2
>
> This upgrade breaks lldpd and possibly other libbsd users as well:
> | In file included from
> | /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/lldpd/0.7.19-r0/lldpd-0.7
> | .19/src/compat/compat.h:46:0,
> |
> | from
> | /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/lldpd/0.
> | 7.19-r0/lldpd-0.7.19/src/lldpd-structs.h:41,
> |
> | from /OE/build/oe-core/tmp-glibc/work/i586-oe-
linux/lldpd/0.7.19-r0/lldpd-0.7.19/src/lldpd-structs.c:21:
> | /OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/include/bsd/unistd.h: In
> | function 'setproctitle':
> | /OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/include/bsd/unistd.h:64
> | :2: error: expected declaration specifiers before '__printflike'
> |
> | __printflike(1, 2);
> | ^
> |
> | compilation terminated due to -Wfatal-errors.
> | Makefile:493: recipe for target 'lldpd-structs.lo' failed
> | make[2]: *** [lldpd-structs.lo] Error 1
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807730
>
> Luckily it's fixed in 0.8.1, I'll send patch for that soon.
Thanks
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-01-07 15:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 15:30 [PATCH] libbsd: Upgrade to 0.8.0 Marek Vasut
2015-12-01 15:39 ` Burton, Ross
2015-12-01 15:42 ` Marek Vasut
2015-12-01 15:46 ` Burton, Ross
2015-12-01 16:01 ` Marek Vasut
2016-01-07 14:38 ` Martin Jansa
2016-01-07 15:07 ` Marek Vasut
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox