Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 283795

Summary: app-office/openoffice-3.1.1 depending on non-existent ~dev-lang/perl-5.10.1
Product: Gentoo Linux Reporter: Robin Johnson <robbat2>
Component: [OLD] UnspecifiedAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: critical CC: josh
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 210077, 288499    

Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-05 23:45:51 UTC
openoffice or one of it's deps is trying to bring in perl-5.10 which definitely isn't in the tree, and I can't trace why it's looking for it.

# emerge -pv openoffice
These are the packages that would be merged, in order:
emerge: there are no ebuilds to satisfy "~dev-lang/perl-5.10.1".
(dependency required by "app-office/openoffice-3.1.1" [ebuild])
(dependency required by "openoffice" [argument])

Portage 2.2_rc40 (!/etc/portage/profile, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-rc8-00038-g37d0892 x86_64)
=================================================================
System uname: Linux-2.6.31-rc8-00038-g37d0892-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 05 Sep 2009 23:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.9
dev-lang/python:     2.5.4-r3, 2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
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.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -g"
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 /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -g"
DISTDIR="/home/gentoo/distfiles"
FEATURES="assume-digests autoaddcvs buildpkg ccache collision-protect cvs distlocks fixpackages lmirror mirror multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/source/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_CA en_GB en_ZA en_US en af"
MAKEOPTS="-j8 -l10"
PKGDIR="/home/gentoo/packages/bohr-int/"
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="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC=""
USE="a52 aac aalib acl acpi adns adplug agg aio alsa amd64 amr animgif apache2 ares arts audiofile audit avahi bash-completion berkdb bluetooth bzip2 cairo calendar cdaudio cdda cddb cdio cdparanoia cdr chardet clamav cli consolekit cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx daap dbus dc1394 dia diskio djbfft dri dts dv dvb dvd dvdr dvdread encode exif expat fam ffmpeg fftw firefox flac fltk fontconfig foomaticdb fortran gd gdbm geoip gif gimp glut gmp gnokii gnutls gps graphviz gsm gstreamer hal ical iconv id3tag idea ieee1394 imagemagick imlib inkjar ipod ipv6 jack java5 java6 javacomm jbig jpeg jpeg2k lash lcms ldap libedit libgcrypt libnotify libsamplerate lm_sensors logitech-mouse lzo mad maildir mhash midi mikmod mmap mmx mng modplug mozilla mp3 mp3tunes mp4 mpeg mplayer mudflap multilib multitarget musepack nas ncurses nls nocd nptl nptlonly nsplugin offensive ofx ogg openal openexr opengl openmp oss pam pccntl pch pcre pda pdf perl plotutils png portaudio posix postscript povray ppds pulseaudio python quicktime raw rdesktop readline reflection rpc rss ruby savedconfig scanner sdl session sid simplexml slp smp sms smux sndfile snmp sockets socks5 solver speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs syslog sysvipc taglib theora threads thunar tidy tiff timidity truetype tta twolame unicode urandom usb v4l v4l2 vcd vcdx videos vim-syntax vorbis vorbis-psy wavpack wideband wifi wma wmf x264 xanim xattr xcb xcomposite xfs xine xinerama xinetd xml xorg xosd xpm xscreensaver xsl xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel usb-audio usb-usx2y ad1816a ad1848 ad1848-lib ad1889 serial-u16550 virmidi seq-dummy dummy" 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 asis auth_digest       imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http" APACHE2_MPMS="prefork" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="evdev keyboard mouse void wacom" KERNEL="linux" LCD_DEVICES="g15 glk graphlcd iowarrior ncurses null png ppm text usbhub usblcd X xosd" LINGUAS="en_CA en_GB en_ZA en_US en af" USERLAND="GNU" VIDEO_CARDS="dummy fbdev ati radeon v4l vga vesa radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-05 23:48:50 UTC
virtual/perl-IO-Compress-2.020 seems to be the cause of the problem.
Maybe put a block against it in openoffice?
Comment 2 Zac Medico gentoo-dev 2009-09-06 00:39:47 UTC
virtual/perl-IO-Compress-2.020:
RDEPEND=|| ( ~dev-lang/perl-5.10.1 ~perl-core/IO-Compress-2.020 )

It should choose ~perl-core/IO-Compress-2.020, since perl-5.10.1 is unavailable. Maybe you have ~perl-core/IO-Compress-2.020 masked. Try this to see if it's masked:

  emerge -pv '~perl-core/IO-Compress-2.020'
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-06 09:09:34 UTC
Nope, perl-core/IO-Compress-2.020, was installed fine before.

The only possible thing I see is that I had rev 1.5 of perl-IO-Compress-2.020, which does NOT have the perl-5.10 dep.

When I manually upgraded perl-IO-Compress, it went away, and I can't reproduce anymore, even with a downgrade.

However it still smells that it couldn't find the other package.

Just wondering with the error output. In the original output, it wasn't obvious that perl-IO-Compress was at fault. Could we have more of the deptree printed on the error stack? (in this case, one extra line saying "virtual/perl-IO-Compress").
Comment 4 Zac Medico gentoo-dev 2009-09-06 09:53:03 UTC
(In reply to comment #3)
> Just wondering with the error output. In the original output, it wasn't obvious
> that perl-IO-Compress was at fault. Could we have more of the deptree printed
> on the error stack? (in this case, one extra line saying
> "virtual/perl-IO-Compress").

Yeah, but it's more that a few lines patch since the function that returns that info doesn't currently separate the virtual deps from the other ones. The info you want is discarded, so we'll have to write some code to save it for later display.
Comment 5 Zac Medico gentoo-dev 2009-09-07 04:32:43 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Just wondering with the error output. In the original output, it wasn't obvious
> > that perl-IO-Compress was at fault. Could we have more of the deptree printed
> > on the error stack? (in this case, one extra line saying
> > "virtual/perl-IO-Compress").
> 
> Yeah, but it's more that a few lines patch since the function that returns that
> info doesn't currently separate the virtual deps from the other ones. The info
> you want is discarded, so we'll have to write some code to save it for later
> display.
> 

I found a simple fix for this:
http://sources.gentoo.org/viewcvs.py/portage?view=rev&rev=14212
Comment 6 Zac Medico gentoo-dev 2009-09-19 17:21:49 UTC
I've implemented a better fix, finished up in svn r14281.
Comment 7 Zac Medico gentoo-dev 2009-09-20 00:24:35 UTC
This is fixed in 2.2_rc41.
Comment 8 Zac Medico gentoo-dev 2009-10-11 01:06:26 UTC
This is fixed in 2.1.7.
Comment 9 Torsten Veller (RETIRED) gentoo-dev 2009-11-10 14:17:39 UTC
*** Bug 292676 has been marked as a duplicate of this bug. ***