Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242506 - app-office/openoffice-2.4.1 conflicts with >=dev-libs/xerces-c-2.8
Summary: app-office/openoffice-2.4.1 conflicts with >=dev-libs/xerces-c-2.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 22:06 UTC by Daniel Santos
Modified: 2008-10-18 17:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Santos 2008-10-17 22:06:25 UTC
openoffice-2.4.1 requires >=dev-libs/icu-3.8.  xerces-c-2.8.0-r1 requires <dev-libs/icu-3.8 when compiling with the icu USE flag.  When compiling xerces-c with icu, this results in:

dev-libs/icu:0

  ('installed', '/', 'dev-libs/icu-3.6-r2', 'nomerge') pulled in by
    ('installed', '/', 'dev-libs/xerces-c-2.8.0-r1', 'nomerge')

  ('ebuild', '/', 'dev-libs/icu-3.8.1-r1', 'merge') pulled in by
    ('ebuild', '/', 'app-office/openoffice-2.4.1', 'merge')
    ('installed', '/', 'dev-libs/boost-1.35.0-r2', 'nomerge')

The *workaround* (as noted in bug #208699) is to compile xerces-c -icu.  However, this leads to other problems for myself as I'm developing a project that uses these features of xerces-c.  I don't think it's enough to post a work around in an obscure bug report.  I believe that portage should address the issue somewhere its self.  Some possibilities:

* >=xerces-c-2.8 ebuilds warn about problems with icu conflicts, suggest masking in /etc/portage/package.mask
* >=xerces-c-2.8 ebuilds have ~amd64 (and other appropriate) keyword(s) removed
* >=xerces-c-2.8 globally masked (masking in /etc/portage/package.mask seems to be the solution for my particular problem)
* openoffice-2.4.1 add COMMON_DEPEND atom "<dev-libs/xerces-c-2.8" - even though it doesn't use xerces-c (hopefully, there's a cleaner way of implementing that)

Please don't close invalid, wontfix, etc without carefully considering this -- primarily that the workarounds are neither intuitive or easily discovered.  Thank you.


Additional Notes:

Please also note that openoffice 3.0.0 is currently globally masked, so it's existence (and compatibility with >=icu-3.8) isn't a solution at this time:

"=app-office/openoffice-3.0.0" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-office/openoffice-3.0.0 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Proschofsky <suka@gentoo.org> (22 Aug 2008)
# Beta release, still got some issues


Side note: Due to bug #208001, I suspect that the openoffice COMMON_DEPEND atom ">=dev-libs/icu-3.8" should be changed to ">=dev-libs/icu-3.8.1-r1", although the current portage tree does pull in dev-libs/icu-3.8.1-r1 at this time.

See also bug #208699, which has been closed "resolved fixed"



Portage 2.2_rc11 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r8-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Thu, 16 Oct 2008 00:31:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -msse4a -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8-sse3 -msse4a -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.cs.wmich.edu/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://osmirrors.cerias.purdue.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en en_GB en_ZA af ar as_IN be be_BY bg bn br bs ca cs csb cy da de dz el eo es es_AR es_ES et eu fa fi fr fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hu is it ja ka km ko ku lt lv mk ml_IN mn mr_IN ms mt nb nb_NO nds ne nl nn nn_NO nr ns or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sh sk sl sr ss st sv sv_SE sw sw_TZ ta ta_IN te te_IN tg th ti ti_ER tn tr ts uk ur ur_IN ve vi xh zh zh_CN zh_TW zu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina /usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 64bit 7zip X Xaw3d a52 aac aalib acl acpi administrator afs aim aimextras aio akode alsa amd64 amr ao aotuv apache apache2 apm applet ares arts asf async audacious audiofile authdaemond authfile autoipd automount avahi backtrace bash-completion berkdb binfilter bittorrent bl bluetooth bonjour boost branding buttons bzip2 c3p0 cairo calendar cdaudio cdb cdda cddb cdparanoia cdr cdrom cegui cg cgi cjk cli commons-digester console cpudetection cpufreq cpulimit cracklib crypt cscope css cups curl curlwrappers cvs daap dbus dedicated dga dirac directfb divx djbfft dmx dolby-record-switch dom4j double-precision dri dts dv dvd dvdnav dvdr dvdread eds emboss emoticon encode enscript esd evo excel exif expat extraicons fam fasttrack fax fbcon ffmpeg fftw firefox flac flash fmod font-server fontconfig fortran ftp fuse fusion gadu gb gcj gd gdb gdbm geos ggi gif ginac git glib glitz glut gmedia gmp gmtfull gnokii gnutella gnutls gphoto2 gpm graphviz gs gsl gstreamer gtalk gtk gzip hal hddtemp html htmlhandbook hwmixer icecast iceweasel iconv icq id3 id3tag idn ieee1394 imagemagick imap imlib inifile insecure-savers irc irda isdnlog ithreads jack java java5 java6 javascript jbig jce jikes jingle jmx jpeg jpeg2k kde kdeprefix kdexdeltas kdrive kerberos keyring lame lcms ldap libcaca libnotify libsamplerate libvisual libwww lirc live lm_sensors log4j logitech-mouse lua lzo mad maildir maps math maxoptimization md5sum meanwhile menesi midi mikmod mime ming mjpeg mmap mmkeys mmx mmxext mng modperl modplug motif mouse mozdevelop mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 msn mtp mudflap multicall multilib multislot musepack musicbrainz mysql mysqli nas ncurses net netjack network njb nls nntp npp nptl nptlonly nsplugin nss nuv nvidia nvtv objc objc++ objc-gc ode odk offensive ogg openal openexr opengl openmp p2p pam pango pch pcntl pcre pda pdf perl php player plotutils png portaudio posix postproc ppds pppd pulseaudio python qq qt3support qt4 quicktime radio rar readline reflection rrdcgi rtc ruby samba sametime sasl scanner schroedinger sdl sdl-image sdl-sound seamonkey sensord serpentine session sharedext silc slp smp smtp sndfile snmp soap sockets sound speex spell spl sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification stream streamripper subversion suexec svg svgz sysfs syslog sysvipc tagwriting tcl tcpd tetex tga theora threads tidy tiff timidity tk tokenizer transcode translator trayicon truetype tse3 twolame unicode urandom usb userlocales v4l v4l2 vcd vda vhosts videos vim-syntax vim-with-x visualization vorbis vorbis-psy wav wavpack webdav wifi wma wmf wxwindows x264 xanim xattr xcb xcomposite xface xforms xine xinerama xml xmlreader xmlrpc xmlwriter xorg xplanet xpm xprint xscreensaver xsl xv xvid xvmc yaepg yahoo yv12 zeroconf zip 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 auth_digest authn_alias authn_dbd 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 dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en en_GB en_ZA af ar as_IN be be_BY bg bn br bs ca cs csb cy da de dz el eo es es_AR es_ES et eu fa fi fr fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hu is it ja ka km ko ku lt lv mk ml_IN mn mr_IN ms mt nb nb_NO nds ne nl nn nn_NO nr ns or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sh sk sl sr ss st sv sv_SE sw sw_TZ ta ta_IN te te_IN tg th ti ti_ER tn tr ts uk ur ur_IN ve vi xh zh zh_CN zh_TW zu" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Santos 2008-10-18 01:58:03 UTC
Update:  OpenOffice 3.0.0 appears to be unmasked now
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-18 17:22:05 UTC
(In reply to comment #1)
> Update:  OpenOffice 3.0.0 appears to be unmasked now
> 

And it doesn't depend on xerces anymore, so the bug is already obsolete...