pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48985: graphics/openimageio needs newer GCC on netbsd-5/i386



>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
>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@localhost:/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.



Home | Main Index | Thread Index | Old Index