Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227935 - dev-java/swt-3.3.1.1 blocks www-client/firefox-3.0
Summary: dev-java/swt-3.3.1.1 blocks www-client/firefox-3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 227963 227965 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-17 19:49 UTC by Mark Nowiasz
Modified: 2011-09-06 11:47 UTC (History)
8 users (show)

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 Mark Nowiasz 2008-06-17 19:49:53 UTC
When trying to update firefox (using emerge -up), swt blocks firefox 3-0

Reproducible: Always

Steps to Reproduce:
1. emerge -up --deep world
2.
3.

Actual Results:  
[ebuild     U ] www-client/mozilla-firefox-3.0 [2.0.0.14] USE="dbus%* startup-notification%* xulrunner%*" LINGUAS="-en% -en_US% -id% -si% -sq% -sr%"

!!! Multiple versions within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

www-client/mozilla-firefox:0

  ('installed', '/', 'www-client/mozilla-firefox-2.0.0.14', 'nomerge') pulled in by
    ('installed', '/', 'dev-java/swt-3.3.1.1', 'nomerge')
    @world

  ('ebuild', '/', 'www-client/mozilla-firefox-3.0', 'merge') pulled in by
    @world


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.


merge --info
Portage 2.1.5.5 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0,2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Tue, 17 Jun 2008 19:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo "
LDFLAGS=""
LINGUAS="de"
MAKEOPTS="-j2"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acli acpi ada aim alsa amd64 apm arts audiofile bash-completion berkdb bluetooth bzip2 cairo calendar cdb cddb cdparanoia cdr clamav cli cracklib crypt css ctype cups dbus dri dv dvb dvd dvdr dvdread emacs encode exif expat fam ffmpeg firefox flac fontconfig fortran ftp gdbm gif gimp glut gnuplot gphoto2 gpm gps graphviz hal iconv icq imagemagick innodb ipv6 irc isdnlog jabber java java6 joystick jpeg jpeg2k kde lame latex lcms libnotify libwww lm_sensors logitech-mouse loop-aes maildir man mhash midi mime mmap mmx mng mp3 mpeg mplay msn mudflap multilib musepack musicbrainz ncurses nls nntp nptl nptlonly nsplugin ntpl offensive ogg openexr opengl openmp pam pcre pda pdf perl png pppd python qt3 qt4 quicktime readline reflection rss scanner sdl session sox spl ssesse2 ssl startup-notification subversion suid svg syslog taglib tcpd themes theora threads tiff timidity truetype unicode usb v4l v4l2 vcd vnc vorbis wavpack wmf x264 xattr xine xml xorg xosd xpn xscreensaver xv xvid yahoo 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-17 19:57:54 UTC
This is not a bug. It simply doesn't work with FF 3.
Comment 2 email_deleted_GqKU 2008-06-17 20:04:59 UTC
Add the "xulrunner" USE flag to your make.conf, and re-emerge all packages using it (`emerge -avN world`).

Then, it will emerge xulrunner-1.8.1.14, instead of mozilla-firefox-2.0.0.14, and you will be able to emerge mozilla-firefox-3.0.

There should be a way to send a special error message to the user, for special cases like this.
Comment 3 Mark Nowiasz 2008-06-17 23:05:37 UTC
(In reply to comment #2)
> Add the "xulrunner" USE flag to your make.conf, and re-emerge all packages
> using it (`emerge -avN world`).
> 
> Then, it will emerge xulrunner-1.8.1.14, instead of mozilla-firefox-2.0.0.14,
> and you will be able to emerge mozilla-firefox-3.0.
> 
> There should be a way to send a special error message to the user, for special
> cases like this.

Yup, this works for me :-) Indeed, it would be quite helpful to have a hint what exactly was going wrong (and how to fix it). 
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-18 09:17:26 UTC
*** Bug 227963 has been marked as a duplicate of this bug. ***
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-18 09:37:30 UTC
*** Bug 227965 has been marked as a duplicate of this bug. ***
Comment 6 Mark Nowiasz 2008-06-18 10:46:03 UTC
> Yup, this works for me :-) Indeed, it would be quite helpful to have a hint
> what exactly was going wrong (and how to fix it). 

Another thing worthy of mentioning:

If you have both firefox and xulrunner in /etc/make.conf, the bug will occur - with the same results.

Solution: add dev-java/swt -firefox xulrunner to /etc/portage/package.use

I've reopened this bug, because I consider it to be one:

1.) There should be a meaningful error message 
2.) When firefox and xulrunner are present in /etc/make.conf, swt (among other packages) should simply bail out with an error message and let the user choose *which* one to build against.
Comment 7 email_deleted_GqKU 2008-06-18 12:08:29 UTC
(In reply to comment #6)
> Another thing worthy of mentioning:
> 
> If you have both firefox and xulrunner in /etc/make.conf, the bug will occur -
> with the same results.
> 
> Solution: add dev-java/swt -firefox xulrunner to /etc/portage/package.use
> 
> [...]
>
> 2.) When firefox and xulrunner are present in /etc/make.conf, swt (among other
> packages) should simply bail out with an error message and let the user choose
> *which* one to build against.
> 


In the swt ebuild (3.3.1.1 and 3.4_pre6-r1), there is «firefox? ( !xulrunner? ( =www-client/mozilla-firefox-2* ) )», meaning the «xulrunner» USE flag has the priority. You should be able to let the «firefox» USE flag, activated, for swt.

What's the specific error message? exactly the same? Are you sure you re-emerged every packages using the «xulrunner» USE flag, using `emerge -avN world`? Some other packages require mozilla-firefox-2* or xulrunner-1.8*, and need to be re-emerged, after you added the «xulrunner» USE flag to your make.conf (and after you checked you did not leave «-xulrunner» entries, in your package.use files).
Comment 8 Mark Nowiasz 2008-06-18 12:17:26 UTC
(In reply to comment #7)

> In the swt ebuild (3.3.1.1 and 3.4_pre6-r1), there is «firefox? ( !xulrunner?
> ( =www-client/mozilla-firefox-2* ) )», meaning the «xulrunner» USE flag has
> the priority. You should be able to let the «firefox» USE flag, activated,
> for swt.

Unfortunately, that's not what happened :-(
 
> What's the specific error message? exactly the same? Are you sure you
> re-emerged every packages using the «xulrunner» USE flag, using `emerge -avN
> world`? Some other packages require mozilla-firefox-2* or xulrunner-1.8*, and
> need to be re-emerged, after you added the «xulrunner» USE flag to your
> make.conf (and after you checked you did not leave «-xulrunner» entries, in
> your package.use files).
> 

Yes, exactly the same. After emerging --sync and emerge -up --deep world, the same error occurred (swt 3.3.*).

So I had to add the flag -firefox to swt in package.use, unmerge swt 3.3.*, reinstall swt 3.4pre. After that, emerge -u --deep world reinstalled swt 3.3.* (slotted) plus xulrunner (slotted) without an error.

Very strange things happening, IMHO - since yesterday I did reinstall 3.3.* during emerge -nV world. Odd... 
Comment 9 @4u 2008-06-18 17:56:52 UTC
There is no need to force "xulrunner-1.8.1.14" for swt - at least for the 3.4 series - as Eclipse SWT will be or is compatible with xulrunner-1.9. [1]

[1] http://dev.eclipse.org/mhonarc/lists/platform-swt-dev/msg05715.html
[2] http://www.eclipse.org/swt/R3_4/new_and_noteworthy.html#m5

Please excuse by double post - not sure where it belongs to.
Comment 10 Jim Tupper 2008-08-12 08:18:31 UTC
Other packages affected by this same issue:
net-www/mplayerplug-in
net-news/liferea
Comment 11 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-09-06 11:47:01 UTC
Removed.