Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 122864

Summary: emerge does not show the ``server'' use flag used
Product: Gentoo Linux Reporter: Wolfram Kahl <kahl>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Wolfram Kahl 2006-02-14 18:01:41 UTC
``emerge -avuDN tightvnc'' does not display the server use flag of tightvnc,
no matter whether it is set or not.

(But setting it does have the effect of building the server,
 and not setting it (now) does have the effect of not building Xvnc ---
 this is how I found out about that problem.)


net-misc/tightvnc-1.2.9-r1


Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r2, 2.6.14-gentoo-r4-b1 i686)


~ # emerge --info
PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES.
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r2, 2.6.14-gentoo-r4-b1 i686)
=================================================================
System uname: 2.6.14-gentoo-r4-b1 i686 AMD Athlon(TM) MP 1800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.2.3-r5, 2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r1, 2.15.92.0.2-r10, 2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acl alsa apache2 apm arts artworkextra audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo cdr cjk crypt cups curl doc dv dvd dvdr eds emacs emacs-w3 emboss encode esd exif expat fam ffmpeg fftw flac foomaticdb fortran freewnn gb gcj gd gdbm geoip gif glade glut gmp gnome gnomecanvas gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile idn imagemagick imlib ipv6 java jikes jpeg junit kde latex lcms leim libg++ libgda libwww lua mad maildir mhash mikmod mmx mmxext mng motif mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpi mule multislot mysql ncurses nls nptl nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl plotutils png python qmail qt quicktime readline recode ruby scanner sdk sdl slang spell sqlite sse ssl svg svga t1lib tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf wxwindows xfs xine xml xml2 xmms xprint xv xvid yaz zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Paul Varner (RETIRED) gentoo-dev 2006-02-14 20:15:21 UTC
I am unable to reproduce this on my stable x86 system running portage-2.0.54. The server USE flag is not used in the net-misc/tightvnc-1.2.9-r1 ebuild anywhere.  Running 'emerge -v tightvnc', with or without the flag set, results in /usr/bin/Xvnc being built.
Comment 2 SpanKY gentoo-dev 2006-02-14 21:08:21 UTC
not a bug in portage
Comment 3 Disenchanted (RETIRED) gentoo-dev 2006-02-14 22:10:53 UTC
1.2.9-r1 has no 'server' useflag, that only exists in 1.3_dev7

there it exists in IUSE and would show it

Comment 4 Wolfram Kahl 2006-02-15 05:34:20 UTC
The way it happened here was that one of my recent routinely

emerge -avuDN world

tightvnc was ``downgraded'',
and after that, Xvnc was missing.
I unmerged and remerged tightvnc on different machines,
and never got Xvnc.

I started considering to install vnc on the server instead,
and with

emerge -avuDN vnc

it told me that I had not selected the server USE flag for vnc.

Then:

kahl@solon /local/r3/home/kahl $ fgrep server /usr/portage/profiles/use.* | fgrep vnc
/usr/portage/profiles/use.local.desc:net-libs/libvncserver:no24bpp - disable 24bpp support
/usr/portage/profiles/use.local.desc:net-libs/libvncserver:nobackchannel - disable backchannel support
/usr/portage/profiles/use.local.desc:net-misc/tightvnc:server - Build vncserver. Allows us to only build server on one machine if set, build only viewer otherwise.
/usr/portage/profiles/use.local.desc:net-misc/vnc:server - Build VNC server


I see that the server flag is documented for tightvnc,
but not shown by emerge -v.

I set it for tightvnc in /etc/portage/package.use,
(having unmerged tightvnc in preparation for vnc)
emerge tightvnc again, and get Xvnc.