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: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 29 02:20:01 +0000 2017
>Closed-Date: Sun Nov 04 17:42:01 +0000 2018
>Last-Modified: Sun Nov 04 17:42:01 +0000 2018
>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.
>Release-Note:
>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.
From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/52877 CVS commit: pkgsrc/devel/libuuid
Date: Sun, 4 Nov 2018 16:51:31 +0000
Module Name: pkgsrc
Committed By: bsiegert
Date: Sun Nov 4 16:51:31 UTC 2018
Modified Files:
pkgsrc/devel/libuuid: Makefile.common
Log Message:
Only configure libuuid using ksh on NetBSD 6.
The build of ksh is all but broken on modern systems. PR pkg/52877
introduced ksh as CONFIGURE_SHELL to fix NetBSD 6, but this causes issues
on NetBSD-8 and later (PR pkg/53686). Arguably, the workaround could be
dropped, since we stopped supporting NetBSD 6.
Fix proposed by David H. Gutteridge, thanks!
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/libuuid/Makefile.common
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: bsiegert@NetBSD.org
State-Changed-When: Sun, 04 Nov 2018 17:42:01 +0000
State-Changed-Why:
There is a workaround for this issue (using ksh).
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 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.