From root@virtual26.cologroup.net  Thu May  6 08:50:48 2010
Return-Path: <root@virtual26.cologroup.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id F3FF81065697
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 May 2010 08:50:47 +0000 (UTC)
	(envelope-from root@virtual26.cologroup.net)
Received: from virtual26.cologroup.net (virtual26.cologroup.net [69.46.30.110])
	by mx1.freebsd.org (Postfix) with SMTP id B9FAB8FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 May 2010 08:50:47 +0000 (UTC)
Received: (qmail 40912 invoked by uid 0); 6 May 2010 08:24:05 -0000
Message-Id: <20100506082405.40911.qmail@virtual26.cologroup.net>
Date: 6 May 2010 08:24:05 -0000
From: rossiya <rossiya2@gmail.com>
Reply-To: rossiya <rossiya2@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: libidn-1.15 breaks devel/icu
X-Send-Pr-Version: 3.113
X-GNATS-Notify: mi@aldan.algebra.com

>Number:         146353
>Category:       ports
>Synopsis:       libidn-1.15 breaks devel/icu
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 06 09:00:13 UTC 2010
>Closed-Date:    Fri Mar 18 10:11:11 UTC 2011
>Last-Modified:  Fri Mar 18 10:11:11 UTC 2011
>Originator:     rossiya <rossiya2@gmail.com>
>Release:        FreeBSD 8.0 STABLE
>Organization:
>Environment:
FreeBSD 8.0-STABLE FreeBSD 8.0-STABLE #0: Mon Mar 15 01:57:22 GMT 2010     root@:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
        devel/icu builds normally on a fresh [no ports] BSD as does icu in openoffice-3.  By exhaustion 
        I am able to repeatedly break devel/icu builds with libidn-1.15 installed, while 
                # pkg_delete -f /var/db/pkg/libidn-1.15/
        restores semless builds of devel/icu.

gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test/intltest'
...
...
        I am able to repeatedly break devel/icu builds with libidn-1.15 installed, while
                # pkg_delete -f /var/db/pkg/libidn-1.15/
        restores semless builds of devel/icu.
        
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test/intltest'
...
...
...
c++ -I/usr/local/include  -I../../common -I../../i18n -I../../tools/toolutil -I../../tools/ctestfw  -D'U_TOPSRCDIR="../../"' -D'U_TOPBU
ILDDIR="/usr/ports/devel/icu/work/icu/source/"' -pipe -march=native -O2 -fno-strict-aliasing  -c   -o idnaref.o idnaref.cpp
In file included from idnaref.cpp:27:
/usr/local/include/punycode.h:85: error: multiple definition of 'enum punycode_status'
punyref.h:41: error: previous definition here
/usr/local/include/punycode.h:87: error: conflicting declaration 'punycode_success'
punyref.h:42: error: 'punycode_success' has a previous declaration as 'punycode_status punycode_success'
/usr/local/include/punycode.h:88: error: conflicting declaration 'punycode_bad_input'
punyref.h:43: error: 'punycode_bad_input' has a previous declaration as 'punycode_status punycode_bad_input'
/usr/local/include/punycode.h:89: error: conflicting declaration 'punycode_big_output'
punyref.h:44: error: 'punycode_big_output' has a previous declaration as 'punycode_status punycode_big_output'
/usr/local/include/punycode.h:90: error: conflicting declaration 'punycode_overflow'
punyref.h:45: error: 'punycode_overflow' has a previous declaration as 'punycode_status punycode_overflow'
/usr/local/include/punycode.h:111: error: declaration of C function 'int punycode_encode(size_t, const punycode_uint*, const unsigned c
har*, size_t*, char*)' conflicts with
punyref.h:58: error: previous declaration 'punycode_status punycode_encode(punycode_uint, const punycode_uint*, const unsigned char*, p
unycode_uint*, char*)' here
/usr/local/include/punycode.h:172: error: declaration of C function 'int punycode_decode(size_t, const char*, size_t*, punycode_uint*,
unsigned char*)' conflicts with
punyref.h:90: error: previous declaration 'punycode_status punycode_decode(punycode_uint, const char*, punycode_uint*, punycode_uint*,
unsigned char*)' here
idnaref.cpp: In function 'int32_t convertToPuny(const UChar*, int32_t, UChar*, int32_t, UErrorCode&)':
idnaref.cpp:161: error: invalid conversion from 'int' to 'punycode_status'
idnaref.cpp:174: error: invalid conversion from 'int' to 'punycode_status'
idnaref.cpp: In function 'int32_t convertFromPuny(const UChar*, int32_t, UChar*, int32_t, UErrorCode&)':
idnaref.cpp:212: error: invalid conversion from 'int' to 'punycode_status'
idnaref.cpp:220: error: invalid conversion from 'int' to 'punycode_status'
gmake[1]: *** [idnaref.o] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test/intltest'
gmake: *** [all-recursive] Error 2
gmake: Leaving directory `/usr/ports/devel/icu/work/icu/source/test'
*** Error code 2 (ignored)
cd /usr/ports/devel/icu/work/icu/source/test/iotest && /usr/bin/env  LD_LIBRARY_PATH=/usr/ports/devel/icu/work/icu/source/lib:/usr/port
s/devel/icu/work/icu/source/tools/ctestfw  ./iotest
env: ./iotest: No such file or directory
*** Error code 127

Stop in /usr/ports/devel/icu.
>How-To-Repeat:
        ports:/usr/ports/devel/icu # pkg_add /dist/packages/All/libidn-1.15.tbz
        ports:/usr/ports/devel/icu # make clean && make
>Fix:
        Workaround: deinstall libidn


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu May 6 09:01:01 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: mi@aldan.algebra.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/146353: libidn-1.15 breaks devel/icu
Date: Thu, 6 May 2010 09:00:59 UT

 Maintainer of devel/icu,
 
 Please note that PR ports/146353 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/146353
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->open 
State-Changed-By: mi 
State-Changed-When: Thu May 6 15:09:40 UTC 2010 
State-Changed-Why:  
I'll look into this... 


Responsible-Changed-From-To: freebsd-ports-bugs->mi 
Responsible-Changed-By: mi 
Responsible-Changed-When: Thu May 6 15:09:40 UTC 2010 
Responsible-Changed-Why:  
I'll look into this... 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146353 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Mar 18 10:11:10 UTC 2011 
State-Changed-Why:  
this is fixed. 

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