NetBSD Problem Report #52877

From taca@back-street.net  Fri Dec 29 02:16:35 2017
Return-Path: <taca@back-street.net>
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 7032B7A167
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 29 Dec 2017 02:16:35 +0000 (UTC)
Message-Id: <20171229021631.529A831FD4@edge.back-street.net>
Date: Fri, 29 Dec 2017 11:16:31 +0900 (JST)
From: taca@back-street.net
Reply-To: taca@back-street.net
To: gnats-bugs@NetBSD.org
Subject: devel/libuuid broken on NetBSD 6_STABLE
X-Send-Pr-Version: 3.95

>Number:         52877
>Category:       pkg
>Synopsis:       devel/libuuid broken on NetBSD 6_STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 29 02:20:01 +0000 2017
>Last-Modified:  Fri Dec 29 08:50:01 +0000 2017
>Originator:     Takahiro Kambe
>Release:        NetBSD 6.1_STABLE
>Organization:
Takahiro Kambe
>Environment:


System: NetBSD nora.i.kisu.co.jp 6.1_STABLE NetBSD 6.1_STABLE (VMWARE-F8) #10: Mon Nov 20 18:12:43 JST 2017  sisbic-info@kisu.co.jp:/data/NetBSD-6/amd64.obj/sys/arch/amd64/compile/VMWARE-F8 amd64
Architecture: x86_64
Machine: amd64
>Description:
	devel/libuuid broken on NetBSD 6_STABLE.
>How-To-Repeat:

% make configure
...

checking for udev_new in -ludev... no
checking for TINFO... no
checking for tgetent in -ltinfo... no
checking for readline in -lreadline... no
./configure.lineno: 23778: Syntax error: "fi" unexpected (expecting ")")
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/libuuid
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/libuuid

>Fix:
	Something wrong with configure script and using bash is workaround.

>Audit-Trail:
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52877 CVS commit: pkgsrc/devel/libuuid
Date: Fri, 29 Dec 2017 06:59:54 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Fri Dec 29 06:59:54 UTC 2017

 Modified Files:
 	pkgsrc/devel/libuuid: Makefile.common

 Log Message:
 libuuid: stopgap fix for the freeze: use ksh as a configure shell

 it looks like autoconf did not generate enough "fi"s in the script.
 ksh seems to tolerate it. this should be investigated further.

 PR pkg/52877: devel/libuuid broken on NetBSD 6_STABLE


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/libuuid/Makefile.common

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

From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52877: devel/libuuid broken on NetBSD 6_STABLE
Date: Fri, 29 Dec 2017 08:46:55 +0000

 I'm having problems isolating the cause, I used ksh in the meantime.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.