NetBSD Problem Report #54773

From www@netbsd.org  Mon Dec 16 22:57:48 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6CD557A16D
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 16 Dec 2019 22:57:48 +0000 (UTC)
Message-Id: <20191216225747.A123B7A1F0@mollari.NetBSD.org>
Date: Mon, 16 Dec 2019 22:57:47 +0000 (UTC)
From: davshao@gmail.com
Reply-To: davshao@gmail.com
To: gnats-bugs@NetBSD.org
Subject: krb5-config.in has misplaced delimiting identifier EOM to end here document
X-Send-Pr-Version: www-1.0

>Number:         54773
>Category:       bin
>Synopsis:       krb5-config.in has misplaced delimiting identifier EOM to end here document
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 16 23:00:00 +0000 2019
>Closed-Date:    Tue Dec 17 07:15:39 +0000 2019
>Last-Modified:  Tue Dec 17 07:15:39 +0000 2019
>Originator:     David Shao
>Release:        NetBSD 9.99.25
>Organization:
>Environment:
NetBSD xxxxxx.xxx 9.99.25 NetBSD 9.99.25 (GENERIC) #4: Mon Dec 16 07:08:28 PST 2019  xxxxxx@xxxxxx.xxxxxx:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
/usr/bin/krb5-config --version
now gives nonsense because an added here document delimiting identifier EOM in effect eliminates the part of the script that used to handle such functionality.

This was noticed attempting to build /usr/pkgsrc/www/netsurf

=> Applying pkgsrc patches for netsurf-3.9nb3
===> Creating toolchain wrappers for netsurf-3.9nb3
ERROR: heimdal>=0.4e heimdal>=0.6 is not installed; can't buildlink files.

The change seems to have occurred in crypto/external/bsd/heimdal/dist/tools/krb5-config.in.  Is it supposed to print the license every time the program is called?  Does that license output need to be filtered?
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/54773 CVS commit: src/crypto/external/bsd/heimdal/bin/krb5-config
Date: Mon, 16 Dec 2019 19:16:26 -0500

 Module Name:	src
 Committed By:	christos
 Date:		Tue Dec 17 00:16:26 UTC 2019

 Modified Files:
 	src/crypto/external/bsd/heimdal/bin/krb5-config: Makefile

 Log Message:
 PR/54773: David Shao: krb5-config.in needs to be evaluated by the shell now
 in order to work. Perhaps it is better to keep a local modified copy that
 does not need this treatment...


 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 \
     src/crypto/external/bsd/heimdal/bin/krb5-config/Makefile

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

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 17 Dec 2019 07:15:39 +0000
State-Changed-Why:
Fixed by christos.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.45 2018/12/21 14:23:33 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.