Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295594 - net-im/psi-0.14_rc3: broken dependency graph
Summary: net-im/psi-0.14_rc3: broken dependency graph
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-03 22:20 UTC by Michał Fogelman
Modified: 2009-12-04 12:25 UTC (History)
1 user (show)

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


Attachments
build.log of failed net-im/psi-0.14_rc3 merge (build.log,113.87 KB, text/plain)
2009-12-03 22:57 UTC, Michał Fogelman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Fogelman 2009-12-03 22:20:33 UTC
When compiling this package without having x11-libs/qt-qt3support in system, emerge badly resolves dependency graph putting x11-libs/qt-qt3support after net-im/psi making it fail to compile due to lack of needed libraries.

This occurs for ~amd64 arch, with qt 4.6.0 and psi 0.14_rc3 (currently hardmasked). I didn't check it on different architectures and different packages versions configuration.

Reproducible: Always

Steps to Reproduce:
When not having qt3support present in system:
1. Add qt3support USE flag globally to /etc/make.conf or locally for qt packages (into /etc/portage/package.use)
2. Unmask net-im/psi-0.14_rc3 in /etc/portage/package.unmask
3. emerge net-im/psi

Actual Results:  
emerge of net-im/psi-0.14_rc3 fails due to lack of needed libraries

Expected Results:  
emerge should put x11-libs/qt-qt3support merge before net-im/psi 

My emerge --info:
Portage 2.1.7.9 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11-r1, 2.6.31-fogel-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-fogel-gentoo-r6-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.0.1
Timestamp of tree: Wed, 02 Dec 2009 10:30:04 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4, 3.1.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.64
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm hal iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3support qt4 readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib zsh-completion" 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Michał Fogelman 2009-12-03 22:57:32 UTC
Created attachment 211928 [details]
build.log of failed net-im/psi-0.14_rc3 merge
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2009-12-04 09:45:21 UTC
Michał do you have x11-libs/qt-qt3support installed? I'm not sure why this happens as psi has qt3support dependency:

RDEPEND=">=x11-libs/qt-gui-4.4:4[qt3support,dbus?]
   ..."

DEPEND="${RDEPEND}
    ..."

Comment 3 Michał Fogelman 2009-12-04 10:54:49 UTC
When I was installing it for the first time emerge put qt-qt3support after psi, no idea why. emerge qt-qt3support && emerge net-im/psi solved problem. When i uninstalled psi and qt3support and asked emerge to compile psi again, it didn't even try to put qt3-support in the merge list, doing only psi compilation, so again it crashed due to lack of qt3support.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2009-12-04 12:25:16 UTC
x11-libs/qt-qt3support should be pulled by PDEPEND in x11-libs/qt-gui. If x11-libs/qt-gui was built with qt3support USE flag but there was no x11-libs/qt-qt3support in the system, dependency graph on the system was broken and emerge -uDNa world should tell you about that by pulling in missed packages. Alternatively it's possible portage to review full dependency graph during emerge of psi by passing --deep (-D) option, like:

 # emerge -D psi

Bottom line, I don't see anything broken on our end, and I've checked steps 1,2,3 and everything works here in case -D passed on command line. Until something else will be found I think bug is INVALID.