Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303373 - net-misc/tigervnc-1.0.0-r2 wants to downgrade xorg-server from 1.7.4 to 1.6.5-r1
Summary: net-misc/tigervnc-1.0.0-r2 wants to downgrade xorg-server from 1.7.4 to 1.6.5-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
: 286744 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-03 19:06 UTC by glenn burns
Modified: 2010-03-06 16:27 UTC (History)
5 users (show)

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


Attachments
emerge log (net-misc:tigervnc-1.0.0-r2:20100204-141235.log,229.45 KB, text/plain)
2010-02-04 14:22 UTC, glenn burns
Details

Note You need to log in before you can comment on or make changes to this bug.
Description glenn burns 2010-02-03 19:06:36 UTC
installing tivervnc wants to downgrade xorg-server

Reproducible: Always

Steps to Reproduce:
1.emerge -av tigervnc
2.
3.

Actual Results:  
emerge -av tigervnc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD] x11-base/xorg-server-1.6.5-r1 [1.7.4] USE="dmx hal nptl sdl xorg -debug -ipv6 -kdrive -minimal -tslib" 0 kB
[ebuild  N    ] net-misc/tigervnc-1.0.0-r2  USE="opengl server xorgmodule" 0 kB

Total: 2 packages (1 downgrade, 1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] no

Quitting.


Expected Results:  
emerge tigervnc with out downgrading xorg-server


# emerge --info
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo i686)
=================================================================
System uname: Linux-2.6.32-gentoo-i686-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-60-with-gentoo-2.0.1
Timestamp of tree: Mon, 25 Jan 2010 00:15:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.8.0-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
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="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
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.namerica.gentoo.org/gentoo-portage"
USE="HAL X a52 aac acl acpi alsa aspell autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdr cleartype cli consolekit corefonts cracklib crypt ctrlmenu cups cxx dbus dmx dts dvd dvdr eds emboss emerald encode evo extras fam fbcondecor firefox flac fontconfig fortran gdbm gif glib gmp gnome gnutls gpm gstreamer gtk hal iconv jack java jpeg laptop lcms libnotify lm_sensors mad mdnsresponder-compat mikmod mng modules mp3 mp4 mpeg mudflap mysql ncurses nforce2 nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf perl pmu png policykit ppds pppd ptp2 python python3 qt3support qt4 quicktime readline reflection sdl session speex spell spl srt ssl startup-notification svg sysfs tcpd thunar tiff truetype type1 unicode usb utils vim-syntax vorbis win32codecs x264 x86 xcb xlockrc xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ben Kohler gentoo-dev 2010-02-04 04:46:18 UTC
When you have USE=xorgmodule set on tigervnc, it will only build against a very specific version of xorg-server... ~x11-base/xorg-server-1.6.5 in this case.

Disable the xorgmodule flag, or revert to older xorg if you require the xorg module.
Comment 2 glenn burns 2010-02-04 14:20:03 UTC
tried with USE="-xorgmodule"

emerge failed.

error: ../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1    -I../include -I../include -I../Xext  -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((1) * 10000000) + ((6) * 100000) + ((5) * 1000) + 0)" -march=native -O2 -pipe -fomit-frame-pointer -MT pixmap.lo -MD -MP -MF .deps/pixmap.Tpo -c -o pixmap.lo pixmap.c
In file included from main.c:115:
/usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion'
/usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts'
/usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable'
/usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable'
/usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel'
/usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo'
make[2]: *** [main.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/pixmap.Tpo .deps/pixmap.Plo
mv -f .deps/events.Tpo .deps/events.Plo
make[2]: Leaving directory `/var/tmp/portage/net-misc/tigervnc-1.0.0-r2/work/tigervnc/unix/xserver/dix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-misc/tigervnc-1.0.0-r2/work/tigervnc/unix/xserver/dix'
make: *** [all-recursive] Error 1
 * ERROR: net-misc/tigervnc-1.0.0-r2 failed:
 *   emake server failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2885:  Called die
 * The specific snippet of code:
 *           emake || die "emake server failed";
 * 
 * If you need support, post the output of 'emerge --info =net-misc/tigervnc-1.0.0-r2',
 * the complete build log and the output of 'emerge -pqv =net-misc/tigervnc-1.0.0-r2'.
 * The complete build log is located at '/var/log/portage/net-misc:tigervnc-1.0.0-r2:20100204-141235.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/tigervnc-1.0.0-r2/temp/environment'.
 * S: '/var/tmp/portage/net-misc/tigervnc-1.0.0-r2/work/tigervnc'

Comment 3 glenn burns 2010-02-04 14:22:58 UTC
Created attachment 218413 [details]
emerge log

log of "emerge tigervnc"
Comment 4 Ben Kohler gentoo-dev 2010-02-04 17:40:22 UTC
Ok this is now a new issue... seems net-misc/tigervnc-1.00-r2 won't build against libXext-1.1.1 or x11-proto/fixesproto-4.1.  Also had to downgrade xextproto to get the older libXext to build.  tigervnc now builds with the following package versions and USE="opengl server -xorgmodule":

x11-proto/xextproto-7.0.5
x11-libs/libXext-1.0.5
x11-proto/fixesproto-4.0

Whether an otherwise ~arch xorg will continue to work as normal with these packages downgraded, I don't know.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-03-02 23:50:16 UTC
Please don't mix arch and ~arch versions of X.org packages...
Comment 6 Ben Kohler gentoo-dev 2010-03-03 00:13:41 UTC
I'm not, except for that test.  Just trying to figure out which bits of unstable xorg specifically are breaking compatibility with tigervnc.
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2010-03-04 06:17:19 UTC
*** Bug 286744 has been marked as a duplicate of this bug. ***
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2010-03-06 16:27:56 UTC
tigervnc-1.0.1_pre20100306.ebuild in the tree