* [PATCH] libtasn1: depends on yacc
@ 2017-01-31 9:05 Patrick Ohly
2017-02-01 16:56 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Ohly @ 2017-01-31 9:05 UTC (permalink / raw)
To: openembedded-core
This fixes a potential pollution by the build host and build error
when yacc isn't installed on the build host:
| ../../libtasn1-4.9/build-aux/ylwrap: line 175: yacc: command not found
| Makefile:1116: recipe for target 'ASN1.c' failed
| make[3]: *** [ASN1.c] Error 127
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
---
meta/recipes-support/gnutls/libtasn1_4.9.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-support/gnutls/libtasn1_4.9.bb b/meta/recipes-support/gnutls/libtasn1_4.9.bb
index b8ff9eaf7a9..3da5d4bcc56 100644
--- a/meta/recipes-support/gnutls/libtasn1_4.9.bb
+++ b/meta/recipes-support/gnutls/libtasn1_4.9.bb
@@ -16,6 +16,8 @@ SRC_URI = "${GNU_MIRROR}/libtasn1/libtasn1-${PV}.tar.gz \
file://0004-tools-eliminated-compiler-warnings.patch \
"
+DEPENDS = "bison-native"
+
SRC_URI[md5sum] = "3018d0f466a32b66dde41bb122e6cab6"
SRC_URI[sha256sum] = "4f6f7a8fd691ac2b8307c8ca365bad711db607d4ad5966f6938a9d2ecd65c920"
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] libtasn1: depends on yacc
2017-01-31 9:05 [PATCH] libtasn1: depends on yacc Patrick Ohly
@ 2017-02-01 16:56 ` Khem Raj
2017-02-02 11:20 ` Patrick Ohly
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2017-02-01 16:56 UTC (permalink / raw)
To: openembedded-core
On 1/31/17 1:05 AM, Patrick Ohly wrote:
> This fixes a potential pollution by the build host and build error
> when yacc isn't installed on the build host:
>
> | ../../libtasn1-4.9/build-aux/ylwrap: line 175: yacc: command not found
> | Makefile:1116: recipe for target 'ASN1.c' failed
> | make[3]: *** [ASN1.c] Error 127
>
> Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
> ---
> meta/recipes-support/gnutls/libtasn1_4.9.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-support/gnutls/libtasn1_4.9.bb b/meta/recipes-support/gnutls/libtasn1_4.9.bb
> index b8ff9eaf7a9..3da5d4bcc56 100644
> --- a/meta/recipes-support/gnutls/libtasn1_4.9.bb
> +++ b/meta/recipes-support/gnutls/libtasn1_4.9.bb
> @@ -16,6 +16,8 @@ SRC_URI = "${GNU_MIRROR}/libtasn1/libtasn1-${PV}.tar.gz \
> file://0004-tools-eliminated-compiler-warnings.patch \
> "
>
> +DEPENDS = "bison-native"
> +
nit on style, you generally put checksum assignments immediately after
SRC_URI containing the origninal src location. Secondly, if we use +=
then we dont run the risk of it overwriting prior assignments if any
> SRC_URI[md5sum] = "3018d0f466a32b66dde41bb122e6cab6"
> SRC_URI[sha256sum] = "4f6f7a8fd691ac2b8307c8ca365bad711db607d4ad5966f6938a9d2ecd65c920"
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] libtasn1: depends on yacc
2017-02-01 16:56 ` Khem Raj
@ 2017-02-02 11:20 ` Patrick Ohly
0 siblings, 0 replies; 3+ messages in thread
From: Patrick Ohly @ 2017-02-02 11:20 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
On Wed, 2017-02-01 at 08:56 -0800, Khem Raj wrote:
>
> On 1/31/17 1:05 AM, Patrick Ohly wrote:
> > This fixes a potential pollution by the build host and build error
> > when yacc isn't installed on the build host:
> >
> > | ../../libtasn1-4.9/build-aux/ylwrap: line 175: yacc: command not found
> > | Makefile:1116: recipe for target 'ASN1.c' failed
> > | make[3]: *** [ASN1.c] Error 127
> >
> > Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
> > ---
> > meta/recipes-support/gnutls/libtasn1_4.9.bb | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/meta/recipes-support/gnutls/libtasn1_4.9.bb b/meta/recipes-support/gnutls/libtasn1_4.9.bb
> > index b8ff9eaf7a9..3da5d4bcc56 100644
> > --- a/meta/recipes-support/gnutls/libtasn1_4.9.bb
> > +++ b/meta/recipes-support/gnutls/libtasn1_4.9.bb
> > @@ -16,6 +16,8 @@ SRC_URI = "${GNU_MIRROR}/libtasn1/libtasn1-${PV}.tar.gz \
> > file://0004-tools-eliminated-compiler-warnings.patch \
> > "
> >
> > +DEPENDS = "bison-native"
> > +
>
> nit on style, you generally put checksum assignments immediately after
> SRC_URI containing the origninal src location. Secondly, if we use +=
> then we dont run the risk of it overwriting prior assignments if any
Makes sense, will change that as suggested.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-02 11:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-31 9:05 [PATCH] libtasn1: depends on yacc Patrick Ohly
2017-02-01 16:56 ` Khem Raj
2017-02-02 11:20 ` Patrick Ohly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox