From nobody@FreeBSD.org  Wed Sep 28 18:11:16 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F3BE01065676
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Sep 2011 18:11:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id E376F8FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Sep 2011 18:11:15 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8SIBFa9006911
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Sep 2011 18:11:15 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8SIBFxR006910;
	Wed, 28 Sep 2011 18:11:15 GMT
	(envelope-from nobody)
Message-Id: <201109281811.p8SIBFxR006910@red.freebsd.org>
Date: Wed, 28 Sep 2011 18:11:15 GMT
From: Stephen Hurd <shurd@sasktel.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/rawtherapee fails to build
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         161103
>Category:       ports
>Synopsis:       graphics/rawtherapee fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 28 18:20:04 UTC 2011
>Closed-Date:    Sun Apr 01 07:14:23 UTC 2012
>Last-Modified:  Sun Apr 01 07:14:23 UTC 2012
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->stas 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Sep 28 18:20:13 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161103 
Responsible-Changed-From-To: stas->freebsd-ports-bugs 
Responsible-Changed-By: tabthorpe 
Responsible-Changed-When: Sat Nov 5 04:13:17 UTC 2011 
Responsible-Changed-Why:  
- back to the heap 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161103 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Mon Nov 28 12:46:36 UTC 2011 
State-Changed-Why:  
problem still there? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161103 

From: parv@pair.com
To: bug-followup@FreeBSD.org, shurd@sasktel.net
Cc:  
Subject: Re: ports/161103: graphics/rawtherapee fails to build
Date: Fri, 2 Dec 2011 22:44:07 -1000

 Yes, I had tried few minutes ago; failed at the same stage on
 FreeBSD 8.
 
 
   - parv
 
 -- 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: eadler 
State-Changed-When: Sun Dec 25 18:06:10 UTC 2011 
State-Changed-Why:  
fixed in other PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161103 
State-Changed-From-To: closed->open 
State-Changed-By: eadler 
State-Changed-When: Sun Dec 25 18:09:45 UTC 2011 
State-Changed-Why:  
still a rproblem 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161103 

From: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To: bug-followup@FreeBSD.org
Cc: Stephen Hurd <shurd@sasktel.net>
Subject: Re: ports/161103: graphics/rawtherapee fails to build
Date: Fri, 30 Mar 2012 23:57:34 +0400

 Good day!
 
 Please note, that rawtherapee was just updated to 4.0.7. Would you 
 please update and confirm/decline that this issue is still valid?
 Thank you.
 
 -- 
 Regards,
 Ruslan
 
 Tinderboxing kills... the drives.
State-Changed-From-To: open->feedback 
State-Changed-By: rm 
State-Changed-When: Sat Mar 31 09:08:18 UTC 2012 
State-Changed-Why:  
Awaiting submitter's feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161103 
State-Changed-From-To: feedback->closed 
State-Changed-By: rm 
State-Changed-When: Sun Apr 1 07:14:22 UTC 2012 
State-Changed-Why:  
Build issue was resolved. Thanks for reporting! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161103 
>Unformatted:
