ports/146353: libidn-1.15 breaks devel/icu

rossiya rossiya2 at gmail.com
Thu May 6 09:00:14 UTC 2010


>Number:         146353
>Category:       ports
>Synopsis:       libidn-1.15 breaks devel/icu
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 06 09:00:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     rossiya <rossiya2 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list