MichaelChirico / r-bugs

A ⚠️read-only⚠️mirror of https://bugs.r-project.org/
20 stars 0 forks source link

[BUGZILLA #14548] Undefined symbols uiter_setUTF8 and ucol_strcollIter on Gentoo Linux PowerPC-32 #4138

Closed MichaelChirico closed 4 years ago

MichaelChirico commented 4 years ago

An attempt to build R-2.12.2 on Gentoo Linux PowerPC-32 failed with these errors:

gcc -std=gnu99 -Wl,--export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -o R.bin Rmain.o libR.a -L../../lib -lRblas -lgfortran -lm /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lc -Wl,-rpath -Wl,/usr/local/lib -lreadline -lncurses -llzma -ldl -lm -liconv -licuuc -licui18n libR.a(util.o): In function Rf_Scollate': /local/build/bare/R-2.12.2/src/main/util.c:1740: undefined reference touiter_setUTF8' /local/build/bare/R-2.12.2/src/main/util.c:1741: undefined reference to uiter_setUTF8' /local/build/bare/R-2.12.2/src/main/util.c:1742: undefined reference toucol_strcollIter'

The missing symbols are declared as externals in ./src/main/util.c, but are not supplied elsewhere, and are not found among more than 2000 system libraries for which I generated symbols with the nm utility.

Curiously, a build on a 64-bit Gentoo Linux PowerPC system succeeded, and passed all installation tests.


METADATA

MichaelChirico commented 4 years ago

Those are part of ICU so yours is apparently incomplete or too old. So either use --without-ICU or fix/update your ICU. And please use the mailing lists for questions.


METADATA