From nobody@FreeBSD.org  Mon Oct 22 04:26:10 2007
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 330E416A41A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Oct 2007 04:26:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 26AF713C4B3
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Oct 2007 04:26:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9M4PmVo085561
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Oct 2007 04:25:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l9M4Pm54085560;
	Mon, 22 Oct 2007 04:25:48 GMT
	(envelope-from nobody)
Message-Id: <200710220425.l9M4Pm54085560@www.freebsd.org>
Date: Mon, 22 Oct 2007 04:25:48 GMT
From: Stephen Hurd <shurd@sasktel.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ports/OpenEXR examples prevent portupgrade from working
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117390
>Category:       ports
>Synopsis:       graphics/OpenEXR examples prevent portupgrade from working
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    nork
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 22 04:30:00 UTC 2007
>Closed-Date:    Sun Feb 10 16:01:51 UTC 2008
>Last-Modified:  Sun Feb 10 16:01:51 UTC 2008
>Originator:     Stephen Hurd
>Release:        6.2-RELEASE-p6
>Organization:
>Environment:
FreeBSD server.hurd.local 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #3: Tue Jul 24 22:03:03 PDT 2007     root@server.hurd.local:/usr/src/sys/i386/compile/SERVER  i386
>Description:
When using portupgrade on OpenEXR, the examples link against libraries in /usr/local/lib (ie: the older version) which results in a linking failure.
>How-To-Repeat:
Have OpenEXR-1.4 installed, use portupgrade to attempt an upgrade to 1.6
>Fix:
Remove line 27 of Makefile
-- or --
Change the library search path for the examples somehow.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->nork 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Oct 22 11:12:03 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: Yoshihiro Ota <ota@j.email.ne.jp>
To: bug-followup@FreeBSD.org
Cc: shurd@sasktel.net
Subject: Re: ports/117390: graphics/OpenEXR examples prevent portupgrade
 from working
Date: Thu, 22 Nov 2007 19:35:09 -0500

 I had the same issue.
 
 The first problem is the same; the example is being linked against older library in /usr/local/lib.
 
 However, even if I disabled building examples, I still get the following error
 at install stage and cannot install.
 
 Thanks,
 Hiro
 
 gmake[2]: Nothing to be done for `install-exec-am'.
 test -z "/usr/local/include/OpenEXR" || /ports/tmp/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/install-sh -d "/usr/local/include/OpenEXR"
  install  -o root -g wheel -m 444 'OpenEXRConfig.h' '/usr/local/include/OpenEXR/OpenEXRConfig.h'
 gmake[2]: Leaving directory `/ports/tmp/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/config'
 gmake[1]: Leaving directory `/ports/tmp/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/config'
 Making install in IlmImf
 gmake[1]: Entering directory `/ports/tmp/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImf'
 if c++ -DHAVE_CONFIG_H -I. -I. -I../config -D_THREAD_SAFE -I/usr/local/include/OpenEXR -I.. -I../config   -pipe -O2 -fno-strict-aliasing -pipe -MT b44ExpLogTable.o -MD -MP -MF ".deps/b44ExpLogTable.Tpo" -c -o b44ExpLogTable.o b44ExpLogTable.cpp; \
         then mv -f ".deps/b44ExpLogTable.Tpo" ".deps/b44ExpLogTable.Po"; else rm -f ".deps/b44ExpLogTable.Tpo"; exit 1; fi
 b44ExpLogTable.cpp:52:18: error: half.h: No such file or directory
 b44ExpLogTable.cpp: In function 'int main()':
 b44ExpLogTable.cpp:85: error: 'half' was not declared in this scope
 b44ExpLogTable.cpp:85: error: expected `;' before 'h'
 b44ExpLogTable.cpp:86: error: 'h' was not declared in this scope
 b44ExpLogTable.cpp:90: error: 'HALF_MAX' was not declared in this scope
 b44ExpLogTable.cpp:114: error: 'half' was not declared in this scope
 b44ExpLogTable.cpp:114: error: expected `;' before 'h'
 b44ExpLogTable.cpp:115: error: 'h' was not declared in this scope
 gmake[1]: *** [b44ExpLogTable.o] Error 1
 gmake[1]: Leaving directory `/ports/tmp/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImf'
 gmake: *** [install-recursive] Error 1
 *** Error code 2
 
 Stop in /usr/ports/graphics/OpenEXR.
 *** Error code 1
 
 Stop in /usr/ports/graphics/OpenEXR.
 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.39198.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=OpenEXR-1.4.0 UPGRADE_PORT_VER=1.4.0 make reinstall

From: Stephen Hurd <shurd@sasktel.net>
To: Yoshihiro Ota <ota@j.email.ne.jp>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/117390: graphics/OpenEXR examples prevent portupgrade from
 working
Date: Thu, 22 Nov 2007 20:40:43 -0800

 Yoshihiro Ota wrote:
 > I had the same issue.
 >
 > The first problem is the same; the example is being linked against older library in /usr/local/lib.
 >
 > However, even if I disabled building examples, I still get the following error
 > at install stage and cannot install.
 >   
 
 What version were you upgrading from?  /usr/ports/UPGRADING has this to say:
 
 20071008:
   AFFECTS: users of graphics/OpenEXR and graphics/ilmbase
   AUTHOR: nork@FreeBSD.org
 
   The new OpenEXR (1.6 and later) separated two libraries. The first is 
 IlmImf
   library a.k.a. ILM's "EXR" file format operation library for storing 
 16-bit
   FP images. The others are Half, IlmThread, Imath and Iex a.k.a. ILM's 
 basic
   utility libraries.
 
   To portupgrade OpenEXR and related ports, please do following operations,
   manually:
 
   # pkg_delete -f OpenEXR
   # pkg_delete -f ilmbase   (if you already installed before CONFLICT)
   # cd /usr/ports/graphics/OpenEXR
   # make install
   # pkgdb -F
 
 
 I'm wondering if my problem was just using cvsup at exactly the wrong 
 time...
State-Changed-From-To: open->closed 
State-Changed-By: nork 
State-Changed-When: Sun Feb 10 16:00:52 UTC 2008 
State-Changed-Why:  
No comment. 

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