GNU bug report logs - #24227
new snapshot available: diffutils-3.4.8-c06c

Previous Next

Package: diffutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Mon, 15 Aug 2016 01:32:02 UTC

Severity: normal

Tags: notabug

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: Assaf Gordon <assafgordon <at> gmail.com>
Cc: 24227 <at> debbugs.gnu.org
Subject: bug#24227: [bug-diffutils] bug#24227: new snapshot available: diffutils-3.4.8-c06c
Date: Sun, 14 Aug 2016 22:21:38 -0700
On Sun, Aug 14, 2016 at 8:16 PM, Assaf Gordon <assafgordon <at> gmail.com> wrote:
> Hello,
>
>> On Aug 14, 2016, at 21:30, Jim Meyering <jim <at> meyering.net> wrote:
>>
>> http://meyering.net/diff/diffutils-3.4.8-c06c.tar.xz
>
> On AIX, SunOS 5.10, OpenBSD-5.8, the 'diff3' test fails, likely due to missing 'seq'.
> Log attached (for one of them).
>
> Otherwise, no failures on:
>   Mac OS X, 10.9.5, 10.10.4,
>   Fedora 20 (ppc64), 21 (ppc64le)
>   Fedora 24, 23, 22 (x86_64)
>   Ubuntu 14.05, 15.04
>   CentOS 7.0, 6.5
>   Debian 8.1, 7.6
>   FreeBSD 10.3, 9.3
>   SUSE 42.1
>   GNU Hurd 0.7
>   OpenSolaris 5.11 (sparc, i86pc)
>   Trisquel 7.0, 6.0.1

Wow. Great. Thanks for such quick and thorough testing.
missing seq is indeed the cause. It should be easy to work around the
lack of seq: I'll simply include this replacement function from gzip's
tests/zgrep-context:

# A limited replacement for seq: handle 1 or 2 args; increment must be 1
seq()
{
  case $# in
    1) start=1  final=$1;;
    2) start=$1 final=$2;;
    *) echo you lose 1>&2; exit 1;;
  esac
  awk 'BEGIN{for(i='$start';i<='$final';i++) print i}' < /dev/null
}




This bug report was last modified 8 years and 76 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.