Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343351 - app-text/texlive-core-2010 fails to build on arm with USE=xetex
Summary: app-text/texlive-core-2010 fails to build on arm with USE=xetex
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 342513
  Show dependency tree
 
Reported: 2010-10-30 09:50 UTC by Markus Meier
Modified: 2010-10-30 18:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-text:texlive-core-2010:20101028-113527.log.bz2 (20101028-113527.log.bz2,34.02 KB, application/octet-stream)
2010-10-30 09:52 UTC, Markus Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2010-10-30 09:50:05 UTC
this seems to be arch-specific, as I cannot reproduce this on x86.

app-text/texlive-core-2010  USE="X cjk* xetex* -doc -source -tk"

bin/sh ./libtool --tag=CXX   --mode=link armv5tel-softfloat-linux-gnueabi-g++  -O2 -march=armv5te -pipe  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o xetex  xetex-xetexini.o xetex-xetex0.o xetex-xetex_pool.o xetex-xetexextra.o xetex-synctex-xe.o libxetex.a  /var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/icu/icu-build/lib/libsicule.a /var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/icu/icu-build/lib/libsicuuc.a /var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/icu/icu-build/lib/libsicudata.a -lTECkit -lpoppler   -lpng -lfontconfig   -lgraphite   -lfreetype -lz -lz lib/lib.a -lkpathsea  -lm 
libtool: link: armv5tel-softfloat-linux-gnueabi-g++ -O2 -march=armv5te -pipe -Wl,-O1 -Wl,--hash-style=gnu -o xetex xetex-xetexini.o xetex-xetex0.o xetex-xetex_pool.o xetex-xetexextra.o xetex-synctex-xe.o  -Wl,--as-needed libxetex.a /var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/icu/icu-build/lib/libsicule.a /var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/icu/icu-build/lib/libsicuuc.a /var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/icu/icu-build/lib/libsicudata.a /usr/lib/libTECkit.so -lpoppler /usr/lib/libpng14.so /usr/lib/libfontconfig.so /usr/lib/libgraphite.so /usr/lib/libfreetype.so -lz lib/lib.a -lkpathsea -lm
armv5tel-softfloat-linux-gnueabi-g++: /var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/icu/icu-build/lib/libsicudata.a: No such file or directory
make[5]: *** [xetex] Error 1
make[5]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/texk/web2c'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/texk/web2c'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/texk/web2c'
make[2]: *** [subtexk] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/texk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/texk'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: app-text/texlive-core-2010 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3155:  Called die
 * The specific snippet of code:
 *       emake SHELL=/bin/sh texmf=${TEXMF_PATH:-/usr/share/texmf} || die "emake failed";


Portage 2.1.9.23 (default/linux/arm/10.0/desktop, gcc-4.4.5, glibc-2.11.2-r2, 2.6.35 armv5tel)
=================================================================
System uname: Linux-2.6.35-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-2.0.1
Timestamp of tree: Fri, 29 Oct 2010 07:30:20 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=armv5te -pipe"
DISTDIR="/mnt/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.116/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dts dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal iconv jpeg lcms libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline sdl session spell ssl startup-notification svg sysfs tcpd test tiff truetype unicode usb vorbis xcb xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident        voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus Meier gentoo-dev 2010-10-30 09:52:34 UTC
Created attachment 252569 [details]
app-text:texlive-core-2010:20101028-113527.log.bz2
Comment 2 Alexis Ballier gentoo-dev 2010-10-30 15:28:52 UTC
Found this in your build log:

LD_LIBRARY_PATH=../stubdata:../tools/ctestfw:../lib:$LD_LIBRARY_PATH  MAKEFLAGS= ../bin/pkgdata -O ../data/icupkg.inc -q -c -s /var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-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
pkgdata: armv5tel-softfloat-linux-gnueabi-gcc   -O2 -march=armv5te -pipe -c -I/var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/icu/icu-4.4/common -I../common -DPIC -fPIC -o ./out/tmp/icudt44l_dat.o ./out/tmp/icudt44l_dat.s
./out/tmp/icudt44l_dat.s: Assembler messages:
./out/tmp/icudt44l_dat.s:2: Error: junk at end of line, first unrecognized character is `,'
./out/tmp/icudt44l_dat.s:5: Error: unrecognized symbol type ""
-- return status = 256
Error generating assembly code for data.
LD_LIBRARY_PATH=../stubdata:../tools/ctestfw:../lib:$LD_LIBRARY_PATH  MAKEFLAGS= ../bin/pkgdata -O ../data/icupkg.inc -q -c -s /var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/icu/icu-build/data/out/build/icudt44l -d ../lib -e icudt44  -T ./out/tmp -p icudt44l -m dll -r 44.0 -L icudata ./out/tmp/icudata.lst
pkgdata: armv5tel-softfloat-linux-gnueabi-gcc   -O2 -march=armv5te -pipe -c -I/var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/icu/icu-4.4/common -I../common -DPIC -fPIC -o ./out/tmp/icudt44l_dat.o ./out/tmp/icudt44l_dat.s
./out/tmp/icudt44l_dat.s: Assembler messages:
./out/tmp/icudt44l_dat.s:2: Error: junk at end of line, first unrecognized character is `,'
./out/tmp/icudt44l_dat.s:5: Error: unrecognized symbol type ""
-- return status = 256
Error generating assembly code for data.


This seems to be the cause.

Does the icu patch for arm help?
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/icu/files/icu-4.4.1-arm.patch?revision=1.1
Comment 3 Markus Meier gentoo-dev 2010-10-30 18:15:35 UTC
(In reply to comment #2)
> This seems to be the cause.
> 
> Does the icu patch for arm help?
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/icu/files/icu-4.4.1-arm.patch?revision=1.1

yes, it compiles with this patch applied.
Comment 4 Alexis Ballier gentoo-dev 2010-10-30 18:46:29 UTC
should be fixed with PACHLEVEL 20 then