Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161784 - Possible problem with app-office/openoffice-2.1.0 dependencies on dev-java/servletapi
Summary: Possible problem with app-office/openoffice-2.1.0 dependencies on dev-java/se...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-12 15:58 UTC by Paolo Pedroni
Modified: 2007-01-12 17:49 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 Paolo Pedroni 2007-01-12 15:58:29 UTC
Today I felt daring and thought of installing openoffice from source. After a few iterations of putting necessary unstable packages in /etc/portage/package.keywords I end up with:

paolo@biocomm ~ $ emerge -otpv openoffice

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[blocks B     ] app-office/openoffice-bin (is blocking app-office/openoffice-2.1.0)
[nomerge      ] app-office/openoffice-2.1.0  USE="binfilter cairo cups dbus firefox gtk java kde pam sound -branding -debug -eds -gnome -gstreamer -ldap -odk -seamonkey -webdav" LINGUAS="it -af -ar -as_IN -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -ja -km -ko -lt -lv -mk -nb -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu"
[ebuild  NS   ]  sys-libs/db-4.3.29-r2  USE="java tcl test -bootstrap -doc -nocxx" 5,960 kB
[ebuild  N    ]  app-text/hunspell-1.1.4-r1  USE="ncurses readline" 428 kB
[ebuild  N    ]  x11-libs/startup-notification-0.8  230 kB
[ebuild  N    ]  dev-java/bsh-2.0_beta4-r1  USE="readline -doc -source" 1,627 kB
[ebuild  N    ]   dev-java/libreadline-java-0.8.0-r1  USE="-doc -source" 75 kB
[ebuild  N    ]   dev-java/servletapi-2.4-r2  USE="jikes -doc -source" 3,560 kB
[ebuild  N    ]  dev-libs/boost-1.33.1-r1  USE="icu threads threadsonly -bcp -bjam -debug -doc -pyste" 11,237 kB
[ebuild  N    ]  dev-libs/icu-3.6  9,944 kB
[ebuild  N    ]  dev-perl/Archive-Zip-1.16  108 kB
[ebuild  N    ]  dev-libs/STLport-4.6.2-r2  738 kB
[ebuild  N    ]  dev-java/xalan-2.7.0-r2  USE="-doc -source" 6,117 kB
[ebuild  N    ]   dev-java/javacup-0.10k  USE="-source" 186 kB
[ebuild  N    ]   dev-java/bcel-5.1-r3  USE="-doc -source" 12,338 kB
[ebuild  N    ]   dev-java/xerces-2.7.1-r2  USE="-doc -examples -source" 1,648 kB
[ebuild  N    ]    dev-java/xjavac-20041208-r4  1 kB
[ebuild  N    ]    dev-java/xml-commons-resolver-1.1-r1  USE="-doc -source" 225 kB
[ebuild  N    ]   dev-java/jakarta-regexp-1.3-r4  USE="-doc -source" 124 kB
[ebuild  N    ]   dev-java/xml-commons-external-1.3.02-r1  USE="-doc -source" 1,031 kB
[ebuild  N    ]   dev-java/bsf-2.3.0-r2  USE="jikes -doc -jython -rhino -source" 1,021 kB
[ebuild  N    ]    dev-java/servletapi-2.3-r2  USE="jikes -doc -source" 124 kB
[ebuild  N    ]  media-libs/portaudio-18.1-r5  537 kB

Can you spot the problem? dev-java/servletapi is found twice in the list, with different versions (and it's not a slot'ed package). It's supposed to be compiled once with version 2.3-r2 as a (runtime, I think) dependancy for dev-java/bsf and then with version 2.4-r2 as a (runtime again, AFAIK) dependancy for dev-java/bsh. The problem is that both programs depend on their exact version (2.3 for bsf and 2.4 for bsh), but both cannot be installed at the same time.

I don't feel daring enough to try to go on with the emerge, and I defer to you developers to tell me if this is all right or to come up with a solution.


Reproducible: Always

Steps to Reproduce:
1. # echo "=dev-java/bsh-2.0_beta4*" >> /etc/portage/package.keywords
2. # echo "=sys-libs/db-4.3.29*" >> /etc/portage/package.keywords
3. emerge -pv openoffice
Actual Results:  
The system tries to emerge dev-java/servletapi twice with two different versions

Expected Results:  
Either only one instance of dev-java/servletapi is installed or the package is slot'ed (if possible)

paolo@biocomm ~ $ emerge --info
Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System version 1.12.6
Last Sync: Fri, 12 Jan 2007 08:30:02 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distcc distlocks fixpackages metadata-transfer sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://gentoo.intergenia.de http://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j11"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aalib acpi alsa alsa_cards_intel-8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol arts audiofile bash-completion berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cli cracklib crypt cups curl dbus dga dio dlloader dri dvd dvdr dvdread elibc_glibc emboss emul-linux-x86 encode exif expat fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gd ggi gif glut gmp gnutls gphoto2 gpm gtk2 guile hal iconv idn ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java javascript jbig jikes jpeg jpeg2k kde kdeenablefinal kernel_linux lcms libcaca libg++ libsamplerate linguas_it lm_sensors lua mad maildir matroska memlimit mikmod mime mmap mng motif mozilla mp3 mpeg mpi ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl oss pam pcre pdf perl png posix ppds pppd python qt3 quicktime readline recode reflection ruby samba sasl sdl session sharedmem shorten sndfile sockets sox speex spell spl ssl svg symlink sysvipc tcl tcltk tcpd theora threads tidy tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_radeon vorbis wmf xine xml xorg xosd xpm xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus 2007-01-12 16:03:49 UTC
I wonder why you cant emerge both versions... as I can...
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-12 16:05:36 UTC
(In reply to comment #0)
> (and it's not a slot'ed package). 

Oh, maybe you should check again more carefully.
Comment 3 Paolo Pedroni 2007-01-12 17:49:20 UTC
I stand corrected: I just thought that slot'ed packages showed up as such even when merged for the first time.

Sorry for the noise. :-(