ports/161103: graphics/rawtherapee fails to build

Stephen Hurd shurd at sasktel.net
Wed Sep 28 18:20:05 UTC 2011


>Number:         161103
>Category:       ports
>Synopsis:       graphics/rawtherapee fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 28 18:20:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Hurd
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD stephen.hurd.local 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When upgrading from 3.0_2 to 4.0.2 via portmaster, the build fails.  The following configure warnings occur:

CMake Warning: The variable, 'CMAKE_CXX_FLAGS_DEBUG', specified manually, was not used during the generation.
CMake Warning: The variable, 'CMAKE_C_FLAGS_DEBUG', specified manually, was not used during the generation.
CMake Warning: The variable, 'CMAKE_MODULE_LINKER_FLAGS', specified manually, was not used during the generation.
CMake Warning: The variable, 'CMAKE_SHARED_LINKER_FLAGS', specified manually, was not used during the generation.
CMake Warning: The variable, 'THREADS_HAVE_PTHREAD_ARG', specified manually, was not used during the generation.

And the following error type is repeated a great many times:

/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.2/rtengine/rawimagesource.cc: In member function 'void rtengine::RawImageSource::processFalseColorCorrectionThread(rtengine::Imagefloat*, int, int)':
/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.2/rtengine/rawimagesource.cc:1442: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.2/rtengine/array2D.h:158: note: candidate 1: T* array2D<T>::operator[](size_t) [with T = float]
/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.2/rtengine/rawimagesource.cc:1442: note: candidate 2: operator[](float*, int) <built-in>

>How-To-Repeat:
Build graphics/rawthereapee with OPTIMIZED_CFLAGS and OPENMP enabled, and the rawthereapee 3.0_2 installed on i386

This looks like some bad C++ mojo.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list