Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164634 - only one version of installed slotted package fftw in world rebuild
Summary: only one version of installed slotted package fftw in world rebuild
Status: RESOLVED DUPLICATE of bug 4698
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-31 00:40 UTC by Andre Hinrichs
Modified: 2007-01-31 08:43 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 Andre Hinrichs 2007-01-31 00:40:27 UTC
The package fftw is needed by media-sound/glame and sci-mathematics/octave on my system. Both define different dependencies for fftw which causes portage to install two versions of it (2.1.5-r2 and 3.0.1-r2). That's fine so far.
But when I rebuild world fftw-3.0.1-r2 is not being rebuild. It does also not appear in the depgraph.
Since I don't trust 'emerge depclean' by now, I've written my own depclean, which compares installed packages with world rebuild packages. So, it's removing fftw-3.0.1-r2.

Here is, what the packages need:
media-sound/glame : =sci-libs/fftw-2*
sci-mathematics/octave : >=sci-libs/fftw-2.1.3

So, for me there are two possible solutions:
1.) Portage is 'intelligent' enough to decide that the version 2.1.5-r2 is fine for both dependencies, which is possibly difficult to implement.
2.) Portage somehow adds fftw-3.0.1-r2 to the list of packages being rebuilt during world rebuild.

I've checked bug database for similar problems but could find anything.
This bug should possibly also be added as a dependency to bug #155723


# emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17.13 i686)
=================================================================
System uname: 2.6.17.13 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System release 1.12.6
Last Sync: Tue, 30 Jan 2007 18:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args -fomit-frame-pointer -pipe"
CHOST="i686-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 /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.du.se/pub/os/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en en_US en_GB"
MAKEOPTS="-j2"
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 /usr/portage/local/layman/pro-audio/trunk/overlays/proaudio /usr/portage/local/layman/pro-audio"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi alsa alsa_cards_intel8x0 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 apache2 arts audiofile berkdb bidi big-tables binfilter bitmap-fonts bzip2 cairo cdda cddb cdparanoia chroot cjk cli corba cracklib crypt cups curl daap dbus dlloader dom4j dri dts dv dvb dvd dvdread eds elibc_glibc emacs encode exif expat fame firefox flac foomaticdb fortran gd gdbm gif gimp gmp gnome gnutls gpm gs gtk guile guionly hpn iconv idn ieee1394 imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java java-external java5 javamail jbig jmx jpeg jpeg2k junit kde kdeenablefinal kernel_linux ladspa lame lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms ldap leim libg++ linguas_de linguas_en linguas_en_GB linguas_en_US live lua lzo mad mailwrapper matroska memlimit midi mikmod mjpeg mmx mng mod motif mp3 mpeg mysql ncurses network nls nptl nptlonly nsplugin objc ocaml odbc ogg openal openexr opengl pam pcre pdf perl php png posix ppds pppd python qt3 qt4 quicktime readline real reflection rle rtc rtsp sasl sdl session shout slp sndfile soap speex spell spl sse ssl stream svg svga tcltk tcpd tetex theora threads threadsafe tidy tiff timidity tk truetype truetype-fonts type1-fonts ucs2 udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fglrx video_cards_vesa vlm vorbis win32codecs wmf workbench wxwindows xanim xhtml xine xml xmlreader xmlrpc xmlwriter xorg xosd xpm xscreensaver xsl xslt xv xvid yv12 zeroconf zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-31 08:43:12 UTC
$ qlist -CIev db
sys-libs/db-4.2.52_p4-r2
sys-libs/db-4.3.29-r2

$ emerge -epv world | grep sys-libs/db
[ebuild   R   ] sys-libs/db-4.2.52_p4-r2  USE="-bootstrap -doc -java -nocxx -tcl -test" 3,978 kB 
[ebuild   R   ] sys-libs/db-4.3.29-r2  USE="-bootstrap -doc -java -nocxx -tcl -test" 5,961 kB 

You should use portage-2.1.2 if you want this... Reopen if it doesn't work for you.

*** This bug has been marked as a duplicate of bug 4698 ***