pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44709: print/xetex fails to build with GCC 3.4 on Solaris



>Number:         44709
>Category:       pkg
>Synopsis:       print/xetex fails to build with GCC 3.4 on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 11 13:20:01 +0000 2011
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Since recently, print/xetex fails to compile on Solaris/i86 with lang/gcc34:

Unpacking 
/software/pkgsrc/source/pkgsrc/print/xetex/work.spare4200/texlive-20100720-source/libs/icu/icu-4.4/data/in/icudt44l.dat
 and generating out/tmp/icudata.lst (list of data files)
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  
../bin/icupkg -d ./out/build/icudt44l --list -x \* 
/software/pkgsrc/source/pkgsrc/print/xetex/work.spare4200/texlive-20100720-source/libs/icu/icu-4.4/data/in/icudt44l.dat
 -o out/tmp/icudata.lst
echo timestamp > build-local
LD_LIBRARY_PATH=../stubdata:../tools/ctestfw:../lib:$LD_LIBRARY_PATH  
MAKEFLAGS= ../bin/pkgdata -O ../data/icupkg.inc -q -c -s 
/software/pkgsrc/source/pkgsrc/print/xetex/work.spare4200/texlive-20100720-source/libs/icu/icu-build/data/out/build/icudt44l
 -d ../lib -e icudt44  -T ./out/tmp -p icudt44l -L icudata -m static -r 44.0 
./out/tmp/icudata.lst
Unable to open or read "../data/icupkg.inc" option file. status = 
U_BUFFER_OVERFLOW_ERROR
gmake[3]: *** [packagedata] Error 255
gmake[3]: Leaving directory 
`/software/pkgsrc/source/pkgsrc/print/xetex/work.spare4200/texlive-20100720-source/libs/icu/icu-build/data'


Probably this is related to Bug 7680 in ICU

http://www.icu-project.org/trac/ticket/7680

and its duplicate

http://bugs.icu-project.org/trac/ticket/7749

which references Gentoo bugs 285735 and 318011

http://bugs.gentoo.org/285735
http://bugs.gentoo.org/318011


>How-To-Repeat:

>Fix:
This patch seems to solve the immediate problem. There seems to be a patch 
upstream, hopefully a better one.

--- pkgdata.cpp.orig    Di Mrz 30 13:21:43 2010
+++ pkgdata.cpp Fr Mrz 11 14:09:00 2011
@@ -94,8 +94,8 @@
 #define PKGDATA_FILE_SEP_STRING U_FILE_SEP_STRING
 #endif
 
-#define LARGE_BUFFER_MAX_SIZE 2048
-#define SMALL_BUFFER_MAX_SIZE 512
+#define LARGE_BUFFER_MAX_SIZE 20480
+#define SMALL_BUFFER_MAX_SIZE 5120
 
 static void loadLists(UPKGOptions *o, UErrorCode *status);



Home | Main Index | Thread Index | Old Index