* [PATCH] libbsd: libbsd-overlay.pc: Set Cflags to use -I instead of -isystem
@ 2017-01-30 16:27 Fabio Berton
2017-01-30 17:41 ` Otavio Salvador
0 siblings, 1 reply; 5+ messages in thread
From: Fabio Berton @ 2017-01-30 16:27 UTC (permalink / raw)
To: openembedded-core
pkg-config currently only handles -I and -L correctly, but misses
-isystem, so we need to do this workaround to fix this issue.
There's a open bug in:
https://bugzilla.freedesktop.org/show_bug.cgi?id=99516
This appears when building lldpd and shows error:
ERROR: lldpd-0.9.6-r0 do_configure: This autoconf log indicates
errors, it looked at host include and/or library paths while
determining system capabilities.
Rerun configure task after fixing this.
ERROR: lldpd-0.9.6-r0 do_configure: Function failed: do_qa_configure
Change-Id: I83255b5952e19bb2f516b1186276cd03eb67eed3
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
---
...overlay.pc.in-Set-Cflags-to-use-I-instead.patch | 33 ++++++++++++++++++++++
meta/recipes-support/libbsd/libbsd_0.8.3.bb | 1 +
2 files changed, 34 insertions(+)
create mode 100644 meta/recipes-support/libbsd/libbsd/0001-src-libbsd-overlay.pc.in-Set-Cflags-to-use-I-instead.patch
diff --git a/meta/recipes-support/libbsd/libbsd/0001-src-libbsd-overlay.pc.in-Set-Cflags-to-use-I-instead.patch b/meta/recipes-support/libbsd/libbsd/0001-src-libbsd-overlay.pc.in-Set-Cflags-to-use-I-instead.patch
new file mode 100644
index 0000000000..7e3a5b3be4
--- /dev/null
+++ b/meta/recipes-support/libbsd/libbsd/0001-src-libbsd-overlay.pc.in-Set-Cflags-to-use-I-instead.patch
@@ -0,0 +1,33 @@
+From b6972f1c29ebf073cbe19a4a669ee093259792a0 Mon Sep 17 00:00:00 2001
+From: Fabio Berton <fabio.berton@ossystems.com.br>
+Date: Mon, 30 Jan 2017 12:00:33 -0200
+Subject: [PATCH] src/libbsd-overlay.pc.in: Set Cflags to use -I instead of
+ -isystem
+Organization: O.S. Systems Software LTDA.
+
+pkg-config currently only handles -I and -L correctly, but misses
+-isystem, so we need to do this workaround to fix this issue.
+
+There's a open bug in:
+https://bugzilla.freedesktop.org/show_bug.cgi?id=99516
+
+Upstream-Status: Pending
+
+Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
+---
+ src/libbsd-overlay.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/libbsd-overlay.pc.in b/src/libbsd-overlay.pc.in
+index ac8bf89..65dc3ae 100644
+--- a/src/libbsd-overlay.pc.in
++++ b/src/libbsd-overlay.pc.in
+@@ -8,4 +8,4 @@ Description: Utility functions from BSD systems (overlay)
+ Version: @VERSION@
+ URL: https://libbsd.freedesktop.org/
+ Libs: -L${libdir} -lbsd
+-Cflags: -isystem ${includedir}/bsd -DLIBBSD_OVERLAY
++Cflags: -I${includedir}/bsd -DLIBBSD_OVERLAY
+--
+2.11.0
+
diff --git a/meta/recipes-support/libbsd/libbsd_0.8.3.bb b/meta/recipes-support/libbsd/libbsd_0.8.3.bb
index fadd7886a2..e85ee2153d 100644
--- a/meta/recipes-support/libbsd/libbsd_0.8.3.bb
+++ b/meta/recipes-support/libbsd/libbsd_0.8.3.bb
@@ -35,6 +35,7 @@ SECTION = "libs"
SRC_URI = " \
http://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
+ file://0001-src-libbsd-overlay.pc.in-Set-Cflags-to-use-I-instead.patch \
"
SRC_URI_append_libc-musl = " \
file://0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch \
--
2.11.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] libbsd: libbsd-overlay.pc: Set Cflags to use -I instead of -isystem
2017-01-30 16:27 [PATCH] libbsd: libbsd-overlay.pc: Set Cflags to use -I instead of -isystem Fabio Berton
@ 2017-01-30 17:41 ` Otavio Salvador
2017-02-22 18:51 ` Fabio Berton
0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2017-01-30 17:41 UTC (permalink / raw)
To: Fabio Berton; +Cc: Patches and discussions about the oe-core layer
On Mon, Jan 30, 2017 at 2:27 PM, Fabio Berton
<fabio.berton@ossystems.com.br> wrote:
> pkg-config currently only handles -I and -L correctly, but misses
> -isystem, so we need to do this workaround to fix this issue.
>
> There's a open bug in:
> https://bugzilla.freedesktop.org/show_bug.cgi?id=99516
>
> This appears when building lldpd and shows error:
>
> ERROR: lldpd-0.9.6-r0 do_configure: This autoconf log indicates
> errors, it looked at host include and/or library paths while
> determining system capabilities.
> Rerun configure task after fixing this.
> ERROR: lldpd-0.9.6-r0 do_configure: Function failed: do_qa_configure
>
> Change-Id: I83255b5952e19bb2f516b1186276cd03eb67eed3
> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Also, this should be backported to morty as well.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] libbsd: libbsd-overlay.pc: Set Cflags to use -I instead of -isystem
2017-01-30 17:41 ` Otavio Salvador
@ 2017-02-22 18:51 ` Fabio Berton
2017-02-22 23:45 ` Otavio Salvador
0 siblings, 1 reply; 5+ messages in thread
From: Fabio Berton @ 2017-02-22 18:51 UTC (permalink / raw)
To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer
Hi!
We need to backport this commit to morty.
On 01/30/2017 03:41 PM, Otavio Salvador wrote:
> On Mon, Jan 30, 2017 at 2:27 PM, Fabio Berton
> <fabio.berton@ossystems.com.br> wrote:
>> pkg-config currently only handles -I and -L correctly, but misses
>> -isystem, so we need to do this workaround to fix this issue.
>>
>> There's a open bug in:
>> https://bugzilla.freedesktop.org/show_bug.cgi?id=99516
>>
>> This appears when building lldpd and shows error:
>>
>> ERROR: lldpd-0.9.6-r0 do_configure: This autoconf log indicates
>> errors, it looked at host include and/or library paths while
>> determining system capabilities.
>> Rerun configure task after fixing this.
>> ERROR: lldpd-0.9.6-r0 do_configure: Function failed: do_qa_configure
>>
>> Change-Id: I83255b5952e19bb2f516b1186276cd03eb67eed3
>> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
>
> Also, this should be backported to morty as well.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] libbsd: libbsd-overlay.pc: Set Cflags to use -I instead of -isystem
2017-02-22 18:51 ` Fabio Berton
@ 2017-02-22 23:45 ` Otavio Salvador
2017-02-23 4:13 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2017-02-22 23:45 UTC (permalink / raw)
To: Fabio Berton; +Cc: Patches and discussions about the oe-core layer
On Wed, Feb 22, 2017 at 3:51 PM, Fabio Berton
<fabio.berton@ossystems.com.br> wrote:
> Hi!
>
> We need to backport this commit to morty.
Indeed; adding Richard on Cc.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] libbsd: libbsd-overlay.pc: Set Cflags to use -I instead of -isystem
2017-02-22 23:45 ` Otavio Salvador
@ 2017-02-23 4:13 ` Richard Purdie
0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2017-02-23 4:13 UTC (permalink / raw)
To: Otavio Salvador, Fabio Berton, Armin Kuster
Cc: Patches and discussions about the oe-core layer
On Wed, 2017-02-22 at 20:45 -0300, Otavio Salvador wrote:
> On Wed, Feb 22, 2017 at 3:51 PM, Fabio Berton
> <fabio.berton@ossystems.com.br> wrote:
> >
> > Hi!
> >
> > We need to backport this commit to morty.
> Indeed; adding Richard on Cc.
Armin is the person you need...
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-02-23 4:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-30 16:27 [PATCH] libbsd: libbsd-overlay.pc: Set Cflags to use -I instead of -isystem Fabio Berton
2017-01-30 17:41 ` Otavio Salvador
2017-02-22 18:51 ` Fabio Berton
2017-02-22 23:45 ` Otavio Salvador
2017-02-23 4:13 ` Richard Purdie
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.