Bug 143718 - [PATCH] ports/www/webkit-gtk2 (build failure with icu 4.3.3 (error in TextBreakIteratorICU.cpp))
Summary: [PATCH] ports/www/webkit-gtk2 (build failure with icu 4.3.3 (error in TextBre...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 07:00 UTC by Andrei V. Lavreniyuk
Modified: 2010-02-10 15:30 UTC (History)
0 users

See Also:


Attachments
file.diff (378 bytes, patch)
2010-02-10 07:00 UTC, Andrei V. Lavreniyuk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei V. Lavreniyuk 2010-02-10 07:00:06 UTC
  CXX    WebCore/platform/text/libWebCore_la-String.lo                                                                                                                                                                                                                         
  CXX    WebCore/platform/text/libWebCore_la-StringBuilder.lo                                                                                                                                                                                                                  
  CXX    WebCore/platform/text/libWebCore_la-StringImpl.lo                                                                                                                                                                                                                     
  CXX    WebCore/platform/text/libWebCore_la-TextBoundariesICU.lo                                                                                                                                                                                                              
  CXX    WebCore/platform/text/libWebCore_la-TextBreakIteratorICU.lo                                                                                                                                                                                                           
WebCore/platform/text/TextBoundariesICU.cpp: In function 'int WebCore::findNextWordFromIndex(const UChar*, int, int, bool)':                                                                                                                                                   
WebCore/platform/text/TextBoundariesICU.cpp:39: error: cannot convert 'WebCore::TextBreakIterator*' to 'UBreakIterator*' in initialization                                                                                                                                     
WebCore/platform/text/TextBoundariesICU.cpp: In function 'void WebCore::findWordBoundary(const UChar*, int, int, int*, int*)':                                                                                                                                                 
WebCore/platform/text/TextBoundariesICU.cpp:70: error: cannot convert 'WebCore::TextBreakIterator*' to 'UBreakIterator*' in initialization                                                                                                                                     
gmake[1]: *** [WebCore/platform/text/libWebCore_la-TextBoundariesICU.lo] Ошибка 1                                                                                                                                                                                              
gmake[1]: *** Ожидание завершения заданий...                                                                                                                                                                                                                                   
WebCore/platform/text/TextBreakIteratorICU.cpp: In function 'WebCore::TextBreakIterator* WebCore::setUpIterator(bool&, WebCore::TextBreakIterator*&, UBreakIteratorType, const UChar*, int)':                                                                                  
WebCore/platform/text/TextBreakIteratorICU.cpp:41: error: invalid static_cast from type 'UBreakIterator*' to type 'WebCore::TextBreakIterator*'                                                                                                                                
WebCore/platform/text/TextBreakIteratorICU.cpp:49: error: cannot convert 'WebCore::TextBreakIterator*' to 'UBreakIterator*' for argument '1' to 'void ubrk_setText_43(UBreakIterator*, const UChar*, int32_t, UErrorCode*)'                                                    
WebCore/platform/text/TextBreakIteratorICU.cpp: In function 'int WebCore::textBreakFirst(WebCore::TextBreakIterator*)':                                                                                                                                                        
WebCore/platform/text/TextBreakIteratorICU.cpp:90: error: cannot convert 'WebCore::TextBreakIterator*' to 'UBreakIterator*' for argument '1' to 'int32_t ubrk_first_43(UBreakIterator*)'                                                                                       
WebCore/platform/text/TextBreakIteratorICU.cpp: In function 'int WebCore::textBreakNext(WebCore::TextBreakIterator*)':                                                                                                                                                         
WebCore/platform/text/TextBreakIteratorICU.cpp:95: error: cannot convert 'WebCore::TextBreakIterator*' to 'UBreakIterator*' for argument '1' to 'int32_t ubrk_next_43(UBreakIterator*)'                                                                                        
WebCore/platform/text/TextBreakIteratorICU.cpp: In function 'int WebCore::textBreakPreceding(WebCore::TextBreakIterator*, int)':                                                                                                                                               
WebCore/platform/text/TextBreakIteratorICU.cpp:100: error: cannot convert 'WebCore::TextBreakIterator*' to 'UBreakIterator*' for argument '1' to 'int32_t ubrk_preceding_43(UBreakIterator*, int32_t)'                                                                         
WebCore/platform/text/TextBreakIteratorICU.cpp: In function 'int WebCore::textBreakFollowing(WebCore::TextBreakIterator*, int)':                                                                                                                                               
WebCore/platform/text/TextBreakIteratorICU.cpp:105: error: cannot convert 'WebCore::TextBreakIterator*' to 'UBreakIterator*' for argument '1' to 'int32_t ubrk_following_43(UBreakIterator*, int32_t)'                                                                         
WebCore/platform/text/TextBreakIteratorICU.cpp: In function 'int WebCore::textBreakCurrent(WebCore::TextBreakIterator*)':                                                                                                                                                      
WebCore/platform/text/TextBreakIteratorICU.cpp:110: error: cannot convert 'WebCore::TextBreakIterator*' to 'const UBreakIterator*' for argument '1' to 'int32_t ubrk_current_43(const UBreakIterator*)'                                                                        
WebCore/platform/text/TextBreakIteratorICU.cpp: In function 'bool WebCore::isTextBreak(WebCore::TextBreakIterator*, int)':                                                                                                                                                     
WebCore/platform/text/TextBreakIteratorICU.cpp:115: error: cannot convert 'WebCore::TextBreakIterator*' to 'UBreakIterator*' for argument '1' to 'UBool ubrk_isBoundary_43(UBreakIterator*, int32_t)'                                                                          
WebCore/platform/text/TextBreakIteratorICU.cpp: In function 'WebCore::TextBreakIterator* WebCore::setUpIteratorWithRules(bool&, WebCore::TextBreakIterator*&, const char*, const UChar*, int)':                                                                                
WebCore/platform/text/TextBreakIteratorICU.cpp:129: error: invalid static_cast from type 'UBreakIterator*' to type 'WebCore::TextBreakIterator*'                                                                                                                               
WebCore/platform/text/TextBreakIteratorICU.cpp:137: error: cannot convert 'WebCore::TextBreakIterator*' to 'UBreakIterator*' for argument '1' to 'void ubrk_setText_43(UBreakIterator*, const UChar*, int32_t, UErrorCode*)'                                                   
gmake[1]: *** [WebCore/platform/text/libWebCore_la-TextBreakIteratorICU.lo] Ошибка 1                                                                                                                                                                                           
gmake[1]: Leaving directory `/usr/ports/www/webkit-gtk2/work/webkit-1.1.15.4'                                                                                                                                                                                                  
gmake: *** [all] Error 2                                                                                                                                                                                                                                                      
*** Error code 1                                                                                                                                                                                                                                                               

Stop in /usr/ports/www/webkit-gtk2.
*** Error code 1                   

Stop in /usr/ports/www/webkit-gtk2.
** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgrade20100210-52211-1gu87r4-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=webkit-gtk2-1.1.15.4_2 UPGRADE_PORT_VER=1.1.15.4_2 make
** Fix the problem and try again.                                                                                                                                                                  
** Listing the failed packages (-:ignored / *:skipped / !:failed)                                                                                                                                  
        ! www/webkit-gtk2 (webkit-gtk2-1.1.15.4_2)      (unknown build error)

Fix: Patch attached with submission follows:
How-To-Repeat: Change to Makefile (ports/www/webkit-gtk2)

-LIB_DEPENDS=   icutu.38:${PORTSDIR}/devel/icu \
+LIB_DEPENDS=   icutu.43:${PORTSDIR}/devel/icu4 \

# portupgrade -o devel/icu4 devel/icu
# cd /usr/ports/www/webkit-gtk2 && make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-02-10 07:00:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-02-10 15:20:34 UTC
kwm         2010-02-10 15:20:20 UTC

  FreeBSD ports repository

  Modified files:
    www/webkit-gtk2      Makefile 
  Added files:
    www/webkit-gtk2/files 
                          extra-patch-WebCore_platform_text_TextBreakIterator.h 
  Log:
  Fix build when icu 4.3 is used instead of 3.8 [1].
  Still default to icu 3.8 but depend on icu 4.3 if its installed.
  
  PR:             ports/143718 [1]
  Submitted by:   Andrei Lavreniyuk <andy.lavr@reactor-xg.kiev.ua>
  
  Revision  Changes    Path
  1.17      +8 -2      ports/www/webkit-gtk2/Makefile
  1.1       +15 -0     ports/www/webkit-gtk2/files/extra-patch-WebCore_platform_text_TextBreakIterator.h (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Koop Mast freebsd_committer freebsd_triage 2010-02-10 15:20:59 UTC
State Changed
From-To: open->closed

Committed, with some modifications. Thanks!