Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150023 - nvidia-settings needs x11-proto/xf86vidmodeproto as dependency
Summary: nvidia-settings needs x11-proto/xf86vidmodeproto as dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Piotr Jaroszyński (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-03 19:06 UTC by Fernando Bastos
Modified: 2008-06-29 15:26 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 Fernando Bastos 2006-10-03 19:06:31 UTC
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.12.5
Last Sync: Tue, 03 Oct 2006 17:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
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.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -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/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS=""
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa avi berkdb cairo cdr cli crypt dbus dlloader dri dvd dvdr eds elibc_glibc encode esd fam firefox gdbm gif gnome gpm gstreamer gtk hal input_devices_evdev input_devices_keyboard input_devices_mouse jpeg kde kernel_linux libg++ mad mikmod mp3 mpeg ncurses nptl nptlonly opengl oss pam pcre pdflib perl png python qt3 qt4 quicktime readline reflection sdl session spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis win32codecs x86 xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

----

i686-pc-linux-gnu-gcc -c -march=athlon-xp -O2 -pipe -O -I /usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I doc -I src -I src/image_data -I src/xpm_data -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes src/libXNVCtrlAttributes/NvCtrlAttributes.c -o .objs/NvCtrlAttributes.o
src/libXNVCtrlAttributes/NvCtrlAttributes.c:34:38: error: X11/extensions/xf86vmode.h: No such file or directory
make: *** [.objs/NvCtrlAttributes.o] Error 1

!!! ERROR: media-video/nvidia-settings-1.0.20051122-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  nvidia-settings-1.0.20051122-r3.ebuild, line 78:   Called die

!!! Failed to build nvidia-settings
!!! If you need support, post the topmost build error, and the call stack if relevant.

---

After emerge xf86vidmodeproto, it compiled okay. Best regards!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 01:19:48 UTC

*** This bug has been marked as a duplicate of 141064 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 01:22:32 UTC
Err, this one is actually invalid, xorg-server already depends on x11-proto/xf86vidmodeproto...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 01:22:47 UTC
Closing.
Comment 4 Tim Yamin 2008-04-20 17:21:47 UTC
(In reply to comment #2)
> Err, this one is actually invalid, xorg-server already depends on
> x11-proto/xf86vidmodeproto...

No, this one is valid. Consider the following case, where a compile failure occurs:

- xorg-server is merged from binary (i.e. not compiled): RDEPEND only is pulled in.
- nvidia-settings is merged from source (i.e. compiled): RDEPEND, DEPEND are pulled in.

xorg-server has x11-proto/xf86vidmodeproto in DEPEND, not in RDEPEND. Therefore the solution should be to add x11-proto/xf86vidmodeproto to nvidia-settings DEPEND.

Thanks,

Tim
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2008-04-20 17:23:48 UTC
This is a valid bug.
Comment 6 Piotr Jaroszyński (RETIRED) gentoo-dev 2008-06-29 15:26:18 UTC
Thanks, fixed.