Attempting to emerge x11vnc-0.9.9 results in a build failure when libXtst-1.1.0 is not already installed. The build chokes on #including "X11/extensions/XTest.h" from multiple source files. Reproducible: Always Steps to Reproduce: 1. Have an old version of libXtst installed. 2. emerge =x11vnc-0.9.9 Actual Results: build failure: In file included from 8to24.c:34: x11vnc.h:278:34: error: X11/extensions/XTest.h: No such file or directory /usr/include/X11/extensions/XTest.h is installed with libXtst-1.1.0, but not with (at least) v1.0.3. x11vnc already depends on libXtst, but doesn't specify a version.
Created attachment 229355 [details] patched ebuild Moved x11-libs/libXtst from RDEPEND to >=x11-misc/libXtst-1.1.0 in DEPEND.
(In reply to comment #1) > > Moved x11-libs/libXtst from RDEPEND to >=x11-misc/libXtst-1.1.0 in DEPEND. > No, I didn't really change the category. The patched DEPEND is actually >=x11-libs/libXtst-1.1.0.
Please, paste your emerge --info output. Thank you.
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.10.1-r1, 2.6.32-gentoo-r7-palshife i686) ================================================================= System uname: Linux-2.6.32-gentoo-r7-palshife-i686-Intel-R-_XEON-TM-_CPU_1.80GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 27 Apr 2010 07:30:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.4-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.1.2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ " LDFLAGS="-Wl,-O1" LINGUAS="en_US en" MAKEOPTS="-j4" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa apache avahi berkdb bzip2 cairo cdda cddb cli cracklib crypt ctype cups cxx dbus dirac directfb dri dts dvd encode exif faac faad fbcon ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv imlib jack java jpeg jpeg2k lame libcaca mad matroska mmx mmxext mng modplug modules mp3 mpeg mudflap musepack ncurses nls nptl nptlonly ogg oggvorbis openmp pam pcre pdf perl png pppd python readline reflection rtc sdl session smp speex spl sse sse2 ssl svg sysfs tcltk tcpd theora threads tiff truetype unicode usb vcd vorbis win32codecs wmf x264 x86 xorg xulrunner xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" LINGUAS="en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mach64 fbdev vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks, commited.