Tasklist

FS#76 - icu: build problem

Attached to Project: CRUX-ARM
Opened by Victor Martinez (pitillo) - Monday, 25 January 2016, 10:41 GMT
Last edited by Victor Martinez (pitillo) - Monday, 25 January 2016, 13:22 GMT
Task Type Bug Report
Category ports/opt-arm
Status Closed
Assigned To Jose V Beneyto (sepen)
Victor Martinez (pitillo)
Operating System CRUX-ARM
Severity Medium
Priority High
Reported Version 3.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

We are facing a problem while building icu port:

...
mkdir uconvmsg
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH ../../bin/genrb -e UTF-8 -s resources -d uconvmsg root.txt
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH ../../bin/genrb -e UTF-8 -s resources -d uconvmsg fr.txt
../../bin/genrb: error while loading shared libraries: ../../lib/libicudata.so.56: internal error
Makefile:173: recipe for target 'uconvmsg/root.res' failed
make[2]: *** [uconvmsg/root.res] Error 127
make[2]: *** Waiting for unfinished jobs....
../../bin/genrb: error while loading shared libraries: ../../lib/libicudata.so.56: internal error
Makefile:173: recipe for target 'uconvmsg/fr.res' failed
make[2]: *** [uconvmsg/fr.res] Error 127
make[3]: Entering directory '/home/pkgmk/work/src/icu/source/extra/uconv'
rm -rf pkgdata.inc
make[3]: Leaving directory '/home/pkgmk/work/src/icu/source/extra/uconv'
make[2]: Leaving directory '/home/pkgmk/work/src/icu/source/extra/uconv'
Makefile:47: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 2
make[1]: Leaving directory '/home/pkgmk/work/src/icu/source/extra'
Makefile:143: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 2
=======> ERROR: Building '/home/pkgmk/pkg/icu#56.1-1.pkg.tar.xz' failed.
prt-get: error while install

We can see that needed libs aren't detected:
# ldd genrb
libicutu.so.56 => not found
libicui18n.so.56 => not found
libicuuc.so.56 => not found
libicudata.so.56 => not found
libpthread.so.0 => /lib/libpthread.so.0 (0xb6f14000)
libdl.so.2 => /lib/libdl.so.2 (0xb6f01000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6dc1000)
libm.so.6 => /lib/libm.so.6 (0xb6d46000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6d19000)
libc.so.6 => /lib/libc.so.6 (0xb6bde000)
/lib/ld-linux-armhf.so.3 (0xb6f3d000)

Needed libraries are found in ./source/lib/. Trying to run the binary exporting LD_LIBRARY_PATH=./source/lib ./source/bin/genrb doesn't work.
This task depends upon

Closed by  Victor Martinez (pitillo)
Monday, 25 January 2016, 13:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://crux-arm.nu/gitweb?p=ports/opt-a rm.git;a=commit;h=b295581a81c1a91ba08562 4a9eabb9e0ccda73ba

Loading...