NetBSD Problem Report #48985

From www@NetBSD.org  Sat Jul 12 10:31:04 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 207F0A6531
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 12 Jul 2014 10:31:04 +0000 (UTC)
Message-Id: <20140712103102.3ED95A654C@mollari.NetBSD.org>
Date: Sat, 12 Jul 2014 10:31:02 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: graphics/openimageio needs newer GCC on netbsd-5/i386
X-Send-Pr-Version: www-1.0

>Number:         48985
>Category:       pkg
>Synopsis:       graphics/openimageio needs newer GCC on netbsd-5/i386
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    ryoon
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 12 10:35:00 +0000 2014
>Closed-Date:    Mon Oct 13 05:01:09 +0000 2014
>Last-Modified:  Mon Oct 13 05:01:09 +0000 2014
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.2_STABLE, pkgsrc-2014Q2
>Organization:
>Environment:
NetBSD verthandi.technoskunk.fur 5.2_STABLE NetBSD 5.2_STABLE (VERTHANDI) #17: Wed May 21 19:01:55 CDT 2014  sysop@verthandi.technoskunk.fur:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/VERTHANDI i386

>Description:
Attempting to build "graphics/openimageio" on netbsd-5/i386 with the
native gcc 4.1.3 compiler set fails during configure phase with:

[...]
  Building CXX object
  CMakeFiles/cmTryCompileExec1765220333.dir/testCXXCompiler.cxx.o

  /d0/build/pkgsrc/graphics/openimageio/work/.wrapper/bin/c++ -O2
  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2
  -I/usr/pkg/include/libdrm -I/usr/pkg/qt4/include -std=c++0x -o
  CMakeFiles/cmTryCompileExec1765220333.dir/testCXXCompiler.cxx.o -c
  /d0/build/pkgsrc/graphics/openimageio/work/oiio-Release-1.3.13/CMakeFiles/CMakeTmp/testCXXCompiler.cxx


  cc1plus: error: unrecognized command line option "-std=c++0x"

  CMakeFiles/cmTryCompileExec1765220333.dir/build.make:60: recipe for target
  'CMakeFiles/cmTryCompileExec1765220333.dir/testCXXCompiler.cxx.o' failed

  make[1]: ***
  [CMakeFiles/cmTryCompileExec1765220333.dir/testCXXCompiler.cxx.o] Error 1

  make[1]: Leaving directory
  '/d0/build/pkgsrc/graphics/openimageio/work/oiio-Release-1.3.13/CMakeFiles/CMakeTmp'


  Makefile:117: recipe for target 'cmTryCompileExec1765220333/fast' failed
PKG_OPTIONS.ffmpeg2+=${PKG_OPTIONS.ffmpeg}

  gmake: *** [cmTryCompileExec1765220333/fast] Error 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)


-- Configuring incomplete, errors occurred!
See also "/d0/build/pkgsrc/graphics/openimageio/work/oiio-Release-1.3.13/CMakeFiles/CMakeOutput.log".
See also "/d0/build/pkgsrc/graphics/openimageio/work/oiio-Release-1.3.13/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/graphics/openimageio


Adding "graphics/openimageio" to my list of packages needing
"GCC_REQD+=4.6" allows it to proceed.
>How-To-Repeat:
Attempt to build "graphics/openimageio" from pkgsrc-2014Q2 on netbsd-5
with native gcc 4.1.3.
>Fix:
Package needs "GCC_REQD+=4.5" (or 4.6) for netbsd-5 and possibly other
platforms.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: ryoon@NetBSD.org
Responsible-Changed-When: Sat, 12 Jul 2014 22:41:48 +0000
Responsible-Changed-Why:
Over to maintainer


From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48985: graphics/openimageio needs newer GCC on netbsd-5/i386
Date: Fri, 18 Jul 2014 07:20:43 -0500 (CDT)

 Despite the recent changes to "devel/boost-libs", building in
 "graphics/openimageio" does NOT attempt to build newer GCC, so
 pkgsrc goes on to use the native GCC 4.1.3 of netbsd-5, which fails.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48985 CVS commit: pkgsrc/graphics/openimageio
Date: Sun, 20 Jul 2014 11:16:14 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sun Jul 20 11:16:14 UTC 2014

 Modified Files:
 	pkgsrc/graphics/openimageio: Makefile

 Log Message:
 Move compiler check last, allow to overwrite GCC_REQD in included files.
 PR pkg/48985.


 To generate a diff of this commit:
 cvs rdiff -u -r1.27 -r1.28 pkgsrc/graphics/openimageio/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->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 27 Jul 2014 05:38:30 +0000
State-Changed-Why:
Did obache's change help?


From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48985 (graphics/openimageio needs newer GCC on netbsd-5/i386)
Date: Sun, 27 Jul 2014 05:38:46 -0500 (CDT)

 On Sun, 27 Jul 2014, dholland@NetBSD.org wrote:

 > State-Changed-Why:
 > Did obache's change help?

 It now attempts to build lang/gcc45 as a dependency, so that should take
 care of the issue on netbsd-5.

 (Just wish pkgsrc would see the already-installed "lang/gcc46" as
 satisfying the requirement instead of having to override each such
 package individually--but that's a different PR.)

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48985 (graphics/openimageio needs newer GCC on netbsd-5/i386)
Date: Tue, 5 Aug 2014 08:51:20 -0500 (CDT)

 On Sun, 27 Jul 2014, John D. Baker wrote:

 > On Sun, 27 Jul 2014, dholland@NetBSD.org wrote:
 > 
 > > State-Changed-Why:
 > > Did obache's change help?
 > 
 > It now attempts to build lang/gcc45 as a dependency, so that should
 > take care of the issue on netbsd-5.

 See above.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 13 Oct 2014 05:01:09 +0000
State-Changed-Why:
confirmed fixed
(sorry, way behind on gnats mail again)


>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.