Package: libicu36-dev
Version: 3.6-6
Severity: grave

Hi,

Someone else aready told me about this on IRC but I didn't have any idea until
I ran into it myself now; the binaries in libicu36-dev are broken or a 
dependency is missing:

This system is a pure amd64 system and I tried to build amd64 pakages in
a clean chroot. That means only with libicu36-dev installed.

genbrk fails miserably.

excerpts from the build log:

checking for genbrk... /usr/bin/genbrk
checking for genccode... /usr/sbin/genccode
checking for gencmn... /usr/sbin/gencmn
checking ICU version... OK
[...]
/usr/bin/genbrk -r data/char_ta.txt -o
../../unxlngx6.pro/misc/char_ta.brk
/bin/bash: /usr/bin/genbrk: No such file or directory
dmake:  Error code 127, while making
'../../unxlngx6.pro/misc/char_ta.brk'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/build/rene/openoffice.org-2.2.1/ooo-build/build/OOF680_m18/i18npool/source/breakiterator

So why is that? (The bash message is totally bogus..)

$ genbrk
genbrk: error while loading shared libraries: libicutu.so.36: cannot
open shared object file: No such file or directory
(same with the other tools, too)

Hmm? Shouldn't this be in libicu36-dev? Yes, it is. Hmm.
So I wondered why it wasn't found and just by chance I ran file on
genbrk:

$ file /usr/bin/genbrk
/usr/bin/genbrk: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for 
GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped

Ahaa. i386 binary. 

I therefore installed lib32icu36 (which contains the 32-bit icu libs and
then it magically works).
Was that intended or is it a bug caused by the 32bit packages building?
I'd assume the second, but...

So either
 - the 32-bit binaries in the amd64 package are intended. Then you need
   to depend on lib32icu36, too
 - the 32-bit binaries in the amd64 is a mistake introduced by the 32/64
   bit thing and you should ship 64-bit tools

This also explains why I never saw this on OOo 2.3.0 builds for
experimental as I was using libicu-dev (3.8) there - which doesn't have
the 32/64 bit stuff yet - and of course neither on other archs than amd64..

Regards,

Rene

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libicu36-dev depends on:
ii  libc6-dev [libc-dev]          2.6.1-5    GNU C Library: Development Librari
ii  libicu36                      3.6-6      International Components for Unico

libicu36-dev recommends no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to