NetBSD Problem Report #53665

From oster@cs.usask.ca  Wed Oct 10 15:16:26 2018
Return-Path: <oster@cs.usask.ca>
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 B7B797A187
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 10 Oct 2018 15:16:26 +0000 (UTC)
Message-Id: <20181010151615.98CB0C26A7@scrooge.usask.ca>
Date: Wed, 10 Oct 2018 09:16:15 -0600 (CST)
From: oster@netbsd.org
Reply-To: oster@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: graphics/ilmbase needs newer gcc on netbsd-7
X-Send-Pr-Version: 3.95

>Number:         53665
>Category:       pkg
>Synopsis:       graphics/ilmbase needs newer gcc on netbsd-7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 10 15:20:00 +0000 2018
>Closed-Date:    Tue Nov 20 08:59:52 +0000 2018
>Last-Modified:  Tue Nov 20 09:05:00 +0000 2018
>Originator:     Greg Oster
>Release:        NetBSD 7.1_STABLE
>Organization:
>Environment:


System: NetBSD scrooge 7.1_STABLE NetBSD 7.1_STABLE (THOG) #0: Thu Apr 26 08:21:31 CST 2018 oster@thog:/u1/builds/build180/src/obj/amd64/u1/builds/build180/src/sys/arch/amd64/compile/THOG amd64
Architecture: x86_64
Machine: amd64
>Description:

When building graphics/ilmbase on a NetBSD-7.1_STABLE/amd64 system, the
following error is encountered:
...
checking whether c++ supports C++14 features with +std=c++1y... no
checking whether c++ supports C++14 features with -h std=c++1y... no
configure: error: *** A compiler with support for C++14 language features is required.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/graphics/ilmbase




>How-To-Repeat:

On a NetBSD-7.1_STABLE/amd64 system do:

    cd /usr/pkgsrc/graphics/ilmbase
    make

>Fix:

Adding this:

 GCC_REQD += 6.0 

to the Makefile fixed it for me... 

>Release-Note:

>Audit-Trail:
From: Greg Oster <oster@netbsd.org>
To: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/53665: graphics/ilmbase needs newer gcc on netbsd-7
Date: Wed, 10 Oct 2018 09:23:54 -0600

 On Wed, 10 Oct 2018 15:20:00 +0000 (UTC)
 oster@netbsd.org wrote:

 > >Number:         53665
 > >Category:       pkg
 > >Synopsis:       graphics/ilmbase needs newer gcc on netbsd-7
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Wed Oct 10 15:20:00 +0000 2018
 > >Originator:     Greg Oster
 > >Release:        NetBSD 7.1_STABLE
 > >Organization:
 > >Environment:  
 > 	
 > 	
 > System: NetBSD scrooge 7.1_STABLE NetBSD 7.1_STABLE (THOG) #0: Thu
 > Apr 26 08:21:31 CST 2018
 > oster@thog:/u1/builds/build180/src/obj/amd64/u1/builds/build180/src/sys/arch/amd64/compile/THOG
 > amd64 Architecture: x86_64 Machine: amd64
 > >Description:  
 > 
 > When building graphics/ilmbase on a NetBSD-7.1_STABLE/amd64 system,
 > the following error is encountered:
 > ...
 > checking whether c++ supports C++14 features with +std=c++1y... no
 > checking whether c++ supports C++14 features with -h std=c++1y... no
 > configure: error: *** A compiler with support for C++14 language
 > features is required. *** Error code 1
 > 
 > Stop.
 > make[1]: stopped in /usr/pkgsrc/graphics/ilmbase
 > 
 > 
 > 
 > 
 > >How-To-Repeat:  
 > 
 > On a NetBSD-7.1_STABLE/amd64 system do:
 > 
 >     cd /usr/pkgsrc/graphics/ilmbase
 >     make
 > 
 > >Fix:  
 > 
 > Adding this:
 > 
 >  GCC_REQD += 6.0 
 > 
 > to the Makefile fixed it for me... 

 graphics/openexr has the same issue, with a similar fix.

 Later...

 Greg Oster

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 20 Nov 2018 08:59:52 +0000
State-Changed-Why:
Applied, thanks. (Will request pullup)


From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53665 CVS commit: pkgsrc/graphics
Date: Tue, 20 Nov 2018 08:59:30 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Tue Nov 20 08:59:30 UTC 2018

 Modified Files:
 	pkgsrc/graphics/ilmbase: Makefile
 	pkgsrc/graphics/openexr: Makefile

 Log Message:
 ilmbase, openexr: require GCC 6.x
 This needs a C++14 compiler.

 From Greg Oster in PR pkg/53665


 To generate a diff of this commit:
 cvs rdiff -u -r1.20 -r1.21 pkgsrc/graphics/ilmbase/Makefile
 cvs rdiff -u -r1.38 -r1.39 pkgsrc/graphics/openexr/Makefile

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

From: maya@netbsd.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/53665 (graphics/ilmbase needs newer gcc on netbsd-7)
Date: Tue, 20 Nov 2018 09:01:00 +0000

 > (Will request pullup)

 Doesn't appear to be needed.

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