Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316203 - app-office/openoffice-3.2.0 fails build after upgrade to dev-libs/icu-4.4-r1
Summary: app-office/openoffice-3.2.0 fails build after upgrade to dev-libs/icu-4.4-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 22:13 UTC by is
Modified: 2010-06-22 13:36 UTC (History)
1 user (show)

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


Attachments
build log (build.log.gz,464.07 KB, text/plain)
2010-04-19 22:18 UTC, is
Details

Note You need to log in before you can comment on or make changes to this bug.
Description is 2010-04-19 22:13:30 UTC
after upgrading of icu from version 4.2 to 4.4 (4.4-r1), pulled in by emerge -uDN world requires reinstall of openoffice, which then fails.


Reproducible: Always

Steps to Reproduce:
1.emerge app-office/openoffice
2.
3.

Actual Results:  
compile fails at some point, see build log



 emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r3-x86_64-AMD_Turion-tm-_64_Mobile_Technology_ML-37-with-gentoo-2.0.1
Timestamp of tree: Sun, 18 Apr 2010 15:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r2
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://213.186.33.37/gentoo-distfiles/ http://gentoo.mneisen.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de es pt"
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://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cupsddk cxx dbus dri dts dvd dvdr dvdread emboss encode exif fam fax ffmpeg firefox flac fortran gdbm gif gimp gpm gs gtk gtk2 hal hpcups iconv imagemagick ipv6 jpeg kerberos kpathsea lcms ldap libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl plotutils png postgres ppds pppd python qt-static qt3support readline realmedia reflection samba scanner sdl session snmp spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis wmp x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de es pt" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 is 2010-04-19 22:18:45 UTC
Created attachment 228455 [details]
build log
Comment 2 Hanno Zysik (geki) 2010-04-20 21:24:54 UTC
$ zgrep "not recognized" /tmp/build.log.gz 
../../unxlngx6.pro/slo/cmdmailsuppl.o: file not recognized: File format not recognized
nm: ../../unxlngx6.pro/slo/PresenterUIPainter.o: File format not recognized
../../unxlngx6.pro/slo/cmdmailsuppl.o: file not recognized: File format not recognized
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:../../../unxlngx6.pro/slo/shellexec.o: file format not recognized; treating as linker script
nm: ../../unxlngx6.pro/slo/PresenterUIPainter.o: File format not recognized
Comment 3 emerald 2010-04-30 19:18:31 UTC
compile without ccache or clean your ccache cache, there seem to be broken cached files (left over from crash or so)
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2010-06-14 11:57:50 UTC
is: did you follow the advice? Can't reproduce the problem myself here, Ooo builds just fine with icu 4.4
Comment 5 Kevin O'Gorman 2010-06-22 00:27:06 UTC
I've got what is probably the same problem with different symptoms.  I've got openoffice-3.2.0 (not -bin) and it has stopped working because it cannot load the library it was compiled with (42 not 44), and 44 is installed.

Now get this: revdep-rebuild does not have a problem with this.  One also has to wonder how the system got in this state.

Example:

kevin@treat Chomp $ oocalc
/usr/lib/openoffice/program/soffice.bin: error while loading shared libraries: libicuuc.so.42: cannot open shared object file: No such file or directory


I think my workaround is going to be to mask 44, and hope that fixes things.
Comment 6 Kevin O'Gorman 2010-06-22 00:34:15 UTC
In view of the comments above, I should probably mention that I do NOT have ccache installed, and never have.
Comment 7 Kevin O'Gorman 2010-06-22 03:07:47 UTC
(Expanding on comments #5 and #6)
The fix worked for me.  I masked icu-4.4.1, emerged icu, ran revdep-rebuild getting a clean bill of health.  Moreover, openoffice is working for me again.

To be explicit, I placed this in /etc/portage/package.mask:
# See bug 316203.  This version of icu may be incompatible with my current openoffice,
#   and I'd *much* rather recompile icu than all of openoffice.
=dev-libs/icu-4.4.1
Comment 8 is 2010-06-22 13:36:01 UTC
(In reply to comment #7)
> (Expanding on comments #5 and #6)
> The fix worked for me.  I masked icu-4.4.1, emerged icu, ran revdep-rebuild
> getting a clean bill of health.  Moreover, openoffice is working for me again.
> 
> To be explicit, I placed this in /etc/portage/package.mask:
> # See bug 316203.  This version of icu may be incompatible with my current
> openoffice,
> #   and I'd *much* rather recompile icu than all of openoffice.
> =dev-libs/icu-4.4.1
> 
Well, openoffice compiled fine for me, meanwhile, I thought I set the status to fixed, I thought I did, but obviously no. I will do so now.

I don't know about revdep-rebuild not finding a broken icu dependency after going to 4.4, it definitely found it on my system. Masking icu-4.4.1 and not wanting to recompile openoffice is perfectly fine, the reason given is not, since it *is* possible to compile it against icu-4.4.1.