NetBSD Problem Report #39941

From www@NetBSD.org  Mon Nov 17 13:30:02 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 6058763B8BD
	for <gnats-bugs@gnats.netbsd.org>; Mon, 17 Nov 2008 13:30:02 +0000 (UTC)
Message-Id: <20081117133002.099A563B874@narn.NetBSD.org>
Date: Mon, 17 Nov 2008 13:30:02 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: devel/diffutils does not adhere to GNU_PROGRAM_PREFIX
X-Send-Pr-Version: www-1.0

>Number:         39941
>Category:       pkg
>Synopsis:       devel/diffutils does not adhere to GNU_PROGRAM_PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    obache
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 17 13:35:00 +0000 2008
>Closed-Date:    Mon Nov 24 08:27:34 +0000 2008
>Last-Modified:  Mon Nov 24 08:27:34 +0000 2008
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS spare4200 5.10 Generic_120012-14 i86pc i386 i86pc

>Description:
configure in devel/diffutils hardwires the macro DEFAULT_DIFF_PROGRAM to "diff". In combination with a default GNU_PROGRAM_PREFIX, this leads to a non-working gdiff3:

$ gdiff3 foo bar baz
diff: illegal option -- horizon-lines=100
usage: diff [-bitw] [-c | -e | -f | -h | -n | -u] file1 file2
       diff [-bitw] [-C number | -U number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n | -u] [-l] [-r] [-s] [-S name] directory1 directory2
gdiff3: subsidiary program `diff' failed

The diff called in this example is Solaris' /usr/bin/diff.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Mon, 24 Nov 2008 08:04:15 +0000
Responsible-Changed-Why:
I'm handling.


State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Mon, 24 Nov 2008 08:04:15 +0000
State-Changed-Why:
Would you try diffutils-2.8.1nb3 on your environment and confirm the fix?


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39941 CVS commit: pkgsrc/devel/diffutils
Date: Mon, 24 Nov 2008 08:02:16 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Mon Nov 24 08:02:16 UTC 2008

 Modified Files:
 	pkgsrc/devel/diffutils: Makefile distinfo
 Added Files:
 	pkgsrc/devel/diffutils/patches: patch-aa

 Log Message:
 Let to exactly point to own diff program.
 Fixes PR 39941.

 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -r1.21 -r1.22 pkgsrc/devel/diffutils/Makefile
 cvs rdiff -r1.4 -r1.5 pkgsrc/devel/diffutils/distinfo
 cvs rdiff -r0 -r1.1 pkgsrc/devel/diffutils/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: obache@NetBSD.org
Subject: Re: pkg/39941 (devel/diffutils does not adhere to GNU_PROGRAM_PREFIX)
Date: Mon, 24 Nov 2008 09:23:42 +0100

 > Would you try diffutils-2.8.1nb3 on your environment and confirm the fix?

 Perfect! You can close the pr.

 Thanks a lot - again!

 -- 
   Jörn Clausen                             joern.clausen@uni-bielefeld.de
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld

State-Changed-From-To: feedback->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Mon, 24 Nov 2008 08:27:34 +0000
State-Changed-Why:
Confirmed fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.