NetBSD Problem Report #52550

From www@NetBSD.org  Mon Sep 18 08:37:10 2017
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 534707A1AE
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 18 Sep 2017 08:37:10 +0000 (UTC)
Message-Id: <20170918083709.93B6A7A263@mollari.NetBSD.org>
Date: Mon, 18 Sep 2017 08:37:09 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: mail/mutt fails to configure on NetBSD 7.0.1/amd64
X-Send-Pr-Version: www-1.0

>Number:         52550
>Category:       pkg
>Synopsis:       mail/mutt fails to configure on NetBSD 7.0.1/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tonio
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 18 08:40:00 +0000 2017
>Closed-Date:    Tue Feb 20 08:59:09 +0000 2018
>Last-Modified:  Tue Feb 20 08:59:09 +0000 2018
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Since the latest update, mail/mutt fails to build on NetBSD 7.0.1:

configure:
***
*** It is now required to build with support for the
*** New Portable Threads Library (nPth). Please install this
*** library first.  The library is for example available at
***   https://gnupg.org/ftp/gcrypt/npth/
*** (at least version 1.2 (API 1) is required).
***
configure: error: 
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***


Adding

.include "../../devel/npth/buildlink3.mk"

to Makefile didn't change the situation.

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tonio
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Mon, 18 Sep 2017 08:44:31 +0000
Responsible-Changed-Why:
Antoine, can you please give a look at it?
(over to MAINTAINER)


State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 18 Sep 2017 10:27:15 +0000
State-Changed-Why:
Can not reproduce. I just did a limited bulk build on 7.0.1/amd64
with latest pkgsrc, and didn't see the problem. Since you just
reported a problem that happened with partially old libraries
installed, could this be some kind of local problem as well?
Or do we need to bump the minimum version of some requirement
in mail/mutt?


From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52550: mail/mutt fails to configure on NetBSD 7.0.1/amd64
Date: Mon, 18 Sep 2017 10:40:53 +0200

 Sorry!!!! This problem affects security/gnupg2, not mail/mutt. I didn't 
 realize that mutt was building a dependency...

 On 18.09.17 10:40, gnats-admin@NetBSD.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `pkg/52550'.
 > The individual assigned to look at your
 > report is: pkg-manager.
 >
 >> Category:       pkg
 >> Responsible:    pkg-manager
 >> Synopsis:       mail/mutt fails to configure on NetBSD 7.0.1/amd64
 >> Arrival-Date:   Mon Sep 18 08:40:00 +0000 2017
 >

 -- 
 Jörn Clausen
 Plattformen & Serverdienste
 BITS - Bielefelder IT-Servicezentrum

 Universität Bielefeld
 Universitätsstraße 25
 33615 Bielefeld
 Telefon: +49 521 106-12601
 E-Mail: joern.clausen@uni-bielefeld.de

 http://www.uni-bielefeld.de/bits

From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52550 (mail/mutt fails to configure on NetBSD 7.0.1/amd64)
Date: Mon, 18 Sep 2017 13:34:31 +0200

 At the moment, this happens:

 $ /usr/pkg/bin/npth-config --version
 /usr/pkg/bin/npth-config: 92: Syntax error: ";;" unexpected (expecting ")")

 and reinstalling devel/npth does not change this.

 This is the relevant part in npth-config:

                case $i in

                        skip=yes
                        ;;
                    -I*)

 and this is the same part in npth-config.in in the sources:

                case $i in
                    -I/usr/include|-I/include)
                        skip=yes
                        ;;
                    -I*)

 Something removed the case pattern.

 -- 
 Jörn Clausen
 Plattformen & Serverdienste
 BITS - Bielefelder IT-Servicezentrum

 Universität Bielefeld
 Universitätsstraße 25
 33615 Bielefeld
 Telefon: +49 521 106-12601
 E-Mail: joern.clausen@uni-bielefeld.de

 http://www.uni-bielefeld.de/bits

From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52550 (mail/mutt fails to configure on NetBSD 7.0.1/amd64)
Date: Tue, 19 Sep 2017 10:58:42 +0200

 >  This is the relevant part in npth-config:
 >
 >                 case $i in
 >
 >                         skip=yes
 >                         ;;
 >                     -I*)

 FWIW: I have exactly the same error on Solaris 11.3.

 -- 
 Jörn Clausen
 Plattformen & Serverdienste
 BITS - Bielefelder IT-Servicezentrum

From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52550 (mail/mutt fails to configure on NetBSD 7.0.1/amd64)
Date: Tue, 19 Sep 2017 14:49:36 +0200

 After "make configure", npth-config in the working directory is correct. 
 After "make", it is broken. This is the diff between the version before 
 and after:

 --- npth-config.ok      2017-09-19 14:44:24.000000000 +0200
 +++ npth-config 2017-09-19 14:44:27.000000000 +0200
 @@ -87,7 +87,7 @@
               for i in $cflags ; do
                 skip=no
                 case $i in
 -                  -I/usr/include|-I/include)
 +
                         skip=yes
                         ;;
                     -I*)
 @@ -110,7 +110,7 @@
               for i in $libs ; do
                 skip=no
                 case $i in
 -                  -L/usr/lib|-L/lib)
 +
                         skip=yes
                         ;;
                     -L*|-l*)


 Compiling npth outside pkgsrc, this does not happen, i.e. after a 
 complete "make", npth-config is still intact.

 -- 
 Jörn Clausen
 Plattformen & Serverdienste
 BITS - Bielefelder IT-Servicezentrum

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 20 Feb 2018 08:59:09 +0000
State-Changed-Why:
withdrawn in favor of 52561


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.