[oe] Fwd: FW: [meta-oe][PATCH] iperf3: Adds git and 3.0.8 version

Guy Morand morandg at gmail.com
Fri Oct 10 12:41:22 UTC 2014


Thanks for your review!

No, I haven't, I'm working with the "dora" branch ...

I will make a setup with the master branch to test it and resend the patch.

Kind regards,

Guy

-----Original Message-----
From: Martin Jansa [mailto:martin.jansa at gmail.com]
Sent: Friday, October 10, 2014 12:10 PM
To: openembedded-devel at lists.openembedded.org
Cc: Guy Morand
Subject: Re: [oe] [meta-oe][PATCH] iperf3: Adds git and 3.0.8 version

On Tue, Oct 07, 2014 at 04:08:24PM +0200, Guy Morand wrote:
> iperf3 is the new successor of iperf. The project is now mature enough
> as it started in 2009 and has stable releases. It supports reporting
> results in the portable JSON format, provides more information than
> iperf does and also adds some features from other tools such as nuttcp
> and netperf but were missing from the original iperf.

Have you tested this with oe-core master?

It probably needs patch to pass -foreign to automake:

| NOTE: Executing ACLOCAL="aclocal
| --system-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64
| -oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/build/aclocal-copy/
| --automake-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x8
| 6_64-linux/usr/share/aclocal-1.14" autoreconf --verbose --install
| --force --exclude=autopoint -I
| /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf
| 3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal
| --system-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64
| -oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/build/aclocal-copy/
| --automake-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x8
| 6_64-linux/usr/share/aclocal-1.14 -I
| /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf
| 3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ -I
| /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf
| 3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ --force
| autoreconf: configure.ac: tracing
| autoreconf: running: libtoolize --copy --force
| libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
| libtoolize: copying file `config/ltmain.sh'
| libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
| configure.ac and
| libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
| libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
| libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
| autoreconf: running:
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bi
| n/autoconf
| --include=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-l
| inux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ --force
| autoreconf: running:
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bi
| n/autoheader
| --include=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-l
| inux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ --force
| autoreconf: running: automake --add-missing --copy --force-missing
| Makefile.am: error: required file './NEWS' not found
| Makefile.am: error: required file './README' not found
| Makefile.am: error: required file './AUTHORS' not found
| Makefile.am: error: required file './ChangeLog' not found
| Makefile.am: installing './COPYING' using GNU General Public License v3
file
| Makefile.am:     Consider adding the COPYING file to the version control
system
| Makefile.am:     for your code, to avoid questions about which license
your project uses
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at
| /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf
| 3/3.0.8+gitAUTOINC+bcd038dd93-r0/temp/log.do_configure.16696)
NOTE: recipe iperf3-3.0.8+gitAUTOINC+bcd038dd93-r0: task do_configure:
Failed

>
> Signed-off-by: Guy Morand <guy.morand at netmodule.com>
> ---
>  meta-oe/recipes-benchmark/iperf3/iperf3.inc      |   20
++++++++++++++++++++
>  meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb |    6 ++++++
>  meta-oe/recipes-benchmark/iperf3/iperf3_git.bb   |    7 +++++++
>  3 files changed, 33 insertions(+)
>  create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3.inc
>  create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb
>  create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
>
> diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3.inc
> b/meta-oe/recipes-benchmark/iperf3/iperf3.inc
> new file mode 100644
> index 0000000..029a144
> --- /dev/null
> +++ b/meta-oe/recipes-benchmark/iperf3/iperf3.inc
> @@ -0,0 +1,20 @@
> +SUMMARY = "Network benchmark tool"
> +DESCRIPTION = \
> +"iperf is a tool for active measurements of the maximum achievable
> +bandwidth \ on IP networks. It supports tuning of various parameters
> +related to timing, \ protocols, and buffers. For each test it reports
> +the bandwidth, loss, and \ other parameters."
> +HOMEPAGE = "http://software.es.net/iperf/"
> +SECTION = "console/network"
> +BUGTRACKER = "https://github.com/esnet/iperf/issues"
> +AUTHOR = "ESNET <info at es.net>, Lawrence Berkeley National Laboratory <
websupport at lbl.gov>"
> +LICENSE = "BSD"
> +
> +BRANCH = "master"
> +SRC_URI = "\
> +           git://github.com/esnet/iperf.git;branch=${BRANCH} \
> +           "
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools
> diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb
> b/meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb
> new file mode 100644
> index 0000000..a39deff
> --- /dev/null
> +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb
> @@ -0,0 +1,6 @@
> +require iperf3.inc
> +
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=ab59a0c3a4bc3954d1ece68ea19d77a4"
> +
> +BRANCH = "3.0-STABLE"
> +SRCREV = "24d5cdec3731bc589f6cb7c359d8311dcaa41854"
> diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
> b/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
> new file mode 100644
> index 0000000..77ebe15
> --- /dev/null
> +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
> @@ -0,0 +1,7 @@
> +require iperf3.inc
> +
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=062ab1bc33fae1926387ac1274cb0873"
> +
> +PV = "3.0.8+git${SRCPV}"
> +SRCREV = "${AUTOREV}"
> +
> --
> 1.7.10.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20141010/7fae960a/attachment-0002.sig>


More information about the Openembedded-devel mailing list