error: ./config.guess: unable to guess system type
This script, last modified 2005-08-03, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts.
Signed-off-by: Lin Jiaxin ljx.joe@qq.com --- pkg/netperf/PKGBUILD | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/pkg/netperf/PKGBUILD b/pkg/netperf/PKGBUILD index 1b724948..e4747dd5 100755 --- a/pkg/netperf/PKGBUILD +++ b/pkg/netperf/PKGBUILD @@ -10,6 +10,13 @@ md5sums=('e0d45b5bca1eee2aef0155de82366202') build() { cd "$srcdir/$pkgname-$pkgname-$pkgver.$pkgrel" + + # the orginal config.guess is too old to guess new system type + # so download latest version if it guess failed + ./config.guess > /dev/null 2>&1 || { + curl -s -o config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess...' + curl -s -o config.sub 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;h...' + }
# sendfile_tcp_stream() misses assignment of len and it is possible # for random len to trigger the following issue, so fix it.