Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 384401

Summary: app-text/texlive-core-2011-r4: failed to compile on prefix/Mac OSX
Product: Gentoo/Alt Reporter: yegle <cnyegle>
Component: OtherAssignee: Gentoo non-Linux Team <alt>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: emerge --info =app-text/texlive-core-2011-r4

Description yegle 2011-09-25 05:48:16 UTC
After enabaling USE flag xetex, texlive-core failed to compile on prefix/Mac OSX.

Related error log:
x86_64-apple-darwin11-g++ -DHAVE_CONFIG_H -I. -I./w2c  -I/Users/yegle/.gentoo/usr/include -I./xetexdir -DU_STATIC_IMPLEMENTATION -I/Users/yegle/.gentoo/var/tmp/portage/app-text/texlive-core-2011-r4/work/texlive-20110705-source/libs/icu/include -I/Users/yegle/.gentoo/usr/include/freetype2 -I/Users/yegle/.gentoo/usr/include -I/Users/yegle/.gentoo/usr/include/teckit -DXETEX_MAC  -DXETEX_GRAPHITE -I/Users/yegle/.gentoo/usr/include      -O2 -pipe -march=nocona -MT libxetex_a-XeTeXLayoutInterface.o -MD -MP -MF .deps/libxetex_a-XeTeXLayoutInterface.Tpo -c -o libxetex_a-XeTeXLayoutInterface.o `test -f 'xetexdir/XeTeXLayoutInterface.cpp' || echo './'`xetexdir/XeTeXLayoutInterface.cpp
xetexdir/XeTeXLayoutInterface.cpp: In function 'int GetFontCharRange_AAT(OpaqueATSUStyle*, int)':
xetexdir/XeTeXLayoutInterface.cpp:867: error: 'ATSUGetAttribute' was not declared in this scope
xetexdir/XeTeXLayoutInterface.cpp:869: error: 'FMGetATSFontRefFromFont' was not declared in this scope
make[5]: *** [libxetex_a-XeTeXLayoutInterface.o] Error 1

Reproducible: Always
Comment 1 yegle 2011-09-25 05:49:00 UTC
Created attachment 287653 [details]
emerge --info =app-text/texlive-core-2011-r4
Comment 2 yegle 2011-09-25 05:49:44 UTC
Created attachment 287655 [details]
Comment 3 yegle 2011-09-25 06:47:10 UTC
Alright, I found it's because I'm using a x86_64 prefix.

This can be fixed by "CHOST=x86-apple-darwin11 emerge texlive-core"

I think it should stop compiling when USE=amd64 and USE=xetex
Comment 4 yegle 2011-09-25 06:48:07 UTC
Sorry, the fix doesn't work...
Comment 5 yegle 2016-06-06 04:07:33 UTC
It's 2016 now and obsolete this bug.