Loading ...
Sorry, an error occurred while loading the content.

[Bug 185] Changed - iperf doesn't cross compile

Expand Messages
  • unslung@gmail.com
    ============================================================================ THIS MESSAGE WAS GENERATED BY THE BUGTRACKER SOFTWARE PLEASE DO NOT REPLY INSTEAD
    Message 1 of 2 , Aug 2 7:50 PM
    • 0 Attachment
      ============================================================================
      THIS MESSAGE WAS GENERATED BY THE BUGTRACKER SOFTWARE PLEASE DO NOT REPLY

      INSTEAD FOLLOW BUG'S URL BELOW IN ORDER TO DETAIL BUG:
      ============================================================================
      Bug #: 185 (http://slugbug.nslu2-linux.org/bug.php?op=show&bugid=185)
      Reported By: oyvind@...
      ----------------------------------------------------------------------------
      Summary: iperf doesn't cross compile
      URL:
      Product: OpenSlug Packages
      Version: 0.1
      To be Closed in Version: None
      Closed in Version: None
      Component: iperf
      Site(s): All
      Status: Assigned
      Resolution: None
      Severity: Annoyance
      OS/Version: OpenSlug
      Database: None
      Priority: 1 - Low
      ! Assigned To: nslu2-linux@yahoogroups.com
      ============================================================================
      COMMENTS

      ----- Posted by repvik at 6:15 PM on 2005-07-13 -----
      Output from log:

      Replacing patch socketaddr-h-errno.diff with new
      version
      Applying patch socketaddr-h-errno.diff
      can't find file to
      patch at input line 3
      Perhaps you used the wrong -p or --strip option?
      The text leading up to this was:
      --------------------------
      |---
      lib/SocketAddr.cpp.orig 2004-10-05 12:10:06.763746800 +0200
      |+++
      lib/SocketAddr.cpp 2004-10-05 12:10:21.079570464 +0200
      --------------------------
      No file to patch. Skipping patch.
      1 out of
      1 hunk ignored
      Patch socketaddr-h-errno.diff does not apply (enforce
      with -f)


      ----- Posted by repvik at 7:50 PM on 2005-08-02 -----
      + Fix for patch issue: (But now it barfs in do_compile instead)

      + SECTION = "console/network"
      DESCRIPTION = "Iperf is a tool to measure
      + maximum TCP bandwidth, allowing the tuning of various parameters and UDP
      + characteristics"
      HOMEPAGE = "http://dast.nlanr.net/Projects/Iperf/"
      + LICENSE = "BSD"
      MAINTAINER = "Bruno Randolf
      + <bruno.randolf@...>"

      SRC_URI =
      + "http://dast.nlanr.net/Projects/Iperf/iperf-${PV}-source.tar.gz

      + file://socketaddr-h-errno.diff;patch=1"

      inherit autotools

      + #S="${WORKDIR}/iperf-${PV}/cfg"

      do_configure() {
      echo
      + '#!/bin/sh' >${S}/configure
      echo 'rm ${S}/configure'
      + >>${S}/configure
      echo 'exec cfg/configure "$@"'
      + >>${S}/configure
      chmod a+x ${S}/configure
      oe_runconf

      + mv ${WORKDIR}/Makefile.rules ${WORKDIR}/${PN}-${PV}/
      }

      + do_compile() {
      cd ${WORKDIR}/${PN}-${PV}
      oe_runmake
      }
      +

      do_install() {
      cd ${WORKDIR}/${PN}-${PV}/src

      + oe_runmake INSTALL_DIR=${D}${bindir} install
    • unslung@gmail.com
      ============================================================================ THIS MESSAGE WAS GENERATED BY THE BUGTRACKER SOFTWARE PLEASE DO NOT REPLY INSTEAD
      Message 2 of 2 , Aug 3 1:08 PM
      • 0 Attachment
        ============================================================================
        THIS MESSAGE WAS GENERATED BY THE BUGTRACKER SOFTWARE PLEASE DO NOT REPLY

        INSTEAD FOLLOW BUG'S URL BELOW IN ORDER TO DETAIL BUG:
        ============================================================================
        Bug #: 185 (http://slugbug.nslu2-linux.org/bug.php?op=show&bugid=185)
        Reported By: oyvind@...
        ----------------------------------------------------------------------------
        Summary: iperf doesn't cross compile
        URL:
        Product: OpenSlug Packages
        Version: 0.1
        To be Closed in Version: None
        Closed in Version: None
        Component: iperf
        Site(s): All
        ! Status: Closed
        ! Resolution: Fixed
        Severity: Annoyance
        OS/Version: OpenSlug
        Database: None
        Priority: 1 - Low
        Assigned To: nslu2-linux@yahoogroups.com
        ============================================================================
        COMMENTS

        ----- Posted by repvik at 7:50 PM on 2005-08-02 -----
        Fix for patch issue: (But now it barfs in do_compile instead)

        SECTION
        = "console/network"
        DESCRIPTION = "Iperf is a tool to measure maximum
        TCP bandwidth, allowing the tuning of various parameters and UDP
        characteristics"
        HOMEPAGE = "http://dast.nlanr.net/Projects/Iperf/"
        LICENSE = "BSD"
        MAINTAINER = "Bruno Randolf
        <bruno.randolf@...>"

        SRC_URI =
        "http://dast.nlanr.net/Projects/Iperf/iperf-${PV}-source.tar.gz

        file://socketaddr-h-errno.diff;patch=1"

        inherit autotools

        #S="${WORKDIR}/iperf-${PV}/cfg"

        do_configure() {
        echo
        '#!/bin/sh' >${S}/configure
        echo 'rm ${S}/configure'
        >>${S}/configure
        echo 'exec cfg/configure "$@"'
        >>${S}/configure
        chmod a+x ${S}/configure
        oe_runconf

        mv ${WORKDIR}/Makefile.rules ${WORKDIR}/${PN}-${PV}/
        }

        do_compile() {
        cd ${WORKDIR}/${PN}-${PV}
        oe_runmake
        }


        do_install() {
        cd ${WORKDIR}/${PN}-${PV}/src

        oe_runmake INSTALL_DIR=${D}${bindir} install


        ----- Posted by daka at 1:08 PM on 2005-08-03 -----
        + Patch updated to use:

        --- ./../lib/SocketAddr.cpp.orig
        + 2004-10-05 12:10:06.763746800 +0200
        +++ ./../lib/SocketAddr.cpp
        + 2004-10-05 12:10:21.079570464 +0200

        instead.

        Now works perfect.
      Your message has been successfully submitted and would be delivered to recipients shortly.