Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122563 - driconf must depend on xdriinfo
Summary: driconf must depend on xdriinfo
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-12 08:04 UTC by Henrique Ferreiro
Modified: 2006-05-08 06:53 UTC (History)
1 user (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 Henrique Ferreiro 2006-02-12 08:04:31 UTC
x11-misc/driconf-0.9.0

I have modular X. In the ebuild: 
    || (
        x11-apps/xdriinfo
        virtual/x11
    )"

emerge --info:

Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-suspend2-r4 i686)
=================================================================
System uname: 2.6.15-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg candy ccache collision-protect digest distlocks fixpackages sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS=" ftp://ftp.belnet.be/mirrors/rsync.gentoo.org/gentoo"
LANG="gl_ES.UTF-8"
LC_ALL="gl_ES.UTF-8"
LINGUAS="gl es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-gentopia /usr/local/portage-bmg /usr/local/portage-xgl /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa avahi avi bash-completion bzip2 cairo cups dbus dvd dvdr eds emboss encode esd exif fbcon firefox foomaticdb fortran gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal imlib jpeg libg++ libwww mad mikmod mmx mmxext mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pdflib pic png quicktime readline sse sse2 ssl svg test theora truetype truetype-fonts type1-fonts unicode vorbis xml2 xv zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard input_devices_synaptics kernel_linux linguas_gl linguas_es userland_GNU video_cards_ati video_cards_fglrx"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-12 08:08:53 UTC
Eh? So, what are you requesting? It depends on driinfo.
Comment 2 Henrique Ferreiro 2006-02-12 13:39:09 UTC
When I emerged it it didn't install xdriinfo. I thought that || meant any of the dependencies but not both.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-12 13:44:31 UTC
(In reply to comment #2)
> When I emerged it it didn't install xdriinfo. I thought that || meant any of
> the dependencies but not both.

No, it means either x11-apps/xdriinfo or virtual/x11. You are providing virtual/x11 somewhere like in package.provided or messing with that virtual in another invalid way.
Comment 4 Henrique Ferreiro 2006-02-12 14:27:46 UTC
But then it means that if I have virtual/x11 then I don't need xdriinfo and this is false.
The thing is that I have virtual/x11 x11-base/xorg-x11 in profile/virtuals because I read that I must have that with modular X.
Anyway, xorg-x11-6.8.2 provides virtual/x11 and does not depend on xdriinfo. So the dependency must be wrong.

Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-02-12 14:35:25 UTC
(In reply to comment #4)
> The thing is that I have virtual/x11 x11-base/xorg-x11 in profile/virtuals
> because I read that I must have that with modular X.

Don't do that... it's *wrong*.

> Anyway, xorg-x11-6.8.2 provides virtual/x11 and does not depend on xdriinfo. 

How is that relevant here? You are using modular X and are providing invalid virtual, you get invalid dep.  Reopen *if* something doesn't work for you after you removed your bogus provide so that you can get correct deps and include relevant error messages in such case.
Comment 6 Jaak Ristioja 2006-05-08 06:53:26 UTC
I've got virtual/x11-7.0-r2. (In reply to comment #1)
> Eh? So, what are you requesting? It depends on driinfo.

My logic tells me it needs either x11-apps/xdriinfo or virtual/x11, but virtual/x11 does not depend on nor include xdriinfo. I'm using modular X, have got virtual/x11-7.0-r2 installed but there is no xdriconf on my system.

Anyway driconf compiles just fine, but it won't run. Why not instead use:

|| (
    x11-apps/xdriinfo    
    <virtual/x11-7
)

or something similar instead?