* [meta-oe][PATCH V4 ] daq: add recipe
@ 2013-08-30 10:21 b40290
2013-09-04 12:49 ` Martin Jansa
0 siblings, 1 reply; 5+ messages in thread
From: b40290 @ 2013-08-30 10:21 UTC (permalink / raw)
To: openembedded-devel
From: Chunrong Guo <B40290@freescale.com>
*The dump DAQ test the various inline mode features
*snort depends daq
Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
meta-oe/recipes-connectivity/daq/daq_2.0.1.bb | 16 +++++++++++
...le-run-test-program-while-cross-compiling.patch | 29 ++++++++++++++++++++
2 files changed, 45 insertions(+), 0 deletions(-)
create mode 100644 meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
create mode 100644 meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
new file mode 100644
index 0000000..4c1be44
--- /dev/null
+++ b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "The dump DAQ test the various inline mode features "
+HOMEPAGE = "http://www.snort.org"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0"
+
+PARALLEL_MAKE = ""
+
+DEPENDS = "libpcap libpcre "
+
+SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
+ file://disable-run-test-program-while-cross-compiling.patch "
+
+SRC_URI[md5sum] = "044aa3663d44580d005293eeb8ccf175"
+SRC_URI[sha256sum] = "ebba87c2ec76ac65d2980934423b0597909caead3a86ce5d1ba1ea6ce518ec6d"
+
+inherit autotools
diff --git a/meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch b/meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
new file mode 100644
index 0000000..12a6cba
--- /dev/null
+++ b/meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
@@ -0,0 +1,29 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+fix the below error:
+configure: error: cannot run test program while cross compiling
+
+Signed-off-by: Chunrong Guo <B40290@freescale.com>
+
+--- a/m4/sf.m4old 2013-08-30 04:08:18.768409680 -0500
++++ b/m4/sf.m4 2013-08-30 04:09:24.591367890 -0500
+@@ -135,19 +135,6 @@
+ exit 1
+ fi
+ AC_MSG_CHECKING([for libpcap version >= $1])
+- AC_RUN_IFELSE(
+- [AC_LANG_PROGRAM(
+- [[
+- #include <pcap.h>
+- #include <string.h>
+- extern char pcap_version[];
+- ]],
+- [[
+- if (strcmp(pcap_version, $1) < 0)
+- return 1;
+- ]])],
+- [libpcap_version_1x="yes"],
+- [libpcap_version_1x="no"])
+ if test "x$libpcap_version_1x" = "xno"; then
+ AC_MSG_RESULT(no)
+ echo
--
1.7.5.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-oe][PATCH V4 ] daq: add recipe
2013-08-30 10:21 [meta-oe][PATCH V4 ] daq: add recipe b40290
@ 2013-09-04 12:49 ` Martin Jansa
2014-03-24 15:08 ` Martin Jansa
0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2013-09-04 12:49 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2846 bytes --]
On Fri, Aug 30, 2013 at 06:21:24PM +0800, b40290@freescale.com wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
> *The dump DAQ test the various inline mode features
> *snort depends daq
>
> Signed-off-by: Chunrong Guo <B40290@freescale.com>
> ---
> meta-oe/recipes-connectivity/daq/daq_2.0.1.bb | 16 +++++++++++
> ...le-run-test-program-while-cross-compiling.patch | 29 ++++++++++++++++++++
> 2 files changed, 45 insertions(+), 0 deletions(-)
> create mode 100644 meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> create mode 100644 meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
>
> diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> new file mode 100644
> index 0000000..4c1be44
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> @@ -0,0 +1,16 @@
> +DESCRIPTION = "The dump DAQ test the various inline mode features "
> +HOMEPAGE = "http://www.snort.org"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0"
> +
> +PARALLEL_MAKE = ""
> +
> +DEPENDS = "libpcap libpcre "
> +
> +SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
> + file://disable-run-test-program-while-cross-compiling.patch "
> +
> +SRC_URI[md5sum] = "044aa3663d44580d005293eeb8ccf175"
> +SRC_URI[sha256sum] = "ebba87c2ec76ac65d2980934423b0597909caead3a86ce5d1ba1ea6ce518ec6d"
> +
> +inherit autotools
I don't have more than build log because workspace is already gone, but
qemuarm build fails:
ERROR: Function failed: do_install (log file is located at
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742)
ERROR: Logfile of failure stored in:
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi',
'common']
| DEBUG: Executing shell function do_install
| NOTE: make
DESTDIR=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/image
install
| make: *** No rule to make target `install'. Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742)
NOTE: recipe daq-2.0.1-r0: task do_install: Failed
ERROR: Task 19484
(/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb,
do_install) failed with exit code '1'
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-oe][PATCH V4 ] daq: add recipe
2013-09-04 12:49 ` Martin Jansa
@ 2014-03-24 15:08 ` Martin Jansa
2014-03-28 9:41 ` B40290
2014-05-04 22:22 ` Martin Jansa
0 siblings, 2 replies; 5+ messages in thread
From: Martin Jansa @ 2014-03-24 15:08 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3121 bytes --]
On Wed, Sep 04, 2013 at 02:49:20PM +0200, Martin Jansa wrote:
> On Fri, Aug 30, 2013 at 06:21:24PM +0800, b40290@freescale.com wrote:
> > From: Chunrong Guo <B40290@freescale.com>
> >
> > *The dump DAQ test the various inline mode features
> > *snort depends daq
> >
> > Signed-off-by: Chunrong Guo <B40290@freescale.com>
> > ---
> > meta-oe/recipes-connectivity/daq/daq_2.0.1.bb | 16 +++++++++++
> > ...le-run-test-program-while-cross-compiling.patch | 29 ++++++++++++++++++++
> > 2 files changed, 45 insertions(+), 0 deletions(-)
> > create mode 100644 meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> > create mode 100644 meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
> >
> > diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> > new file mode 100644
> > index 0000000..4c1be44
> > --- /dev/null
> > +++ b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> > @@ -0,0 +1,16 @@
> > +DESCRIPTION = "The dump DAQ test the various inline mode features "
> > +HOMEPAGE = "http://www.snort.org"
> > +LICENSE = "GPLv2"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0"
> > +
> > +PARALLEL_MAKE = ""
> > +
> > +DEPENDS = "libpcap libpcre "
> > +
> > +SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
> > + file://disable-run-test-program-while-cross-compiling.patch "
> > +
> > +SRC_URI[md5sum] = "044aa3663d44580d005293eeb8ccf175"
> > +SRC_URI[sha256sum] = "ebba87c2ec76ac65d2980934423b0597909caead3a86ce5d1ba1ea6ce518ec6d"
> > +
> > +inherit autotools
>
> I don't have more than build log because workspace is already gone, but
> qemuarm build fails:
>
> ERROR: Function failed: do_install (log file is located at
> /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742)
> ERROR: Logfile of failure stored in:
> /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742
> Log data follows:
> | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
> 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi',
> 'common']
> | DEBUG: Executing shell function do_install
> | NOTE: make
> DESTDIR=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/image
> install
> | make: *** No rule to make target `install'. Stop.
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_install (log file is located at
> /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742)
> NOTE: recipe daq-2.0.1-r0: task do_install: Failed
> ERROR: Task 19484
> (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb,
> do_install) failed with exit code '1'
Can we fix this please?
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-oe][PATCH V4 ] daq: add recipe
2014-03-24 15:08 ` Martin Jansa
@ 2014-03-28 9:41 ` B40290
2014-05-04 22:22 ` Martin Jansa
1 sibling, 0 replies; 5+ messages in thread
From: B40290 @ 2014-03-28 9:41 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
Hello,
I update daq to 2.0.2.
I can not reproduce this issue .
Thanks
chunrong
-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of Martin Jansa
Sent: Monday, March 24, 2014 11:09 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-oe][PATCH V4 ] daq: add recipe
On Wed, Sep 04, 2013 at 02:49:20PM +0200, Martin Jansa wrote:
> On Fri, Aug 30, 2013 at 06:21:24PM +0800, b40290@freescale.com wrote:
> > From: Chunrong Guo <B40290@freescale.com>
> >
> > *The dump DAQ test the various inline mode features
> > *snort depends daq
> >
> > Signed-off-by: Chunrong Guo <B40290@freescale.com>
> > ---
> > meta-oe/recipes-connectivity/daq/daq_2.0.1.bb | 16 +++++++++++
> > ...le-run-test-program-while-cross-compiling.patch | 29 ++++++++++++++++++++
> > 2 files changed, 45 insertions(+), 0 deletions(-) create mode
> > 100644 meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> > create mode 100644
> > meta-oe/recipes-connectivity/daq/files/disable-run-test-program-whil
> > e-cross-compiling.patch
> >
> > diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> > b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> > new file mode 100644
> > index 0000000..4c1be44
> > --- /dev/null
> > +++ b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> > @@ -0,0 +1,16 @@
> > +DESCRIPTION = "The dump DAQ test the various inline mode features "
> > +HOMEPAGE = "http://www.snort.org"
> > +LICENSE = "GPLv2"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0"
> > +
> > +PARALLEL_MAKE = ""
> > +
> > +DEPENDS = "libpcap libpcre "
> > +
> > +SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
> > + file://disable-run-test-program-while-cross-compiling.patch "
> > +
> > +SRC_URI[md5sum] = "044aa3663d44580d005293eeb8ccf175"
> > +SRC_URI[sha256sum] = "ebba87c2ec76ac65d2980934423b0597909caead3a86ce5d1ba1ea6ce518ec6d"
> > +
> > +inherit autotools
>
> I don't have more than build log because workspace is already gone,
> but qemuarm build fails:
>
> ERROR: Function failed: do_install (log file is located at
> /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe
> -linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742)
> ERROR: Logfile of failure stored in:
> /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe
> -linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742
> Log data follows:
> | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
> 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi',
> 'common']
> | DEBUG: Executing shell function do_install
> | NOTE: make
> DESTDIR=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/ar
> mv5te-oe-linux-gnueabi/daq/2.0.1-r0/image
> install
> | make: *** No rule to make target `install'. Stop.
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_install (log file is located at
> /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe
> -linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742)
> NOTE: recipe daq-2.0.1-r0: task do_install: Failed
> ERROR: Task 19484
> (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe
> /recipes-connectivity/daq/daq_2.0.1.bb,
> do_install) failed with exit code '1'
Can we fix this please?
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-oe][PATCH V4 ] daq: add recipe
2014-03-24 15:08 ` Martin Jansa
2014-03-28 9:41 ` B40290
@ 2014-05-04 22:22 ` Martin Jansa
1 sibling, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2014-05-04 22:22 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3492 bytes --]
On Mon, Mar 24, 2014 at 04:08:48PM +0100, Martin Jansa wrote:
> On Wed, Sep 04, 2013 at 02:49:20PM +0200, Martin Jansa wrote:
> > On Fri, Aug 30, 2013 at 06:21:24PM +0800, b40290@freescale.com wrote:
> > > From: Chunrong Guo <B40290@freescale.com>
> > >
> > > *The dump DAQ test the various inline mode features
> > > *snort depends daq
> > >
> > > Signed-off-by: Chunrong Guo <B40290@freescale.com>
> > > ---
> > > meta-oe/recipes-connectivity/daq/daq_2.0.1.bb | 16 +++++++++++
> > > ...le-run-test-program-while-cross-compiling.patch | 29 ++++++++++++++++++++
> > > 2 files changed, 45 insertions(+), 0 deletions(-)
> > > create mode 100644 meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> > > create mode 100644 meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
> > >
> > > diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> > > new file mode 100644
> > > index 0000000..4c1be44
> > > --- /dev/null
> > > +++ b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
> > > @@ -0,0 +1,16 @@
> > > +DESCRIPTION = "The dump DAQ test the various inline mode features "
> > > +HOMEPAGE = "http://www.snort.org"
> > > +LICENSE = "GPLv2"
> > > +LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0"
> > > +
> > > +PARALLEL_MAKE = ""
> > > +
> > > +DEPENDS = "libpcap libpcre "
> > > +
> > > +SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
> > > + file://disable-run-test-program-while-cross-compiling.patch "
> > > +
> > > +SRC_URI[md5sum] = "044aa3663d44580d005293eeb8ccf175"
> > > +SRC_URI[sha256sum] = "ebba87c2ec76ac65d2980934423b0597909caead3a86ce5d1ba1ea6ce518ec6d"
> > > +
> > > +inherit autotools
> >
> > I don't have more than build log because workspace is already gone, but
> > qemuarm build fails:
> >
> > ERROR: Function failed: do_install (log file is located at
> > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742)
> > ERROR: Logfile of failure stored in:
> > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742
> > Log data follows:
> > | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
> > 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi',
> > 'common']
> > | DEBUG: Executing shell function do_install
> > | NOTE: make
> > DESTDIR=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/image
> > install
> > | make: *** No rule to make target `install'. Stop.
> > | ERROR: oe_runmake failed
> > | WARNING: exit code 1 from a shell command.
> > | ERROR: Function failed: do_install (log file is located at
> > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/daq/2.0.1-r0/temp/log.do_install.4742)
> > NOTE: recipe daq-2.0.1-r0: task do_install: Failed
> > ERROR: Task 19484
> > (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb,
> > do_install) failed with exit code '1'
>
> Can we fix this please?
ping^4 and PNBLACKLIST is on the way..
here is also couple of auto-detected dependencies
daq/daq/latest lost dependency on libdnet libmnl libnetfilter-queue libnfnetlink
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-05-04 22:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-30 10:21 [meta-oe][PATCH V4 ] daq: add recipe b40290
2013-09-04 12:49 ` Martin Jansa
2014-03-24 15:08 ` Martin Jansa
2014-03-28 9:41 ` B40290
2014-05-04 22:22 ` Martin Jansa
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.