Discussion:
pkg/48985: graphics/openimageio needs newer GCC on netbsd-5/i386
j***@mylinuxisp.com
2014-07-12 10:35:00 UTC
Permalink
Number: 48985
Category: pkg
Synopsis: graphics/openimageio needs newer GCC on netbsd-5/i386
Confidential: no
Severity: non-critical
Priority: high
Responsible: pkg-manager
State: open
Class: support
Submitter-Id: net
Arrival-Date: Sat Jul 12 10:35:00 +0000 2014
Originator: John D. Baker
Release: NetBSD/i386-5.2_STABLE, pkgsrc-2014Q2
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.
Attempt to build "graphics/openimageio" from pkgsrc-2014Q2 on netbsd-5
with native gcc 4.1.3.
Package needs "GCC_REQD+=4.5" (or 4.6) for netbsd-5 and possibly other
platforms.
r***@NetBSD.org
2014-07-12 22:41:48 UTC
Permalink
Synopsis: graphics/openimageio needs newer GCC on netbsd-5/i386

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: ***@NetBSD.org
Responsible-Changed-When: Sat, 12 Jul 2014 22:41:48 +0000
Responsible-Changed-Why:
Over to maintainer
John D. Baker
2014-07-18 12:25:01 UTC
Permalink
The following reply was made to PR pkg/48985; it has been noted by GNATS.

From: "John D. Baker" <***@mylinuxisp.com>
To: gnats-***@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
OBATA Akio
2014-07-20 11:20:01 UTC
Permalink
The following reply was made to PR pkg/48985; it has been noted by GNATS.

From: "OBATA Akio" <***@netbsd.org>
To: gnats-***@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.
d***@NetBSD.org
2014-07-27 05:38:31 UTC
Permalink
Synopsis: graphics/openimageio needs newer GCC on netbsd-5/i386

State-Changed-From-To: open->feedback
State-Changed-By: ***@NetBSD.org
State-Changed-When: Sun, 27 Jul 2014 05:38:30 +0000
State-Changed-Why:
Did obache's change help?
John D. Baker
2014-07-27 10:40:02 UTC
Permalink
The following reply was made to PR pkg/48985; it has been noted by GNATS.

From: "John D. Baker" <***@mylinuxisp.com>
To: gnats-***@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)
Post by d***@NetBSD.org
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
John D. Baker
2014-08-05 13:55:01 UTC
Permalink
The following reply was made to PR pkg/48985; it has been noted by GNATS.

From: "John D. Baker" <***@mylinuxisp.com>
To: gnats-***@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)
Post by John D. Baker
Post by d***@NetBSD.org
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
d***@NetBSD.org
2014-10-13 05:01:09 UTC
Permalink
Synopsis: graphics/openimageio needs newer GCC on netbsd-5/i386

State-Changed-From-To: feedback->closed
State-Changed-By: ***@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)

Loading...