Bug 161044 - devel/icu does not build on arm
Summary: devel/icu does not build on arm
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bartek Rutkowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 23:30 UTC by Naoyuki Tai
Modified: 2015-03-20 07:48 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naoyuki Tai 2011-09-26 23:30:11 UTC
"make" of /usr/ports/devel/icu fails in following fashion.
As you can imagine, many ports don't work without ICU library.

  stream  {
   TestStream                                ---[OK]  
   TestStreamEOF                             ---[OK]  
  }  
 }   / (./iotest) ((4.0s)) 
 
[All tests passed successfully...]
Elapsed Time: 00:00:04.005
# Performing the cintltst test
gmake -C /usr/ports/devel/icu/work/icu/source/test
gmake: Entering directory `/usr/ports/devel/icu/work/icu/source/test'
gmake[0]: Making `all' in `testdata'
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test/testdata'
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH  MAKEFLAGS= ../../bin/pkgdata -q -c -s /usr/ports/devel/icu/work/icu/source/test/testdata/out/build/icudt48l -T ../../test/testdata/out/build -d ../../test/testdata/out -s ../../test/testdata/out/build -p testdata -m common ../../test/testdata/out/build/testdata.lst
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test/testdata'
gmake[0]: Making `all' in `intltest'
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test/intltest'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test/intltest'
gmake[0]: Making `all' in `iotest'
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test/iotest'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test/iotest'
gmake[0]: Making `all' in `cintltst'
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test/cintltst'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test/cintltst'
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test'
gmake[1]: Nothing to be done for `all-local'.
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test'
gmake: Leaving directory `/usr/ports/devel/icu/work/icu/source/test'
cd /usr/ports/devel/icu/work/icu/source/test/cintltst && /usr/bin/env  LD_LIBRARY_PATH=/usr/ports/devel/icu/work/icu/source/lib:/usr/ports/devel/icu/work/icu/source/tools/ctestfw  ./cintltst
Default locale for this run is en_US_POSIX
 (./cintltst)  {
  tsconv  {
   ucnvseltst  {
    TestSelector *** Signal 10

Stop in /usr/ports/devel/icu.
*** Error code 1

Stop in /usr/ports/devel/icu.


Run cintltst under gdb
scarabee# cd /usr/ports/devel/icu/work/icu/source/test/cintltst
scarabee# setenv  LD_LIBRARY_PATH /usr/ports/devel/icu/work/icu/source/lib:/usr/ports/devel/icu/work/icu/source/tools/ctestfw
scarabee# gdb cintltst
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "arm-marcel-freebsd"...(no debugging symbols found)...
(gdb) r
Starting program: /usr/ports/devel/icu/work/icu/source/test/cintltst/cintltst 
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...Default locale for this run is en_US_POSIX
 (/usr/ports/devel/icu/work/icu/source/test/cintltst/cintltst)  {
  tsconv  {
   ucnvseltst  {
    TestSelector 
Program received signal SIGBUS, Bus error.
0x20557790 in uset_openEmpty_48 () at uset.cpp:32
32      uset_openEmpty() {
Current language:  auto; currently c++
(gdb) bt
#0  0x20557790 in uset_openEmpty_48 () at uset.cpp:32
#1  0x000288f0 in getResultsManually ()
#2  0x00029038 in TestSelector ()
#3  0x20198dc8 in iterateTestsWithLevel () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#4  0x20199080 in iterateTestsWithLevel () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#5  0x20199080 in iterateTestsWithLevel () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#6  0x20199080 in iterateTestsWithLevel () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#7  0x201992dc in runTests () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#8  0x20199928 in runTestRequest () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#9  0x00038024 in main ()


This is built with 
# cc --version
cc (GCC) 4.2.1 20070719  [FreeBSD]

How-To-Repeat: 1 - Install FreeBSD 8.2 Release on a ARM machine
2 - go to /usr/ports/devel/icu and "make"
Comment 1 Bartek Rutkowski freebsd_committer freebsd_triage 2015-03-20 07:48:18 UTC
Two independent tests confirmed that devel/icu port builds fine on the arm platform so I am closing this port as the issue cant be reproduced.